Go to main content

Oracle® Solaris Cluster Data Service for SAP NetWeaver Guide

Exit Print View

Updated: November 2018
 
 

How to Set or Revoke the Maintenance Mode Manually

  • There are two ways to correct a partial SAP maintenance mode:
    • Repeat the command which is run by SAP manually:
      $ sapcontrol -nr <instance number> -function HASetMaintenanceMode <0/1>

      Where 0 is to revoke the SAP maintenance mode, and 1 is to set the maintenance mode.

    • Run the following Oracle Solaris Cluster commands for the resource group where setting or revoking the SAP maintenance mode failed for an instance.
      • Revoke the SAP maintenance mode:
        # clrs monitor -g <instance resource group> +
        # clrg resume <instance resource group>
        
      • Set the SAP maintenance mode:
        # clrs unmonitor -g <instance resource group> +
        # clrg suspend <instance resource group>