Disabling the Agent
To disable the agent on a system, you must first take the Sybase service group offline. You can stop the application completely, or switch the service group to another system.
-
Determine if the service group is online by entering:
# hagrp -state <service_group> -sys <system_name>
-
If the service group is online, take it offline by entering:
# hagrp -offline <service_group> -sys <system_name>
or
# hagrp -switch <service_group> -to <system_name>
-
Stop the agents on the system by entering:
# haagent -stop Sybase -sys <system_name>
# haagent -stop SybaseBk -sys <system_name>
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 verify whether the agent is stopped.
You can remove the system, service group, or resource type from the VCS configuration after disabling the agent on all systems. See the chapter on reconfiguring VCS from the command line in the VERITAS Cluster Server User's Guide for more information.
|