QSnap on Windows - How To

Topics | How To | Related Topics


Windows File System iDataAgent

SAN and Volume Level Agents on Windows

Additional Tools for Windows


Enable QSnap on a Subclient

Related Topics:

Before You Begin

Required Capability: See Capabilities and Permitted Actions

wedge.gif (136 bytes)To enable QSnap on a subclient:

  1. From the CommCell Browser, right-click the subclient that you want to back up, and choose Properties.
  2. For Unix File System iDataAgents or Windows File System iDataAgents, from the General tab, select the Use QSnap checkbox.
  3. Click OK. Your next backup will use QSnap.

Change the COW Cache Location

For Windows platform Agents, use the following procedure to change the location of the COW Cache for all volumes on a client.

  • For the Image Level ProxyHost iDataAgent, this value is set in the Backup Host's Image Level Agent Properties.
  • If you have manually set values for the cache location in the registry, those values will take precedence over any values set in the CommCell Console.

Required Capability: See Capabilities and Permitted Actions

To change the COW Cache location:

  1. From the CommCell Console, right-click the Client icon for which you are changing the COW Cache location and then click Properties.
  2. From the Client Computer Properties (Advanced) tab, enter the volume on which to place the COW Cache.
    • Directory Path Mount points are not supported.
  3. Click OK. The new cache location will be used for the next backup/snapshot/QR job.

Change the COW Cache Size

For Windows platform Agents, use the following procedure to change the minimum and/or maximum COW cache sizes.

  • For the Image Level ProxyHost iDataAgent, this value is set in the Backup Host's Image Level Agent Properties.
  • The effective maximum for COW cache size is 90% of the volume's total capacity. Even if you enter a number of megabytes that represents a higher percentage, a snapshot will terminate when the cache file reaches 90% of the volume's total capacity.

Required Capability: See Capabilities and Permitted Actions

To change the COW Cache size:

  1. From the CommCell Console, right-click the Agent icon for which you are adjusting the COW Cache parameters and then click Properties.
  2. From the Agent Properties (General) tab, enter the desired values for the minimum and/or maximum COW Cache size.
  3. Click OK. The new cache settings will take effect during your next backup/snapshot/QR job.

Change the extent size for Backup Applications

Use the following procedure to change the backup extent size.

This procedure will require a reboot.

To change the extent size:

  1. From the \Base directory, launch the Qsnp2Config.
  2. Click Update BF Params, enter the desired value in Extent size in Bytes for Backup Applications and click OK to continue.
  3. Click OK. The new extent size settings will take effect after a reboot.

Change the extent size for Replication Applications

Use the following procedure to change the replica extent size.

This procedure will require a reboot.

To change the extent size:

  1. From the \Base directory, launch the Qsnp2Config.
  2. Click Update BF Params, enter the desired value in Extent size in Bytes for Replication Applications and click OK to continue.
  3. Click OK. The new extent size settings will take effect after a reboot.

Change the QSnap Bitmap Location

Use the following procedure to change the location of the QSnap bitmaps. Prior to changing the bitmap location, consider the following:

To change the location of Block Filter (BF) Parameters of an individual volume:
  1. From the \Base directory, launch the Qsnp2Config, which will display the DEFAULT Parameters configured during install.
  2. Click on the Configure Block Filter on Volumes button.
  1. In the Enter a Volume field, enter the volume you desire to change (for e.g., l:) and click the Select button, which will display the current settings for the volume.
  2. Click Deactivate BF. In the Bitmap Volume field, enter the volume where you want to store the bitmap for the selected volume (for e.g., l:).
  3. Click the Activate BF button.
  4. Repeat this process for each volume on which you are going to change the bitmap location.
  5. Click Close to close the Configure BlockFilter Volume dialog box.
  6. Click the Exit button to close the Qsnp2Config dialog box.

To change the location of Block Filter (BF) Parameters of all volumes:
  1. From the \Base directory, launch the Qsnp2Config, , which will display the DEFAULT Parameters configured during install.
  2. Click Update BF Params, enter the new bitmap location (for e.g., l:) in the Default Volume to keep Bitmap Files field and click Update.
  3. Click OK.
  4. Click the Exit button to close the Qsnp2Config dialog box.
 

Enable Persistence on a Volume

Use the following procedure to enable persistence on a volume or volumes.

Disabling persistence does not require a reboot and does not force your next job to be a full.

To enable QSnap bitmap persistence:

  1. From the \Base directory, launch the Qsnp2Config.
  2. Click Configure Volumes, then enter or Select the volume for which you want to enable QSnap bitmap persistence.
  3. Click Enable Persistence. The Persistence Enabled value should be set to 1.
  4. Repeat this process for each volume on which you are enabling persistence. For the Quick Recovery Agent, remember to configure the destination volumes in addition to the source volumes.
  5. Click the Exit button to complete volume configuration.

