Database services
All state for the OpenStack web services is stored in a central database, usually a MySQL database. MySQL is usually deployed in an active/passive configuration, but can be made active/active with the Galera replication extension. Galera is clustering software for MySQL (MariaDB in OpenStack) and uses synchronous replication to achieve HA. However, even with Galera, we still recommend directing writes to only one of the replicas; some queries used by the OpenStack services may deadlock when writing to more than one master. With Galera, a load balancer is typically deployed in front of the cluster and is configured to deliver traffic to only one replica at a time. This configuration reduces the mean time to recovery of the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access