Jump to: navigation, search

Difference between revisions of "Rally/ServerProviders"

(Note)
m (Available Server Providers)
Line 6: Line 6:
 
This provider does nothing, but returns endpoints from configuration. This may be useful if you have specific software/hardware configuration ready to deploy OpenStack.
 
This provider does nothing, but returns endpoints from configuration. This may be useful if you have specific software/hardware configuration ready to deploy OpenStack.
 
===Configuratoin Example===
 
===Configuratoin Example===
 
+
    {
 
         "name": "ExampleEngine",
 
         "name": "ExampleEngine",
 
         "provider": {
 
         "provider": {
Line 12: Line 12:
 
             "credentials": ["root@host1.net", "root@host2.net"]
 
             "credentials": ["root@host1.net", "root@host2.net"]
 
         }
 
         }
 
+
    }
  
 
==VirshProvider==
 
==VirshProvider==
Line 20: Line 20:
 
===Configuration Examples===
 
===Configuration Examples===
 
====Clone VM from pre-built template using virsh====
 
====Clone VM from pre-built template using virsh====
 
+
    {
 
         "name": "VirshProvider",
 
         "name": "VirshProvider",
 
         "virsh_connection": "qemu+ssh://user@host.net/system",
 
         "virsh_connection": "qemu+ssh://user@host.net/system",
 
         "vm_name": "virsh-test",
 
         "vm_name": "virsh-test",
 
         "clone_from_template": "devstack-template"
 
         "clone_from_template": "devstack-template"
 
+
    }
 
====Create new VM on local machine====
 
====Create new VM on local machine====
 
+
    {
 
         "name": "VirshProvider",
 
         "name": "VirshProvider",
 
         "virsh_connection": "qemu:///system",
 
         "virsh_connection": "qemu:///system",
 
         "vm_name": "devstack-virsh-test",
 
         "vm_name": "devstack-virsh-test",
 
         "netinstall_url": "http://mirror.net/debian/amd64/"
 
         "netinstall_url": "http://mirror.net/debian/amd64/"
 
+
    }
  
 
==LxcProvider==
 
==LxcProvider==
Line 40: Line 40:
 
===Configuration Example===
 
===Configuration Example===
  
 +
    {
 
         "name": "LxcProvider",
 
         "name": "LxcProvider",
 
         "containers_per_host": 4,
 
         "containers_per_host": 4,
Line 46: Line 47:
 
             "name": "DummyProvider",
 
             "name": "DummyProvider",
 
             "credentials": ["root@host.net"]
 
             "credentials": ["root@host.net"]
        }
+
            }
 
+
    }
  
 
=Note=
 
=Note=
 
All this providers, except DummyProvider still under development. Stay tuned.
 
All this providers, except DummyProvider still under development. Stay tuned.

Revision as of 15:08, 14 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.

Configuratoin 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",
       "virsh_connection": "qemu+ssh://user@host.net/system",
       "vm_name": "virsh-test",
       "clone_from_template": "devstack-template"
   }

Create new VM on local machine

   {
       "name": "VirshProvider",
       "virsh_connection": "qemu:///system",
       "vm_name": "devstack-virsh-test",
       "netinstall_url": "http://mirror.net/debian/amd64/"
   }

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 this providers, except DummyProvider still under development. Stay tuned.