Restoring multiple virtual machines in parallel (optimized restore)

With parallel restore processing, you can restore multiple virtual machines (VMs) at the same time to help optimize the performance of VM restore operations.

Before you begin

Review the information in Optimizing restore operations.

About this task

Use the following options to optimize the restore operation. Adjust the numbers, depending on the resources available to your environment:
  • Use the vmmaxrestoreparallelvms option to adjust the number of VMs that are restored in parallel.
  • Use the vmmaxrestoresessions option to allocate the number of IBM Spectrum Protect™ server sessions for the restore operation and to each VM that is being restored.
  • Use the vmmaxrestoreparalleldisks option to adjust the maximum number of virtual disks to restore in parallel for each VM.

Procedure

Complete the following steps on the data mover command line:

  1. Go to the C:\Program Files\IBM\SpectrumProtect\baclient directory.
  2. Open the data mover options file (dsm.hostname_HV_DM.opt) with your preferred text editor.
  3. Enter the option name and one or more blank spaces, followed by the option value. For example:
    vmmaxrestoreparallelvms 2
    vmmaxrestoresessions 8
    vmmaxrestoreparalleldisks 2
  4. Issue the restore vm command. For example:
    dsmc restore vm vm1,vm2,vm3 -vmname=“*_<timestamp>”
    Using the provided examples, the operation can restore two VMs in parallel, with four maximum sessions available to each VM (eight total restore sessions divided by two VMs), and include a maximum of two disks in parallel per VM. The VMs are restored to new VMs with names that are composed of the original VM name, each appended with the date and time of the restore operation.