Setting up the file system to replicate
You need to set up the file systems you want to replicate. The file system which you are going to replicate should be in online state.
To set up a continuous replication, enter the following:
Replication> continuous enable fs_name pool_name link_name delayed=yes/delayed=no
fs_name | The name of the file system that you want to replicate from source to target cluster. |
pool_name | The name of the pool. |
link_name | The link name which was created during authentication time. |
delayed=yes/delayed=no | The delayed parameter value is yes if you want to set up continuous asynchronous replication. By default, its value is no. |
The command configures the continuous replication between the source and the target cluster. A file system is created with the same name and same size on the target cluster. The file system is in offline state at the secondary site to maintain a consistent copy of data.
It requires the pool on the target cluster to have sufficient storage to create a file system, the Storage Replicator Log (SRL) volume and the DCM logs. The pool name must be same at the source and the target cluster. If delayed mode is enabled, there can be a non-zero RPO. For asynchronous continuous replication, the SRL volume size is 20% of the file system size. For synchronous continuous replication, the SRL volume size is 5% of the file system size. By default, the number of DCM logs is 2 but for a mirrored file system, the number of DCM logs is equal to the number of mirrors.
For example, if the file system size on the source cluster is 8 GB, then at least 3 GB storage should be present in the pool at the source cluster to create the SRL volume and the DCM logs in case of asynchronous replication. For the target cluster, 11 GB storage should be present in the pool to create the file system, the SRL volume and the DCM logs.
Note:
Continuous replication is not supported for a file system with encrypted volume. When setting up replication, Veritas recommends that you do not make any modifications or deletions on the target side of the file system. File system grow and shrink operations are supported on file systems which are configured under continuous replication. The mode of replication (synchronous or asynchronous) cannot be changed after configuring the replication.