Ask Your Question

HA of Glance

asked 2011-10-15 02:33:32 -0500

nati-ueno gravatar image

I'm planing to use Glance with HA configuration. Do you have document about Glance HA?

I wanna set Glance as Act-Act configuration with Load balancers. How can we sync each images ? (Swift or NSF ?)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2011-10-15 12:38:58 -0500

jaypipes gravatar image

Hi Nati-san!

Currently, Glance does not have any built-in support for HA configurations. The Glance API server is not a master source of data, and you can stand up as many Glance API servers as you want. These servers will act as disk-local image caching servers, and losing one or more Glance API servers will not take the entire system down. In Nova, you can set the glance_api_servers FLAG to a comma-delimited set of API servers that Nova will use to request image files, so an "HA configuration" of Glance API servers is merely 2+ API servers stood up.

That said, however, the Glance Registry server IS a master source of information about the images, including location information of the images and metadata about the images. If the Glance registry server fails, the Glance image system will come to a screeching halt. To prevent this from occurring, you would need to set up an active-standby database configuration for the registry. If you are using MySQL as the database, there are well-known ways of setting up a hot or warm-standby database with DRBD and things like ZFS, . Here is a link describing such a recommended setup:

Cheers! -jay

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-10-15 02:33:32 -0500

Seen: 140 times

Last updated: Oct 15 '11