system: Centos7 x86_64
Controller 2c+6g+40g 192.168.147.50 can nat internet
Compute 1c+4g+40g 192.168.147.60 can be NAT internet
Neutron 1c+2g+20g 192.168.147.70 can nat Internet off SELinux:
sudo setenforce 0 && sudo sed-i '/selinux/s/enforcing/disabled/'/etc/selinux/config && sestatus
shut down the mission firewall
Systemctl Stop firewalld.service
systemctl disable Firewalld.service
configuration hostname:
Vim/etc/hosts
192.168.72.50 openstack-controller openstack-controller.com
192.168.72.60 openstack-compute openstack-compute.com
192.168.72.70 Openstack-neutron openstack-neutron.com
Restart and configure the gateway
Reboot
echo "nameserver 192.168.72.2" >/etc/resolv.conf
installation
all nodes-Basic packages:
Yum install OpenSSL openssl-devel net-tools vim wget-y
Time synchronization:
Controller node:
Yum Install chrony-y
vim/etc/chrony.conf
Join:
Server time.windows.com iburst allow
192.168.72.0/24
Start the service:
Systemctl Enable Chronyd.service
systemctl start Chronyd.service
Other nodes:
Yum Install chrony-y
vim/etc/chrony.conf
Join:
Server time.windows.com iburst
server 192.168.72.50 iburst
Start the service:
Systemctl Enable Chronyd.service
systemctl start Chronyd.service
all nodes:
Sync Clock:
Chronyc sources
Make sure that the time is synchronized.
Use Timedatectl status to view:
[Root@openstack-compute ~]#
Timedatectl status
Local time: One 2018-03-12 23:14:13 CST
Universal time: One 2018-03-12 15:14:13 UTC
RTC time: one 2018-03-12 15:14:13
time Zone:asia/shanghai (CST, +0800)
NTP enabled:yes
NTP synchronized:yes
RTC in local tz:no
DST Act ive:n/a
all nodes : Install OpenStack's Yum Source:
Yum install centos-release-openstack-queens-y
yum upgrade-y
yum install python-openstackclient-y
If the system is turned off, SELinux does not have to install this package:
Yum Install Openstack-selinux-y
Not to be continued