Advanced - Microsoft Hyper-V Configuration

Table of Contents

Understanding the CommCell Console

Configuring Hyper-V Online Backups

Configuring Cluster Shared Volume

Configuring Automatic Discovery of Virtual Machines

Discover Non-Associated Virtual Machines to Default Subclient

Discover By Regular Expression

Configuring Backups using Hardware VSS Provider from Storage Vendor

Modifying an Agent, Instance, or Subclient

Deleting an Instance, Backup Set, or Subclient

Deleting an Instance

Deleting a Backup Set

Deleting a Subclient

Understanding the CommCell Console

The Virtual Server iDataAgent uses three main components to perform backup and restore operations from the CommCell Console.

Instance - defines the Virtual Center to be backed up.

Backup Set - collective information of all virtual machines contained in the virtual center.

Subclient - defines the virtual machines to be backed up.

Configuring Hyper-V Online Backups

The following is a list of requirements that must be met to perform online backups. If these requirements are not met, then only offline backups can run and the guest virtual machine will be unavailable for the duration of the backup.

There are also some forms of storage in Hyper-V guest virtual machines that are not supported for backup through the Virtual Server Agent.

Configuring Cluster Shared Volume

Windows 2008 R2 allows the use of Cluster Shared Volumes (CSV). Microsoft Hyper-V can be installed as standalone servers or be clustered utilizing CSVs, that include the Failover Clustering feature. Volumes that are configured as Cluster Shared Volumes can be accessed by all nodes of a failover cluster. Each node can open and manage files on the volumes. Therefore, different nodes can host different virtual machines that all have files on the same volume. This gives the virtual machine (VM) complete mobility throughout the cluster as any node can be an owner, and changing owners is easy. This design has many advantages, including the following:

Cluster shared Backup with single volume

Cluster shared volumes allow multiple Hyper-V hosts in a cluster to share the same LUN.

The basic concept of CSV can be seen in the graphic. 

CSV allows multiple virtual machines that are running on multiple cluster nodes to access their Virtual Hard Disk files at the same time, even if the VHD files are on a single disk (LUN) in the storage. The clustered virtual machines can all fail over independently of one another.

CSV enables Live Migration which allows a live virtual machine to migrate from one node to another with zero down time.

CSV in Redirected i/o mode

Disks in a cluster shared volume are placed into redirected I/O mode during management operating-system based backups. This can be seen in the diagram.

Once the backup of a virtual machine has been started on Node 1 it has ownership of the volume and all of the I/O traffic from the other nodes with virtual machine’s on this volume will flow through Node 1.

This obviously can cause resource contention and requires care when scheduling backups.

 

 

Cluster shared Backup with multiple volumes

For parallel backups of all nodes in the cluster, it is recommended to use multiple cluster shared volumes. Distribute the virtual machines on these volumes as shown in the diagram. Backup virtual machines residing on one CSV from one node. Virtual machines residing on other cluster shared volumes can be backed up from another node of the cluster, at the same time.

To catch the Virtual machines that migrate from one node to another, it is recommended to leave Auto Discovery ON.

 

 

 

Configuring Automatic Discovery of Virtual Machines

Discover Non-Associated Virtual Machines to Default Subclient

While rule-based discovery provides certain levels of granularity in populating virtual machines to back up, there may be scenarios where an entire Microsoft Hyper-V Server requires complete protection on a routine basis. The Automatically add new VMs that do not qualify for membership in any of the subclients option provides the facility to assign any virtual machines found during discovery to the default subclient provided the virtual machine is not already configured in another subclient.

Note, however, that selecting this option overrides any previously configured regular expressions, or the selection of Do Not Backup for any virtual machines.

  1. From the CommCell Browser, right-click the backup set and select Properties.
  2. Select Automatically add new VMs that do not qualify for membership in any of the subclients.
  3. Click OK.

 

Discover By Regular Expression

