Ask Your Question
0

Use Celiometer and Heat to spin up more vm when required

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

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
1

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

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 - https://github.com/openstack/heat-tem...

edit flag offensive delete link more
0

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

xu-haiwei gravatar image

about auto-scaling function, you can refer to a new project Senlin, which mainly do auto-scaling things. https://github.com/stackforge/senlin

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: 2015-10-05 08:54:20 -0500

Seen: 132 times

Last updated: Oct 07 '15