Ask Your Question
0

Scalability and Spawning of multiple virtual machines

asked 2015-07-22 00:57:58 -0500

venkatav gravatar image

I have a requirement as following in one of my POC. 1) I have an application where it would be running on a particular virtual machine. Let's assume that this VM is assigned to a particular core (0). 2) Based on the load of the current application, let's assume that CPU load of Core (0) is reaching around 80% which is very critical to be assumed. 3) Now at this instance, I would like to spawn one more virtual machine on another Core (1) which will handle one more instance of my application. So here are my questions based on the above requirements. 1) Which module of openstack keeps monitoring such condition? i.e. measuring the CPU load of Core (0) ?. 2) Let's assume that this is measured by module X (X is answer to my question 1). In this case, I want to set my own rule to the module X. For e.g. I may want to ask to spawn on extra VM only when the CPU load is 80% and further to change this value to 90% etc. So is there a provision to give such input? 3) Further is this X module only going to spawn the VMs?. Or is to going to inform someone to spawn the VMs?. 4) I am just trying to visualize the flow when the above scenario hits (CPU load) and want to spawn a VM. Just would like to know through what all the modules the request & response flows. It would be really great if you can clarify the above for me. Based on these answers, I have some more queries which I would like to ask further. We are doing an important POC and we are new to openstack. Hence your respond would be of a great help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-07-22 04:49:10 -0500

SGPJ gravatar image

I don't have answers for all of your questions, but this can be done by writing few scripts using Monasca https://wiki.openstack.org/wiki/Monasca or by using Ceilometer & High availability services.

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-07-22 00:57:58 -0500

Seen: 658 times

Last updated: Jul 22 '15