OpenStack Queens first section

Source: Internet
Author: User
Tags install openssl local time openssl chrony
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.