How to connect two Openstack clusters? (multi-site configuration)

asked 2016-12-01 13:53:02 -0600

fifi gravatar image

updated 2016-12-06 18:33:36 -0600


I have a four-node Openstack juno cluster consisting of 1 controller, 1 network, and 2 compute nodes. Besides, I also have another two-node openstack juno. I want to connect them together through a layer 3 networking device such as a router. In this way I can test vm migration through vxlan between two different openstack clusters (sites). However, I have no idea how to connect two different sites together. For example, do I need to connect them through their management network? If yes, any specific configuration in nova or neutron is required? I will be grateful for any kind of technical help.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-12-05 17:15:03 -0600

vern gravatar image

OpenStack installations are independent. You would not be able to migrate a VM from one OpenStack installation to another.

The accepted ways to connect multiple installs together are with Regions but they're still separate compute pools. You can join together clusters by using something called nova-cells but I think that's more complex than what you want.

With just a single node, it would make most sense to configure it as a compute node of the larger installation.

edit flag offensive delete link more


Thanks for your answer, but I'm more of a technical help for multi-site implementation rather than a high level explanation of regions and cells; Some sort of 'How To Do' stuff, or maybe a technical tutorial.

fifi gravatar imagefifi ( 2016-12-05 20:38:50 -0600 )edit

As vern says, migrating instances from one region to another won't work. One reason might be that the MQs of the regions are separate, and the two nova-computes need to talk to each other via MQ. So, cells are your only option. I haven't seen any official document on setting up cells.

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-06 20:12:13 -0600 )edit

In any case, I doubt there is a simple way to convert your two clouds into a cell config. FWIW, start learning about the background, and here are practical instructions from a blog.

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-06 20:14:22 -0600 )edit

Thanks for the answer. If I do not mistake, you guys mean the only way a cloud data center, based on Openstack, can perform live migration between its sites is to set up the whole data center based on Openstack cells. Otherwise, no inter-site live migration is possible even if VXLAN or GRE is used

fifi gravatar imagefifi ( 2016-12-07 12:25:30 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-12-01 13:53:02 -0600

Seen: 1,080 times

Last updated: Dec 06 '16