This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
SPL Demo
wtome edited this page Sep 23, 2013
·
8 revisions
#To get the SPL git clone http://github.com/cci-moc/moc-public.git #as root (sudo) export PYTHONPATH=/home/mocuser/moc-public/python-mocutils cd /home/mocuser/moc-public/python-mocutils/scripts ./sply.py provision.db #possible commands help #shows all commands show all #show everything show nodes #shows all active nodes show free nodes #shows all free nodes #destroy vlan [name] ##delete group under vlan tag #destroy old switch config for demo destroy group demo destroy vlan 108 #create vlan for demo create vlan 108 #create group and head node for group create group demo vlan 108 head-node vlan-head-108 #reshow the newly created group show group demo #add nodes to group add 8,10,12 to demo #deploy our new virtual machines deploy ##errors will be seen as you recreate bridges that already exist #head nodes ip: 192.168.3.28 ssh [email protected] #To power-cycle and deploy OpenStack from within the head node: sudo ./openstack-kickoff # To power cycle nodes additionally if needed: #power_cycle 10.0.0.8 #power_cycle 10.0.0.10 #power_cycle 10.0.0.12 #the links to pxelinux.cfg files have now been made for each mac address #under /var/lib/tftboot/pxelinux.cfg # Now a web browser on Death Star's 3-net pointed at 192.168.3.8 will show us a Horizon window. # Grab a disk image such as the qcow image from https://launchpad.net/cirros/+download # Something may be wrong with the puppet config for yum installing nova network on the controller. yum install openstack-nova-network ; service openstack-nova-network start # Everything else has the RPM already but will need to be rebooted or have the network restarted # now that the controller is happily running nova network: service openstack-nova-network restart