Ask Your Question
0

Heat Autoscaling - Scaleup

asked 2016-08-22 06:02:48 -0500

itsme gravatar image

updated 2016-08-22 06:03:00 -0500

I am using Heat Autoscaling in my environment. Can be able to see that it is working fine in case of scale up (Technically scale out) , that is adding a instance based on the load as well as deleting a instance is working fine as expected.

But I need to do scaling (Technically Scale Up) a resource once the load limit is reached.

That is Once the load limit which we mentioned is reached I need to scale the cpu resource that is changing the flavor of the instance.

Anyone please let me know how we can achieve it.

Any help is appreciable.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2016-08-22 22:07:03 -0500

Mohit gravatar image

Unsure if its available within heat , but you can update the flavour of instance , you can use the resize API to add a different flavor to that VM. Check this doc

http://docs.openstack.org/api/opensta...

To set threshold and the increase the size of the VM, you can do the following

HealthNMon, a opensource “Cloud Resource Monitor” for fetching CPU utilization of a VM launched in Openstack

You can write a custom script/cron job, which keeps checking the CPU utilization using HealthNMon, and when it reaches the threshold, call the resize API and change the flavour.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-22 06:02:48 -0500

Seen: 164 times

Last updated: Aug 22 '16