doc: added note about monitor ips update during failover

IP addresses in csi-config-map needs to be changed after failover
to secondary site. Without this change, applications can't use
mirrored rbd images.

Signed-off-by: Kamil Madac <kamil.madac@gmail.com>
This commit is contained in:
Kamil Madac 2024-03-15 14:14:47 +01:00
parent c32dfc0ae6
commit 34eac41997

View File

@ -178,3 +178,10 @@ operation from the primary cluster to a remote cluster. The existing volumes
that are created on the remote cluster does not require any mapping as the that are created on the remote cluster does not require any mapping as the
volumeHandle already contains the required information about the local cluster ( volumeHandle already contains the required information about the local cluster (
clusterID, poolID etc). clusterID, poolID etc).
**Note:-** To use a mirrored and promoted RBD image on a secondary site during a
failover, you need to replace the primary monitor addresses with the IP
addresses of the secondary cluster in the ceph-csi-config. Otherwise, Ceph-CSI
won't be able to use the volumes, and application pods will become stuck in the
`ContainerCreating` state. Thus, during failover, both clusters will have the
same monitor IP addresses.