Update a DR service

Here you can find how you can update the parameters of an existing DR service.

Prerequisites

You are familiar with the Terminology and the following assumptions about the DR scenario:

  • There is a centralized Service Portal and CMP managing all zones.

  • Zones are named with single letters, like A, B, and C.

  • Names of DRE at the a zone follow a policy similar to the one for CMP. For example, DR_A and DR_B.

  • The Service Portal is integrated with the CMP and the DR engines in all zones. The Service Portal keeps information about the VMs in all zones and the IDs of the corresponding DR services.

  • The user is called Alice.

Procedure

  1. The Service Portal queries the DR_A to retrieve information about a DR service using the GET /drService method and providing the service’s identifier.

  2. DR_A responds with the requested information (VM ID, location, policy, state).

  3. The Service Portal sends a request to DR_A to update a DR service using the PUT /drService method and providing the identifier of the service and the parameters that should be updated (VM ID, location, policy).

  4. If the destination is changed (for example, from B to C), the Service Portal shall remove the Stub VM from the old recovery zone (B) and create a Stub VM in the new recovery zone (C).

    All newly created recovery points after the destination change will be synced to zone C, while already existing ones will remain at zone B. Also, any recovery points that were syncing to zone B will be fully synced.

../../_images/dre_service_update.png

More information

Disaster Recovery Engine API