Changes

From Amahi Wiki
Jump to: navigation, search
=Setup=
* Download [http://mirrors.cat.pdx.edu/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso CentOS 7.2 x86_64 minimal] image and install following [http://www.if-not-true-then-false.com/2014/centos-7-netinstall-guide/ CentOS 7.2 Netinstall Guide] tutorial. Refer to [https://openstack.redhat.com/Quickstart RDO Quickstart] for the OpenStack installation guidance.
* Configure FQDN (<code>/etc/hosts</code> and <code>/etc/hostname</code>)
 
* Added static IP and disabled NetworkManager:
sudo systemctl disable firewalld
sudo systemctl enable network
sudo systemctl start network
 
* Add users and private keys for SSH login
 
* Disable SSH password and root login
 
* Install Open Stack Mitaka Repo
 
sudo yum install -y centos-release-openstack-mitaka
 
* Perform OS update
 
yum -y update
 
* Install Packstack Installer
 
sudo yum install -y openstack-packstack
 * Run Packstack to install OpenStack following [https://openstack.redhat.com/Quickstart RDO Quickstart] instructions (as '''root'''): 
packstack --allinone --provision-demo=n --os-neutron-ovs-bridge-mappings=extnet:br-ex \
--os-neutron-ml2-type-drivers=vxlan,flat</code>
 
* After completion, configure network bridging. Make /etc/sysconfig/network-scripts/ifcfg-br-ex resemble:
<pre>
ONBOOT=yes
</pre>
 
Make /etc/sysconfig/network-scripts/ifcfg-enp2s0 resemble (no BOOTPROTO!):
<pre>
ONBOOT=yes
</pre>
 
* Restart network:
 
systemctl restart network
 
* Extend cinder-volumes past 20GB to allow for creating additional volumes to attach to instances.
** Followed the [https://udaraliyanage.wordpress.com/2014/05/23/openstack-increase-volume-capacity OpenStack Increase Volume Capacity] tutorial (substitute any name for ''cinder-volumes'')
12,424

edits