Thursday 5 June 2014

Steps to install OpenStack Icehouse using RDO Packstack on a single node




NODE DETAILS

Processor: AMD Phenom II X6 (6 Cores)
RAM: 16 GB DDR3
Hard Drives: 4 x 1TB Seagate Barracuda
Operating System: CentOS 6.5 Minimal



DISK DETAILS

/dev/sda -  root
/dev/sdb - swift
/dev/sdc - cinder
/dev/sdd - cinder



PREPARE DISK FOR SWIFT

Create /dev/sdb1 partition for the disk marked for Swift
# fdisk /dev/sdb

Format the partition as ext4
# mkfs.ext4 /dev/sdb1



NETWORK CONFIGURATION

# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
HWADDR=<MAC-address>
IPADDR=<IP-address>
NETMASK=<netmask>
GATEWAY=<gateway-IP-address>
IPV6INIT=no



SET TIMEZONE AND SYNCHRONIZE TIME

# mv /etc/localtime /etc/localtime.bak
# cp /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

# yum install ntp
# chkconfig ntpd on
# service ntpd start



UPDATE CENTOS

yum -y update



DISABLE SELINUX

# vi /etc/selinux/config
SELINUX=disabled

# reboot



CREATE LOGICAL VOLUME GROUP FOR CINDER

Create partitions /dev/sdc1 and /dev/sdd1 on /dev/sdc and /dev/sdd using fdisk

# fdisk /dev/sdc
# fdisk /dev/sdd

Create logical volume group using the created partitions

# yum install lvm2
# pvcreate /dev/sdc1 /dev/sdd1
# vgcreate cinder-volumes /dev/sdc1 /dev/sdd1



RUN RDO PACKSTACK

# yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
# yum install -y openstack-packstack
# packstack --gen-answer-file my_answers.txt
# vi my_answers.txt
Refer to the attached file for details about the answer file configurations.

# packstack --answer-file=my_answers.txt



UPDATE NETWORK CONFIGURATION

# vi /etc/sysconfig/network-scripts/ifcfg-br-ex
DEVICE=br-ex
IPADDR=<IP-address>
NETMASK=<netmask>
GATEWAY=<gateway-IP-address>
ONBOOT=yes
STP=off
HOTPLUG=no
NM_CONTROLLED=no

# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
HWADDR=<MAC-address>

#  ovs-vsctl add-br br-ex
# ovs-vsctl add-port br-ex eth0
  


REBOOT MACHINE TO ENABLE ALL CHANGES

# reboot



ACCESS HORIZON DASHBOARD AT http://<IP-address>

Login details can be found at /root/keystonerc_admin.


7 comments:

  1. Thanks for sharing,
    i tried the 'UPDATE NETWORK CONFIGURATION' section and after reboot i was not able to access the host ip address horizon dashboard or even ssh into it. i noticed i could not ping out of the host as well.
    any tips to resolve?

    ReplyDelete
  2. I found it interesting that you are using cells to distinguish between unique hardware configurations. That seems like a heavyweight solution but perhaps it is also historical.


    Openstack hypervisor support

    ReplyDelete
  3. Nice info regarding Steps to install OpenStack Icehouse using RDO Packstack on a single node My sincere thanks for sharing this post Please Continue to share this post
    Cloud Computing Training in Chennai

    ReplyDelete
  4. hat is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide.. Keep blogging.. Thank you...
    Cloud Computing Training in Chennai | Salesforce Training in Chennai

    ReplyDelete
  5. Thanks For Sharing the Articles,just Thanks Is not enough for all Keep Updating The Articles looking towards more

    To Learn Python and get a Consequence with Happy Then visit same
    python training in chennai | python training in annanagar | python training in omr | python training in porur | python training in tambaram | python training in velachery

    ReplyDelete
  6. this article is very informative post. you are a very skilled blogger.Nice info regarding Steps to install OpenStack using RDO Packstack on a single node. Useful information.
    python training in chennai

    python online training in chennai

    python training in bangalore

    python training in hyderabad

    python online training

    python flask training

    python flask online training

    python training in coimbatore

    ReplyDelete
  7. virtual event A venue with the bandwidth, tech support and backup plan that can serve an in-person event may not be extensive enough for a hybrid event. funny birthday messages, get well quotes and happy birthday letters

    ReplyDelete