This article describes how to install icehouse through rdo on centos6.5. Because the installation process involves a lot of software and the dependency is complex, we recommend that you use a new operating system for installation.
The installation steps are as follows:
(1) install the Operating System
Use a CD or image file to install the operating system.
When partitioning, You need to divide a logical zone and create a group named cinder-volumes. This logical volume group will be used by cinder.
The created results are similar:
For the creation process see: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-lvm-diskdruid-manual.html
You can also create an ECS instance by running commands after installing the operating system.
(2) configure the network
Configure VI/etc/sysconfig/network-scripts/ifcfg-em1 and edit as follows
DEVICE=em1HWADDR=F8:B1:56:AE:3A:84TYPE=EthernetUUID=6f49b547-f1f8-4b21-a0fc-68791a5237ddONBOOT=yesBOOTPROTO=staticIPADDR=192.168.40.145NETMASK=255.255.255.0GATEWAY=192.168.40.1DNS1=8.8.8.8
After the above configuration, confirm that the network can be connected
(3) install related Yum sources
Whether the yum source is correctly installed directly affects the correctness of the installation. Many problems encountered during the installation are related to the source.
The installation process involves three sources:
Install the 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 repo file of the corresponding version and put it in/etc/yum. Repos. d/(back up the file before the operation)
Install icehouse Source
Run the following command:
yum install -y http://rdo.fedorapeople.org/openstack-icehouse/rdo-release-icehouse.rpm
Install epel Source
Select a 64-bit system and run the following command:
rpm -ivh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
The foreman. Repo source is generated when the above source is installed. This source can be deleted directly.
(4) install openstack-packstack
Run the following command:
yum install -y openstack-packstack
(5) configure and modify the packstack configuration file
To facilitate the subsequent execution of the same packstack configuration multiple times, you can first export an original configuration and make some modifications to this file. Then you can specify a configuration file to install openstack.
Generate your own configuration file
packstack --gen-answer-file=myanswer.txt
Modify configuration file
To verify the new features such as heat, lbaas, and ceilometer in icehouse, you need to install these components and make some adjustments to the network configuration.
Overwrite the configuration in myanswer.txt.
CONFIG_PROVISION_DEMO=nCONFIG_KEYSTONE_ADMIN_PW=admin#CONFIG_NEUTRON_L2_PLUGIN=openvswitchCONFIG_NEUTRON_METERING_AGENT_INSTALL=yCONFIG_NEUTRON_L2_PLUGIN=ml2CONFIG_NEUTRON_ML2_TYPE_DRIVERS=greCONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=greCONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=100:1000CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=greCONFIG_NEUTRON_OVS_TUNNEL_RANGES=100:1000CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1CONFIG_CINDER_VOLUMES_CREATE=n#########CONFIG_LBAAS_INSTALL=yCONFIG_CEILOMETER_INSTALL=yCONFIG_HEAT_CLOUDWATCH_INSTALL=yCONFIG_HEAT_CFN_INSTALL=yCONFIG_HEAT_INSTALL=y
(6) execute the configuration file
packstack --answer-file=myanswer.txt
(7) Login
The username and password are admin.