Git Product home page Git Product logo

playbook's Introduction

Eucalyptus Playbook

This is a playbook for deploying Eucalyptus via packages in accordance with reference Architectures. Depends on ansible 1.3 or above. There are a number of inventory files which aim to mimic the topology of Eucalyptus per the reference architectures found here: http://www.eucalyptus.com/eucalyptus-cloud/reference-architectures/dev-test-large (minus SAN).

Configuration

Note that variables for the installation should be configured in vars/main.yml. Here you can change the software version, network settings etc.

Some variable definitions are deprecated so you might want to set this parameter in /etc/ansible/ansible.cfg to remove warnings:

deprecation_warnings = False

... and due to this legacy syntax this playbook does not work with 1.6-devel (i.e. from checkout). You will definately need this too, for now:

error_on_undefined_vars = False

You might also want to consider (if you rebuild a lot) disabling host key checking by enabling the line:

host_key_checking = False

Getting Started

Edit the inventory file template you wish to use. You'll need to put your host systems into here:

[clc]
myclc.mydomain.com

[walrus]
mywalrus.mydomain.com

[sc]
mysc.mydomain.com

[cc]
mycc.mydomain.com

[nc]
mynode.mydomain.com

Test by making sure you can reach your hosts, using the ping module.

# ansible clc:walrus:sc:cc:nc -m ping
# ansible cc:nc -m ping
192.168.249.65 | success >> {
    "changed": false, 
    "ping": "pong"
}

192.168.249.66 | success >> {
    "changed": false, 
    "ping": "pong"
}

192.168.249.18 | success >> {
    "changed": false, 
    "ping": "pong"
}

192.168.249.67 | success >> {
    "changed": false, 
    "ping": "pong"
}

192.168.249.64 | success >> {
    "changed": false, 
    "ping": "pong"
}

192.168.249.69 | success >> {
    "changed": false, 
    "ping": "pong"
}

192.168.249.70 | success >> {
    "changed": false, 
    "ping": "pong"
}

192.168.249.71 | success >> {
    "changed": false, 
    "ping": "pong"
}

192.168.249.68 | success >> {
    "changed": false, 
    "ping": "pong"
}

Now edit vars/main.yml and change your desired variables. You'll definately want to check the version and network parameter variables. Of particular interest, outside of Eucalyptus' configuration is the bridging section. The playbooks have only been tested in MANAGED-NOVLAN and, to a lesser extent, MANAGED modes. As such, you need a bridged interface on your Node Controllers. This section controls that:

bridge: br0
bridge_iface: em2

bridge is the name of your network bridge that the playbook will create. bridge_iface is the interface which will be bridged to this. The bridge_iface interface needs to be on the same network as your CC. Please consult the Eucalyptus docuemtnation for more information: www.eucalyptus.com/docs.

Next, you can go ahead and run your playbook:

ansible-playbook -i dev-test-pilot-hosts site.yml

Use the -u option to specify the username, -k if you want to pass a common SSH password (consider using key based auth) and -s for sudo and -S for passing the sudo password.

playbook's People

Contributors

lwade avatar dmitrii avatar

Stargazers

Javier Vivanco avatar Vladimir Lyzo avatar Scott Suehle avatar  avatar

Watchers

Garrett Holmstrom avatar Greg DeKoenigsberg avatar David Kavanagh avatar Vic Iglesias avatar Sang-Min Park avatar  avatar James Cloos avatar chris grzegorczyk avatar Harold Spencer Jr. avatar  avatar Kyo Lee avatar Neil Soman avatar Vasiliy avatar Scott Suehle avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.