Detail Openstack environment preparation
- 2020-06-12 11:13:42
- OfStack
Openstack official learning site
http://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/
Openstack ready for installation
Environment to prepare
Centos7-192.168.56.11 linux-node1.oldboyedu.com
Centos7-192.168.56.12 linux-node2.oldboyedu.com
hosts for both hosts
192.168.56.11 linux-node1 linux-node1.oldboyedu.com192.168.56.12 linux-node2 linux-node2.oldboyedu.com
The base package is installed on both hosts
1. EPEL source installation
rpm -ivh http://mirrors.aliyun.com/epel/epel-release-latest-7.noarch.rpm
2. Install the Openstack warehouse
yum install -y centos-release-openstack-mitaka
3. Install Openstack client
yum install -y python-openstackclient
4. Install the openstack SELinux management package
yum install -y openstack-selinux
5. Install Mysql on control node 192.168.56.11
[root@linux-node1 ~]# yum install -y mariadb mariadb-server python2-PyMySQL
6. Install message queue RabbitMQ on the control node
[root@linux-node1 ~]# yum install -y rabbitmq-server
7. Install Openstack verification service KeyStone on the control node
[root@linux-node1 ~]# yum install -y openstack-keystone httpd mod_wsgi memcached python-memcached
8. Install Glance on the control node
[root@linux-node1 ~]# yum install -y openstack-glance
9. The Nova control node deploies ES71en-node1 and installs necessary services in addition to ES73en-ES74en in the control node
root@linux-node1 ~]# yum install -y openstack-nova-api openstack-nova-cert \ openstack-nova-conductor openstack-nova-console \ openstack-nova-novncproxy openstack-nova-scheduler
10.Nova compute node deployment
[root@linux-node2 ~]# yum install -y openstack-nova-compute sysfsutils
11. Install Neutron network services on the control node
[root@linux-node1 ~]# yum install -y openstack-neutron openstack-neutron-ml2 openstack-neutron-linuxbridge ebtables
12.Neutron deployed on compute nodes
[root@linux-node2 ~]# yum install -y openstack-neutron openstack-neutron-linuxbridge ebtables