docs
uhost
How Tos
Host

Uhost

Create Host

If you want to learn in detail how to create a host, please refer to Quick Start Guide to Create a Cloud Host.

Manage Host

If you log into the uhost control panel (opens in a new tab), you can perform operations such as host login, shutdown, restart, and power off.

Alt text

Both shutdown and restart are at the virtual machine level. If a restart or shutdown is ineffective, you can use the power-off operation. Power-off is a host-level shutdown, equivalent to forcibly turning off the power, which is more thorough.

If you click on [Details], you will enter the host details page, displaying the basic information, configuration information, payment information, and monitoring related information of the currently selected host.

Alt text

Alt text

Basic Information Module

Alt text

The "Basic Information" module includes basic information such as Resource ID, Resource Name, Business Group, Availability Zone, and Intranet IP. Among them, the Resource Name and Business Group Name can be changed instantly.

Configuration Information Module

Alt text

The Configuration Information module includes information related to host configuration such as machine type, CPU platform, CPU and memory, etc. Click on 'Change Configuration' to enter the configuration modification page, which supports changing memory and CPU specifications, adjusting disk capacity, and upgrading the bandwidth of the public elastic IP.

Edit Config

Operation Path

  1. Select UHost
  2. Click to select [Edit Config], then click [Change the Configuration], click [Continue] to go to the next page
  3. Select the CPU and memory data that need to be upgraded respectively
  4. Click [OK], pay the difference, complete the payment

Alt text

Alt text

Resize Disk

Operation Path

  1. Select UHost
  2. Click to select [Edit Config], then click [Resize Disk], click [Continue] to go to the next page
  3. Select to adjust the disk capacity value
  4. Click [OK], pay the difference, complete the payment

Alt text

Alt text

?> If the current disk supports online expansion, there is no need to restart the host after expansion, but you need to enter the host for related configuration. For details, see Disk Configuration.

Upgrade Bandwidth of Public EIP(Elastic IP)

Operation Path

  1. Select UHost
  2. Click to select [Edit Config], then click [Upgrade Bandwidth of Public EIP], click [Continue] to go to the next page
  3. Adjust the bandwidth value you need
  4. Click [OK], pay the difference, complete the payment

Alt text

Alt text

Payment Information Module

Alt text

The payment information module includes the creation time, expiration time, and payment method. Click on [Renewal] to support one-click renewal.

Delete uhost

You can log in to the uhost control panel (opens in a new tab), select the host, click on [Delete Host], to delete the current host.

  1. If you delete a UHost via the console, the associated EIP and UDisk will be deleted synchronously and will not continue to be billed. If using API, whether to synchronously delete EIP and UDisk is determined by the ReleaseEIP and ReleaseUDisk fields, please refer to TerminateUHostInstance.
  2. After the resource is deleted, the system will automatically refund the remaining fees in the lease. If you want to understand the specific refund rules, please read the Refund Details..

Network Configuration

The console host list page provides entrances for changing the external network firewall, binding elastic IP, and mounting cloud hard disk.
Operation Path

  1. Select UHost
  2. Click on【...】, select【Related Product Operations】from the dropdown menu
  3. Click on [Change External Firewall] / [Bind Elastic IP] operation

Change external network firewall

f you need to readjust the external network firewall policy, please read the Firewall Operation Guide

Bind Elastic IP

If you need to rebind the public elastic IP, please read the Public Elastic IP Operation Guide

Disk Configuration

Operation Path

  1. Select UHost
  2. Click on【...】, select【Related Product Operations】from the dropdown menu
  3. Click on the [Mount Cloud Disk] operation

If you need to know more about cloud disk related information, please read the Cloud Disk Operation Guide

More Operations

In addition to the above functions, the console list also supports more operations such as changing business groups, making images, etc.

Alt text

Change Business Group

Operation Path

  1. Select UHost.
  2. Click on【...】,Select [More Operations] from the dropdown menu
  3. Click on the [Change Business Group] operation

Alt text

You can group cloud hosts so that certain operations can be carried out by business group, saving the hassle of operating one by one and facilitating centralized resource management. When viewing monitoring data or modifying rules in the future, operations can be performed by group.

View/Modify Custom Data

