No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionCube HCI 3.2 vCenter Plug-in User Guide 01 (VMware vSphere)

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Recovering a Faulty VM (VMware vSphere 6.0)

Recovering a Faulty VM (VMware vSphere 6.0)

Scenarios

Recover a faulty VM.

NOTE:

Before the faulty VM is recovered, the following requirements must be met:

  • The system has taken the snapshot of the volume where the faulty VM is located.
  • You have obtained the IP address, user name, and password for logging in to vCenter.
  • You have obtained the IP address, user name, and password of the FusionStorage Block WebUI.

Procedure

  1. Log in to the FusionStorage WebUI.
  2. Query the volume snapshot on the FusionStorage WebUI.
    1. Choose Resource Pool > Volume Management > Volumes.

      The Volumes page is displayed.

    2. Find the volume corresponding to the datastore mounted on vCenter where the faulty VM is located.
    3. Click Snapshot.

      The Snapshot dialog box is displayed.

    4. Find the snapshot based on the recovery time.
    5. Record the snapshot name and capacity.
  3. On the FusionStorage WebUI, create a volume and add the mapping based on the snapshot.
    1. Choose Resource Pool > Snapshot Management.

      The Snapshot Management page is displayed.

    2. Find the snapshot based on the name recorded.
    3. Click Create Volume.

      The Create Volume dialog box is displayed.

    4. Enter the name and capacity of the new volume. (Ensure that the entered capacity is the same as the snapshot capacity.)

    5. Click Create.

      The Confirm dialog box is displayed.

    6. Click Yes.

      The Information dialog box is displayed.

    7. Click Map.

      The Map dialog box is displayed.

    8. Select Map to Host.
    9. Select the host to be mapped.

    10. Click Yes.

      The Information dialog box is displayed.

    11. Click OK.
    12. Choose Resource Pool > Volume Management > Volumes.

      The Volumes page is displayed.

    13. Record the new volume WWN.
  4. Log in to vCenter.
  5. Add the storage on vCenter.
    1. Choose Configuration > Storage.

      The Storage page is displayed.

    2. Click Rescan All.

      The Rescan dialog box is displayed.

    3. Select Scan for New Storage Devices and Scan for New VMFS Volumes.

    4. Click OK.
    5. After the scan is complete, click Add Storage.

      The Select Storage Type dialog box is displayed.

    6. Select Disk/LUN.

    7. Click Next.

      The Select Disk/LUN page is displayed.

    8. Select a LUN whose WWN in the identifier in the naa.wwn format is the same as the WWN of the new volume

    9. Click Next.

      The Select VMFS Mount Options page is displayed.

    10. Select Assign a new signature.

    11. Click Next.

      The Ready to Complete page is displayed.

      NOTE:

      The new volume is a clone of the volume snapshot, has already been formatted as the VMFS file system, and has been recognized by the VMware as a datastore. To avoid the conflict with the signature of the original volume, assign a new signature.

    12. After confirming information, click Finish.

      The Storage page is displayed.

    13. Find the datastore and ensure that the LUN whose WWN in the identifier in the naa.wwn format is the same as the WWN of the new volume.

  6. View the datastore on vCenter.

    The volume snapshot of FusionStorage Block cannot be written and cannot be directly mounted to vCenter. Therefore, use the snapshot to create a volume and mount it to vCenter. After the recovery, you must manually delete the new volume because it is only a temporary file. Theoretically, this volume can be used as the data source during recovery and does not support operations such as VM creation, startup, and data writing.

    1. Right-click the datastore of the new volume, and choose Browse Datastore.

      The Browse Datastore page is displayed.

    2. Find the VM file to be restored.
  7. Restore the VM on vCenter.
    NOTE:

    You can copy the VM file or clone the VM to restore the VM. The following use VM cloning as an example.

    1. Open the folder of the VM to be restored.
    2. Right-click the file with the suffix xxx.vmx, and choose Add to Inventory.

      The Name and Location page is displayed.

    3. Enter the VM name.
    4. Select the VM mounting position.

    5. Click Next.

      The Host/Cluster page is displayed.

    6. Select a host or group that runs this VM.

    7. Click Next.
      • The Ready to Complete page is displayed if a host is selected.

      • The Specific Host page is displayed if a host is selected.

        1. Select a host.
        2. Click Next.

          The Ready to Complete page is displayed.

    8. Click Finish.
    9. (Optional) Delete the snapshot.
      NOTE:
      • If a snapshot exists on Snapshot Manager, the volume snapshot attribute is silent snapshot. Otherwise, the volume snapshot attribute is iSCSI snapshot.
      • Perform this operation only when the volume snapshot is a quiesced snapshot.
      1. Right-click this VM, and choose Snapshot > Snapshot Manager.

        The Snapshot Manager page is displayed.

      2. Click Go to.
      3. When the progress bar is 100%, click Delete.
    1. Right-click this VM, and choose Clone.

      The Clone Virtual Machine page is displayed.

    2. Enter the VM name.
    3. Select the VM mounting position.

    4. Click Next.

      The Host/Cluster page is displayed.

    5. Select a host or group that runs this VM.

    6. Click Next.
      • The Storage page is displayed if a host is selected.

      • The Specific Host page is displayed if a host is selected.

        1. Select a host.
        2. Click Next.

          The Storage page is displayed.

    7. Select a storage.
    8. Click Next.

      The Guest Customization page is displayed.

    9. Select Do not customize.

    10. Click Next.

      The Ready to Complete page is displayed.

    11. Click Finish.
    12. After the clone is complete, right-click the cloned VM and choose Power > Power On.

      Start the VM.

  8. On vCenter, delete the VM from the snapshot volume added to the list.
    1. Switch to the VM List page.
    2. Right-click the VM to be deleted, and choose Remove from Inventory.
  9. Uninstall the storage from vCenter.
    1. Choose Configuration > Storage.

      The Storage page is displayed.

    2. Find the storage added in 5.
    3. Right-click the storage and choose Delete.
  10. In the FusionStorage Block WebUI, remove the mapping from the new volume and delete the new volume.
    1. Choose Resource Pool > Volume Management > Volumes.

      The Volumes page is displayed.

    2. Find the volume corresponding to the datastore created in 3 on vCenter.
    3. Click Delete Mapping.

      The Delete Mapping dialog box is displayed.

    4. Select Remove Mapping From Host.
    5. Select the volume whose mapping is to be removed.

    6. Click Yes.

      The Warning dialog box is displayed.

    7. Click Yes.
    8. Choose Resource Pool > Volume Management > Volumes.

      The Volumes page is displayed.

    9. Find the volume corresponding to the datastore created in 3 on vCenter.
    10. Click Delete.
  11. Refresh volume information on vCenter.
    1. Choose Configuration > Storage.

      The Storage page is displayed.

    2. Click Refresh.
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1100071999

Views: 1912

Downloads: 12

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next