Use Celiometer and Heat to spin up more vm when required

asked 2015-10-05 08:54:20 -0600

naggappan gravatar image
  • I Have installed devstack with celiometer & heat successfully.
  • Now I have created the basic template yaml for heat which spins up VM in specified network
  • Now how can i configure celiometer to monitor my master VM(say vm name "master_test") CPU usage
  • And when whenever cpu usage of "master_test" VM goes high say more than 90% My heat template yaml should be executed
  • How can I set this pipeline?
  • I tried to gothrough /etc/ceilometer/pipeline.yaml , but lots of options are specified over there.
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-10-05 09:31:21 -0600

Hi Naggappan,

Your requirement might similar to Autoscaling implementation with Heat & Ceilometer. Wherein autoscaling group(instance provisioning template) will be executed when the defined ceilometer alarm threshold event occurs.

You can refer the existing autoscaling Heat templates in Github for more info -

edit flag offensive delete link more

answered 2015-10-07 00:08:38 -0600

xu-haiwei gravatar image

about auto-scaling function, you can refer to a new project Senlin, which mainly do auto-scaling things.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-10-05 08:54:20 -0600

Seen: 201 times

Last updated: Oct 07 '15