Operation Path

  1. Select UHost.
  2. Click on【...】,Select [More Operations] from the dropdown menu
  3. Click [View/Modify Custom Data]
    If you need to understand more about metadata and custom data operations, please read Metadata and Custom Data

Make Image

Operation Path

  1. Select UHost.
  2. Click on【...】,Select [More Operations] from the dropdown menu
  3. Click 【Make Image】
    If you need to understand more about image-related operations, please read the Image Operation Guide

Reset Password

Operation Path

  1. Select UHost.
  2. Click on【...】,Select [More Operations] from the dropdown menu
  3. Click【Reset Password】

Alt text

!> 1. Currently, a shutdown is still required to reset the password.
2. If the default account of the host is modified, the password reset may not take effect.

Reinstall System

Operation Path

  1. Select UHost.
  2. Click on【...】,Select [More Operations] from the dropdown menu
  3. Click【Reinstall System】

Alt text

  1. If you reinstall the system and the size of the system disk is inconsistent with the original host, which is equivalent to changing the size of the system disk, you need to make up the difference or initiate a refund.
  2. Reinstalling the host system needs to be done under shutdown conditions, and will not cause changes to the internal and external IP.
  3. Please pay attention to the changes in the file system when reinstalling the system. For example, reinstalling from CentOS 6.x to 7.x, or reinstalling between Linux and Windows, may cause the data disk to be unrecognized.
  4. Cloud hosts with network enhancement enabled cannot be reinstalled to systems that do not support network enhancement (such as Windows).

Guide for NTP Configuration on Host

NTP Server IP for Various Regions

RegionAvailability ZoneNTP Server 1NTP Server 2NTP Server 3
Hong KongAvailability Zone A10.8.255.110.8.255.20.cn.pool.ntp.org
Hong KongAvailability Zone B10.8.255.110.8.255.20.cn.pool.ntp.org
Los AngelesAvailability Zone A10.11.255.110.11.255.20.cn.pool.ntp.org
WashingtonAvailability Zone A10.27.255.10110.27.255.1020.cn.pool.ntp.org
SingaporeAvailability Zone A10.35.255.110.35.255.20.cn.pool.ntp.org
BangkokAvailability Zone A10.31.255.10110.31.255.1020.cn.pool.ntp.org
KaohsiungAvailability Zone A10.37.255.10110.37.255.1020.cn.pool.ntp.org
TaipeiAvailability Zone A10.41.255.110.41.255.20.cn.pool.ntp.org
JakartaAvailability Zone A10.45.255.110.45.255.20.cn.pool.ntp.org
MumbaiAvailability Zone A10.47.255.110.47.255.20.cn.pool.ntp.org
SeoulAvailability Zone A10.33.255.10110.33.255.1020.cn.pool.ntp.org
TokyoAvailability Zone A10.40.255.110.40.255.20.cn.pool.ntp.org
FrankfurtAvailability Zone A10.29.255.10110.29.255.1020.cn.pool.ntp.org
DubaiAvailability Zone A10.44.255.110.44.255.20.cn.pool.ntp.org
Sao PauloAvailability Zone A10.49.255.110.49.255.20.cn.pool.ntp.org

Each machine should be configured with at least two SurferCloud NTP server IPs and one external NTP server, corresponding to upstream1, upstream2, and offical_upstream3 in the following document.

Modify NTP for Each Operating System

** CentOS/Ubuntu/Redhat/Debian/Gentoo **

NTP Configuration File Location: /etc/ntp.conf

  • Change Method

Add the corresponding NTP server IP according to the available zone.

restrict Region:
Add "restrict 10.255.255.1"
Add "restrict 10.255.255.2"

server Region:
Original Configuration:
server 0.asia.pool.ntp.org
server 1.asia.pool.ntp.org
server 2.asia.pool.ntp.org
server 3.asia.pool.ntp.org (3.gentoo.pool.ntp.org)
Replace with:
server 10.255.255.1 iburst minpoll 3 maxpoll 4 prefer
server 10.255.255.2 iburst minpoll 3 maxpoll 4 prefer
server 0.cn.pool.ntp.org iburst minpoll 3 maxpoll 4

Function: Shorten the time polling cycle and prefer SurferCloud's NTP service.

Add fine-tuning parameters

