部署环境介绍:
环境:
Centos 7.3
Kolla 4.0
Openstack Ocata
两台虚拟机节点:
kolla1
配置:4CPU 8G 双网卡 /dev/sdb 200G 做存储盘
角色:部署节点+控制+网络+计算
ens32 100.100.100.1,管理+内部网络
ens33 无IP 外部网络
kolla2
配置:4CPU 8G 双网卡 /dev/sdb 200G 做存储盘
角色: 控制+网络+计算
ens32 100.100.100.2,管理+内部网络
ens33 无IP 外部网络
以下操作在两个节点执行:
关闭selinux
编辑 /etc/selinux/config
SELINUX=disabled
关闭防火墙
systemctl status firewalld
systemctl stop firewalld
systemctl disable firewalld
systemctl status firewalld
firewall-cmd --state
部署NTP
yum install ntp -y
systemctl enable ntpd.service
systemctl start ntpd.service
设置相应的主机名和修改/etc/hosts文件
1)/etc/hostname
kolla1
2)/etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
100.100.100.4 kolla1
100.100.100.5 kolla2
<