Giter VIP home page Giter VIP logo

astapor's Introduction

Astapor

Configurations to set up foreman quickly, install openstack puppet modules and rapidly provision openstack compute & controller nodes with puppet.

This install is based on the redhat packstack quickstart rpm that can be found here: http://openstack.redhat.com/Quickstart with a few modifications

  • ntp module added
  • nova module "default_target" function added

Prerequisites:

RHEL 6.4

  • This should work on other operating systems, but has only been tested on RHEL6.4

Network layout

  • Each machine has a public and a private network interface (i.e eth0 & eth1)
  • Network gateway is at $(NETWORK).1

At least 3 machines

  • 1 Foreman Host (private address $(NETWORK).2 )
  • 1 OpenStack Controller Node (private address $(NETWORK.3 )
  • 1+ OpenStack Compute Nodes

Ipaddress defaults can be changed in the class parameters

Preconfiguration - these machines should be:

  • Running RHEL 6.4
  • Correctly subscribed & updated
  • Have a FQDN resolvable by others on the network
  • Network setup between 3 node types described above

Instructions

  1. Run foreman_server.sh. This will install foreman, setup your smart proxy, default host groups, some global variables, and install the OpenStack puppet classes
  2. When the installer is done, login to foreman https://FQDN/. Default login is admin/changeme
  3. You need to configure some parameters for your environment.
  • Navigate to MORE -> CONFIGURATION -> GLOBAL PARAMETERS
  • Edit anything with EDIT ME to something sensible for your environment
  1. Now you need to register hosts. foreman_server.sh generated /tmp/foreman_client.sh. scp that to your compute & controller nodes. Run it on each. It will install puppet and register it with your foreman server
  2. In the foreman UI, select HOSTS. Choose the host that you want to be the controller node
  3. Select EDIT HOST. Change HOSTGROUPS to OpenStack Controller Node.
  4. Run puppet agent on the node (puppet agent -tv)
  5. Repeat this process for each compute node, but set the HOSTGROUP to OpenStack Compute Node
  6. Voila!

astapor's People

Contributors

jguiditta avatar cwolferh avatar jistr avatar gildub avatar jsomara avatar rohara avatar bcrochet avatar jeckersb avatar gregsutcliffe avatar dulanjalie avatar radez avatar larsks avatar razorinc avatar gabrielecerami avatar rcritten avatar robparrott avatar russellb avatar vvaldez avatar paramite avatar mburns72h avatar ohadlevy avatar

Watchers

Aleksandr Brezhnev 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.