Containerize Redis for HA
authorDamien <dciabrin@redhat.com>
Tue, 9 May 2017 09:11:21 +0000 (05:11 -0400)
committerMichele Baldessari <michele@acksyn.org>
Sun, 4 Jun 2017 08:07:34 +0000 (10:07 +0200)
commit0413a12512f9c099c9bee0f51f360027f52e7456
tree74142cca2e1ab6c64c845787b57f538d51e5ffb5
parent2cd3c412bf850c087564bcaf652d2c3dce77cab3
Containerize Redis for HA

This service allows configuring and deploying Redis containers
in a HA overcloud managed by pacemaker.

The containers are managed and run by pacemaker. Inside there is
pacemaker_remote which will invoke the resource agent managing galera.
The resources themselves are created via puppet-pacemaker inside a
short-lived container used for this purpose (mysql_init_bundle).
This container needs to use the 'docker_config' section to invoke
puppet (as opposed to 'docker_puppet_tasks'), because due to the HA
composability each resource creation needs to happen on the bootstrap
node of that service and 'docker_puppet_tasks' will only run on the
controller/primary role.

Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Closes-Bug: #1692924

Depends-On: Ia1131611d15670190b7b6654f72e6290bf7f8b9e

Change-Id: Ie045954fcc86ef2b3e4562b6f012853177f03948
docker/services/pacemaker/database/redis.yaml [new file with mode: 0644]