Jump to: navigation, search

Difference between revisions of "Rally/ServerProviders"

(Configuration Examples)
(Clone VM from pre-built template using virsh)
Line 24: Line 24:
 
     {
 
     {
 
         "name": "VirshProvider",
 
         "name": "VirshProvider",
         "virsh_connection": "qemu+ssh://user@host.net/system",
+
         "connection": "user@host.net",
 
         "vm_name": "virsh-test",
 
         "vm_name": "virsh-test",
 
         "clone_from_template": "devstack-template"
 
         "clone_from_template": "devstack-template"

Revision as of 14:26, 15 October 2013

Available Server providers

DummyProvider

Description

This provider does nothing, but returns endpoints from configuration. This may be useful if you have specific software/hardware configuration ready to deploy OpenStack.

Configuration Example

   {
       "name": "ExampleEngine",
       "provider": {
           "name": "DummyProvider",
           "credentials": ["root@host1.net", "root@host2.net"]
       }
   }


VirshProvider

Description

This provider creates virtual machines on host provided by configuration.

Configuration Examples

Clone VM from pre-built template using virsh

   {
       "name": "VirshProvider",
       "connection": "user@host.net",
       "vm_name": "virsh-test",
       "clone_from_template": "devstack-template"
   }

LxcProvider

Description

This provider creates lxc containers on host provided by another provider. This may be useful if you want to run a lots of compute nodes with fake virt.

Configuration Example

   {
       "name": "LxcProvider",
       "containers_per_host": 4,
       "distribution": "debian",
       "host_provider": {
           "name": "DummyProvider",
           "credentials": ["root@host.net"]
           }
   }



Note

All these providers, except DummyProvider still under development. Stay tuned.