CentOS 7
Ads

OpenStack Ocata : Pre-Requirements
2017/02/27
 
This is the exmaple of Cloud Computiong by OpenStack Ocata.
Install some services that some components of OpenStack needs for system requirements on here.
This example is based on the emvironment like follows.
                  eth0|10.0.0.30 
          +-----------+-----------+
          |    [ Control Node ]   |
          |                       |
          |  MariaDB    RabbitMQ  |
          |  Memcached            |
          +-----------------------+

[1]
[2] Add the repository of Openstack Ocata.
[root@dlp ~]#
yum -y install centos-release-openstack-ocata

[root@dlp ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-OpenStack-ocata.repo

[3] Install MariaDB server.
It's possible to use MariaDB 5.5 on CentOS Base repository though, but on this exmaple, Install MariaDB 10.1 provided from CentOS Release Openstack Newton above.
After installation, Configure basic settings, refer to here.
# install from Openstack Ocata

[root@dlp ~]#
yum --enablerepo=centos-openstack-ocata -y install mariadb-server
[4] Install RabbitMQ, Memcached.
# install from EPEL

[root@dlp ~]#
yum --enablerepo=epel -y install rabbitmq-server memcached
[root@dlp ~]#
systemctl start rabbitmq-server memcached

[root@dlp ~]#
systemctl enable rabbitmq-server memcached

# add openstack user (set any password you like for "password")

[root@dlp ~]#
rabbitmqctl add_user openstack password

Creating user "openstack" ...
...done.
[root@dlp ~]#
rabbitmqctl set_permissions openstack ".*" ".*" ".*"

Setting permissions for user "openstack" in vhost "/" ...
...done.
[5] If Firewalld is running, allow ports for services.
[root@dlp ~]#
firewall-cmd --add-port={11211/tcp,5672/tcp} --permanent

success
[root@dlp ~]#
firewall-cmd --reload

success
 
Tweet