Jump to: navigation, search

Difference between revisions of "Rally/ServerProviders"

m (Sergey Skripnick moved page ServerProviders to Rally/ServerProviders)
m (Available Server Providers: cleaned up configuration examples)
Line 5: Line 5:
 
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===
    {
+
 
    "deploy": {
 
 
         "name": "ExampleEngine",
 
         "name": "ExampleEngine",
 
         "provider": {
 
         "provider": {
Line 12: Line 11:
 
             "credentials": ["root@host1.net", "root@host2.net"]
 
             "credentials": ["root@host1.net", "root@host2.net"]
 
         }
 
         }
    },
 
    "tests": {}
 
    }
 
  
 
==LxcProvider==
 
==LxcProvider==
Line 20: Line 16:
 
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.
 
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===
 
===Configuration Example===
    {
+
 
    "deploy": {
+
         "name": "LxcProvider",
         "name": "DevstackEngine",
+
         "containers_per_host": 4,
        "localrc": {
+
        "distribution": "debian",
            "VIRT_DRIVER": "fake"
+
        "host_provider": {
        },
+
            "name": "DummyProvider",
         "provider": {
+
            "credentials": ["root@host.net"]
            "name": "LxcProvider",
 
            "containers_per_host": 4,
 
            "distribution": "debian",
 
            "host_provider": {
 
                "name": "DummyProvider",
 
                "credentials": ["root@host.net"]
 
            }
 
 
         }
 
         }
    },
+
 
    "tests": {}
 
    }
 
 
==VirshProvider==
 
==VirshProvider==
 
===Description===
 
===Description===
Line 43: Line 30:
 
===Configuration Examples===
 
===Configuration Examples===
 
====Clone VM from pre-built template using virsh====
 
====Clone VM from pre-built template using virsh====
    "provider": {
+
 
 
         "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====
    "provider": {
+
 
 
         "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/"
    }
 
  
 
=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 13:13, 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"]
       }

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"]
       }

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/"

Note

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