Hosts
The host is the physical server in the cloud management platform that provides the underlying resources for the servers. The host is a domain resource.
Host source.
- The Cloud Management Platform supports synchronization of host information on VMware, ZStack, DStack, OpenStack, and HCSO platforms.
- The physical server will automatically report the host information to the default domain after installing the self-research host service and share it by default.
- The baremetal hosts is converted to a host.
Entry: In the cloud management platform click the top left corner of navigation menu, and click “Compute/Physical Resources/Hosts” menu item in the left menu bar that pops up to enter the Hosts page.
-
The top right of the list will show the total number of hosts and the number of hosts that are running, shutdown, operation failed, and unknown.
View the list of hosts
This function is used to view the information of the host list.
- In the cloud management platform, click on the top left corner of navigation menu, and click “ComputePhysical Resources/Hosts” menu item in the left menu bar that pops up to enter the Hosts page.
- Check the following parameters.
- Enabled Status: Indicates whether the host can be used to create servers. Only hosts in the enabled state can create servers.
- Status: The operational status of the host.
- Service: The service is the host service on the host, which is used to manage servers. Online means the host service is running normally, offline means the host service is abnormal or not running.
Description
OneCloud platform host service is offline in the following cases.
- When the host service starts, it will detect whether the host has qemu installed, whether it has nbd module, whether it has native openvswitch kernel module, etc. When any of the above is not met, the host service will become offline and prompt a specific error message.
- When the host is taken offline by the administrator (the administrator executes
ocadm node disable-host-agnet <node-name>
in the control node), the status of the server on the host remains unchanged, and the user can connect and use the server normally through the remote protocol, but cannot perform management operations on the server in the cloud management platform. - If the host is detected by the region to be abnormally offline, the servers on the host will be set to unknown state and cannot be used normally. The private cloud platform host service offline situation may have host offline or related service abnormalities, etc.
- IP:The management IP of the host.
- #VM: The number of servers on the host.
- CPU architecture: including x86 and ARM architectures. The CPU architecture of the host and the server on the host is the same. For example, a host with x86 architecture can only create servers with x86 architecture.
- Physical CPU: The total number of physical CPUs on the host and the percentage of CPU cores of the server running on the host to the physical CPUs of the host.
- Physical Memory: The total amount of physical memory on the host and the memory capacity of the running state VMs on the host as a percentage of the host’s physical memory capacity.
- Physical Storage: The total amount of physical storage on the host host and the allocated storage capacity as a percentage of the total storage capacity.
- SN: Serial number, etc.
- IPMI: IPMI information, you can connect to the host remotely through IPMI information.
- Initial account: the username and password information used to connect to the host through ssh.
Remote terminal
This function supports ssh to connect to the host remotely. After connecting, you need to log in using the user name and password in the initial account column.
- Click the button “Remote Terminal” in the operation column to the right of the specified host, and select the drop-down menu “SSH IP Address” menu item to establish a web SSH connection with the host.
- If the port 22 on the host is occupied by other applications and the ssh service port is another port, you can select the drop-down menu “SSH IP Address:Custom Port” menu item, set the actual port number of ssh service in the pop-up dialog box, and click “OK” button to establish web SSH connection with the host.
Enable
This feature is used to enable the “disabled” state of the host. The enabled state of the host is used to create servers.
Enable
On the Hosts page, click the “More” button in the action bar to the right of the disabled host, and select the “Enable” menu item to bring up the action confirmation dialog. 2. Click the “OK” button to enable the host.
Batch Enable
- Check one or more “disabled” hosts in the list of hosts, and click the “Enable” button at the top of the list to bring up the operation confirmation dialog box.
- Click the “OK” button to enable the hosts.
Disable
This function is used to disable the “enabled” state of the host. The disabled state of the host cannot create servers.
Disable
- On the Hosts page, click the “More” button in the action bar to the right of the enabled host, and select the “Disable” menu item to bring up the action confirmation dialog.
- Click the “OK” button to disable the host.
Batch Disable
- Check one or more “Enabled” hosts in the list of hosts, and click the “Disable” button at the top of the list to bring up the action confirmation dialog box.
- Click the “OK” button to disable the hosts.
Change Domain
This function is used to change the domain to which the host belongs. The server will automatically report the registration to OneCloud platform after installing the self-research host service. The hosts that are automatically reported to OneCloud platform belong to default domain by default, users can change the domain of the host through the change domain function.
Description
The conditions for changing the domain: must meet both
- The current user is in the system backend.
- Three-level Resource Hierarchy have been enabled in OneCloud .
- The shared scope of the host is private.
host changes domain.
- On the Host page, click the “More” button on the right action bar of the host, and select the drop-down menu “Change Domain” menu item to bring up the Change Domain dialog box.
- Select the domain to which the host belongs, and click “OK” button.
Batch Change Domain
- Check one or more hosts in the host list, click the “Batch Operation” button at the top of the list, and select the drop-down menu “Change Domain” menu item to bring up the Change Domain dialog box.
- Select the domain to which the host belongs, and click the “OK” button.
Batch Action
Set up sharing
This function is used to set the sharing scope of the host.
There are three types of sharing ranges for domain resources.
- Unshared (private): I.e. domain resources are available only to users of this domain.
- Domain sharing-part (Multiple Domains sharing): I.e. domain resources can be shared to the specified domain (one or more), and only users under the domain where the domain resources are located and the shared domain can use the domain resources.
- Domain Share-All (Global share): I.e. domain resources can be shared to all domains, i.e. all users in the system can use the domain resources.
Description
Conditions for setting up sharing: need to satisfy both
- The current user is in the system backend.
- Three-level Resource Hierarchy have been enabled in OneCloud
host set up sharing.
- On the host page, click the “More” button on the right column of the host, and select the “Set up sharing” menu item to bring up the Set up sharing dialog box.
- Configure the following parameters.
- When the sharing range is selected as “No Sharing”, the sharing range of domain resources is private and only users of this domain can use it.
- When Shared Range is selected as “Domain Shared”, you need to select the domain to be shared.
- When the domain is selected as one or more domains, the shared scope of the domain resource is Domain Shared-Partial, and only users in the domain where the domain resource is located and under the shared domain can use the domain resource.
- When the domain selects All, i.e. the sharing scope of the domain resource is Domain Share-All, all users in the system can use the domain resource.
- Click the “OK” button to complete the operation.
Batch set up sharing
- Select one or more hosts in the Hosts list, click the**_“Batch Operation”_** button at the top of the list, and select the drop-down menu **_“Set up sharing”_** menu item to bring up the Set up sharing dialog box.
- Configure the following parameters.
- When the sharing range is selected as “No Sharing”, the sharing range of domain resources is private and only users of this domain can use it.
- When Shared Range is selected as “Domain Shared”, you nBatch Actionhe domain to be shared.
- When the domain is selected as one or more domains, the shared scope of the domain resource is Domain Shared-Partial, and only users in the domain where the domain resource is located and under the shared domain can use the domain resource.
- When the domain selects All, i.e. the sharing scope of the domain resource is Domain Share-All, all users in the system can use the domain resource.
- Click the “OK” button to complete the operation.
Adjust scheduler tag
This function is used to bind a scheduler tag for a host. The host with the binding scheduler tag will be scheduled to create servers according to the scheduler policy. When hosts need to bind the same tag, it is recommended to use the batch adjust tag function for hosts, if you need to bind different tags, you need to adjust the scheduler tags for individual hosts separately.
Adjust scheduler tag
- On the Host page, click the “More” button on the right operation bar of the host, and select the “Adjust Scheduler Tag” menu item to bring up the Adjust Scheduler Tag dialog box.
- Select the scheduler tag and click the “OK” button.
Batch adjust scheduler tag
- Check one or more hosts in the list of hosts, click the “Batch Operation” button at the top of the list, and select the drop-down menu “Adjust Scheduler Tag” menu item to bring up the Adjust Scheduler Tag dialog box.
- Select the scheduler tag and click the “OK” button.
Setup Commit BoundBatch Action
This function is used to setup commit bound of CPU and memory of the host and the system reserved memory. When the commit bound is larger than 1, it means the host can provides more CPU or memory resources than it owns, and the actual resources available for allocation by the host are the actual resources * CPU/Memory commit bound. In order for the host to run properly, the memory commit bound of the host should not exceed 1, and it is recommended to set the memory reserved for OS.
Setup Commit Bound
- On the Host page, click the “More” button on the right action bar of the host, and select the drop-down menu “Setup Commit Bound” menu item to bring up the Modify Properties dialog box.
- Set the following parameters.
- CPU commit bound: Set the upper limit of the commit bound of the host CPU. The number of CPUs of the host assignable virtual machine = the number of CPUs of the host * commit bound.
- Memory commit bound: Set the upper limit of the commit bound of the host’s memory. The memory of the host’s allocatable servers = (actual memory of the host - system memory reserved) * commit bound.
- Memory reserved for OS (GB): Set the system reserved memory of the host, the minimum is 1 GB. the reserved memory of the host will not be used for allocating servers.
- Click the “OK” button.
Batch Setup Commit Bound
- Check one or more hosts in the list of hosts, click the**_“Batch Operation”_** button at the top of the list, select the drop-down menu **_“Setup Commit Bound”_** menu item, and the Modify Properties dialog box will pop up.
- Set the following parameters.
- CPU commit bound upper limit: Set the upper limit of the commit bound of the host CPU. The number of CPUs of the host assignable virtual machine = the number of CPUs of the host * commit bound.
- Memory commit bound upper limit: Set the upper limit of Batch Actiond of the host’s memory. The memory of the host’s allocatable servers = (actual memory of the host - system memory reserved) * commit bound.
- Memory reserved for OS (GB): Set the reserved memory of the host for OS, the minimum is 1 GB. the reserved memory of the host will not be used for allocating servers.
- Click the “OK” button.
Downtime Auto Migration
This function is used to set whether the host of OneCloud platform enables downtime auto migration. When downtime migration is enabled on the host, all servers created using shared storage on the host can be migrated to other hosts in case of host shutdown or failure. Virtual machines on the host that use the host’s local storage are not migrated.
- On the Host page, click the “More” button on the right action bar of the host, and select the drop-down menu “Automatic migration when down” menu item to bring up the Automatic migration when down dialog box.
- Select whether to check the Auto Migration box and click the “OK” button to complete the operation.
Recycle as Baremetal Hosts
This function is used to recycle the hosts into physical machines. It can be converted to a host when the host type is KVM and contains IPMI information. Physical machines are used to create baremetal servers and hosts are used to create servers.
To recycle a single host to a baremetal hosts
- Click the “More” button on the right action bar of the host, select the drop-down menu “Recycle as Host” menu item to bring up the action confirmation dialog.
- Click the “OK” button to complete the operation, and you can view the server information in the baremetal hosts list.
Batch Recycle Hosts as Machines
- Check one or more hosts in the list of hosts, click the**_“Batch Operation”_** button at the top of the list, select the drop-down menu **_“Recycle as Host”_** menu item, and the operation confirmation dialog box pops up.
- Click the “OK” button to complete the operation, and you can view the server information in the baremetal hosts list.
Enter maintenance modeBatch Action
You need to put the host into maintenance mode when the host goes offline temporarily, and the servers on the host that enters maintenance mode will be automatically migrated to other hosts. Only OneCloud platform hosts are supported.
Description
The conditions for a host to enter maintenance mode are as follows.
- Access to maintenance mode is supported only on OneCloud platform hosts.
- The existence of other hosts that are idle on the OneCloud platform.
- The server on the host does not have a GPU device or CD mounted; if the server on the host has a GPU device or CD mounted, you need to ensure that the server is powered off.
- No backup machine exists for the server on the host.
- The state of the server on the host is any of shutdown, running, or unknown.
- Click the “More” button on the right action bar of the host, and select the “Enter Maintenance Mode” menu item to bring up the Enter Maintenance Mode operation confirmation dialog box. Click “OK” button, the servers on the host will be migrated to other hosts, and the host status will be “In Maintenance” and the enable status will be disabled.
Exit maintenance mode
When the host is back to normal, the host can be exited from maintenance mode. Only supported for OneCloud platform hosts.
Description
When the host enters maintenance failure, you can adjust the status of the host to running by using the exit maintenance mode feature.
- Click the “More” button on the right action bar of the host in Maintenance Mode, and select the “Exit Maintenance Mode” menu item to bring up the Exit Maintenance Mode action confirmation dialog box.
- Click the “OK” button, the host status will be changed to “Running”, the host enable status is disabled and needs to be enabled manually by users.
Set GPU card reserved resources
This function is used to reserve CPU, memory and storage resources for the GPU card on the host computer. The reserved resources cannot be allocated out.
Description
- This feature is only supported on the host of OneCloud platforms with GPU cards.
- When there are multiple GPU cards on the host, this feature means that the same resources are reserved for each GPU card.
- The resources reserved for GPU cards are the resources reserved for the host CPU, memory, and storage after overselling.
- Click the “More” button on the right action bar of the host, and select the drop-down menu “Set GPU Card Reserved Resources” menu item to bring up the Set GPU Card Reserved Resources.
- Set each GPU reserved resource, set CPU, memory and disk size respectively, and click “OK” button.
Delete
This function is used to delete the host. You can delete only when the number of servers on the host is 0 and in the disabled state.
delete
- Click the “More” button on the right action bar of the host, select the drop-down menu “Delete” menu item, and the action confirmation dialog box pops up.
- Click the “OK” button to complete the operation.
Batch Delete
- Check one or more hosts in the list of hosts, click the**_“Batch Operation”_** button at the top of the list, select the drop-down menu **_“Delete”_** menu item, and the operation confirmation dialog box pops up.
- Click the “OK” button to complete the operation.
View Host DetailsBatch Action
This function is used to view the host details, etc.
- Click the specified host name item in the host list to enter the host details page.
- The menu item at the top of the details page supports remote terminal connection, enable, disable, adjust tag, adjust commit bound, recycle baremetal hosts, enter maintenance mode, exit maintenance mode, delete, etc. for the host.
- View the host details.
- Basic Information: Including host Cloud ID, ID, name, status, domain, project, share range, platform, enable status, IP, MAC address, service, #VM, scheduler policy, host version, hardware virtualization, ISO startup, region, zone, cloud account, created at, updated at, and description.
- Brand information: Including the brand name, model number, serial number of the host.
- CPU: Including the number of physical CPU cores, number of slots, commit bound, virtual CPU, current commit bound, description, GPU card reservation of the host.
- Memory: Including host memory physical capacity (total/allocated), commit bound, current commit bound, system reservation (system reserved memory is generally 10% of the actual memory of the host, and the maximum will not exceed 10GB), and GPU card reservation.
- Storage: Includes the host root partition capacity (used/total), storage pool capacity (used/total), type, current commit bound, invalid storage (the sum of disk capacity on the host with non-available status), GPU card reservation, and adapter-related information.
- Network Interface: Includes all NIC information for the host, including IP address, MAC address, subnet mask, type, and rate.
View host resource statistics
This function is used to view host capacity statistics, real-time monitoring, and top5 information, etc.
- Click the specified host name in the host list to enter the host details page.
- Click the “Dashboard” tab to enter the Dashboard page. View the following information.
- Capacity statistics: The total number of CPUs, memory, local storage, Servers, used number and utilization information of the hosts are displayed in the form of a ring chart.
- TOP5: Shows the names and corresponding values of the TOP5 Servers for CPU utilization, network inbound traffic, network outbound traffic, disk read rate, and disk write rate, respectively.
- Real-time monitoring: Display the system load, memory utilization, disk IO utilization, disk space utilization, NIC inbound bandwidth utilization, NIC outbound bandwidth utilization of the host in real-time in the form of a dashboard.
View server information on the host
This function is used to view the information of servers on the host and supports management operations on servers, etc.
- Click the specified host name in the host list to enter the host details page.
- Click the Server tab to enter the Server page. You can view the information of all servers on the host, and support the management of servers. For details, please see [Server] (../../../server/vminstance) page.
View Host Networks Information
This function is used to view the network information of the host.
- Click the specified host name item in the host list to enter the host details page.
- Click the Network tab to enter the Network page.
- View the network information of the host, including Index, MAC Address, NIC type, IP Address, IP Subnet, and L2 Network, Drive.
- When the NIC on the host computer is not assigned an IP address, it supports setting up the L2 Network. Click the NIC operation bar Set_Tier_2_Network button, select L2 Network in the pop-up Set L2 Network dialog box, and click the “OK” button.
View Host Storage Information
This function is used to view the storage information on the host.
- Click the specified host name item in the host list to enter the host details page.
- Click the Storage tab to enter the Storage page.
- View the storage information of the host, including name, capacity, allocation, waste, storage type, enable, and mount point.
- Support managing block storage.
View the GPU card of the host
This function is used to view the GPU card device of the host.
- Click the specified host name item in the host list to enter the host details page.
- Click the “GPU” tab to enter the GPU page.
- View the GPU card information of the host, including device type, device model, and associated host.
- Support managing GPU card operations.
View the information of the servers in the Trash on the host
This function is used to view the information of the servers on the host that are in the Trash.
- Click the name of the specified host in the host list to enter the host details page.
- Click the “Trash” tab to enter the Trash page. You can view the information of the servers in the Trash, and support the operation of purging or restoring the servers.
View the Monitoring information
This function is used to view the monitoring information of the host.
- Click the host name item in the host list to enter the host details page.
- Click the “Monitoring” tab to enter the monitoring page.
- View the following monitoring information.
- The following information is displayed in the form of line graphs: CPU utilization, system load, memory utilization, memory usage, disk utilization, disk usage, disk IO utilization, disk IOPS, network inbound traffic, and network outbound traffic for the last 1 hour, the last 3 hours, and the last 6 hours.
- CPU utilization includes CPU utilization, CPU idle rate, CPU occupied by user space, CPU occupied by kernel space, and CPU time percentage waiting for input and output.
- System load includes system 1-minute average load, system 5-minute average load, system 15-minute average load, average system 1-minute average load per CPU core, average system 5-minute average load per CPU core, and average system 15-minute average load per CPU core.
- Memory usage includes memory usage, memory remaining, and total memory.
- Disk usage includes disk usage, disk remaining, and total disk.
- (Disk IOPS includes the current average number of read IO per second of disk, the current average number of write IO per second of disk)
- The following information is displayed in the form of line graphs: CPU utilization, system load, memory utilization, memory usage, disk utilization, disk usage, disk IO utilization, disk IOPS, network inbound traffic, and network outbound traffic for the last 1 hour, the last 3 hours, and the last 6 hours.
- Support setting monitoring alerts for the above monitoring information.
- Click the “Set Monitor Alert” button on the right side of the monitoring indicator to bring up the New Monitor Alert dialog box.
- The monitoring indicator items are fixed, set the query period, comparison operator, threshold value, Level, alert mode, and select the alert recipient, click the “OK” button to create a new alert.
Viewing Hardware Logs
Only the details page of the conversion from baremetal hosts to host supports viewing hardware logs.
- Click the specified host name item in the host list to enter the host details page.
- Click the Hardware Log tab to enter the Hardware Log page.
- You can set the end time to query the hardware log information before the specified time.
- When there are more log information, you can click the “Load More” button below the list to view more hardware log information.
View Host Operation Log
This function is used to view the log information of the host-related operations.
- Click the specified host name in the host list to enter the host details page.
- Click the Operation Log tab to enter the Operation Log page.
- Load More Logs: In the Operation Logs page, the list displays 20 operation logs by default. To view more operation logs, click the “Load More” button to get more logs.
- View Log Details: Click the “View” button on the right column of the operation log to view the log details. Copy details are supported.
- View logs of specified time period: If you want to view the operation logs of a certain time period, set the specific date in the start date and end date at the top right of the list to query the log information of the specified time period.
- Export logs: Currently, only the logs displayed on this page are supported to be exported. Click the upper-right corner of icon, set the export data column in the pop-up export data dialog, and click the “OK” button to export the logs.