Ask Your Question

How can I use Multiple controller nodes

asked 2018-11-12 23:23:55 -0500

MokhtarAmmar gravatar image

Hello, I just wanted to know if it is possible to use two controller nodes at the same time? (I found some documents mentioning galera but tbh I didn't understand exactly how it will be deployed) And if yes can you please help me. Thank you.

edit retag flag offensive close merge delete



The official OpenStack documentation has little or no information about deploying HA. High-level: You need a load balancer that forwards requests to the services running on the controllers. You need an HA database, e.g. Galera. RabbitMQ is HA out of the box.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-13 00:11:12 -0500 )edit

Most services are natively active-active, but Cinder-Volume is active-passive (only one Cinder-Volume can accept requests at the same time), and nova-consoleauth can only run once.

You should set up three controllers to avoid split-brain syndrome.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-13 00:13:13 -0500 )edit

There used to be an official HA guide, but it has never been complete and is currently out of date and not published. Red Hat has a document about HA. Also google for openstack high availability.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-13 00:17:07 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-11-13 01:49:05 -0500

yasin lachiny gravatar image

updated 2018-11-28 06:15:56 -0500

it is so easy. first cluster your mysql after that cluster rabbitmq and after that install haproxy for load balancing. for clustering your mysql you should install galera and in the galera.conf write the ip of every nod in the master node run service mysql stop after that galera_new_cluster. for the rest of node run service mysq stop ,service mysql start

edit flag offensive delete link more


is there any documentation to follow ? i got the main idea and the steps to follow but i don't want to mess my work up . thank you in advance for your help .

MokhtarAmmar gravatar imageMokhtarAmmar ( 2018-12-04 12:16:12 -0500 )edit

thebest document i can find but it is awful and it does not help you i think first search how to cluster mysql with galera separately after that use the document for cluster rabbitmq

yasin lachiny gravatar imageyasin lachiny ( 2018-12-05 16:07:46 -0500 )edit

after that try how to work with pacemaker and virtual ip

yasin lachiny gravatar imageyasin lachiny ( 2018-12-05 16:08:12 -0500 )edit

@novainfinite should you cluster the databases before installing the openstack components? or can it be done after?

andrewscerri gravatar imageandrewscerri ( 2018-12-11 03:24:42 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2018-11-12 23:23:55 -0500

Seen: 2,037 times

Last updated: Nov 28 '18