[ClusterLabs] Redis agent - setup?
peljasz at yahoo.co.uk
Thu May 6 12:14:44 EDT 2021
Anybody here use Redis and RA and not Redis' Sentinel?
I'm trying to follow what appears as fairly simple man page
yet I fail to get it all work.
Firstly, RA man page does mention redis.conf in terms of
replication settings and I wonder - should those bits be
there as if was typical redis replication setup, with no
I have follow man page and did:
-> $ pcs resource create p_redis ocf:heartbeat:redis
op start timeout=300s op monitor interval=5s op monitor
interval=3s role=Master promotable
(this is with 'replicaof' absent in configs)
* Clone Set: p_redis-clone [p_redis] (promotable):
* p_redis (ocf::heartbeat:redis): Slave 10.1.1.224
* p_redis (ocf::heartbeat:redis): Master 10.1.1.223
* p_redis (ocf::heartbeat:redis): Slave 10.1.1.225
but actually, yes master starts but supposed slaves fail with:
72913:S 06 May 2021 17:08:18.842 * Connecting to MASTER
72913:S 06 May 2021 17:08:18.843 # Unable to connect to
MASTER: Resource temporarily unavailable
From that log snippet I think IP address is missing, should
be next to port, but I'm not sure, yef if I'm correct then
that bit should be in 'redis.conf' because RA does not take
care of that.
Anybody has a working experience or any suggestions which
many thanks, L.
More information about the Users