Ask Your Question
0

openstack load testing

asked 2016-02-17 00:56:27 -0600

Aun gravatar image

I have a three node openstack setup. I want to test openstack setup for stability. Here is what Im intended to use.

  1. Spawn 100 Virtual machines (Instances) on my compute node, each virtual machine having 2 GB of memory
  2. I'll run a particular application inside those virtual machines which will cause high resource usage on all of these instances.
  3. I need to see how my openstack setup performs at this level, how are instances responding during this stress.

Any idea how i should start and achieve this? Thanks!

Regards Aun

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
3

answered 2016-02-17 02:39:01 -0600

You can use rally. Its designed to test the Openstack deployments. It has various sample test to run in the Openstack deployment. You can set up the environment for running the sample tests and follow its step-by-step guide. Also refer to their wiki page for architectural details. Its a good tool for benchmarking your Openstack setup.

Hope that helps!!

edit flag offensive delete link more
0

answered 2016-03-03 12:10:06 -0600

hayderimran7 gravatar image

i think OP wants to have running vms- rally does cleanup after running the task. so it removes all vms after the task is completed. i overcame this by removing the cleanup part from code . lets say you want to run NovaServers.boot_server task https://github.com/openstack/rally/blob/0.3.0/rally/plugins/openstack/scenarios/nova/servers.py#L260 (https://github.com/openstack/rally/bl...) , in the cleaup change "nova" to "" , that way after rally completes the task, you will see the vms are running .

edit flag offensive delete link more

Comments

thank you. Its something i was looking for :)

Aun gravatar imageAun ( 2016-03-04 01:11:34 -0600 )edit
0

answered 2016-02-18 01:54:20 -0600

Aun gravatar image

Thanks for the valuable suggestions, Rally is good tool but does not satisfy most of my requirements. To explain, I'm looking for something like, I should run a script and it should trigger load on all instances, once I pause script, load should come back to normal on all instances, so in this way we will have evaluation of how openstack and instances perform.

edit flag offensive delete link more

Comments

You can check this, if it serves your purpose.

Syed Awais Ali gravatar imageSyed Awais Ali ( 2016-02-29 03:55:52 -0600 )edit

What are your requirements? Rally can do what you are asking, add more info so we can answer with a valuable answer. Regards

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-02-29 15:24:20 -0600 )edit

You can use the run-script-in-vm of testcase in ~/rally/samples/tasks/scenarios/vm/ folder.If you don's like it.I recommded the Ansibls.

wangxf gravatar imagewangxf ( 2016-03-03 23:18:19 -0600 )edit
0

answered 2016-03-03 23:08:30 -0600

wangxf gravatar image

I recommended the Rally, http://rally.readthedocs.org/en/latest/overview.html (http://rally.readthedocs.org/en/lates...). if you want to run some application in virtual machine. you can us the Ansible,It's help you batch execution commands. Hope to help you!

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-02-17 00:56:27 -0600

Seen: 240 times

Last updated: Mar 03 '16