Resetting Test Failovers in a Linux Environment

After verifying disaster readiness, redirect the test clients and/or MediaAgent to the production CommServe host.

Procedure

  1. Log on to either the production CommServe host, or the standby CommServe host.

  2. Open command prompt and navigate to the folder associated with the SQL client:

    For example: opt/commvault2/Base

  3. Execute the following command to reset a test failover to the SQL client in the production CommServe host:

    ./CvFailover -OpType Failover -FailoverType TestFailback -TargetNode TestNodeSQLClient

    Syntax:

    ./CvFailover -OpType <OpType> -FailoverType <Failover Type> -TargetNode <Target Node Name>

    Where:

    • <OpType> can be one of the following operations:

      Failover - To perform a failover operation.

      GetFailoverConfig - To display the failover configuration status.

      ResetFailoverOperation - To reset a partial failover operation.

      ResetFailoverConfig - To reset an existing failover configuration. (To be used in case of xml corruption.)

    • <Failover Type> can be one of the following failover types:

      Production - To perform a production failover.

      ProductionMaintenance - To perform a maintenance failover.

      MaintenanceFailback option - To reset maintenance failover.

      Test - To perform a test failover.

      TestFailback - To reset a test failover.

    • <Target Node Name> is the name of the target SQL client in the CommServe host to which the operation must be failed over.

    • -forceUnplannedFailover can be used when the setup is stuck and only when the target node is the node with latest database, to avoid major data loss.

Result

The sequence of tasks performed to complete the reset is displayed. The test clients and/or MediaAgents will be redirected back to the production CommServe host.

What to Do Next

If client certificate authentication during installation was disabled before the failover, set the Force per-client certificate authentication option to Yes from the CommCell Console > Control Panel > Certificate Administration dialog box.

Loading...