~openstack-charmers/charms/precise/keystone/ha-support

  • Committer: James Page
  • Date: 2013-02-07 09:22:36 UTC
  • mfrom: (48.2.3 keystone)
  • Revision ID: james.page@canonical.com-20130207092236-iafw325uig9kpvtw
Adds better support for service leaders.

* The service leader is determined depending on how keystone is currently clustered. If there are multiple units, but no hacluster subordinate, the oldest service unit is elected leader (lowest unit number). If hacluster exists and the service is clustered, the CRM is consulted and the node hosting the resources is designated the leader.

* Only the leader may initialize or touch the database (create users, endpoints, etc)

* The leader is responsible for synchronizing a list of service credentials to all peers. The list is stored on disk and resolves the issue of the passwd dump files in /var/lib/keystone/ being out-of-sync among peers.

We can use the same approach in the rabbitmq-server charm if it works out here.
Filename Latest Rev Last Changed Committer Comment Size
..
hooks 1 12 years ago Adam Gandelman init Diff
templates 45 11 years ago James Page Switch haproxy configuration file generation to ji Diff
config.yaml 48 11 years ago James Page Add support for multi-region configuration 3.5 KB Diff Download File
copyright 12 12 years ago Adam Gandelman Add copyright 756 bytes Diff Download File
metadata.yaml 34.2.10 11 years ago Andres Rodriguez merge james changes 512 bytes Diff Download File
readme 20 12 years ago Adam Gandelman Add readme 1.5 KB Diff Download File
revision 48.2.1 11 years ago Adam Gandelman Add clustered leader support. Ensures only the le 4 bytes Diff Download File