Figure HA-7b · Queue tier
Valkey high availability
Sentinel promotes a replica; the VIP follows the primary
rConfig
Client traffic
VIP
Virtual IP
Replication
Health check and watch
01 · CLIENT
rConfig
One host setting
02 · ENDPOINT
Queue VIP
03 · DATA
Valkey
One primary, one replica
04 · QUORUM
Valkey Sentinel
Three watchers vote
rConfig active node
REDIS_HOST = 192.0.2.40
VIP 192.0.2.40
keepalived: role:master check
valkey1
PRIMARY
Valkey · reads and writes
valkey2
REPLICA
Valkey · read-only copy
Valkey Sentinel 1
Valkey Sentinel 2
Valkey Sentinel 3
majority of 3 decides
After failover
valkey2
PRIMARY
promoted by Sentinel
VIP 192.0.2.40
valkey1
FAILED
Valkey
The VIP follows the new primary. rConfig keeps the same REDIS_HOST.