When configured, virtual machines matching the wildcard expressions are automatically either assigned to or filtered from the associated subclient.

  1. From the CommCell Browser, right-click the backup set for which you want to discover guest hosts and click Properties.
  2. Select Rule-Based Discovery.
  3. Click Discover By drop-down box and select Match Guest Host Names By Regular Expression.
  4. Click Configure.
  5. Highlight the desired subclient name.
  6. Click Configure.
  7. Type the name of the host name in the Guest host name text box.
  8. Click Add to add the name to the Add Guest host name list.
  9. Click OK.  The name is added to the Wildcard names for Virtual Machines column.
  10. Click OK to return the backup set's Properties dialog box.
  11. Click OK.

Configuring Backups using Hardware VSS Provider from Storage Vendor

You can perform backups using the hardware VSS Provider offered by the storage vendor. It is recommended to use a hardware VSS Provider as it improves the performance of backup operations. For Hyper-V clusters, it reduces the time in which the cluster shared volumes are caught in redirected-access mode.

Follow the steps below to create a registry key which will allow you to use the vendor's VSS provider:

  1. From the CommCell Browser, navigate to Client Computers.
  2. Right-click the <Client>, and the click Properties.
  3. Click the Registry Key Settings tab.
  4. Click Add.
  5. In the Name box, type VSSProvider.
  6. In the Location box, type VirtualServer.
  7. In the Type box, select REG_SZ.
  8. In the Value box, type the hardware VSS Provider ID of the vendor. To find the ID, run the following command on your client computer:

    vssadmin list providers

    An example of a provider ID (for NetApp) is ddd3d232-a96f-4ac5-8f7b-250fd91fd102.

  9. Click OK.

Your backup operations will now use the hardware VSS Provider instead of the software VSS Provider from Microsoft.

Modifying an Agent, Instance, Or Subclient

Certain properties of Agents, Instances, and Subclients can be modified to accommodate changes to your configuration, data, or desired backup behavior.

It is recommended that that you do not modify the properties of an instance or subclient when a job is in progress for that specific instance or subclient. If a job is in progress, either wait for the job to complete or kill the job from the Job Controller.

The following table describes the properties that can be configured from these levels.

Option Description ReLATED TOPICS
Job Results Directory Ensure that the full path name for the Job Results Directory, combined with the VMDK file name, is no greater than 255 characters in length.
  1. From the CommCell Browser, right-click the icon of the client computer whose job results path you want to change, then click Properties.
  2. From the Job Configuration tab of the Client Computer Properties dialog box, click User Name/Password to establish or change the Impersonate User account to access the Job Results Directory. Click OK once you have administered the account.
  3. From the Job Configuration tab, type a new job results path in the Job results path field.
    You can also click Browse to browse to a new job results path from the Browse for Job Result Path dialog box. Click OK.
  4. Click OK to save your changes.
Refer to Job Management.
Change Storage Policies You can modify the storage policies in any of the following situations.
  • To include a different media for the backup operation.
  • To use a storage policy with a different retention criteria.

You can change the storage policies from the subclient level.

  1. From the CommCell Browser, right-click the subclient , and then click Properties.
  2. Click the Storage Device tab.
  3. Select the Storage policy from the drop-down list.
  4. Click OK.
Refer to Storage Policies.
Rename a Subclient

You can rename a subclient.

  1. From the CommCell Browser, right-click the subclient.
  2. Click Properties.
  3. Type the new name in the  Subclient name field.
  4. Click OK.
 
Data Transfer Options You can efficiently configure the available resources for transferring data secured by data protection operations from the subclient level. This includes the following:
  • Enable or disable Data Compression either on the client or the MediaAgent.
  • Configure the transfer of data in the network using the options for Network Bandwidth Throttling and Network Agents.

You can configure the data transfer options.

  1. From the CommCell Browser,right-click the subclient.
  2. Click Properties.
  3. Click Storage Device.
  4. Click Data Transfer Option tab.
  5. Choose the appropriate software compression option for this subclient.
  6. Select Throttle Network Bandwidth and set the required bandwidth.
  7.  Click OK.
Refer to Data Compression and Network Bandwidth Throttling.
View Data Paths You can view the data paths associated with the primary storage policy copy of the selected storage policy or incremental storage policy. You can also modify the data paths including their priority from the subclient level.
  1. From the CommCell browser, right-click the subclient.
  2. Click Properties.
  3. Click Storage Device.
  4. Select Storage Policy from the drop-down menu.
  5. Click Data Paths.
 
