Validation Process for VMware VMs

During validation, Commvault mounts a VM from backup, starts the VM, and then executes a script if applications are discovered on the VM.

The following scripts are included on access nodes:

  • SQL Server on Windows: C:\Program Files\Commvault\ContentStore\Base\CVGetSqlServerStatus.bat.

  • Oracle on Windows: C:\Program Files\Commvault\ContentStore\Base\CVGetOracleDBStatus.bat

  • Oracle on Linux: /opt/commvault/Base/CVGetOracleDBStatus.sh

Validation Process

  1. During backups, discover the applications that are running on the guest VMs.

    For Oracle, the list of instances that to start on boot are fetched. For a Linux server, instances are fetched from the oratab file. For Windows servers, instances are fetched from the Oracle services details.

  2. When validating a backup, live mount the VMs that are included in the backup, either using the ESX host for the source VM or a recovery target, depending on the options that were specified for validation.

    If you specified a recovery target for the live mount operation, the live mounted VM uses the network connections that are specified in the recovery target. If VMs were mounted to an ESX host without specifying a recovery target, VMs are mounted without a network connection (disconnected state).

  3. Start the live mounted VM.

    If no applications were discovered for the VM, the validation process validates the VM state.

  4. If applications were discovered, execute a script to validate the applications.

    • For example, the SQL Server script logs on, verifies that services are running, and executes SQL queries to enumerate the databases.

    • Oracle instances are validated to verify that they are in the correct state (Open Mode or ReadWrite state). If instances are not in the correct state, the script attempts to bring the databases to OPEN MODE.

    If the application validation is successful, the script return code is 0. In addition, the VM group page and the backup job indicate whether validation was successful.

  5. After validation is complete, one of the following actions occurs:

    • If you mounted VMs to a recovery target and selected Keep the validated virtual machines running, the VMs are retained using the network options that were specified for the recovery target.

    • If you did not select Keep the validated virtual machines running, the live mounted VMs are disconnected and then deleted.

Monitoring Validation Status for VMware VMs

Loading...