Openstack-newton version of cloud Computing (i)

Source: Internet
Author: User
Tags chrony

OpenStack Build Prep Work

    1. Host name and server IP address

Controller 192.168.23.98 (Control node) compute1 192.168.23.61 (Compute node)

2. Configuring the Hosts resolution

[[email protected] ~]# vim/etc/hosts add 192.168.23.98 controller192.168.23.61 compute1[[email protected] ~]# scp/etc/ hosts [email protected]:/etc/hosts to ensure that the hosts file for each node is unified

3. Verification

[Email protected] ~]# ping-c 4 compute1ping compute1 (192.168.23.61) (+) bytes of data.64 bytes from compute1 (192.16 8.23.61): icmp_seq=1 ttl=64 time=0.639 ms64 bytes from compute1 (192.168.23.61): icmp_seq=2 ttl=64 time=0.307 ms64 bytes F Rom compute1 (192.168.23.61): icmp_seq=3 ttl=64 time=0.324 ms64 bytes from compute1 (192.168.23.61): Icmp_seq=4 ttl=64 Tim e=0.312 ms---compute1 PING statistics---4 packets transmitted, 4 received, 0% packet loss, time 3000msrtt MIN/AVG/MAX/MD EV = 0.307/0.395/0.639/0.142 ms

5. Turn off Selinx and firewall firewalld

The following command all nodes Execute # sed-i ' s/selinux=enforcing/selinux=disabled/g '/etc/selinux/config# setenforce 0# systemctl Stop                 firewalld.service# systemctl Disable firewalld.service# reboot# sestatus–v Check if successful SELinux status is turned off: Disabled

4. Configure the time synchronization server (NTP)

Control Node [[email protected] ~]# yum install chrony -y               installation Service [[email protected] ~]# sed -i  ' s/ #allow  192.168\/16/allow 192.168\/16/g '  /etc/chrony.conf [[email protected] ~]#  cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime     Change the time zone to start the NTP service [[Email  protected] ~]# systemctl enable chronyd.service[[email protected] ~]#  systemctl start chronyd.service Configuring compute nodes [[Email protected] ~]# yum install  chrony -y[[email protected] ~]# sed -i  ' s/^server.*$//g '  /etc/ chrony.conf [[email protected] ~]# sed -i  "n;2aserver controller  Iburst " /etc/chrony.conf [[email protected] ~]# cp /usr/share/zoneinfo/asia/ Shanghai /etc/localtime    changing the time zone to start the NTP service [[Email protected] ~]# systemctl enable chronyd.service[[email  protected] ~]# systemctl start chronyd.servic

5.openstack installation Package

All nodes Execute # yum install centos-release-openstack-newton-y# yum upgrade-y# yum install python-openstackclient Openstack-seli Nux-y

Basic preparation is basically done

This article is from the Linux OPS blog, so be sure to keep this source http://lijiawang.blog.51cto.com/10156897/1890696

Openstack-newton version of cloud Computing (i)

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.