Creating a manifest file for Replication CR

Replication Plug-in for Containers Installation and User Guide

Version
3.18.x
Audience
anonymous
Part Number
MK-92ADPTR155-10
ft:lastEdition
2026-07-07
Create the manifest file for a Replication CR. The following replication types are supported:
  • TrueCopy® (TC) – The replication is synchronous. Data written to the primary volume (P-VOL) is simultaneously written to the secondary volume (S-VOL). The host I/O is acknowledged only after both volumes receive the data. This replication type ensures data consistency but introduces latency.
  • Universal Replicator (UR) – The replication is asynchronous. Data written to the P-VOL is first stored in a master journal volume. It is then transferred to a restore journal volume on the remote system. The host I/O is acknowledged immediately without waiting for the data to reach the remote S-VOL.
  1. Specify a protection target persistentVolumeClaimName created in Creating the PersistentVolumeClaim.
    This PVC is protected by TrueCopy or Universal Replicator and must be created before creating a Replication CR.
  2. Specify a StorageClassName from which the target PVC is created.
    This is the StorageClassName that you created when configuring the storage systems. See Configuring the storage system.
  3. For the replicationType parameter, specify TC for TrueCopy Pair or UR for Universal Replicator Pair.
  4. For the fenceLevel parameter, specify either DATA, NEVER, or STATUS. See TrueCopy® User Guide .
    Note: It is mandatory to specify this parameter for TrueCopy pair replication type.
    # vi hspc_v1_replication.yaml
    apiVersion: hspc.hitachi.com/v1
    kind: Replication
    metadata:
      name: replication-sample
    spec:
      persistentVolumeClaimName: pvc-sample    # (1)
      storageClassName: sc-sample           # (2)
      replicationType: TC or UR    # (3)
      fenceLevel: DATA or NEVER  # (4)
    
    Important: After creating a Replication CR, you cannot edit the parameters except for the desiredPairState parameter. If you want to change the parameters, delete the existing Replication CR, and then recreate it with the new parameters.