OpenStack is a software platform for building and managing private and public clouds mostly deployed as infrastructure-as-a-service (IaaS). Its a free and open-source software tool developed by biggest companies as well as thousands of individual community members.
OpenStack platform is set of projects like Nova for computing, Swift and Cinder for storage, Neutron for Networking, Octavia for load balancer, Keystone for identity service, Glance for image service, Head for orchestration and Horizon for the dashboard. For more information about the projects you can visit https://www.openstack.org/software/project-navigator/openstack-components#openstack-services
We have covered single-node OpenStack Stein installation using the RDO project on CentOS 7, although the deployment can be achieved on multiple nodes.
The hardware requirement is the machine with at least 16GB RAM, processors with hardware virtualization extensions, and at least one network adapter.
Before you proceed for installation, I recommend you to create a volume group with the name “cinder-volumes”, it is best to practice for production usage and use CONFIG_CINDER_VOLUMES_CREATE=n.
If you are installation OpenStack for testing purposes, you can use CONFIG_CINDER_VOLUMES_CREATE=y and you do not need to create an extra volume group, the packstack will create one for you.
Now, disable NetworkManager and firewalld
# systemctl disable firewalld NetworkManager
# systemctl stop firewalld NetworkManager
It’s always a good idea to keep the server up to date:
# yum update -y
Download and install OpenStack repository
# yum install -y centos-release-openstack-stein
Update the server
# yum update -y
Install RDO packstack installer
# yum install -y openstack-packstack
Generate packstack answer file, where you can customize the options. In the answer file, you can choose those projects you want to install and don’t want to install.
# packstack –gen-answer-file=answer.txt (answer file name can be anything)
Now, edit the answer.txt file with your favorite editor
# vim answer.txt
You can choose options as per your requirement, I have shown some basic configurations.
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-ex:en3s0p (Server’s network name)
CONFIG_NEUTRON_L2_AGENT=openvswitch (You can choose default ‘ovn’ but I found more convinentto select ‘openvswitch’ and also if you select ‘ovn’, it will be not suitable for LBAAS and FWAAS)
CONFIG_CINDER_VOLUMES_CREATE=n (It is suitable for production usage)
That’s it. Now run the answer file
# packstack –answer-file=answer.txt
It will take some time to complete the installation.
After the completed installation, you can log in to the dashboard and configure the network, add an image file, add security rules in the security group and deploy the instance.
Hostperl offers best-in-class and reliable, scalable Openstack Cloud Servers. If you have any questions regarding sales you can contact us on sales@hostperl. If you have any question regarding technical issues, you can contact us on email@example.com