About this task
This task tracks the progress of the replication.
Prerequisites
A replica definition.
Instructions
Query for the replicating volumes on both source and target in order to see the progress of the replication. See the following examples for the way this query is used, and the data that can be queried for.
Querying for the replica from InfiniShell
The replica.query
command displays the status of the replication. In the following example, the sync job has ended, so the State of the replication is IDLE and the Progress of the replication is 100%.
LOCAL DATASET TYPE ROLE REMOTE SYSTEM REMOTE DATASET STATE PROGRESS THROUGHPUT RPO STATE RESTORE POINT cg-1 CG SOURCE ibox3000 ibox1140_cg-1 IDLE 100% - OK 2015-09-06 11:05:04 cg-2 CG SOURCE ibox3000 ibox1140_cg-2 REPLICATING 1% - LAGGING 2015-09-06 07:24:34
Whenever the replication was queries amidst the sync job, the State is INITIAL_REPLICATION and the Progress is a number between 0% and 100%.
(Some fields were removed from this example, in order to allow for a clear display on this document.)
LOCAL DATASET TYPE ROLE REMOTE SYSTEM REMOTE DATASET STATE PROGRESS THROUGHPUT RPO STATE RESTORE POINT cg-3 CG SOURCE ibox3000 ibox1140_cg-1 INITIAL_REPLICATION 10% - - -
Available fields
You can set the query to display the following fields (some of them are not included in the default output that is shown above).
To select which fields to display, run replica.query
with the columns operator. Available columns are:
local_pool_name | The name of the pool that the local dataset belongs to. |
remote_system | The name of the remote system. |
state_description | A plain English description of the state of the replication. |
updated_at | The last time the replication was updated. Usually, this is the timestamp of the last sync job. |
created_at | The time the replica was created. |
progress | The completion of a currently running sync job, in percents. |
restore_point | The time of the last replicated snapshot on the source, that is known for sure to be replicated to the target. This is valid only on the source. |
state_reason | A sub code of the replica state. |
last_synchronized | The last time data was replicated from the source to the target. |
remote_dataset | The name of the dataset on the remote system. |
role | The role of the local dataset. Either Source or Target. |
sync_duration | The duration of the last sync job. |
local_dataset | The name of the dataset on the local system. |
remote_pool_name | The name of the pool that the remote dataset belongs to. |
state | The state of the replication. Available values:
|
sync_interval | The preset interval between sync jobs. |
staging_area_size | The capacity that is dedicated for replica snapshots. This field is available only on the target system. |
For more information on how to select which columns to display, see: Controlling the columns of the displayed query output.
Tracking the replication from the GUI
The Replication screen displays the state of each replica.
Related tasks
See all related Replication help topics here.
Comments