Ask Your Question

Using same keystone database with two or more keystone server

asked 2014-07-25 00:55:23 -0500

DeepVish gravatar image

updated 2014-07-25 23:50:43 -0500

What all issue one should expect if same keystone database is being used with two or more keystone server ?

The aim of this configuration is to achieve the High availability for keystone? In this configuration i am planning to install single mysql server and multiple keystone server, all keystone server will point to the same keystone database.

Does openstack support such configuration ?

Will there be data corruption because two keystone writing to same db?

edit retag flag offensive close merge delete


Sounds like a problem waiting to happen. Edit your question and explain what you want to achieve. Maybe there is a clean solution for what you have in mind.

smaffulli gravatar imagesmaffulli ( 2014-07-25 11:07:46 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-26 03:16:23 -0500

foexle gravatar image


first of all with one database server you will have a SPOF and you will deflect your SPOF from keystone to MySQL/Postgres whatever. I would prefere a master - master setup with failover IP for MySQL.

"Will there be data corruption because two keystone writing to same db?" => No :) Each modern database will have a locking management so you can run hunderds of thousends keystone server if you have a fast database server/cluster :)

Here is one possible solution of HA but not my preferred. Thats a cold standby keystone but i think with a loadbalancer in front keystone servers will have more flexability and your requests will balanced to all servers.

Cheers Heiko

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-07-25 00:55:23 -0500

Seen: 657 times

Last updated: Jul 26 '14