HA of Glance

Asked by Nachi Ueno

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 ?)

Question information

Language:
English Edit question
Status:
Answered
For:
Glance Edit question
Assignee:
Jay Pipes Edit question
Last query:
Last reply:
Revision history for this message
Jay Pipes (jaypipes) said :
#1

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:

http://dev.mysql.com/doc/refman/5.0/en/ha-drbd.html

Cheers!
-jay

Can you help with this problem?

Provide an answer of your own, or ask Nachi Ueno for more information if necessary.

To post a message you must log in.