Got it

How to confirm the vCPUs number on a physical host?

Created: Aug 27, 2020 11:36:36Latest reply: Aug 27, 2020 11:43:18 474 3 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi, all!

The number of vCPUs specified during flavor creation must not exceed the number of vCPUs available on the physical host. Otherwise, the ECS will fail to be created. 

So we want to check the number of vCPUs available on a physical host, do you know how to confirm it?

Can you help me?


Featured Answers

Recommended answer

olive.zhao
Admin Created Aug 27, 2020 11:43:18

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!

View more
  • x
  • convention:

All Answers

Hello, friend!

What's version of your product?

Wait for your feedback!

View more
  • x
  • convention:

Posted by olive.zhao at 2020-08-27 11:38 Hello, friend!What's version of your product?Wait for your feedback!
HCS 8.0.1
View more
  • x
  • convention:

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!

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.