Got it

How Do I Determine the Actual Number of vCPUs on a Huawei Cloud Stack Physical Host?

Created: Jun 11, 2021 07:26:15Latest reply: Dec 25, 2021 13:26:16 320 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi, guys!

When I log in to the VM, the number of vCPUs is insufficient. For example, check the number of available vCPUs on the physical host.

This is my problem, can anyone help me? Thank you!


  • x
  • convention:

Featured Answers
olive.zhao
Admin Created Jun 11, 2021 07:51:35

Posted by rootfei at 2021-06-11 07:40 HCS 8.0.3

Thanks for your feedback!

The number of vCPUs specified during flavor creation must not exceed the number of vCPUs available on the physical host.

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.

To determine the IP address on the External OM plane of a host, log in to the FusionSphere OpenStack web client, switch to the Summary page, and obtain the OM IP address of the host in the host list.

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

In the example below, the CPU overcommitment ratio is 4.

overcommitment ratio

Number of available vCPUs on the physical host = Total number of vCPUs on the physical host/CPU overcommitment ratio

Hope this helps!

View more
  • x
  • convention:

rootfei
rootfei Created Jun 11, 2021 08:18:20 (0) (0)
 
All Answers
olive.zhao
olive.zhao Admin Created Jun 11, 2021 07:32:40

Hello, rootfei!

What's the version of your HCS?

View more
  • x
  • convention:

rootfei
rootfei Created Jun 11, 2021 07:40:08

Posted by olive.zhao at 2021-06-11 07:32 Hello, rootfei!What's the version of your HCS?
HCS 8.0.3
View more
  • x
  • convention:

olive.zhao
olive.zhao Admin Created Jun 11, 2021 07:51:35

Posted by rootfei at 2021-06-11 07:40 HCS 8.0.3

Thanks for your feedback!

The number of vCPUs specified during flavor creation must not exceed the number of vCPUs available on the physical host.

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.

To determine the IP address on the External OM plane of a host, log in to the FusionSphere OpenStack web client, switch to the Summary page, and obtain the OM IP address of the host in the host list.

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

In the example below, the CPU overcommitment ratio is 4.

overcommitment ratio

Number of available vCPUs on the physical host = Total number of vCPUs on the physical host/CPU overcommitment ratio

Hope this helps!

View more
  • x
  • convention:

rootfei
rootfei Created Jun 11, 2021 08:18:20 (0) (0)
 
Unicef
Unicef MVE Created Dec 25, 2021 13:26:16

THANKS
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.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.