Posted by cloud.computing at 2020-08-27 11:39
HCS 8.0.1
Thanks for your feedback!
Checking the number of available vCPUs on the physical host entails two subtasks:
Task 1: On Service OM, check the total number of vCPUs on the physical host.
Task 2: Log in to the physical host to query its CPU overcommitment ratio.
Number of available vCPUs on the physical host = Total number of vCPUs on the physical host/CPU overcommitment ratio
For details, see the following sections.
Checking the Total Number of vCPUs on the Physical Host
1. Log in to Service OM through ManageOne Maintenance Portal.
2. Choose Services > Resource > Compute Resource.
3. Click Hosts. The Hosts page is displayed.
4. In the Used vCPUs/Total column, check and record the value of Total. The value indicates the total number of vCPUs on the physical host.
Checking the CPU Overcommitment Ratio of the Physical Host
1. Use PuTTY to log in to any controller node in the FusionSphere OpenStack system.
Ensure that the IP address on the External OM plane and username fsp are used to establish the connection.
2. Run the following command and enter the password of the root user as prompted to switch to the root user:
su - root
3. Run the following command to check the CPU overcommitment ratio of the host:
cat /etc/nova/nova-compute.conf | grep cpu_allocation_ratio
Hope can help you!