Skip to content

Commit

Permalink
doc: added note about monitor ips update during failover
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kmadac committed Mar 15, 2024
1 parent c32dfc0 commit 34eac41
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/design/proposals/clusterid-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
volumeHandle already contains the required information about the local cluster (
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.

0 comments on commit 34eac41

Please sign in to comment.