Cloudstack dynamically modifies CPU and memory

Source: Internet
Author: User

Environment:

Centos6.4 + cloudstack4.2 + xenserver 6.2

 

Prepare for Dynamic Modification of cloudstack guest memory and CPU:

 

1. Install the xenserver tools Toolkit

2. modify the global configuration enable of cloudstack. dynamic. scale. the VM is truemem. overprovisioning. factor = 2 (memory overload 2 times, if the host memory is large enough, ignore) 3. select dynamically scalable in the template.

 

 

At the beginning, there were a lot of pitfalls:

Xenserver tools has been installed, but an error is prompted.

 

 

 

 

 

The final result is that dynamically scalable in the template is not enabled.

 

 

 

Shut down and turn on this option

 

 

Add Computing Scheme (CPU and memory capacity configuration)

 

 

 

Apply on the guest to be changed

 

 

 

 

 

 

 

 

Added

 

 

 

There is also a pitfall where Linux 64-bit and 32-bit Windows 7 operating systems run on the VM. If the VM initially does not allocate 3 GB of RAM, it can dynamically expand to 3 GB, instead of more.

 

Refer:

 

Http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/changing-service-offering-for-vm.html#change-cpu-ram-for-vm

 

 

From: http://blog.cunss.com /? P = 226

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.