Number of Data Readers Use this option to specify the number of simultaneous backup data streams allowed for this subclient. 
  1. From the CommCell browser, right-click the subclient.
  2. Click Properties.
  3. Type the Number of Data Readers.
  4. Click OK.
Refer to Streams.
Configure a Subclient for Pre/Post Processing of Data Protection You can add, modify or view Pre/Post processes for the subclient. These are batch files or shell scripts that you can run before or after certain job phases.
  1. From the CommCell browser, right-click the subclient.
  2. Click Properties.
  3. Click Pre/Post Process.
  4. Click one of the following phases and type the full path of the process that you want to execute during that phase. Alternatively, click Browse to locate the process (applicable only for paths that do not contain any spaces).
    • PreBackup Process
    • PostBackup Process
  5. Click OK.
  6. Select Run Post Scan Process for all attempts to run a post scan process for all attempts .
  7. Select Run Post Backup Process for all attempts to run a post backup process for all attempts.
  8. For subclients on Windows platforms, Run As displays Not Selected.

    If you want to change the account that has permission to run these commands, click Change.

    1. In the User Account dialog box, select Use Local System Account, or select Impersonate User and enter the user name and password. Click OK.
    2. If you selected Local System Account, click OK to the message advising you that commands using this account have rights to access all data on the client computer.
Refer to Pre/Post Processes.
Configure Activity Control You can enable backup and restore operations from the agent and subclient level. However, you can enable restore operations only from the agent level.
  1. From the CommCell browser, right-click the subclient.
  2. Click Properties.
  3. Click Activity Control, select or clear option(s) as desired.
  4. Click OK.
Refer to Activity Control.
Configure User Security You can configure user security from the agent or subclient level.

You can perform the following functions:

  • Identify the user groups to which this CommCell object is associated.
  • Associate this object with a user group.
  • Disassociate this object from a user group.
  1. From the CommCell browser, right-click the subclient.
  2. Click Properties.
  3. Click Security.
  4. Select the appropriate user groups to which you want to associate to the CommCell object from the Available Groups pane, and then move the user group to the Associated Groups pane.
  5. Click OK.
Refer to User Administration and Security.
View Software Version and Installed Updates The Version tab, at the Agent level displays the software version and post-release service packs and updates installed for the component.
  1. From the CommCell browser, right-click the agent.
  2. Click Properties.
  3. Click Version.
  4. Click OK.
 
CommCell Configuration Report The CommCell Configuration Report provides the properties of the CommServe, MediaAgents, clients, agents, subclients, and storage policies within the CommCell based on the selected filter criteria.
  1. From the CommCell browser, click Reports icon.
  2. Select CommCell Configuration.
  3. Click Run.
Refer to CommCell Configuration.

Deleting an Instance, Backup Set, or Subclient

The following sections describe the steps involved in deleting an instance, backup set, or subclient.

When you delete an instance or backupset, the associated data is logically deleted and you can no longer access the corresponding data from CommCell Console for recovery purposes.

Refer to the troubleshooting article on Recovering Data Associated with Deleted Clients and Storage Policies for information on how to recover data if you accidentally delete an entity.

Deleting an Instance

Consider the following before deleting an instance:

  1. From the CommCell Browser, right-click the instance that you want to delete, click All Tasks and then click Delete.
  2. Click Yes to confirm the deletion. (Clicking No cancels the deletion and retains the node.)
  3. Type the requested phrase in the Enter Confirmation Text dialog box and click OK. This should delete the instance.

Deleting a Backup Set

Consider the following before deleting a backup set:

  1. From the CommCell Browser, right-click the user-defined backup set  that you want to delete, and then click Delete from the shortcut menu.
  2. A confirmation message is displayed, asking if you want to delete the backup set.

    Click No to cancel the deletion and retain the backup set, or click Yes to continue the deletion.

Deleting a Subclient

Consider the following before deleting a subclient:

  1. From the CommCell Browser, navigate to Client Computers | <Client> | <Agent> | <Backup Set>.
  2. Right-click the <subclient> that you want to delete, and then click Delete.
  3. A confirmation message is displayed, asking if you want to delete the subclient.

    Click No to cancel the deletion and retain the subclient, or click Yes to continue the deletion.

Back to Top