Failed to Create or Expand the HA Protected Group Because the VM Has Snapshots

Symptom

  1. In an HA scenario, a disk fails to be added to a protected group.
  2. Failed to create the HA protected group.

Possible Cause

  1. The VM has snapshots.

Procedure

  1. Log in to FusionCompute corresponding to the VM using the administrator account and obtain the VM snapshot name.
  2. Use PuTTY to log in to the UltraVR node. Use PuTTY to log in to the UltraVR node as user root through a management IP address.
  3. Run the following command to disable PuTTY logout upon system timeout.

    TMOUT=0

  4. Log in to UltraVR, choose Resources, select the site corresponding to the HA VM, and refresh FusionSphere.
  5. Run the following command on the UltraVR node to log in to the GuassDB database.

    /usr/local/gaussdb/bin/gsql -d LEGO -U Database user -W Database password -p 6432

    Database user: RDDBUser by default.

    Database password: password set during system installation.

  6. Delete the VM snapshot from the database.

    delete from T_managedobject where TYPE='com.huawei.ism.drm.galax.sdk.model.VmSnapshotMO' and NAME='Snapshot name';
    delete from ti_vmsnapshotmo where NAME='Snapshot name';

    Snapshot name: Obtain the snapshot name on FusionCompute in 1.

  7. Create or expand an HA protected group.

Copyright © Huawei Technologies Co., Ltd.