Bash scripts for VMs management
Here we use 3 VMs as servers for Openstack Controller + Compute + Network. I put up a script for this here:
git clone https://github.com/thuydang/kvm_scripts my_openstack_dev_dir
- edit create_image.sh with proper image-name for the VM.
- install Fedora 20 when prompted.
copy it to 3 new images: image-name-{controller, compute, network}.qcow2
Network diagram here!
2.1) There are 3 network interfaces on each Server. 3 Sample network files for each server are in: scripts/ifcfg-ensx. Edit them for each server according to the diagram above.
For each server:
TBD
yum install -y puppet
Install puppet modules for Openstack Juno: puppet module install puppetlabs-openstack --version 5.0.2
Replace openstack module with the customized one for our servers: cd /etc/puppet/modules/ rm -rf openstack git clone https://github.com/thuydang/puppetlabs-openstack/tree/td_up_5.0.2 openstack
https://github.com/thuydang/puppetlabs-openstack/blob/td_up_5.0.2/README.td