The steps provided in this appendix provide an example of configuring cascaded replication. For this example, the steps configure the implementation in the following figure.
Figure 44. Cascaded replication
The configuration described in this appendix triggers replication from ‘Cluster A’ only when a snapshot of the specified source directory on ‘Cluster A’ is taken. For more information about this option, see Whenever a snapshot of the source directory is taken and SnapshotIQ and SyncIQ. To implement the cascaded replication in Figure 44, log in to CLI of each cluster, and perform the following:
IsilonClusterA# isi sync policies create --name=pol_a_b sync --source-root-path=/ifs/data/pol_a_b --target-host=[Cluster B IP Address] --target-path=/ifs/data/pol_a_b --schedule=when-snapshot-taken
Modify policy ‘pol_a_b’ to specify a snapshot naming pattern and archive snapshots:
IsilonClusterA# isi sync policies modify pol_a_b --target-snapshot-pattern=SIQ_%{SrcCluster}-%{PolicyName}-%Y-%m-%d_%H-%M-%S --target-snapshot-archive=true
Confirm policy ‘pol_a_b’ is configured for when a snapshot is taken, the snapshot is archived, and the naming pattern is specified:
IsilonClusterA# isi sync policies view pol_a_b
<Output truncated – Confirm the fields listed below>
.
.
.
Target Snapshot Archive: Yes
Target Snapshot Pattern: SIQ_%{SrcCluster}-%{PolicyName}-%Y-%m-%d_%H-%M-%S
Target Snapshot Expiration: Never
Schedule: when-snapshot-taken
IsilonClusterB# isi sync policies create --name=pol_b_c sync --source-root-path=/ifs/data/pol_a_b --target-host=[Cluster C IP Address] --target-path=/ifs/data/pol_a_b --schedule=when-snapshot-taken
Modify policy ‘pol_b_c’ to specify a snapshot naming pattern and archive snapshots:
IsilonClusterB# isi sync policies modify pol_b_c --target-snapshot-pattern=SIQ_%{SrcCluster}-%{PolicyName}-%Y-%m-%d_%H-%M-%S --target-snapshot-archive=true
Confirm policy ‘pol_b_c’ is configured for when a snapshot is taken, the snapshot is archived, and the naming pattern is specified:
IsilonClusterB# isi sync policies view pol_b_c
<Output truncated – Confirm the fields listed below>
.
.
.
Target Snapshot Archive: Yes
Target Snapshot Pattern: SIQ_%{SrcCluster}-%{PolicyName}-%Y-%m-%d_%H-%M-%S
Target Snapshot Expiration: Never
Schedule: when-snapshot-taken
IsilonClusterC# isi sync policies create --name=pol_c_d sync --source-root-path=/ifs/data/pol_a_b --target-host=[Cluster D IP Address] --target-path=/ifs/data/pol_a_b --schedule=when-snapshot-taken
Modify policy ‘pol_c_d’ to specify a snapshot naming pattern and archive snapshots:
IsilonClusterC# isi sync policies modify pol_c_d --target-snapshot-pattern=SIQ_%{SrcCluster}-%{PolicyName}-%Y-%m-%d_%H-%M-%S --target-snapshot-archive=true
Confirm policy ‘pol_c_d’ is configured for when a snapshot is taken, the snapshot is archived, and the naming pattern is specified:
IsilonClusterC# isi sync policies view pol_c_d
<Output truncated – Confirm the fields listed below>
.
.
.
Target Snapshot Archive: Yes
Target Snapshot Pattern: SIQ_%{SrcCluster}-%{PolicyName}-%Y-%m-%d_%H-%M-%S
Target Snapshot Expiration: Never
Schedule: when-snapshot-taken