API Doc
Search Docs...
⌘ K
ACOSABSAVEANSABDR
  • ABDR synchronous replication and recovery technical whitepaper>
  • Job execution process

Execution process of synchronous replication jobs

After a synchronous replication plan is created, the system automatically creates synchronous replication jobs based on the initialization time configured in the synchronous replication plan. When a job is executed, if the replication service needs to operate on a protected object or replica object, it sends a request to the AOC instance that manages the site where the object resides.

The following steps use normal creation and execution of a synchronous replication job as an example:

  1. You create a synchronous replication plan on the AOC UI and specify the initialization time as Start now. The frontend sends a request to AOC Server to create a SyncReplicationPlan resource object.

  2. AOC Server sends a request to the replication service to create SyncReplicationPlan.

  3. After the SyncReplicationPlan controller in controller-manager observes that SyncReplicationPlan is created, it reads that Start now is configured in SyncReplicationPlan and creates one or more SyncReplicationJob resource objects.

  4. After the SyncReplicationJob controller observes that SyncReplicationJob is created, it creates a ReplicationJob resource object for full asynchronous replication to initialize the replica object.

  5. After the SyncReplicationJob controller observes that the full asynchronous replication job succeeds, it enables Track for all volumes of the protected object through ABS APIs on the source side.

  6. The SyncReplicationJob controller creates a ReplicationJob resource object for incremental asynchronous replication to start data catch-up.

  7. After the SyncReplicationJob controller observes that the incremental asynchronous replication job succeeds, it enables Delta Copy for all volumes of the protected object through ABS APIs on the source side.

  8. After the SyncReplicationJob controller observes that ABS Delta Copy is complete, it updates SyncReplicationJob to the Synchronized state. At this point, ABS performs dual writes on the protected object and replica object, and all writes on the protected object are immediately synchronized to the replica object.

  9. Based on the restore point creation interval in the configuration, the SyncReplicationJob controller periodically creates VM snapshots for the replica virtual machine by calling AOC APIs in the Synchronized state. These VM snapshots serve as restore points generated in the synchronized state.