This document describes how to install OpenStack Havana release on CentOS-6.5.
The installation can be (1) single controller node plus multiple compute nodes or (2) all-in-one single node.
Controller node also acts as storage node and network node.
Neutron setup uses (ML2 plugin + OVS) combination.
During CentOS-6.5 installation on controller node, please (1) reserve one disk partition or (2) reserve free space on system LVM2 volume group (for VM volumes).
After CentOS-6.5 is installed (on either controller node or compute node), please do the following setup:
Disable SELinux:
# edit /etc/sysconfig/selinux SELINUX=disabled
Disable firewall:
$ lokkit --disabled
Add static host entries:
# edit /etc/hosts X.X.X.X os-controller X.X.X.X os-compute1 X.X.X.X os-compute2
Reboot
If one disk partition is dedicated for Cinder Service volume group:
$ pvcreate /dev/sdX $ vgcreate cinder-volumes /dev/sdX
Please refer to ctos6-repo.sh
also.
EPEL-6 Repo:
$ rpm -i http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
RDO Repo:
$ rpm -i http://repos.fedorapeople.org/repos/openstack/openstack-havana/rdo-release-havana-7.noarch.rpm
Update OS:
$ yum update
Example <os.cfg> file:
OS_CTL_IP=192.168.1.1 OS_ADMIN_IF=eth0 OS_DATA_IF=eth1 OS_ISCSI_IF=eth0 OS_ISCSI_VG=cinder-volumes OS_NET_VLANS=100:199 MYSQL_PW=admin OS_ADMIN_PW=admin OS_GLANCE_PW=glance OS_CINDER_PW=cinder OS_NEUTRON_PW=neutron OS_NOVA_PW=nova
<ctos6-controller-inst.sh>:
$ ctos6-controller-inst.sh os.cfg mysql $ ctos6-controller-inst.sh os.cfg qpid $ ctos6-controller-inst.sh os.cfg ostk-all # edit /etc/openstack-dashboard/local_settings ALLOWED_HOSTS = ['*'] $ service httpd restart
If you want controller node to run hypervisor and VMs:
$ ctos6-controller-inst.sh os.cfg nova-compute
<ctos6-compute-inst.sh>:
$ ctos6-compute-inst.sh os.cfg all
Uninstall and cleanup compute node:
$ ctos6-compute-uninst.sh all
Uninstall and cleanup controller node:
$ ctos6-controller-uninst.sh all