CentOS 6.x

Add "tinker dispersion 100"
Add "tinker step 1800"
Add "tinker stepout 3600"

Function: Accelerate fine-tuning, control the range of fine-tuning.

CentOS 7.x

Add "tinker dispersion 100"
Add "tinker stepout 3600"

Function: Accelerate fine-tuning, control the range of fine-tuning.
  • Test Method

Restart NTP service

CentOS/Redhat/Gentoo:
# service ntpd restart

Ubuntu:
# sudo service ntp restart

Debian:
# service ntp restart

View NTP server IP

# ntpq -pn
If the SurferCloud server IP is displayed in the table, it indicates that the NTP configuration is correct.

?> Ensure that the machine executes the ntpdate or date command to set the time before starting the ntp timing service, provided that the machine can jump to synchronize the time.

Specific Operation:
# service ntpd stop
# ntpdate upstream1 或 # date -s "Y-m-D H:M:S"
# service ntpd start

** OpenSUSE **

NTP Configuration File Location: /etc/ntp.conf

  • Change Method
    Add restrict parameter
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

Add the corresponding NTP service IP according to the availability zone.

restrict Region
Add restrict 10.255.255.1
Add restrict 10.255.255.2

server Region
Original Configuration:
server 0.asia.pool.ntp.org
server 1.asia.pool.ntp.org
server 3.asia.pool.ntp.org (3.gentoo.pool.ntp.org)
Replace with:
server 10.255.255.1 iburst minpoll 3 maxpoll 4 prefer
server 10.255.255.2 iburst minpoll 3 maxpoll 4 prefer
server 0.cn.pool.ntp.org iburst minpoll 3 maxpoll 4

Function: Shorten the time polling cycle and prefer SurferCloud's NTP service.
  • Test Method
    Restart the ntp service
# service ntp restart

View NTP server IP

# ntpq -pn
If the SurferCloud server IP is displayed in the table, it indicates that the NTP configuration is correct.

?> Ensure that the machine, when able to synchronize time, first executes the ntpdate or date command to set the time, then starts the ntp time synchronization service.

Specific Operation:
# service ntpd stop
# ntpdate upstream1 或 # date -s "Y-m-D H:M:S"
# service ntpd start

You can download and run the script to complete the configuration, see mod_ntp.sh (opens in a new tab)

** Windows **

  • Change Method

Change Windows Time service to automatic start

 1.Enter "services.msc" in the terminal, a service list will pop up, find "Windows Time" and change the startup type to "Automatic", and start this service; (ignore if it has already started).
 2. For 2008 and 2012 users, 64-bit machines, you need to enter `sc triggerinfo w32time start/networkon stop/networkoff` in the terminal
 (The above command is a cmd command, it cannot be run in powershell).

Modify Group Policy

  1. Start Windows NTP Client
    1. Enter "gpedit.msc" in the terminal to pop up the Group Policy Editor.
    2. "Computer Configuration\\Administrative Templates\\System\\Windows Time Service\\Time Providers\\Configure Windows NTP Client", change its status to "Enabled".
  1. Configure Windows NTP Client Parameters
    1. Configure the "NtpServer" value of the corresponding availability zone to "upstream1,0x9 upstream2, 0x9official_upstream3,0x9".
    2. Change the "Type" value to NTP.
    3. Modify the "SpecialPollInterval" to a value between 30-60s.
  1. Enable Global Configuration (Computer Configuration Management Template System Windows Time Service Global Configuration Settings)
Change "MaxAllowPhaseOffset" to 3600
Change "MaxNegPhaseCorrection" to 3600
Change "MaxPosPhaseCorrection" to 3600
Change the "PhaseCorrectRate" value to "7"
Change the "MinPollInterval" value to "3"
Change the "MaxPollInterval" value to "4"
  • Test Method
  1. Execute the command gpupdate/force in the command line to forcibly update the group policy;
  2. After completing the configuration as above, ensure that the machine can jump to synchronize the time. The command w32tm/resync can be executed in the terminal to send a clock synchronization request from the client to the server, completing immediate synchronization;
  3. Enter w32tm/query/status in the terminal command line to view synchronization information.
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved
  • Contact our sales to help your business.
  • Contact our sales to help your business.