Configuration - Virtual Server Agent for Microsoft Hyper-V

You can configure the Hyper-V client for a standalone Hyper-V server or a Hyper-V cluster. Select one of the following methods to configure the Hyper-V client.

Configuration

The Hyper-V client can be configured using one of the following methods:

Method 1: Configuring a Client for a Standalone Hyper-V Server

Use this procedure if you want to perform the backup of a virtual machine on a standalone Hyper-V server.

Method 2: Configuring a Client for Hyper-V  Cluster

Use this procedure if you want to perform the backup of a virtual machine in a Hyper-V cluster.

Method 1: Configuring a Client for a Standalone Hyper-V Server

  1. From the CommCell Browser, right-click the Client Computers node and click New Client | Virtualization | Microsoft Hyper-V.
  2. On the Create Microsoft Hyper-V Client dialog:
    1. For Client Name, enter a unique client name to describe the virtualization client. Do not use the host name of an existing client.
    2. Enter the credentials required to access the Hyper-V server or cluster.

      Ensure that the user name you enter is part of the following administrator groups on the Hyper-V host:

      • Local Administrators group (for Hyper-V Server 2008 R2)
      • Any user that is part of Hyper-V Administrators group (for Hyper-V Server 2012 and later)

      For a Hyper-V cluster, the user account must have full Cluster Permissions (Read and Full Control). 

    3. Click Add to identify one or more Hyper-V client nodes.
  3. On the Select Clients / Client Groups dialog, identify the standalone Hyper-V node:
    1. Select the host from the Exclude list, which displays all computers that have the Virtual Server Agent installed.
    2. Click Include.
    3. Click OK to save the node selection.
  4. Click OK to create the virtualization client for the Hyper-V server.
  5. From the CommCell Browser, navigate to Client Computers | virtualization_client | Virtual Server | Hyper-V | backup_set.
  6. Right-click the backup set and click All Tasks | New Subclient.

  7. On the Subclient Properties dialog:

    1. Enter the Subclient name.
    2. Click the Content tab.
    3. Click Browse.
    4. Navigate to the virtual machine to be backed up and select the virtual machine.
    5. Click OK.

      The selected virtual machine appears in the Contents of a subclient list.

    6. Click the Storage Device tab and ensure that a Storage Policy is selected.
    7. Click OK to create the subclient.
  8. On the Backup Schedule dialog, select Do Not Schedule and click OK.

Method 2: Configuring a Client for Hyper-V Cluster

  1. From the CommCell Browser, right-click the Client Computers node and click New Client | Virtualization | Microsoft Hyper-V.
  2. On the Create Microsoft Hyper-V Client dialog:
    1. For Client Name, enter a unique client name to describe the virtualization client. Do not use the host name of an existing client.
    2. Enter the credentials required to access the Hyper-V server or cluster.

      Ensure that the user name you enter is part of the following administrator groups on the Hyper-V host:

      • Local Administrators group (for Hyper-V Server 2008 R2)
      • Any user that is part of Hyper-V Administrators group (for Hyper-V Server 2012 and later)

      For a Hyper-V cluster, the user account must have full Cluster Permissions (Read and Full Control). 

    3. Click Add to identify one or more Hyper-V client nodes.
  3. On the Select Clients / Client Groups dialog, identify the Hyper-V server nodes:
    1. Select all hosts for the Hyper-V cluster from the Exclude list, which displays all computers that have the Virtual Server Agent installed.
    2. Click Include.
    3. Click OK to save the node selections.
  4. Click OK to create the virtualization client for the Hyper-V cluster.

    This virtual client manages backups for all nodes in the cluster, even if virtual machines migrate from one host to another.

  5. From the CommCell Browser, navigate to Client Computers | virtualization_client | Virtual Server | Hyper-V | backup_set.
  6. Right-click the backup set and click All Tasks | New Subclient.
  7. On the Subclient Properties dialog:
    1. Enter the Subclient name.
    2. Click the Content tab.
    3. Click Browse.
    4. Navigate to the virtual machine to be backed up and select the virtual machine.
    5. Click OK.

      The selected virtual machine appears in the Contents of a subclient list.

    6. Click the Storage Device tab and ensure that a Storage Policy is selected.
    7. Click OK to create the subclient.
  8. If you have yet created a Storage Policy, continue with Step 10.
  9. In the Backup Schedule dialog box, click Do Not Schedule.
  10. To create a storage policy, you must have configured a library in the CommCell.

    Disk Library Creation

    1. From the CommCell Browser, navigate to Storage Resources, right-click the Libraries, point to Add and then click Disk Library...

      Alternatively, you can also navigate to MediaAgents, right-click <MediaAgent>, point to All Tasks | Create Library and then click Disk Library...

    2. From the Add Disk Library dialog box, specify the following:
      • In the Name box, specify name of the disk library.
      • From the MediaAgent list, select the MediaAgent.

      Perform one of the following:

      • Select Local Path if you wish to specify a local path in the MediaAgent computer.

        In the Disk Device box, type the name of the folder in which the disk library must located or click button to select the folder.

      • Select Network Path, if you wish to specify a network path as the target share.

        In the Connect As box, type the user name.

        In the Password and Verify Password box, type the password to access the network share.

        In the Folder box, type the mount path or click button to select a mount path.

      • Click OK.
    3. The newly created disk library will be displayed under Libraries node.

    This will create a library and Storage Policy.

    Storage Policy Creation

    This will create a storage policy. 

    1. Click Create Storage Policy.
    2. Follow the prompts displayed in the Storage Policy Wizard. The required options are mentioned below:
      1. Select the Storage Policy type as Data Protection and Archiving and click Next.
      2. Enter the name in the Storage Policy Name box and click Next.
      3. From the Library list, click the name of a disk library to which the primary copy should be associated and then click Next.

        Ensure that you select a library attached to a MediaAgent operating in the current release.

      4. From the MediaAgent list, click the name of a MediaAgent that will be used to create the primary copy and then click Next.
      5. For the device streams and the retention criteria information, click Next to accept default values.
      6. Select Yes to enable deduplication for the primary copy.
      7. From the MediaAgent list, click the name of the MediaAgent that will be used to host the Deduplication database (DDB).

        In the Location box, type the name of the folder in which the DDB must be located or click the Browse to select the folder, and then click Next.

      8. Review the details and click Finish to create the Storage Policy.