To disable the Cluster Server Agent for DB2, you must change the VCS Agent for DB2 service group to an OFFLINE state. You can stop the application completely or switch the agent to another system.
To disable the agent
# hagrp -state service_group -sys system_name
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
# haagent -stop Db2udb -sys system_name
You can also use the ps command to confirm the agent is stopped.
See the Cluster Server Administrator’s Guide for more information.