Resetting Maintenance Failovers in a Linux Environment

After performing the necessary maintenance activity on the production CommServe host, switch CommCell operations back to the production CommServe host by resetting the maintenance failover.

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 maintenance failover, to the SQL client in the production CommServe host:

    ./CvFailover -OpType Failover -FailoverType MaintenanceFailback -TargetNode ActiveSQLClient

    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 CommServe is redirected back to the production CommServe host.

  • All activities in the CommCell are enabled, and all jobs are automatically resumed in the Job Controller.

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. For more information on enabling this option, see Enabling Client Certificate Authentication on the CommServe Computer.

Loading...