Openstack

OpenStack Cloud High Availability Cluster Deployment using Kolla Ansible & External Shared Ceph Storage

OpenStack is a collection of open-source tools.

Different OpenStack cloud deployment methods are available.

Kolla Ansible is one of the recommended deployment method.

Deployment Overview: –

3 Node Ceph Cluster Deployed. Please check the following link – How to deploy the ceph storage cluster – https://kdinesh.in/deploying-ceph-storage-cluster-using-cephadm/

Machine

IP

Hostname

Comments

Deployment

172.90.0.33

OpenStackcloud

For Deploying and Managing the Cloud

Controller0

172.90.0.34

Controller0

VIP – 172.90.0.201, VIP DNS – OpenStack

Controller1

172.90.0.35

Controller1

Controller2

172.90.0.36

Controller2

Compute0

172.90.0.37

Compute0

Compute1

172.90.0.38

Compute1

Add a second nic for the controller and compute nodes (Don’t configure any IP for Second NIC). For the Production environment use network bonding.

Following Openstack services will be deployed

Keystone – Authentication service, Glance – Image Service

Nova – Compute Service, Neutron – Networking Service

Horizon – Dashboard Service, SKYLINE – New Dashboard

Heat – Orchestration Service, Magnum – Container Infra Service

Masakari – High Availability service, Trove – Database service

Sahara – Bigdata service – Hadoop …etc., Freezer – Backup and Disaster recovery service

Deployment Steps: –

OpenStack Version – Antelope

Create 6 VMs – One deployment,Three controllers, Two Computes.

Configure DNS records for the Controllers. Computes and VIP IP’s.

Check DNS Resolution

Download or copy the sshandntp script file and run it on the Deployment machine. You can download the script file using the following link – https://github.com/Dineshk1205/openstackmultinode/blob/main/sshandntp.sh

Note:- Update NTP and Hostname according to your Infra

Download or copy the openstackmultinodeprep script file and run it on the Deployment machine. You can download the script file using the following link – https://github.com/Dineshk1205/openstackmultinode/blob/main/openstackmultinodeprep.sh

In the Script update IP’S, NIC, Hostnames and other information according to your infra.

Download or Copy the cephconfigopenstack script file and run it on the Ceph0 machine. You can download the script file using the following link – https://github.com/Dineshk1205/openstackmultinode/blob/main/Cephconfigopenstack.sh

Script Configured– Pools, Passwordless ssh to the deployment node, and Copies cep. conf and ceph keyrings to the deployment machine.

You can check Ceph Dashboard – In the pools – backups, images, VMS, and volumes pools.

Download or copy the cephconfigopenstack script file and run it on the Deployment machine. You can download the script file using the following link – https://github.com/Dineshk1205/openstackmultinode/blob/main/OpenstackDeployment.sh

It will take 15 to 20 min based on your environment.

Once Deployment is completed. In /etc/kolla Directory check admin-openrc.sh file and view file(cat admin-openrc.sh) Copy the admin password.

Log in and check the Service status on Dashboard.

Update network CIDR details and other details on /usr/local/share/kola-ansible/init-runonce file and run .

Instance High Availability Testing:

In Dashboard > Instance-ha. Create a segment.

Enter the Segment name, Select Recovery method, and click on create.

Add Hosts to Segment.

Add Compute 0 and compute1 as a host.

Create an instance.

ADD metadata – HA_Enabled True. Otherwise instance HA will not work.

Instance created and running Instance IP – 172.90.0.43. also, check the ceph dashboard.

Instance Running on Compute1

For testing the HA service , shutdown compute1 node because currently instance running on compute1 .

The instance evacuated to compute0.

The instance evacuation process may take 5 to 10 min.

You can see the instance overview – instance running on compute0.

Dineshreddy Kayithi

Rooted in a solid academic foundation with a Bachelor's Degree in Information Technology, my career has been deeply entrenched in designing, deploying, and managing enterprise-grade infrastructure across virtualization, cloud-native, and containerized environments. Industry certifications from VMware, AWS, Microsoft, and Kubernetes validate my hands-on expertise in architecting scalable, resilient systems spanning hypervisors, public/hybrid cloud platforms, and container orchestration frameworks. I'm driven by a relentless pursuit of emerging technologies — translating them into production-ready solutions that solve complex operational challenges.

View Comments

Share
Published by
Dineshreddy Kayithi
Tags: Openstack

Recent Posts

Kubernetes Cluster Deployment

Kubernetes (often shortened to “K8s”) is an open-source system for automating the deployment, scaling, and…

4 days ago

Ceph cluster on a single machine

Ceph is an open-source, distributed storage platform that provides object, block, and file storage in…

4 days ago

vSphere to OpenShift VM Migration

Prerequisites Red Hat OpenShift cluster deployed and operational You can refer to my earlier post…

3 weeks ago

Installing OpenShift 4.21 in an air-gapped on-premises/BareMetal environment using Agent-based deployment

Agent-Based Installation The Agent-based installation method provides the flexibility to boot your on-premise servers in…

2 months ago

OpenShift Virtualization Configuration, Secondary VM Network Setup, and Live Migration configuration

You can check the earlier post regarding cluster setup and ODF setup https://kdinesh.in/deployment-of-openshift-4-20-with-using-the-assistant-installer/ https://kdinesh.in/openshiftodf/ Login…

4 months ago

OpenShift Install OpenShift Data Foundation (ODF) using Multus network Isolation

You can check the earlier post regarding cluster setup https://kdinesh.in/deployment-of-openshift-4-20-with-using-the-assistant-installer/ 1.Install nm state operator 2.…

4 months ago