About this task
Under certain situations, administrators might need to temporarily delete a replica and recreate it later. To avoid the need to re-initialize the replica (which would require copying the entire dataset from scratch), a staging area can be used to allow the replica to be recreated from the point at which it was deleted.
This task replicates a volume, a consistency group, or a filesystem from a source InfiniBox to a target InfiniBox via a staging area.
The staging area
When a replica is deleted with the "
retain staging area" option, a custom snapshot is taken on the source dataset and the target dataset. Such snapshots are typically called auto-reclaim-rc-34.0001-38-1582807741568 or similar, and they be used as a common "starting point" that exists on both source and target volumes. If the staging area exists, then it can be used to recreate the replica, which will avoid the initial sync.
Before you begin
Prepare the following information prior to recreating the replica:
- The source system
- The source entity (volume, consistency group or filesystem)
- The target system (Link)
- The existing target entity, which has the staging area
- Replica attributes
- Sync interval - the interval between two consecutive sync jobs
- RPO (Recovery Point Objective) - the lag between the source and target sites
- On the InfiniBox GUI, click the Replication icon on the left toolbar to open the Replication screen.
- Click Create. The Create Replica screen opens.
- Fill in the following information:
- Replica type - select between Async, Sync and Active-Active.
- Remote system - select a remote system from a list of linked system.
- Source - select the source dataset.
- Remote target - choose "Select existing."
- Remote dataset name - select the remote dataset (by name).
- Interval and RPO - refer to How to set the replica RPO and interval for information and recommended values.
- Examine the graphical display of the replica definition on the right pane on the screen. Change the replica definition as needed.
- Click Create. The replica is created and is visible on the Replication screen.
- The replica automatically initializes and its replication progress is visible on the screen.
The following InfiniShell commands may be useful:
replica.advanced.create- for replicating volumes and filesystems using the staging area
replica.advanced.create_cg- for replicating a consistency group using the staging area