SnapTest Tool Options

Adding an Array

If Commvault installation is in normal mode, you might add the array using the Snaptest commands below or add the array in the Array Management using Commvault console.

Add the array once, for each new array. Adding the array is mandatory in decoupled mode and you need to do it before any snap operation.

  1. Navigate to <installed_directory>\Base and double-click SnapTest.exe.

  2. In the Introductory dialog box, press Enter.

  3. In the Main Menu dialog box, type 2 for Advanced Operations and press Enter.

  4. In the Advanced Operations dialog box, type 2 for Array Configuration and press Enter.

  5. In the Configure Arrays dialog box, press Enter to add a new array.

  6. In the Add Array dialog box, specify the number corresponding to the snap engine vendor to add and press Enter.

  7. Specify the following information for the detected array:

    • Array ID

    • Control host name/ip

    • User name

    • Password

    • Reenter password

    • Device group

    • Use only devices belonging to the above device group [y/n]

Creating, mounting, unmounting, deleting, and reverting snapshots

To create, mount, unmount, delete, or revert snapshots for an array:

  1. Navigate to <installed_directory>\Base and double-click SnapTest.exe.

  2. In the Introductory dialog box, press Enter.

  3. In the Main Menu dialog box, type 2 for Advanced Operations and press Enter.

  4. In the Advanced Operations dialog box, press Enter to Perform individual Snap Operations.

  5. In the Snap Engine Test dialog box, specify the number corresponding to the snap engine and press Enter.

  6. In the Exit dialog box, specify the operation. For e.g., type 1 to create a snapshot and press Enter.

Detecting Snap Engine Type

To detect the type of engine in your environment:

  1. Navigate to <installed_directory>\Base and double-click SnapTest.exe.

  2. In the Introductory dialog box, press Enter.

  3. In the Main Menu dialog box, type 2 for Advanced Operations and press Enter.

  4. In the Advanced Operations dialog box, type 3 for Miscellaneous Tasks and press Enter.

  5. In the Miscellaneous Tasks dialog box, press Enter to Detect Snap Engine Type. This will prompt you to specify the source mount path.

  6. In the Snap Engine Detection, specify the source mount path or the device path and press Enter.

    The mount path should be specified as follows, <drive>:\\

    For example:

    f:\\

    The snap engine type configured for the mount or device path is displayed, press Enter to continue

Showing HBA or iSCSI Address

To derive the HBA or the iSCSI information for an array:

  1. Navigate to <installed_directory>\Base and double-click SnapTest.exe.

  2. In the Introductory dialog box, press Enter.

  3. In the Main Menu dialog box, type 2 for Advanced Operations and press Enter.

  4. In the Advanced Operations dialog box, type 3 for Miscellaneous Tasks and press Enter.

  5. In the Miscellaneous Tasks dialog box, type 2 and press Enter to Show HBA/iSCSI address.

  6. In the List Adapters dialog box, press Enter to List Adapters. This will prompt you to enter the name of the snap engine.

The HBA or iSCSI information, including the WWPN number for the fibre card, is displayed.

Sending SCSI Inquiry to Mount Point

To derive the vendor information for an array, by sending SCSI inquiry to the mount point:

  1. Navigate to <installed_directory>\Base and double-click SnapTest.exe.

  2. In the Introductory dialog box, press Enter.

  3. In the Main Menu dialog box, type 2 for Advanced Operations and press Enter.

  4. In the Advanced Operations dialog box, type 3 for Miscellaneous Tasks and press Enter.

  5. In the Miscellaneous Tasks dialog box, type 3 and press Enter to Send SCSI inquiry to mount point. This will prompt you to enter the name of the snap engine.

  6. In the Send SCSI Inquiry dialog box, type the drive letter of mount directory and press Enter.

The vendor information, source path, and the mount path details are displayed.

Mounting Snapshot on Proxy

To create a snapshot on your source computer and mount it to a proxy computer:

  1. Navigate to <installed_directory>\Base and double-click SnapTest.exe.

  2. In the Introductory dialog box, press Enter.

  3. In the Main Menu dialog box, type 2 for Advanced Operations and press Enter.

  4. In the Advanced Operations dialog box, press Enter to Perform individual Snap Operations.

  5. In the Snap Engine Test dialog box, specify the number corresponding to the snap engine and press Enter. This will prompt you to specify the Mount points to snap.

  6. In the SnapTest Create Snap, specify the drive letter of mount directory and press Enter, for example:

  7. Enter all the mount points that you want to test separated by commas, if more than one.

    E:\
  8. In the SnapTest Create Snap dialog box, a message will appear to indicate the creation of the snapshot, press Enter to continue.

  9. Type 0 and press Enter until you exit the tool.

  10. Navigate to <installed_directory>\Base and copy the SnapTestSnapInfo.xml file to a temporary location on the proxy computer.

  11. Connect to the proxy computer and do the following:

    • Rename the current SnapTestSnapInfo file to SnapTestSnapInfo_old.

    • Copy the new SnapTestSnapInfo.xml file to the <installed_directory>\Base folder.

    • Double-click SnapTest.exe to start the tool.

  12. In the Introductory dialog box, press Enter.

  13. In the Main Menu dialog box, type 2 for Advanced Operations and press Enter.

  14. In the Advanced Operations dialog box, press Enter to Perform individual Snap Operations.

  15. In the Snap Engine Test dialog box, specify the number corresponding to the snap engine and press Enter.

  16. In the Snap Engine Test dialog box, type 3 to Mount Snap and press Enter.

  17. Type the number corresponding to the snapshot you want to mount and press Enter. This will prompt you to type the Snap numbers to mount.

    Type the numbers separated by commas, if more than one and press Enter.

  18. The snapshot is successfully mounted on the proxy computer.

  19. To remove the snapshot after perform the test:

    • Type 0 and press Enter until you exit the tool.

    • Navigate to <installed_directory>\Base and remove the SnapTestSnapInfo.xml file you copied.

    • Rename the SnapTestSnapInfo_old file to SnapTestSnapInfo.

Loading...