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.
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.
Basic Information Module
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
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
- Select UHost
- Click to select [Edit Config], then click [Change the Configuration], click [Continue] to go to the next page
- Select the CPU and memory data that need to be upgraded respectively
- Click [OK], pay the difference, complete the payment
Resize Disk
Operation Path
- Select UHost
- Click to select [Edit Config], then click [Resize Disk], click [Continue] to go to the next page
- Select to adjust the disk capacity value
- Click [OK], pay the difference, complete the payment
?> 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
- Select UHost
- Click to select [Edit Config], then click [Upgrade Bandwidth of Public EIP], click [Continue] to go to the next page
- Adjust the bandwidth value you need
- Click [OK], pay the difference, complete the payment
Payment Information Module
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.
- 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.
- 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
- Select UHost
- Click on【...】, select【Related Product Operations】from the dropdown menu
- 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
- Select UHost
- Click on【...】, select【Related Product Operations】from the dropdown menu
- 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.
Change Business Group
Operation Path
- Select UHost.
- Click on【...】,Select [More Operations] from the dropdown menu
- Click on the [Change Business Group] operation
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
- Select UHost.
- Click on【...】,Select [More Operations] from the dropdown menu
- 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
- Select UHost.
- Click on【...】,Select [More Operations] from the dropdown menu
- Click 【Make Image】
If you need to understand more about image-related operations, please read the Image Operation Guide
Reset Password
Operation Path
- Select UHost.
- Click on【...】,Select [More Operations] from the dropdown menu
- Click【Reset Password】
!> 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
- Select UHost.
- Click on【...】,Select [More Operations] from the dropdown menu
- Click【Reinstall System】
- 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.
- Reinstalling the host system needs to be done under shutdown conditions, and will not cause changes to the internal and external IP.
- 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.
- 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
Region | Availability Zone | NTP Server 1 | NTP Server 2 | NTP Server 3 |
---|---|---|---|---|
Hong Kong | Availability Zone A | 10.8.255.1 | 10.8.255.2 | 0.cn.pool.ntp.org |
Hong Kong | Availability Zone B | 10.8.255.1 | 10.8.255.2 | 0.cn.pool.ntp.org |
Los Angeles | Availability Zone A | 10.11.255.1 | 10.11.255.2 | 0.cn.pool.ntp.org |
Washington | Availability Zone A | 10.27.255.101 | 10.27.255.102 | 0.cn.pool.ntp.org |
Singapore | Availability Zone A | 10.35.255.1 | 10.35.255.2 | 0.cn.pool.ntp.org |
Bangkok | Availability Zone A | 10.31.255.101 | 10.31.255.102 | 0.cn.pool.ntp.org |
Kaohsiung | Availability Zone A | 10.37.255.101 | 10.37.255.102 | 0.cn.pool.ntp.org |
Taipei | Availability Zone A | 10.41.255.1 | 10.41.255.2 | 0.cn.pool.ntp.org |
Jakarta | Availability Zone A | 10.45.255.1 | 10.45.255.2 | 0.cn.pool.ntp.org |
Mumbai | Availability Zone A | 10.47.255.1 | 10.47.255.2 | 0.cn.pool.ntp.org |
Seoul | Availability Zone A | 10.33.255.101 | 10.33.255.102 | 0.cn.pool.ntp.org |
Tokyo | Availability Zone A | 10.40.255.1 | 10.40.255.2 | 0.cn.pool.ntp.org |
Frankfurt | Availability Zone A | 10.29.255.101 | 10.29.255.102 | 0.cn.pool.ntp.org |
Dubai | Availability Zone A | 10.44.255.1 | 10.44.255.2 | 0.cn.pool.ntp.org |
Sao Paulo | Availability Zone A | 10.49.255.1 | 10.49.255.2 | 0.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
- 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".
- 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.
- 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
- Execute the command
gpupdate/force
in the command line to forcibly update the group policy; - 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; - Enter
w32tm/query/status
in the terminal command line to view synchronization information.