docs
uhost
Operation Guide
Host

Host

Creating a Host

If you want to know in detail how to create a host, please refer to the Creating Your First UHost.

Managing a Host

If you log into the uhost console (opens in a new tab), you can perform login, shut down, restart, and power off operations for the host.

img

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

If you click on【Details】, you will enter the host details page, showing the basic information, configuration information, payment information and monitoring related information of the currently selected host.

img

img

Basic Information Module

img

The basic information module includes basic information such as resource ID, resource name, business group, availability zone, and internal network ip. Among them, resource name and business group name can be changed instantly.

Configuration Information Module

img

The configuration information module contains host configuration related information such as machine type, cpu platform, machine type, CPU and memory. Click 【...】 to enter the configuration change page, which supports changing memory and CPU specifications, adjusting disk capacity, and upgrading the bandwidth of the external network elastic IP.

Change Specification

Operation Path

  1. Select Cloud Host
  2. Click to select【Edit Config】, then click【Modify UHost specifications】
  3. Select corresponding CPU and memory upgrade data respectively
  4. Click【OK】, pay the difference, and complete the payment

img

Adjust Disk Capacity

Operation Path

  1. Select Cloud Host
  2. Click to select【Edit Config】, then click【Expand disk capacity】
  3. Select the capacity value of the adjusted disk
  4. Click【OK】, pay the difference, and complete the payment

img

If the current disk supports online expansion, the host does not need to be restarted after expansion, but related configurations need to be done inside the host, for details, please see Disk Configuration.

Upgrade Elastic IP Bandwidth of External Network

Operation Path

  1. Select Cloud Host
  2. Click to select【Edit Config】, then click【Upgrade EIP】
  3. Adjust the bandwidth value you need
  4. Click【OK】, pay the difference, and complete the payment

img

Payment Information Module

img

The payment information module includes creation time, expiration time, and payment method, click【Renewal】, to support one-click renewal.

Deleting a Host

You can log into the uhost console (opens in a new tab), select a host, click【Delete Host】, to delete the current host.

  1. If you delete a cloud host through the console, the EIP and UDisk associated with the host will be deleted synchronously and will not continue to be charged.
  2. After the resources are deleted, the system will automatically refund the remaining fees in the lease. If you want to know the specific refund rules, please read Refund Details.

Network Configuration

The console host list page provides an entry to change the external network firewall, bind elastic IP, and mount the cloud hard disk.
Operation Path

  1. Select host
  2. Click【...】, drop-down box to select【Associated Product Operation】
  3. Click on【Change External Network Firewall】/【Bind Elastic IP】 operation

Disk Configuration

Operation Path

  1. Select host
  2. Click【...】, drop-down box to select【Associated Product Operation】
  3. Click【Mount Cloud Disk】 operation

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

More Operations

In addition to the above functions, the console list also supports changing business groups, making images, and other more operations.

img

Change Business Group

Operation Path

  1. Select host
  2. Click【...】, drop-down box to select【More Operations】
  3. Click【Change Business Group】operation

img

You can group cloud hosts, so that some operations can be performed in units of business groups, eliminating the cumbersome operation of one-by-one, convenient for centralized resource management. Subsequent viewing of monitoring data or modifying rules can be performed in groups.

View/Modify Custom Data

Operation Path

  1. Select host
  2. Click【...】, drop-down box to select【More Operations】
  3. Click【View/Modify Custom Data】

If you need to know more about metadata and custom data operations, please read metadata and custom data

Make an Image

Operation Path

  1. Select host
  2. Click【...】, drop-down box to select【More Operations】
  3. Click【Make an Image】

If you need to know more about images operations, please read Image Operation Guide

Reset Password

Operation Path

  1. Select host
  2. Click【...】, drop-down box to select【More Operations】
  3. Click【Reset Password】

img

  1. Currently, you still need to shut down to reset the password;
  2. If the host has modified the default account, the reset password may not take effect.

Reinstall System

Operation Path

  1. Select host
  2. Click【...】, drop-down box to select【More Operations】
  3. Click【Reinstall System】

