Jump to: navigation, search

Solum/solum m2 demo

< Solum
Revision as of 19:21, 30 April 2014 by Ed Cranford (talk | contribs) (Formatting and rewording)

Solum Milestone 2 Demo

The Solum M2 Demo represents the longer term program direction and does not represent currently implemented Solum features.

Solum Demo Vagrant Installation Instructions

These installation instructions were tested on Mac OS X v10.7.5.

  • Make a directory for the two repositories, and activate the demo UI. This demo uses the arbitrary ~/Solum_Demo.
mkdir ~/Solum-Demo
cd ~/Solum-Demo
git clone https://github.com/rackerlabs/vagrant-solum-dev.git vagrant
git clone https://github.com/rackerlabs/solum-m2demo-ui.git m2demo
export WEBGUI=`pwd`/m2demo
  • This demo uses docker containers by default but if a virtual machine is desired instead, add this command: export SOLUM_IMAGE_FORMAT=vm
cd vagrant
vagrant up

This may take about 15 minutes or so to install.

  • Finally, add a route so the demo app can be seen from your host machine:
sudo route add -net 192.168.78.0/24 192.168.76.11

Common Vagrant Commands

  • vagrant halt --- Stops the running vagrant but doesn't delete anything
  • vagrant up --provision --- Restarts a halted vagrant, and runs all provisioning scripts, including devstack in our case.
  • vagrant destroy --- Deletes the vagrant and all data (be careful!)

Navigating the Vagrant Screen Sessions

  • To log into the Vagrant session, use vagrant ssh
  • To list the screen sessions available use screen -ls
  • To connect to a given screen, screen -x bridge for example (it works as long as the name is an unambiguous subset of one screen session's name)