Ask Your Question

How to setup Openstack in HA mode.

asked 2019-06-29 12:34:48 -0500

uday1990 gravatar image

updated 2019-07-01 23:48:01 -0500

Vinoth gravatar image

How many controller,network,storage and compute node we can add in a cluster production infra.

I want to setup everything in HA mode as below example.

Example-Controller Node Failover, Storage Node Failover ,Network Node Failover and Compute Node Failover.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2019-07-01 23:50:50 -0500

Vinoth gravatar image

Minimum 3 controllers + ceph storage cluster + compute node with ceph backend integration for shared storage.

The below link could be useful,

edit flag offensive delete link more


I feel like the link is quite not helpful at the moments ...

quanlm gravatar imagequanlm ( 2020-03-10 21:59:26 -0500 )edit

answered 2019-07-02 02:39:39 -0500

Except for Swift's data nodes, where the accounts, containers and objects are stored, HA is not built into OpenStack. To implement HA, you have to set up an HA infrastructure under OpenStack (operating system, database, message queue etc). Luckily, most OpenStack services naturally lend themselves to active/active configurations. The HA guide mentioned by Vinoth gives you a first idea, although it is probably outdated. Only use it for inspiration. Other sources of inspiration are the commercial OpenStack distros, for example SUSE's OpenStack implementation.

Having said that:

Controllers: Usually three. There is no upper limit. For example, large clouds implement cells and have separate controllers that run each cell's Nova services.

Storage nodes: In a production system, I would say no storage nodes for Cinder at all; you would run the Cinder services on the controllers. The number of Swift proxy servers and data nodes depends on the size of your Swift cluster and is open-ended.

Network nodes: Smaller clouds don't need separate network nodes. If your cloud is larger, e.g. 50 compute nodes and up, you may want to run the network services on three separate controllers.

Compute node failover is probably uncommon. Normally, users have the responsibility for the robustness of their application. I.e. they might implement their application on several instances in separate availability zones.

On larger clouds, you may want to dedicate sets of three controllers to other tasks, in particular Metering.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-06-29 12:34:48 -0500

Seen: 1,166 times

Last updated: Jul 02 '19