Difference between revisions of "Rally/HowTo"
< Rally
(Replaced content with "= How to use Rally =") |
|||
Line 1: | Line 1: | ||
− | = | + | |
+ | = Before starting = | ||
+ | |||
+ | Ensure that you properly installed environment and Rally: | ||
+ | [[Rally/installation|Rally Installation instruction]] | ||
+ | |||
+ | = Run It! first time = | ||
+ | |||
+ | The easiest way to test this stuff is to use already existing OpenStack '''DevStack''' deployed | ||
+ | |||
+ | |||
+ | The simplest way to test this stuff is to use FakeEngine (that just retruns | ||
+ | |||
+ | If you would like to run Rally Benchmarks against existing OpenStack Cloud | ||
+ | then you should use FakeEngine that will return just endpoints from you config | ||
+ | |||
+ | Input config should look like: | ||
+ | |||
+ | <pre> | ||
+ | { | ||
+ | "deploy": { | ||
+ | "engine_name": "FakeEngine", | ||
+ | "cloud_config": { | ||
+ | "identify": | ||
+ | "url": "http://localhost/", | ||
+ | "uri": "http://localhost:500", | ||
+ | "admin_username": "admin", | ||
+ | "admin_password": "admin_pass", | ||
+ | } | ||
+ | }, | ||
+ | |||
+ | "tests": { | ||
+ | "verify": { | ||
+ | "tests_to_run": ["sanity", "snapshot", "smoke"] | ||
+ | }, | ||
+ | "benchmark": { | ||
+ | "tests_to_run": { | ||
+ | "nova.servers.test_boot_and_delete_sequentially": [ | ||
+ | {"args": {"amount": 5}, "times": 1, "concurrent": 1}, | ||
+ | {"args": {"amount": 10}, "times": 4, "concurrent": 2}, | ||
+ | ] | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </pre> |
Revision as of 19:49, 16 September 2013
Before starting
Ensure that you properly installed environment and Rally: Rally Installation instruction
Run It! first time
The easiest way to test this stuff is to use already existing OpenStack DevStack deployed
The simplest way to test this stuff is to use FakeEngine (that just retruns
If you would like to run Rally Benchmarks against existing OpenStack Cloud then you should use FakeEngine that will return just endpoints from you config
Input config should look like:
{ "deploy": { "engine_name": "FakeEngine", "cloud_config": { "identify": "url": "http://localhost/", "uri": "http://localhost:500", "admin_username": "admin", "admin_password": "admin_pass", } }, "tests": { "verify": { "tests_to_run": ["sanity", "snapshot", "smoke"] }, "benchmark": { "tests_to_run": { "nova.servers.test_boot_and_delete_sequentially": [ {"args": {"amount": 5}, "times": 1, "concurrent": 1}, {"args": {"amount": 10}, "times": 4, "concurrent": 2}, ] } } } }