redis RA: bring up in slave mode #132

Closed
wants to merge 16 commits into
from

4 participants

@michael-dev

This pull requests is based on the last redis pull request here and makes the RA adhere to the pacemaker spec, that multi-state resources need to be brought up in slave mode. This fixes a race-condition when pacemaker has not yet promoted a master and thus restarts all instances infinitely, as they come up as masters instead of slaves.

Further, it autodetects port and password required for redis-cli from the config file.

@krig
Cluster Labs member

This request should be closed as it is superseded by the request in #212.

@dmuhamedagic

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment