To disable the agent on a system, you must first change the DB2 service group to an OFFLINE state. You can stop the application completely, or switch the service group to another system.
To disable the agent
# hagrp -state service_group -sys system_name
# hagrp -switch service_group -to system_name
Or
# hagrp -offline service_group -sys system_name
# haagent -stop Db2udb -sys system_name
You can also use the ps command to verify that the agent has stopped.
For more information, refer to the chapter on reconfiguring VCS from the command line in Cluster Server Administrator’s Guide.