Openstack安装部署配置(二)
二、环境准备
2.1准备机器
本次实验使用的是VMvare虚拟机。详情如下
•控制节点
•hostname:linux-node1.oldboyedu.com
•ip地址:192.168.56.11网卡NAT eth0
•系统及硬件:CentOS 7.1内存2G,硬盘50G
•计算节点:
•hostname:linux-node2.oldboyedu.com
•ip地址:192.168.56.12网卡NAT eth0
•系统及硬件:CentOS 7.1内存2G,硬盘50G
2.2 OpenStack版本介绍
本文使用的是最新版L(Liberty)版,其他版本如下图
alt="" title="">
2.3安装组件服务
2.3.1控制节点安装
•Base
1yum install
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm-y
2yum installcentos-release-openstack-liberty -y
3yum install python-openstackclient -y
•MySQL
1yum installmariadb mariadb-server MySQL-python -y
•RabbitMQ
1yum installrabbitmq-server -y
•Keystone
1yum installopenstack-keystone httpd mod_wsgi memcachedpython-memcached -y
•Glance
1yum installopenstack-glance python-glancepython-glanceclient -y
•Nova
1yum install openstack-nova-apiopenstack-nova-cert openstack-nova-conductor openstack-nova-console openstack-nova-novncproxyopenstack-nova-scheduler python-novaclient -y
•Neutron
1yum install openstack-neutronopenstack-neutron-ml2 openstack-neutron-linuxbridge python-neutronclientebtables ipset -y
•Dashboard
1yum install openstack-dashboard -y
2.3.2计算节点安装
•Base
1yum install -yhttp://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
2yum installcentos-release-openstack-liberty -y
3yum install python-openstackclient -y
•Novalinux-node2.example.com
1yum install openstack-nova-compute sysfsutils-y
•Neutron
1yum install openstack-neutronopenstack-neutron-linuxbridge ebtables ipset -y