Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions trident-use/vol-volume-replicate.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -214,21 +214,21 @@ During a planned failover (migration), perform the following steps to promote th


. On the primary Kubernetes cluster, create a snapshot of the PVC and wait until the snapshot is created.
. On the primary Kubernetes cluster, create the SnapshotInfo CR to obtain internal details.
. On the primary Kubernetes cluster, create the TridentSnapshotInfo CR to obtain internal details.
+
.Example
+
[source,yaml]
----
kind: SnapshotInfo
kind: TridentSnapshotInfo
apiVersion: trident.netapp.io/v1
metadata:
name: csi-nas
spec:
snapshot-name: csi-nas-snapshot
snapshotName: csi-nas-snapshot
----

. On secondary Kubernetes cluster, update the _spec.state_ field of the _TridentMirrorRelationship_ CR to _promoted_ and _spec.promotedSnapshotHandle_ to be the internalName of the snapshot.
. On secondary Kubernetes cluster, update the _spec.state_ field of the _TridentMirrorRelationship_ CR to _promoted_ and _spec.volumeMappings[].promotedSnapshotHandle_ to be the internalName of the snapshot.
. On secondary Kubernetes cluster, confirm the status (status.state field) of TridentMirrorRelationship to promoted.

== Restore a mirror relationship after a failover
Expand Down Expand Up @@ -289,4 +289,4 @@ spec:
snapshotHandle: "pvc-1234/snapshot-1234"
tridentMirrorRelationshipName: mirror-b
----
`status.state` reflects the state of the TridentActionMirrorUpdate CRD. It can take a value from _Succeeded_, _In Progress_, or _Failed_.
`status.state` reflects the state of the TridentActionMirrorUpdate CRD. It can take a value from _Succeeded_, _In Progress_, or _Failed_.