Disabling the Agent
To disable the agent on a system, you must first switch the Informix service group to an OFFLINE state. This stops the application completely, or switches the agent to another system.
-
To remove a system from the service group's SystemList, check if the service group is online:
# hagrp -state service_group -sys system_name
-
If the service group is online, take it offline by entering one of the following commands:
# hagrp -switch service_group -to system_name
# hagrp -offline service_group -sys system_name
-
Stop the agent on a system by entering:
# haagent -stop agent
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.
You can now remove the system, service group, or resource type from the VCS configuration. See the chapter on reconfiguring VCS from the command line in the VERITAS Cluster Server User's Guide for more information.
|