目录
前文列表
Controller Node
Install and configure components
Setup DNS Server
Setup NTP Server
Install SQL Database
Setup Message queue
Setup Memcached
Openstack组件部署 — Overview和前期环境准备
控制节点是整个Openstack控制枢纽,可以将Database、Message queue、DNS、NTP、Keystone等服务集成到一起,当然Openstack实现了松耦合的架构思想,因此所有的组件都可以在任意Node中安装组合,视乎实际情况而定。
step1.
**Step2.**Edit the config file.
**Step3.**Forward Domain
vim /etc/named.rfc1912.zones
Create zone config file:
vim /var/named/jmilk.com.zone
vim /etc/resolv.conf
注意:当需要联网安装软件包时,还是需要将DNSSERVER指向外网DNSSERVER
Restart the named service:
Install the packages:
Edit the /etc/chrony.conf:
vim /etc/chrony.conf
Start the NTP service and configure it to start when the system boots:
CHECK:
Create and edit the /etc/my.cnf.d/openstack.cnf file
vim /etc/my.cnf.d/openstack.cnf
Start the database service and configure it to start when the system boots:
初始化MySQL:
OpenStack使用message queue实现协调操作和服务之间的状态信息。Message queue service一般在Controller Node上运行。
OpenStack常用的消息代理软件:
RabbitMQ(更加常用)
Qpid
ZeroMQ
Install the package:
Start the message queue service and configure it to start when the system boots:
Add the openstack user
Permit configuration, write, and read access for the openstack user:
The Identity service authentication mechanism for services uses Memcached to cache tokens. Memcached缓存技术用于对Keystone组件的认证信息token进行缓存。一般安装在Controller Node上,在生产系统中,建议使用认证、防火墙、加密的手段来保证token缓存的安全。
Start the Memcached service and configure it to start when the system boots: