but it doesn’t look like chirpstack is mirroring the keys on both instances, so if I lose the “active” instance then I’ve lost the keys/activations until the device reactivates. Is that correct?
Do I need to make sure to externally sync the keys between the two instances or is this something that chirpstack can do? If yes, this would be a great feature addition to mirror all keys in environments that don’t support true clustering.
Unfortunately, currently Redis Sentinel isn’t supported yet. I believe it would require a wrapper around the Redis connection object, which before performing any action polls which node is the master node. But this hasn’t been implemented yet.
Unfortunately I’m not using sentinel. Just using two independent Redis instances for basic HA capability should one instance go down, the other could continue to serve but unfortunately the keys aren’t mirrored.