Oracle VM + centos7.1+openstack kilo Multi-node installation tutorial---Basic Environment configuration (4)

Source: Internet
Author: User
Tags ping network

statement: recently in the OpenStack of the Kilo version of the installation, found that there are very few existing web tutorials, and most of the tutorials can not be installed successfully, so write this tutorial. The installation of OpenStack is complex, and this tutorial does not guarantee that it will be installed successfully in different environments. Personal installation tutorials are also prone to errors. At the same time, the installation is in the virtual machine environment, the real installation environment needs to be changed.

Reprint please declare the source:

Zhang someone ER

Original link:http://blog.csdn.net/xinxing__8185/article/details/51103863

The first part of the basic Environment configuration(4)

Next Configure the network configuration of the compute node , Nic 3 is NAT mode







Configuring Networks for network nodes










start Compute Basic settings for network, etc.

Modify hostname


modified to Compute



cp/etc/sysconfig/network-scripts/ifcfg-eth1/etc/sysconfig/network-scripts/ifcfg-eth2cp/etc/sysconfig/ Network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/ifcfg-eth1


Modify Network Configuration

Vim/etc/sysconfig/network-scripts/ifcfg-eth0


IP address changed to 10.10.10.11

Vim/etc/sysconfig/network-scripts/ifcfg-eth1


IP address changed to 10.20.20.11

Note that the Device name changed to eth1

Vim/etc/sysconfig/network-scripts/ifcfg-eth2


Device name changed to eth2

Reboot re-login hostname has changed

Open network node, configure

Vim/etc/hostname


Change to network


Similarly, the relevant configuration file is rewritten as:

Vim/etc/sysconfig/network-scripts/ifcfg-eht0


Change IP address to 10.10.10.12


Vim/etc/sysconfig/network-scripts/ifcfg-eht1

IP address is 10.20.20.12

DEVICE changed to eth1


Vim/etc/sysconfig/network-scripts/ifcfg-eht2


Delete the ipaddr,netmask,defroute ,

at the same time Bootproto instead None

After the configuration is complete,reboot


test the connectivity of the network

Open Controller Open Compute Open Network

First on the controller node

Ping Compute


Ping Network


On the compute node

Ping www.baidu.com


Ping Controller


Ping Network


On the network node


Ping Controller


Ping Compute


Installing NTP

First, the Controller,controller provides NTP services for other nodes in the network

Yum Install NTP

To modify a configuration file:

Vim/etc/ntp.conf

Related modifications are (add):

Server Ntp_server iburstrestrict-4 default kod notrap nomodifyrestrict-6 default kod notrap nomodify


Note: Ntp_server is rewritten to provide the address of the NTP service, but there are 1.centos.pool.ntp.org in the default file that can choose to use


Set service boot and start:

Systemctl Enable Ntpd.servicesystemctl start Ntpd.service


Other nodes:

Yum Install NTP

To modify a configuration file:

Vim/etc/ntp.conf


Modify the item (add, the Controller node provides the NTP service):

Server Controller Iburst

Set service boot and start:

Systemctl Enable Ntpd.servicesystemctl start Ntpd.service


relevant verification commands;

Ntpq-c Peersntpq-c Assoc

Note: The main view is whether reach status is up to


Note: The previous article has the relevant image source and SELinux installation, the actual installation, the need for each node to do the following, here is also listed in order to maintain the overall installation logic.

Install the image source

Yum install Http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpmyum Install/HTTP Rdo.fedorapeople.org/openstack-kilo/rdo-release-kilo.rpmyum Upgrade

Note: Foreign servers, domestic visits may occur in a less stable condition


installing selinux

Yum Install Openstack-selinux


At this point, the network and other basic environment to build, the following will be Keystone and other related components of the installation.




Oracle VM + centos7.1+openstack kilo Multi-node installation tutorial---Basic Environment configuration (4)

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.