Enable Persistence and Configure QSnap on Cluster

Once you have installed QSnap, use the following procedure to set persistence and configure QSnap on a cluster.

 To enable persistence on a cluster:

  1. From the Cluster Administrator software, take the GxClusPlugin service resource offline.
  2. From the registry editor on both physical nodes, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\Instance<xxx>\iDataAgent.
    1. Change the DWORD value for ClusterBFMode to 2.
    2. Close the registry editor.
  3. Configure your volumes:

    1. From the \Base directory, launch QST2Tool. This executable can be run from either physical node.
    2. Activate the block-filter driver on the volume.
    3. Enable Persistence.
    4. Set the Bitmap Init Value to 0.
    5. Specify the volume to keep the bitmap. Ensure the volume you specify here is a shared volume.
  4. From the Cluster Administrator software, bring the GxClusPlugin service resource back online.

  5. Initiate a failover by moving the group to the other physical node.
  6. The cluster volumes you configured on the original node need to be configured on the current node as well. Once configured on both nodes, you will not need to configure them again. Configure your volumes by repeating Steps 1 - 4 above.

QSnap is now configured for your cluster.


Disable Persistence on Volumes

Use the following procedure to disable persistence on a volume or volumes.

Disabling persistence does not require a reboot and does not force your next job to be a full.

To disable QSnap bitmap persistence on a volume:

  1. From the \Base directory, launch the Qsnp2Config.
  2. Click Configure Volumes, then enter or Select the volume for which you want to disable QSnap bitmap persistence.
  3. Click Disable Persistence. The Persistence Enabled value should be set to 0.
  4. Repeat this process for each volume on which you are disabling persistence. For the Quick Recovery Agent, remember to disable persistence the destination volumes in addition to the source volumes.
  5. Click the Exit button to complete volume configuration.

Disable Persistence on a Cluster

Use the following procedure to disable persistence on a cluster.

 To disable persistence on a cluster:

  1. From the Cluster Administrator software, take the GxCVD and GxEvMgrc service resources offline.
  2. Add any additional physical disk resources that you want to protect as dependencies to CVD (the physical disk resource that QSnap was installed on for the virtual node is listed as a dependency by default).
  3. From the registry editor on both physical nodes, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\Instance<xxx>\iDataAgent.
    1. Change the DWORD value for ClusterBFMode to 1.
    2. Close the registry editor.
  4. Configure your volumes:
    1. From the \Base directory, launch Qsnp2Config. This executable can be run from either physical node.
    2. Click Configure Volumes, enter or Select the volume for which you want to disable QSnap bitmap persistence.
    3. Click Deactivate BF to deactivate the block-filter driver on the volume.
    4. Set the Persistence Enabled value to 0.
    5. Set the Bitmap Init Value to 0.
    6. Set the Bitmap Volume to your desired location for storing the bitmap file. The volume is required to be a local volume.
    7. Click Reactivate BF to reactivate the block-filter driver.
    8. Repeat this process for all of the shared volumes you would like to protect on with QSnap on your cluster.
  5. From the Cluster Administrator software, bring the GxCVD and GxEvMgrc service resources back online.
  6. Initiate a failover by moving the group to the other physical node.
  7. The cluster volumes you configured on the original node need to be configured on the current node as well. Once configured on both nodes, you will not need to configure them again. Configure your volumes:
    1. Click Configure Volumes, enter or Select the volume for which you want to disable QSnap bitmap persistence.
    2. Click Deactivate BF to deactivate the block-filter driver on the volume.
    3. Set the Persistence Enabled value to 0.
    4. Set the Bitmap Init Value to 0.
    5. Set the Bitmap Volume to your desired location for storing the bitmap file. The volume is required to be a local volume.
    6. Click Reactivate BF to reactivate the block-filter driver.
    7. Repeat this process for all of the shared volumes you would like to protect on with QSnap on your cluster.

Persistence is now disabled on your cluster.


Enable/Disable QSnap Block-filter Driver on Specific Volumes

Use the following procedure to manually deactivate the QSnap block filter functionality on specific volumes.

To deactivate the block-filter driver on specific volumes:

  1. From the \Base directory, launch the Qsnp2Config.
  2. To de-activate the block-filter driver on the volumes you do not want to be monitored:
    1. Click Configure Volumes, then enter or select the volume for which you want to disable the block-filter driver.
    2. Click Deactivate BF.
    3. Repeat this process for each volume on which you are disabling the block-filter driver.
    4. Click OK to continue.
  3. Click the Exit button to close the Qsnp2Config.


Change the Write Inactivity Period (WIP)

Use the following procedure to change the write inactivity period. Use caution when changing this value. If the default value of 3 seconds is not sufficient (for example, due to slow disk performance), try small, incremental increases in the value (e.g., increase the value to 5 seconds).

