During Fault Recovery or Planned Migration on a Distributed Synchronous/Asynchronous Replication Network, the "Register VM" Step Fails, and Message "Fusionsphere:The disk already exists." Is Displayed

Symptom

After FusionCompute is refreshed and Fault recovery or Planned migration is performed, message "Fusionsphere:The disk already exists." is displayed in the VM registration step.

Possible Cause

Disks of protected objects in the protected group exist on the DR FusionCompute. As a result, VMs fail to be registered.

Procedure

  1. Log in to UltraVR and delete the recovery plan that fails to be executed.

    1. On the menu bar, click Recovery.
    2. Select the recovery plan that you want to delete and choose More > Delete in the Operation area.
    3. Carefully read the contents of the Warning dialog box. Then click the check box next to the statement I have read and understand the consequences associated with performing this operation to confirm the information.
    4. Click OK.

  2. On the UltraVR page, click Protection on the menu bar. Select the protected group whose recovery plan fails to be executed, click Protected Object, and save the ID of each protected object.
  3. Log in to FusionCompute at the production end and obtain information about disks of protected objects.

    1. On FusionCompute at the production site, choose Resource Pool from the navigation pane, click VM, and locate the VMs in the protected objects of UltraVR based on the IDs saved in 2.
    2. Click the VM name. On the displayed VM page, choose Configuration > Hardware > Disk. The disk details page is displayed.
    3. Click and select UUID.
    4. Stores the unique identifiers of all VM disks.

  4. Log in to the storage device at the production end and delete the remote replication pair.

    1. On the production storage device, choose Data Protection > Volume > Remote Replication Pair.
    2. Based on the unique disk identifier obtained in 3, match Local Resource, select the corresponding pair, click , and select Remote Replication Consistency Group ID to obtain the remote replication consistency group ID of the pair.
    3. Choose Data Protection > Protection Group > Remote Replication Consistency Group. Click and select ID. Select the protected groups with the same ID and choose More > Delete.
    4. Carefully read the contents of the Warning dialog box. Then click the check box next to the statement I have read and understand the consequences associated with performing this operation to confirm the information.
    5. Click OK.
    6. Based on the unique disk ID obtained in 3, match Local Resource, select the corresponding pair, choose More > Delete, and select I have read and understand the consequences associated with performing this operation. Click OK.

  5. Log in to FusionCompute at the DR site and delete existing disks.

    1. On FusionCompute at the DR site, choose Resource Pool from the navigation pane, choose Storage > Datastores, and select the datastore created based on the DR storage.
    2. Click Disks, change Name to UUID, enter the unique ID saved in 3 for query, choose More > Safely Delete, enter YES, and click OK.

  6. Log in to UltraVR and delete the protected group.

    1. On the menu bar, click Resources. Refresh the storage at each site and then refresh FusionCompute.
    2. On the menu bar, click Protection.
    3. Select the protected group that you want to delete and choose More > Delete in the Operation area.
    4. Carefully read the contents of the Warning dialog box. Then click the check box next to the statement I have read and understand the consequences associated with performing this operation to confirm the information.
    5. Click OK.
    6. On the menu bar, click to check whether the protected group is successfully deleted. If not, contact Huawei technical support.

  7. Log in to the storage device at the DR site, choose Resources > Volume, select the volume whose name matches the unique identifier saved in 3, click More > Delete Now, and select I have read and understand the consequences associated with performing this operation. Click OK.
  8. On UltraVR, recreate protected groups and recovery plans at the production site.

    1. On the menu bar, click Resources. Refresh the storage at each site and then refresh FusionCompute.
    2. On the menu bar, click Protection to recreate the deleted protected group and recovery plan.

  9. On the menu bar, choose Protection.
  10. In the distributed asynchronous replication network, select the protected group to be operated and click Execute in the Operation area.
  11. On the menu bar, choose Recovery.
  12. Select the recovery plan to be tested, and then click Test in the Operation area. The Test dialog box is displayed.
  13. In the displayed Warning dialog box, read the content of the dialog box carefully and click OK.
  14. After the test is complete, select the recovery plan whose data needs to be cleared and click More > Clear in the Operation area. Click OK.
  15. After the test data is cleared, select the remote recovery plan for which you want to perform fault recovery and choose More > Fault Recovery in the Operation area. Carefully read the contents of the Warning dialog box. Then click the check box next to the statement I have read and understand the consequences associated with performing this operation to confirm the information. Click OK.

Suggestions and Summary

If disks are added to or deleted from a protected VM, or the storage array or datastore capacity is expanded, refresh the protected VM information and manually execute the protected group where the protected VM resides. If the recovery plan fails to be executed, do not add, delete, and modify disaster recovery resources. Contact Huawei technical support.


Copyright © Huawei Technologies Co., Ltd.