OpenStack Deployment Summary: Use RDO Standalone installation Icehouse (Ml2+gre) on CentOS 6.5

Source: Internet
Author: User



This article mainly describes how to install Icehouse through RDO on CentOS6.5, because the installation process involves more software and more complex dependencies, it is recommended to use a new operating system for installation.






Installation steps in detail such as the following


(1) Installing the operating system


Install the operating system using a disc or image file.



Partitioning requires dividing a logical area and creating a group named Cinder-volumes. This logical volume group will be used by cinder.



The effect created is similar to the following:





watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvzxjpy19zdw5haa==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">



To create the process please refer to: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-lvm-diskdruid-manual.html



Can also be created by command after loading the operating system


(2) Configure the network


Configure vi/etc/sysconfig/network-scripts/ifcfg-em1, edit content such as the following





DEVICE=em1
HWADDR=F8:B1:56:AE:3A:84
TYPE=Ethernet
UUID=6f49b547-f1f8-4b21-a0fc-68791a5237dd
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.40.145
NETMASK=255.255.255.0
GATEWAY=192.168.40.1
DNS1=8.8.8.8





After the above configuration. Make sure the network is able to connect.



Because the instance executes in the process. The ability to stop the NetworkManager service, assuming that the service is useless and consumes a lot of memory




Chkconfig NetworkManager off





In addition to the NIC and NetworkManager off two configuration items, you also need to configure the host name, edit the/etc/hosts file





127.0.0.1   Yourhostname




(3) Install the relevant Yum source


Whether the correct installation of Yum source directly affects the correctness of installation, I install the process of a lot of problems are related to the source



The installation process mainly involves three sources:


Install 163 source




1, Backup/etc/yum.repos.d/centos-base.repo





  Mv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup





2, download the corresponding version number repo file, put in the/etc/yum.repos.d/(please do the appropriate backup before operation)


    • CentOS5
    • CentOS6

Installing the Icehouse source


Run the following command









Installing the Epel source




Choose a 64-bit system, run the following command


RPM-IVH http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm


Foreman.repo source will be generated when the source is installed, this source can be deleted directly


(4) Installation Openstack-packstack


Run the following command





Yum Install-y Openstack-packstack




(5) Configure and change the Packstack configuration file


For the convenience of running the same packstack configuration multiple times later. Be able to pilot out an original configuration and make some changes to this file. You can then install OpenStack in a way that specifies the configuration file


Build your own configuration file









Change configuration file


In order to verify the new features in Icehouse such as heat,lbaas,ceilometer, you need to install these builds, and the configuration on the network also makes some adjustments.



Overwrite the following configuration in the Myanswer.txt





CONFIG_PROVISION_DEMO=n
CONFIG_KEYSTONE_ADMIN_PW=admin
#CONFIG_NEUTRON_L2_PLUGIN=openvswitch
CONFIG_NEUTRON_METERING_AGENT_INSTALL=y
CONFIG_NEUTRON_L2_PLUGIN=ml2
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=gre
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=gre
CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=100:1000
CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=gre
CONFIG_NEUTRON_OVS_TUNNEL_RANGES=100:1000
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1
CONFIG_CINDER_VOLUMES_CREATE=n
#########
CONFIG_LBAAS_INSTALL=y
CONFIG_CEILOMETER_INSTALL=y
CONFIG_HEAT_CLOUDWATCH_INSTALL=y
CONFIG_HEAT_CFN_INSTALL=y
CONFIG_HEAT_INSTALL=y




(6) Run configuration file




Packstack--answer-file=myanswer.txt




(7) Login


Username to Admin,password for admin






OpenStack Deployment Summary: Use RDO Standalone installation Icehouse (Ml2+gre) on CentOS 6.5


Related Article

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.