Home > Storage > PowerFlex > White Papers > Replication using Container Storage Module with Dell PowerFlex > Replication storage class YAML
Sample YAML file used to create a replication storage class.
sourceClusterID: "primaryocp"
targetClusterID: "secondaryocp"
name: "vxflexos-replication"
driver: "vxflexos"
reclaimPolicy: "Delete"
replicationPrefix: "replication.storage.dell.com"
remoteRetentionPolicy:
RG: "Delete"
PV: "Retain"
parameters:
storagePool: # populate with storage pool to use of arrays
source: "SP-SW_SSD-1"
target: "spnew"
protectionDomain: # populate with protection domain to use of arrays
source: "PD-1"
target: "PDnew-1"
arrayID: # populate with unique ids of storage arrays
source: "bac98e8e2311710f"
target: "14e463a1e709330f"
rpo: "60"
volumeGroupPrefix: "csi"
consistencyGroupName: "" # optional name to be given to the rcg
After the storage class is created verify that the the remoteClusterID on both the sites are correctly set.
#kubectl get sc vxflexos-replication -o yaml