入门篇架构如下:
基础软件包安装
基础软件包需要在所有的OpenStack节点上进行安装,包括控制节点和计算节点。
1.安装EPEL仓库
# rpm -ivh [url]http://mirrors.aliyun.com/epel ... h.rpm[/url]
2.安装OpenStack仓库
# yum install -y centos-release-openstack-mitaka
3.安装OpenStack客户端
# yum install -y python-openstackclient
4.安装openstack SELinux管理包
# yum install -y openstack-selinux
MySQL数据库部署
MySQL安装
[root@linux-node1 ~]# yum install -y mariadb mariadb-server python2-PyMySQL
消息代理RabbitMQ
1.安装RabbitMQ
[root@linux-node1 ~]# yum install -y rabbitmq-server
OpenStack验证服务KeyStone
1.安装keystone
# yum install -y openstack-keystone httpd mod_wsgi memcached python-memcached
Glance部署
1.安装Glance
[root@linux-node1 ~]# yum install -y openstack-glance
Nova控制节点部署 linux-node1
首先我们需要先在控制节点部署除nova-compute之外的其它必备的服务。
[root@linux-node1 ~]# yum install -y openstack-nova-api openstack-nova-cert \ openstack-nova-conductor openstack-nova-console \ openstack-nova-novncproxy openstack-nova-scheduler
Nova计算节点部署 linux-node2
[root@linux-node2 ~]# yum install -y openstack-nova-compute sysfsutils
Neutron控制节点部署 linux-node1
[root@linux-node1 ~]# yum install -y openstack-neutron openstack-neutron-ml2 \ openstack-neutron-linuxbridge ebtables
Neutron在计算节点中的部署 linux-node2
[root@linux-node2 ~]# yum install -y openstack-neutron openstack-neutron-linuxbridge ebtables
转载自恩师博客:https://www.unixhot.com/article/64