Multi-Node OpenStackInstallation Guide Part-I
Multi-Node OpenStackInstallation Guide Part-I
Using
Multi-node OpenStack
(Part-I)
By:
Sabir Mustafa
Project Lead
RHCE, MCSA, Oracle Enterprise Linux Certified
Web site: www.sabirmustafa.com
Ph: +923336781389
Host Access Client Package(HACP), Enterprise Modernization IBM
Royal Cyber Inc
Contents
INTRODUCTION ............................................................................................................................................. 3
Environment Settings .................................................................................................................................... 4
Controller Node ........................................................................................................................................ 4
Network Node ........................................................................................................................................... 4
Compute Node .......................................................................................................................................... 4
Tasks to be performed during installation. ................................................................................................... 4
Post install actions (For All Nodes) ............................................................................................................... 4
Update all packages .................................................................................................................................. 4
Disable Selinux .......................................................................................................................................... 4
Disable Firewall (or you need to write rules accordingly) ........................................................................ 5
Disable NetworkManager and enable “network” .................................................................................... 5
Grant root privileges to “test1” user ........................................................................................................ 5
Update “hosts” file.................................................................................................................................... 5
NTP settings (Controller node) ..................................................................................................................... 5
NTP settings (Network and Compute node) ................................................................................................. 6
Testing the NTP settings ............................................................................................................................... 6
OpenStack Packages (For all Nodes) ............................................................................................................. 7
Database (Controller node only)................................................................................................................... 7
Install the packages................................................................................................................................... 7
Start the Database service ........................................................................................................................ 7
Secure the database ................................................................................................................................. 8
Messaging Server (Controller node only) ..................................................................................................... 8
Start and configure the Messaging Server ................................................................................................ 8
Credits ........................................................................................................................................................... 9
INTRODUCTION
The installation guide has separated the OpenStack deployment on 3 servers. The Controller Node,
Network Node and Compute Node. The guide covers detailed component installation on each node.
Environment Settings
Controller Node
CentOS 7 64-bit Virtual Machine on VMWare
o 01 LAN Card using NAT network
o RAM 02 GB
o Virtual Disk 05 GB
o Virtual Processors 1x1
Network Node
CentOS 7 64-bit Virtual Machine on VMWare
o 03 LAN Card, 02 using NAT network and 01 using Bridged network
o RAM 512MB
o Virtual Disk 05 GB
o Virtual Processors 1x1
Compute Node
CentOS 7 64-bit Virtual Machine on VMWare
o 02 LAN Cards using NAT network
o RAM 04 GB
o Virtual Disk 20 GB
o Virtual Processors 2x2
User creation (create a user “test1” and provide its password as desired)
Disable Selinux
vi /etc/selinux/config
and change
SELINUX=enforcing To SELINUX=disabled
save and reboot
Disable Firewall (or you need to write rules accordingly)
systemctl stop firewalld
systemctl disable firewalld
systemctl stop firewalld.service
The remote column must contain hostname or IP of one or more NTP servers
The condition column should indicate sys.peer for at least one server
The default username/password is “guest” for the rabbit. Run following command to change the
password.
or
Note:- The rabbit_password key must be configured in each OpenStack service that uses the message
broker.
Remote access is to be enabled for guest account if version is higher than3.3.0. Check the version using
following command.