img

  1. If the system disk size is inconsistent with the original host when you reinstall the system, you need to make up the difference or initiate a refund. For details, please see Refund Explanation.
  2. Reinstating the host system needs to be done under the condition of shutdown, which will not cause changes to the internal and external network IP.
  3. Please pay attention to the change of the file system when reinstalling the system. If CentOS 6.x is reinstalled as 7.x, or Linux and Windows are mutually reinstalled, it may cause the data disk to be unrecognized.
  4. Cloud hosts with network enhancements enabled cannot be reinstalled into systems that do not support network enhancements (such as Windows).

Host NTP Configuration Guide

NTP Server IP in Each Region

RegionAvailability ZoneNTP Server 1NTP Server 2NTP Server 3
Beijing OneAvailability Zone A10.255.255.110.255.255.20.cn.pool.ntp.org
North China OneAvailability Zone B10.9.255.110.9.255.20.cn.pool.ntp.org
North China OneAvailability Zone C10.10.255.110.10.255.20.cn.pool.ntp.org
North China OneAvailability Zone D10.19.255.110.19.255.20.cn.pool.ntp.org
North China OneAvailability Zone E10.42.255.110.42.255.20.cn.pool.ntp.org
GuangzhouAvailability Zone B10.13.255.110.13.255.20.cn.pool.ntp.org
Shanghai Financial CloudAvailability Zone A10.15.255.110.15.255.20.cn.pool.ntp.org
Shanghai TwoAvailability Zone A10.23.255.10110.23.255.1020.cn.pool.ntp.org
Shanghai TwoAvailability Zone B10.23.255.10110.23.255.1020.cn.pool.ntp.org
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 at least be configured with two SurferCloud NTP server IPs and one external NTP server, corresponding to upstream1,upstream2, and offical_upstream3 in the following documents.

Modification of NTP in Various Operating Systems

CentOS/Ubuntu/Redhat/Debian/Gentoo

NTP configuration file location: /etc/ntp.conf

  • Modification Method

Add the corresponding NTP server IP according to the available area

Restrict area:
Add restrict 10.255.255.1
Add restrict 10.255.255.2

Server area:
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 clock synchronization polling cycle and prefer the NTP service of SurferCloud

Add fine-tuning parameters

CentOS 6.x

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

Function: Speed up fine tuning and control the fine tuning range

CentOS 7.x

Add tinker dispersion 100
Add tinker stepout 3600

Function: Speed up fine tuning and control the fine tuning range
  • Testing Method

Restart ntp service

CentOS/Redhat/Gentoo:
# service ntpd restart

Ubuntu:
# sudo service ntp restart

Debian:
# service ntp restart

Check NTP server IP

# ntpq -pn
If the table shows SurferCloud server IP, it means ntp configuration is correct

Ensure that the machine can jump to synchronize the time first, execute the ntpdate or date command to set the time, and then start the ntp synchronization service.

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

OpenSUSE

NTP configuration file location: /etc/ntp.conf

  • Modification Method
    Add restrict parameters
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

Add the corresponding NTP server IP according to the available area

Restrict area
Add restrict 10.255.255.1
Add restrict 10.255.255.2

Server area
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 clock synchronization polling cycle and prefer the NTP service of SurferCloud
  • Testing Method
    Restart ntp service
# service ntp restart

Check NTP server IP

# ntpq -pn
If the table displays SurferCloud server IP, it means ntp configuration is correct

Ensure that the machine can jump to synchronize the time first, execute the ntpdate or date command to set the time, and then start the ntp synchronization service.

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

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

Windows

  • Modification Method

Modify the Windows Time service to start automatically

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

Modify group policy

  1. Enable Windows NTP client
    1. Type "gpedit.msc" in the terminal to open 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 corresponding to the available zone as "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 settings (Computer Configuration Administrative Templates System Windows Time Service Global Settings)
Change the "MaxAllowPhaseOffset" to 3600
Change the "MaxNegPhaseCorrection" to 3600
Change the "MaxPosPhaseCorrection" to 3600
Change the "PhaseCorrectRate" value to "7"
Change the "MinPollInterval" value to "3"
Change the "MaxPollInterval" value to "4"
  • Testing Method
  1. Run the command gpupdate /force in the command line to force the group policy to update;
  2. After completing the above configuration, ensure that the machine can jump to synchronize time, be able to execute w32tm/resync at the terminal to make the client send a clock synchronization request to the server and complete the immediate synchronization;
  3. Enter w32tm /query /status in the terminal command line to check the synchronization information.
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved