SlideShare une entreprise Scribd logo
1  sur  4
Télécharger pour lire hors ligne
OPENSTACK KILO
INSTALLATION USING RDO:
SINGLE NODE:
1. Install epel repo
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
2. Install rdo kilo rpm.
yum install http://rdo.fedorapeople.org/openstack-kilo/rdo-release-kilo.rpm
3. Upgrade repos.
yum upgrade
4. Install rdo release rpm.
yum install -y https://rdoproject.org/repos/rdo-release.rpm
5. Install packstack
yum install -y openstack-packstack
6. Configure network device properly
vi /etc/sysconfig/network-scripts/ifcfg-<interface_name>
DEVICE="<interface_name>"
7. Update sysctl.conf file to allow ip forwarding
setenforce 0
sed -i -e "s/^net.bridge.bridge-nf-call-ip6tables = 0/net.bridge.bridge-nf-call-ip6tables = 1/"
/etc/sysctl.conf
sed -i -e "s/^net.bridge.bridge-nf-call-iptables = 0/net.bridge.bridge-nf-call-iptables = 1/"
/etc/sysctl.conf
sed -i -e "s/^net.bridge.bridge-nf-call-arptables = 0/net.bridge.bridge-nf-call-arptables = 1/"
/etc/sysctl.conf
8. Set selinux permissions to permissive
sed -i "s/SELINUX=.*/SELINUX=permissive/" /etc/selinux/config
9. Run below command to install openstack single node installation
packstack --allinone
3 NODE(Controller, Network and Compute):
1. Prepare 3 hosts or 3 Virtual machines with at least 2 GB ram and 40 GB HDD for controller,
network and compute nodes
2. For network host add 2 more network interfaces, totally 3 network interfaces for network
host.
3. For compute host add 1 more interface, totally 2 network interfaces for compute host.
Steps to be executed on Controller host:
4. Configure network device properly
vi /etc/sysconfig/network-scripts/ifcfg-<interface_name>
DEVICE="<interface_name>"
5. Update sysctl.conf file to allow ip forwarding
setenforce 0
sed -i -e "s/^net.bridge.bridge-nf-call-ip6tables = 0/net.bridge.bridge-nf-call-ip6tables =
1/"
/etc/sysctl.conf
sed -i -e "s/^net.bridge.bridge-nf-call-iptables = 0/net.bridge.bridge-nf-call-iptables = 1/"
/etc/sysctl.conf
sed -i -e "s/^net.bridge.bridge-nf-call-arptables = 0/net.bridge.bridge-nf-call-arptables =
1/"
/etc/sysctl.conf
6. Set selinux permissions to permissive
sed -i "s/SELINUX=.*/SELINUX=permissive/" /etc/selinux/config
7. Install rdo kilo rpm.
yum install http://rdo.fedorapeople.org/openstack-kilo/rdo-release-kilo.rpm
8. Upgrade repos.
yum upgrade
9. Install rdo release rpm.
yum install -y https://rdoproject.org/repos/rdo-release.rpm
10. Install packstack
yum install -y openstack-packstack
Steps to be executed on Network host:
11. Configure all 3 network interfaces properly.
vi /etc/sysconfig/network-scripts/ifcfg-<interface_name>
DEVICE="<interface_name>"
12. Update sysctl.conf file to allow ip forwarding
setenforce 0
sed -i -e "s/^net.bridge.bridge-nf-call-ip6tables = 0/net.bridge.bridge-nf-call-ip6tables =
1/"
/etc/sysctl.conf
sed -i -e "s/^net.bridge.bridge-nf-call-iptables = 0/net.bridge.bridge-nf-call-iptables = 1/"
/etc/sysctl.conf
sed -i -e "s/^net.b
13. Set selinux permissions to permissive
sed -i "s/SELINUX=.*/SELINUX=permissive/" /etc/selinux/config
Steps to be executed on Compute host:
14. Configure all 2 network interfaces properly.
vi /etc/sysconfig/network-scripts/ifcfg-<interface_name>
DEVICE="<interface_name>"
15. Update sysctl.conf file to allow ip forwarding
setenforce 0
sed -i -e "s/^net.bridge.bridge-nf-call-ip6tables = 0/net.bridge.bridge-nf-call-ip6tables =
1/"
/etc/sysctl.conf
sed -i -e "s/^net.bridge.bridge-nf-call-iptables = 0/net.bridge.bridge-nf-call-iptables = 1/"
/etc/sysctl.conf
sed -i -e "s/^net.b
16. Set selinux permissions to permissive
sed -i "s/SELINUX=.*/SELINUX=permissive/" /etc/selinux/config
Steps to be executed on Controller host:
17. Generate answer file
packstack --gen-answer-file answer.txt
18. Edit the answer file as per your requirement for Openstack components.
a. CONFIG_NETWORK_HOSTS=<network host ip/host name>
b. CONFIG_COMPUTE_HOSTS=<compute host ip/host name>
c. CONFIG_CONTROLLER_HOST=<controller host ip/host name>
19. Execute packstack command with answer file
packstack --answer-file answer.txt
NOTE: Require RHEL 7 or CentOS 7 or Fedora21
If using RHEL 7 then disable NetworkManager and
enable network.
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl enable network

Contenu connexe

Tendances

RabbitMQ Server - cheat sheet -
RabbitMQ Server - cheat sheet -RabbitMQ Server - cheat sheet -
RabbitMQ Server - cheat sheet -Naoto MATSUMOTO
 
Lamp configuration u buntu 10.04
Lamp configuration   u buntu 10.04Lamp configuration   u buntu 10.04
Lamp configuration u buntu 10.04mikehie
 
Linux Server Start
Linux Server StartLinux Server Start
Linux Server StartGavin Quan
 
How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-Naoto MATSUMOTO
 
Unbreakable VPN using Vyatta/VyOS - HOW TO -
Unbreakable VPN using Vyatta/VyOS - HOW TO -Unbreakable VPN using Vyatta/VyOS - HOW TO -
Unbreakable VPN using Vyatta/VyOS - HOW TO -Naoto MATSUMOTO
 
Proxy server ubuntu 12.04
Proxy server ubuntu 12.04Proxy server ubuntu 12.04
Proxy server ubuntu 12.04Tio Aldiansyah
 
An Easy way to build a server cluster without top of rack switches (MEMO)
An Easy way to build a server cluster without top of rack switches (MEMO)An Easy way to build a server cluster without top of rack switches (MEMO)
An Easy way to build a server cluster without top of rack switches (MEMO)Naoto MATSUMOTO
 
MQTTS mosquitto - cheat sheet -
MQTTS mosquitto - cheat sheet -MQTTS mosquitto - cheat sheet -
MQTTS mosquitto - cheat sheet -Naoto MATSUMOTO
 
3 manual installation of open vpn
3 manual installation of open vpn3 manual installation of open vpn
3 manual installation of open vpnAshwajit Maske
 
GCC ARM nRF51 IoT SDK -cheat sheet-
GCC ARM nRF51 IoT SDK -cheat sheet-GCC ARM nRF51 IoT SDK -cheat sheet-
GCC ARM nRF51 IoT SDK -cheat sheet-Naoto MATSUMOTO
 
How to Install Ghost (CMS) MEMO
How to Install Ghost (CMS) MEMOHow to Install Ghost (CMS) MEMO
How to Install Ghost (CMS) MEMONaoto MATSUMOTO
 
1. openvpn simple
1. openvpn simple1. openvpn simple
1. openvpn simplekhanh02l1
 
One key sheard site to site open vpn
One key sheard site to site open vpnOne key sheard site to site open vpn
One key sheard site to site open vpnChanaka Lasantha
 
Large Scale L2TPv3 Overlay Networking with OSPFv3(DRAFT)
Large Scale L2TPv3 Overlay Networking with OSPFv3(DRAFT)Large Scale L2TPv3 Overlay Networking with OSPFv3(DRAFT)
Large Scale L2TPv3 Overlay Networking with OSPFv3(DRAFT)Naoto MATSUMOTO
 

Tendances (19)

RabbitMQ Server - cheat sheet -
RabbitMQ Server - cheat sheet -RabbitMQ Server - cheat sheet -
RabbitMQ Server - cheat sheet -
 
Lamp configuration u buntu 10.04
Lamp configuration   u buntu 10.04Lamp configuration   u buntu 10.04
Lamp configuration u buntu 10.04
 
Linux Server Start
Linux Server StartLinux Server Start
Linux Server Start
 
How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-
 
File1
File1File1
File1
 
My First BCC
My First BCCMy First BCC
My First BCC
 
Unbreakable VPN using Vyatta/VyOS - HOW TO -
Unbreakable VPN using Vyatta/VyOS - HOW TO -Unbreakable VPN using Vyatta/VyOS - HOW TO -
Unbreakable VPN using Vyatta/VyOS - HOW TO -
 
Proxy server ubuntu 12.04
Proxy server ubuntu 12.04Proxy server ubuntu 12.04
Proxy server ubuntu 12.04
 
An Easy way to build a server cluster without top of rack switches (MEMO)
An Easy way to build a server cluster without top of rack switches (MEMO)An Easy way to build a server cluster without top of rack switches (MEMO)
An Easy way to build a server cluster without top of rack switches (MEMO)
 
MQTTS mosquitto - cheat sheet -
MQTTS mosquitto - cheat sheet -MQTTS mosquitto - cheat sheet -
MQTTS mosquitto - cheat sheet -
 
Unidade3 roteiro proxy
Unidade3 roteiro proxyUnidade3 roteiro proxy
Unidade3 roteiro proxy
 
3 manual installation of open vpn
3 manual installation of open vpn3 manual installation of open vpn
3 manual installation of open vpn
 
GCC ARM nRF51 IoT SDK -cheat sheet-
GCC ARM nRF51 IoT SDK -cheat sheet-GCC ARM nRF51 IoT SDK -cheat sheet-
GCC ARM nRF51 IoT SDK -cheat sheet-
 
How to Install Ghost (CMS) MEMO
How to Install Ghost (CMS) MEMOHow to Install Ghost (CMS) MEMO
How to Install Ghost (CMS) MEMO
 
1. openvpn simple
1. openvpn simple1. openvpn simple
1. openvpn simple
 
Vyos clustering ipsec
Vyos clustering ipsecVyos clustering ipsec
Vyos clustering ipsec
 
Squidinstallation
SquidinstallationSquidinstallation
Squidinstallation
 
One key sheard site to site open vpn
One key sheard site to site open vpnOne key sheard site to site open vpn
One key sheard site to site open vpn
 
Large Scale L2TPv3 Overlay Networking with OSPFv3(DRAFT)
Large Scale L2TPv3 Overlay Networking with OSPFv3(DRAFT)Large Scale L2TPv3 Overlay Networking with OSPFv3(DRAFT)
Large Scale L2TPv3 Overlay Networking with OSPFv3(DRAFT)
 

En vedette

OpenStack Neutron Tutorial
OpenStack Neutron TutorialOpenStack Neutron Tutorial
OpenStack Neutron Tutorialmestery
 
OpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Foundation
 
Migrating from PHP 4 to PHP 5
Migrating from PHP 4 to PHP 5Migrating from PHP 4 to PHP 5
Migrating from PHP 4 to PHP 5John Coggeshall
 
X2 t08 04 inequality techniques (2012)
X2 t08 04 inequality techniques (2012)X2 t08 04 inequality techniques (2012)
X2 t08 04 inequality techniques (2012)Nigel Simmons
 
Notating pop music
Notating pop musicNotating pop music
Notating pop musicxjkoboe
 
Descobrindo a linguagem Perl
Descobrindo a linguagem PerlDescobrindo a linguagem Perl
Descobrindo a linguagem Perlgarux
 
The most incredible shopping malls
The most incredible shopping mallsThe most incredible shopping malls
The most incredible shopping mallsFernando Perdomo
 
Dynamic ticket pricing. Squeezing more juice from half time oranges
Dynamic ticket pricing. Squeezing more juice from half time oranges  Dynamic ticket pricing. Squeezing more juice from half time oranges
Dynamic ticket pricing. Squeezing more juice from half time oranges Value Partners
 
Sap Solman Instguide Dba Cockpit Setup
Sap Solman Instguide Dba Cockpit SetupSap Solman Instguide Dba Cockpit Setup
Sap Solman Instguide Dba Cockpit Setupwlacaze
 
Merkel double wiper_pt-1
Merkel double wiper_pt-1Merkel double wiper_pt-1
Merkel double wiper_pt-1walleseals
 
Resultados Reunión N16
Resultados Reunión N16Resultados Reunión N16
Resultados Reunión N16lucasmustaine
 
SNHHUG November 2015 Meet-up Presentation
SNHHUG November 2015 Meet-up PresentationSNHHUG November 2015 Meet-up Presentation
SNHHUG November 2015 Meet-up PresentationStephanie McLaughlin
 
Resumes: Remove the Irrelevant
Resumes: Remove the IrrelevantResumes: Remove the Irrelevant
Resumes: Remove the IrrelevantSteve Rogers
 
Web Security Programming I I
Web  Security  Programming  I IWeb  Security  Programming  I I
Web Security Programming I IPavu Jas
 
Lucent Technologies With Analysis
Lucent Technologies With AnalysisLucent Technologies With Analysis
Lucent Technologies With Analysisbinotrisha
 
Yy (68)
Yy (68)Yy (68)
Yy (68)google
 

En vedette (20)

OpenStack Neutron Tutorial
OpenStack Neutron TutorialOpenStack Neutron Tutorial
OpenStack Neutron Tutorial
 
OpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For Attendees
 
G3a1 wang2q
G3a1 wang2qG3a1 wang2q
G3a1 wang2q
 
Migrating from PHP 4 to PHP 5
Migrating from PHP 4 to PHP 5Migrating from PHP 4 to PHP 5
Migrating from PHP 4 to PHP 5
 
Modul lengkap
Modul lengkapModul lengkap
Modul lengkap
 
X2 t08 04 inequality techniques (2012)
X2 t08 04 inequality techniques (2012)X2 t08 04 inequality techniques (2012)
X2 t08 04 inequality techniques (2012)
 
Notating pop music
Notating pop musicNotating pop music
Notating pop music
 
Descobrindo a linguagem Perl
Descobrindo a linguagem PerlDescobrindo a linguagem Perl
Descobrindo a linguagem Perl
 
The most incredible shopping malls
The most incredible shopping mallsThe most incredible shopping malls
The most incredible shopping malls
 
Dynamic ticket pricing. Squeezing more juice from half time oranges
Dynamic ticket pricing. Squeezing more juice from half time oranges  Dynamic ticket pricing. Squeezing more juice from half time oranges
Dynamic ticket pricing. Squeezing more juice from half time oranges
 
Sap Solman Instguide Dba Cockpit Setup
Sap Solman Instguide Dba Cockpit SetupSap Solman Instguide Dba Cockpit Setup
Sap Solman Instguide Dba Cockpit Setup
 
Merkel double wiper_pt-1
Merkel double wiper_pt-1Merkel double wiper_pt-1
Merkel double wiper_pt-1
 
Megapolis i
Megapolis i Megapolis i
Megapolis i
 
Resultados Reunión N16
Resultados Reunión N16Resultados Reunión N16
Resultados Reunión N16
 
SNHHUG November 2015 Meet-up Presentation
SNHHUG November 2015 Meet-up PresentationSNHHUG November 2015 Meet-up Presentation
SNHHUG November 2015 Meet-up Presentation
 
Resumes: Remove the Irrelevant
Resumes: Remove the IrrelevantResumes: Remove the Irrelevant
Resumes: Remove the Irrelevant
 
Web Security Programming I I
Web  Security  Programming  I IWeb  Security  Programming  I I
Web Security Programming I I
 
Lucent Technologies With Analysis
Lucent Technologies With AnalysisLucent Technologies With Analysis
Lucent Technologies With Analysis
 
Yy (68)
Yy (68)Yy (68)
Yy (68)
 
Lunch pa överbliven mat
Lunch pa överbliven matLunch pa överbliven mat
Lunch pa överbliven mat
 

Similaire à Openstack kilo installation using rdo

Openstack installation using rdo
Openstack installation using rdoOpenstack installation using rdo
Openstack installation using rdoNarasimha sreeram
 
Présentation "Docker + Kubernetes" @ Pastis.tech #2
Présentation "Docker + Kubernetes" @ Pastis.tech #2Présentation "Docker + Kubernetes" @ Pastis.tech #2
Présentation "Docker + Kubernetes" @ Pastis.tech #2Blue Forest
 
Java App On Digital Ocean: Deploying With Gitlab CI/CD
Java App On Digital Ocean: Deploying With Gitlab CI/CDJava App On Digital Ocean: Deploying With Gitlab CI/CD
Java App On Digital Ocean: Deploying With Gitlab CI/CDSeun Matt
 
OFY-2015-Cloud-In-A-Day
OFY-2015-Cloud-In-A-DayOFY-2015-Cloud-In-A-Day
OFY-2015-Cloud-In-A-Daykbshiv
 
k8s practice 2023.pptx
k8s practice 2023.pptxk8s practice 2023.pptx
k8s practice 2023.pptxwonyong hwang
 
Pluralsight Webinar: Simplify Your Project Builds with Docker
Pluralsight Webinar: Simplify Your Project Builds with DockerPluralsight Webinar: Simplify Your Project Builds with Docker
Pluralsight Webinar: Simplify Your Project Builds with DockerElton Stoneman
 
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_trainingvideos
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stackRootGate
 
Ef09 installing-alfresco-components-1-by-1
Ef09 installing-alfresco-components-1-by-1Ef09 installing-alfresco-components-1-by-1
Ef09 installing-alfresco-components-1-by-1Angel Borroy López
 
/etc/rc.d配下とかのリーディング勉強会
/etc/rc.d配下とかのリーディング勉強会/etc/rc.d配下とかのリーディング勉強会
/etc/rc.d配下とかのリーディング勉強会Naoya Nakazawa
 
Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)Ben Hall
 
Presentation linux on power
Presentation   linux on powerPresentation   linux on power
Presentation linux on powersolarisyougood
 
Real World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionReal World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionBen Hall
 
Hands-On Session Docker
Hands-On Session DockerHands-On Session Docker
Hands-On Session DockerLinetsChile
 
Continuous delivery with docker
Continuous delivery with dockerContinuous delivery with docker
Continuous delivery with dockerJohan Janssen
 
MeaNstack on Docker
MeaNstack on DockerMeaNstack on Docker
MeaNstack on DockerDaniel Ku
 
Kubernetes Basic Operation
Kubernetes Basic OperationKubernetes Basic Operation
Kubernetes Basic OperationSimon Su
 
EF09-Installing-Alfresco-components-1-by-1.pdf
EF09-Installing-Alfresco-components-1-by-1.pdfEF09-Installing-Alfresco-components-1-by-1.pdf
EF09-Installing-Alfresco-components-1-by-1.pdfDangGonz
 

Similaire à Openstack kilo installation using rdo (20)

Openstack installation using rdo
Openstack installation using rdoOpenstack installation using rdo
Openstack installation using rdo
 
Présentation "Docker + Kubernetes" @ Pastis.tech #2
Présentation "Docker + Kubernetes" @ Pastis.tech #2Présentation "Docker + Kubernetes" @ Pastis.tech #2
Présentation "Docker + Kubernetes" @ Pastis.tech #2
 
Java App On Digital Ocean: Deploying With Gitlab CI/CD
Java App On Digital Ocean: Deploying With Gitlab CI/CDJava App On Digital Ocean: Deploying With Gitlab CI/CD
Java App On Digital Ocean: Deploying With Gitlab CI/CD
 
Centos config
Centos configCentos config
Centos config
 
OFY-2015-Cloud-In-A-Day
OFY-2015-Cloud-In-A-DayOFY-2015-Cloud-In-A-Day
OFY-2015-Cloud-In-A-Day
 
k8s practice 2023.pptx
k8s practice 2023.pptxk8s practice 2023.pptx
k8s practice 2023.pptx
 
Pluralsight Webinar: Simplify Your Project Builds with Docker
Pluralsight Webinar: Simplify Your Project Builds with DockerPluralsight Webinar: Simplify Your Project Builds with Docker
Pluralsight Webinar: Simplify Your Project Builds with Docker
 
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training
 
Influxdb
InfluxdbInfluxdb
Influxdb
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
 
Ef09 installing-alfresco-components-1-by-1
Ef09 installing-alfresco-components-1-by-1Ef09 installing-alfresco-components-1-by-1
Ef09 installing-alfresco-components-1-by-1
 
/etc/rc.d配下とかのリーディング勉強会
/etc/rc.d配下とかのリーディング勉強会/etc/rc.d配下とかのリーディング勉強会
/etc/rc.d配下とかのリーディング勉強会
 
Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)
 
Presentation linux on power
Presentation   linux on powerPresentation   linux on power
Presentation linux on power
 
Real World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionReal World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and Production
 
Hands-On Session Docker
Hands-On Session DockerHands-On Session Docker
Hands-On Session Docker
 
Continuous delivery with docker
Continuous delivery with dockerContinuous delivery with docker
Continuous delivery with docker
 
MeaNstack on Docker
MeaNstack on DockerMeaNstack on Docker
MeaNstack on Docker
 
Kubernetes Basic Operation
Kubernetes Basic OperationKubernetes Basic Operation
Kubernetes Basic Operation
 
EF09-Installing-Alfresco-components-1-by-1.pdf
EF09-Installing-Alfresco-components-1-by-1.pdfEF09-Installing-Alfresco-components-1-by-1.pdf
EF09-Installing-Alfresco-components-1-by-1.pdf
 

Openstack kilo installation using rdo

  • 1. OPENSTACK KILO INSTALLATION USING RDO: SINGLE NODE: 1. Install epel repo yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm 2. Install rdo kilo rpm. yum install http://rdo.fedorapeople.org/openstack-kilo/rdo-release-kilo.rpm 3. Upgrade repos. yum upgrade 4. Install rdo release rpm. yum install -y https://rdoproject.org/repos/rdo-release.rpm 5. Install packstack yum install -y openstack-packstack 6. Configure network device properly vi /etc/sysconfig/network-scripts/ifcfg-<interface_name> DEVICE="<interface_name>" 7. Update sysctl.conf file to allow ip forwarding setenforce 0 sed -i -e "s/^net.bridge.bridge-nf-call-ip6tables = 0/net.bridge.bridge-nf-call-ip6tables = 1/" /etc/sysctl.conf sed -i -e "s/^net.bridge.bridge-nf-call-iptables = 0/net.bridge.bridge-nf-call-iptables = 1/" /etc/sysctl.conf sed -i -e "s/^net.bridge.bridge-nf-call-arptables = 0/net.bridge.bridge-nf-call-arptables = 1/" /etc/sysctl.conf 8. Set selinux permissions to permissive sed -i "s/SELINUX=.*/SELINUX=permissive/" /etc/selinux/config 9. Run below command to install openstack single node installation packstack --allinone
  • 2. 3 NODE(Controller, Network and Compute): 1. Prepare 3 hosts or 3 Virtual machines with at least 2 GB ram and 40 GB HDD for controller, network and compute nodes 2. For network host add 2 more network interfaces, totally 3 network interfaces for network host. 3. For compute host add 1 more interface, totally 2 network interfaces for compute host. Steps to be executed on Controller host: 4. Configure network device properly vi /etc/sysconfig/network-scripts/ifcfg-<interface_name> DEVICE="<interface_name>" 5. Update sysctl.conf file to allow ip forwarding setenforce 0 sed -i -e "s/^net.bridge.bridge-nf-call-ip6tables = 0/net.bridge.bridge-nf-call-ip6tables = 1/" /etc/sysctl.conf sed -i -e "s/^net.bridge.bridge-nf-call-iptables = 0/net.bridge.bridge-nf-call-iptables = 1/" /etc/sysctl.conf sed -i -e "s/^net.bridge.bridge-nf-call-arptables = 0/net.bridge.bridge-nf-call-arptables = 1/" /etc/sysctl.conf 6. Set selinux permissions to permissive sed -i "s/SELINUX=.*/SELINUX=permissive/" /etc/selinux/config 7. Install rdo kilo rpm. yum install http://rdo.fedorapeople.org/openstack-kilo/rdo-release-kilo.rpm 8. Upgrade repos. yum upgrade 9. Install rdo release rpm. yum install -y https://rdoproject.org/repos/rdo-release.rpm
  • 3. 10. Install packstack yum install -y openstack-packstack Steps to be executed on Network host: 11. Configure all 3 network interfaces properly. vi /etc/sysconfig/network-scripts/ifcfg-<interface_name> DEVICE="<interface_name>" 12. Update sysctl.conf file to allow ip forwarding setenforce 0 sed -i -e "s/^net.bridge.bridge-nf-call-ip6tables = 0/net.bridge.bridge-nf-call-ip6tables = 1/" /etc/sysctl.conf sed -i -e "s/^net.bridge.bridge-nf-call-iptables = 0/net.bridge.bridge-nf-call-iptables = 1/" /etc/sysctl.conf sed -i -e "s/^net.b 13. Set selinux permissions to permissive sed -i "s/SELINUX=.*/SELINUX=permissive/" /etc/selinux/config Steps to be executed on Compute host: 14. Configure all 2 network interfaces properly. vi /etc/sysconfig/network-scripts/ifcfg-<interface_name> DEVICE="<interface_name>" 15. Update sysctl.conf file to allow ip forwarding setenforce 0 sed -i -e "s/^net.bridge.bridge-nf-call-ip6tables = 0/net.bridge.bridge-nf-call-ip6tables = 1/" /etc/sysctl.conf sed -i -e "s/^net.bridge.bridge-nf-call-iptables = 0/net.bridge.bridge-nf-call-iptables = 1/" /etc/sysctl.conf sed -i -e "s/^net.b 16. Set selinux permissions to permissive sed -i "s/SELINUX=.*/SELINUX=permissive/" /etc/selinux/config
  • 4. Steps to be executed on Controller host: 17. Generate answer file packstack --gen-answer-file answer.txt 18. Edit the answer file as per your requirement for Openstack components. a. CONFIG_NETWORK_HOSTS=<network host ip/host name> b. CONFIG_COMPUTE_HOSTS=<compute host ip/host name> c. CONFIG_CONTROLLER_HOST=<controller host ip/host name> 19. Execute packstack command with answer file packstack --answer-file answer.txt NOTE: Require RHEL 7 or CentOS 7 or Fedora21 If using RHEL 7 then disable NetworkManager and enable network. systemctl stop NetworkManager systemctl disable NetworkManager systemctl enable network