Disabling the Cluster Server agent for Oracle

To disable the Cluster Server agent for Oracle, you must change the Oracle service group to an OFFLINE state. You can stop the application completely or switch the agent to another system.

To disable the agent

  1. To remove a system from the service group's SystemList, check if the service group is online:
    # hagrp -state service_group -sys system_name
  2. If the service group is online, take it offline. Use one of the following commands:

    • To take the service group offline on one node and online it on another node, you can use the -switch option:

      # hagrp -switch service_group -to system_name
    • To take the service group offline without bringing it online on any other node in the cluster, enter:

      # hagrp -offline service_group -sys system_name
  3. Stop the agent on the node:
    # haagent -stop Oracle -sys system_name
  4. When you get the message "Please look for messages in the log file," check the file /var/VRTSvcs/log/engine_A.log for a message confirming the agent has stopped.

    You can also use the ps command to confirm the agent is stopped.

  5. You can now remove the service group, the resource type, or both from the VCS configuration after disabling the agent on all nodes.

    See the Cluster Server Administrator’s Guide for more information.