This recipe represents two nodes running both Glance and Keystone, controlled by Pacemaker with Corosync in active/passive mode that allows for a failure of a single node. In a production environment, it is recommended that a cluster consist of at least three nodes to ensure resiliency and consistency in the case of a single node failure.
For this recipe, we will assume the previous recipe, Installing and configuring Pacemaker with Corosync, has been followed to give us two controllers called controller1
and controller2
, with a FloatingIP
address 172.16.0.253
provided by Corosync.
To increase the resilience of OpenStack services, carry out the following steps:
With Keystone running on
controller1
, we should be able to query Keystone using both its own IP address (172.16.0.221
) and theFloatingIP
(172.16.0.253
) from a client that has access to the OpenStack environment using the following code:# Assigned...