This procedure will require a reboot.

To change the WIP:

  1. From the \Base directory, launch the Qsnp2Config.
  2. Click Update Snap Params, then enter the new Write Inactivity before Snap (Seconds) value and click OK to continue.
  3. Click the Exit button to close the Qsnp2Config.

Enable SAN Environment

Use the following procedure to enable SAN environment support, allowing you to perform incremental backups after a SAN device has lost connectivity.

To enable SAN environment support:

  1. From the \Base directory, launch the Qsnp2Config.
  2. Click Update BF Params, then change the Enable SAN Environment value to 1 and click OK to continue.
  3. Click the Exit button to close the Qsnp2Config.

QST2 Tool

The QST2 tool is used primarily for testing and troubleshooting the QSnap driver. The tool allows you to directly access and use the QSnap driver through command line calls. The QST2 tool is located in the \Base directory and has both snapshot and bitmap file commands.

WARNING
  • Some features of this tool should not be used without instruction from a support specialist and have been marked DO NOT USE.
  • This tool provides some options that are better performed using the CommCell Console or Qsnp2Config. If there is another, preferred method to perform a task, it is noted in the description.

To access snapshot commands:

  1. From the \Base directory, launch the QST2 tool from the command line by navigating to the \Base directory and entering:

    qst2 x:

    Where x is the drive letter for the volume containing the snapshot(s) with which you intend to work.

  2. Enter 1 to access the snapshot options.
  3. Select one of the following:
  4. When you are finished working with your snapshots, enter 0 to return to the main menu and then enter 0 again to exit the program.

To access bitmap commands:

  1. From the \Base directory, launch the QST2 tool from the command line by navigating to the \Base directory and entering:

    qst2 x:

    Where x is the drive letter for the volume containing the bitmaps with which you intend to work.

  2. Enter 2 to access the bitmap options.
  3. Select one of the following:
  4. When you are finished working with your bitmaps, enter 0 to return to the main menu and then enter 0 again to exit the program.

Use TrackBlockIO to measure changed blocks

Use the following procedures to measure the amount of change to a volume at the block level, over time. Note that previous versions of the TrackBlockIO tool will not work in the current release. Similarly, the TrackBlockIO tool for the current release cannot be used with older versions of the software.

To measure the changed blocks for the next job:

  1. From the \Base directory, launch the TrackBlockIO tool.
  2. Enter the drive letter for the volume in the Enter Drive Letter: field and click Make Active Volume.
  3. Select the appropriate bitmap type from the Bitmap Type drop-down list:
  4. If you want to save the measurements, select the Save Results To checkbox and enter a path for the results file (it will use the directory in which the TrackBlockIO is located by default).
  5. Click the Get Changed Data button to see the point-in-time from which you are measuring change, as well as the amount of change in KB in the Last Cleared Time and Data To Copy fields, respectively.
  6. The value displayed in the Data To Copy field is indicative of the size of the next backup or QR Incremental update.
WARNING:

Do not enable and use the Clear Bitmap button in a production environment - they are provided for testing purposes outside of production only. See the example below.

If you are not performing backups or creating QR Volumes with QSnap, you can use the TrackBlockIO tool in conjunction with the Clear Bitmap option to test the potential size of your jobs before backing up your client. Clearing the bitmaps in a production environment would force a full backup or QR Volume creation.

To measure the changed blocks before backing up a client:

  1. Install QSnap, preferably without the Image Level, Image Level ProxyHost or QR Agents.
  2. From the \Base directory, launch the TrackBlockIO tool.
  3. Enter the drive letter for the volume in the Enter Drive Letter: field and click Make Active Volume.
  4. Select a bitmap type from the Bitmap Type drop-down list. It is not important which type you choose in this scenario, so long as you continue to use the same bitmap type for all of your measurements.
  5. Select the Save Results To checkbox and enter a path for the results file (it will use the directory in which the TrackBlockIO is located by default).
  6. Click the Get Changed Data button. A pop-up warning that the Bitmaps are dirty will appear. Click OK to continue.
  7. Select the Enable Clear Button checkbox and click Clear Bitmaps.
  8. Click the Get Changed Data button again. Since the bitmaps have been cleared, your first measured result should be very small.
  9. Wait whatever time interval over which you are measuring changed blocks and click the Get Changed Data button again. This will display the point-in-time from which you are measuring change, as well as the amount of change in KB in the Last Cleared Time and Data To Copy fields, respectively.

    For example, if you want to measure the change over a 24 hour period, wait 24 hours and click the Get Changed Data button.
  10. You can measure the change over different time intervals by repeating Steps 7 through 9, so long as you are not using QSnap in conjunction with any of the supported agents (QR Agent, Image Level or Image Level ProxyHost iDataAgents) to back up the client.

Back to Top