Got it

How to adjust the VM memory reservation ratio

Created: Jun 18, 2020 11:56:08Latest reply: Jun 21, 2020 00:47:24 380 4 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello, Community!

We have one HCS 6.5.1, we have configured memory overcommitment, but HCS has some issues.

Do you know how to adjust the VM memory reservation ratio?

Can you help me! 

Featured Answers
olive.zhao
Admin Created Jun 18, 2020 11:58:39

Hello, dear!

Have a nice day!

1. Region Type I scenario (cascaded scenario):

Use PuTTY to log in to the controller node in the cascaded FusionSphere OpenStack system using the Cascaded-ExternalOM-Reverse-Proxy IP address.

The default username is fsp, and the default password is Huawei@CLOUD8.

Region Type II or Region Type III scenario (non-cascading scenario):

Use PuTTY to log in to the controller node in the FusionSphere OpenStack system using the ExternalOM-Reverse-Proxy IP address.

The default username is fsp, and the default password is Huawei@CLOUD8.

2. Run the following command and enter the password Huawei@CLOUD8! of user root to switch to user root:

su - root

3. Run the following command to disable user logout upon system timeout:

TMOUT=0

4. Import environment variables. For details, see Importing Environment Variables.

5. Run the following commands to change the memory reservation rate of the host in the host group:

cps template-params-update --service nova nova-compute --parameter ram_reservation_ratio=0.2 --cluster group1

cps commit

6. Run the following command to check whether the setting above has taken effect.

cps template-params-show --service nova nova-compute --cluster group1 | grep ram_reservation_ratio

Check whether the value of ram_reservation_ratio in the command output is the configured value.

Hope can help you!

View more
  • x
  • convention:

Unicef
Unicef Created Jun 18, 2020 13:15:15 (0) (0)
Perfect  
All Answers

Hello, dear!

Have a nice day!

1. Region Type I scenario (cascaded scenario):

Use PuTTY to log in to the controller node in the cascaded FusionSphere OpenStack system using the Cascaded-ExternalOM-Reverse-Proxy IP address.

The default username is fsp, and the default password is Huawei@CLOUD8.

Region Type II or Region Type III scenario (non-cascading scenario):

Use PuTTY to log in to the controller node in the FusionSphere OpenStack system using the ExternalOM-Reverse-Proxy IP address.

The default username is fsp, and the default password is Huawei@CLOUD8.

2. Run the following command and enter the password Huawei@CLOUD8! of user root to switch to user root:

su - root

3. Run the following command to disable user logout upon system timeout:

TMOUT=0

4. Import environment variables. For details, see Importing Environment Variables.

5. Run the following commands to change the memory reservation rate of the host in the host group:

cps template-params-update --service nova nova-compute --parameter ram_reservation_ratio=0.2 --cluster group1

cps commit

6. Run the following command to check whether the setting above has taken effect.

cps template-params-show --service nova nova-compute --cluster group1 | grep ram_reservation_ratio

Check whether the value of ram_reservation_ratio in the command output is the configured value.

Hope can help you!

View more
  • x
  • convention:

Unicef
Unicef Created Jun 18, 2020 13:15:15 (0) (0)
Perfect  
thanks for sharing!
View more
  • x
  • convention:

amazing job
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.