Hi guys.

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 pacemaker/HA?

I have follow man page and did:

-> $ pcs resource create p_redis ocf:heartbeat:redis tunnel_port_map="10.1.1.223:10.0.0.1;10.1.1.224:10.0.0.2;10.1.1.225:10.0.0.3" op start timeout=300s op monitor interval=5s op monitor interval=3s role=Master promotable
(this is with 'replicaof' absent in configs)
HA reporsts:
...
  * 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 no-such-master:6379 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 can share?
many thanks, L.
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to