VCS : Disabling the VCS agent


To disable the agent on a system, you must first change the VCS service group to an OFFLINE state. You can stop the application completely, or switch the service group to another system.

To disable the agent

  1. Determine if the service group is online. At the prompt, type:
    # hagrp -state service_group -sys system_name
  2. If the service group is online, take it offline. At the prompt, type:
    # hagrp -switch service_group -to system_name


    # hagrp -offline service_group -sys system_name
  3. Stop the agent on the system. At the prompt, type:
    # haagent -stop agent_name -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 verify that the agent has stopped.
  5. When the agent has stopped, you can remove the system, the service group, or the resource type from the VCS configuration


I have started ( aka in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' You can connect me at -

3 Responses

  1. Srujan R says:

    Kindly let me know if we want to remove/modify node,service group/resources is it required to follow the below steps.

    # hagrp -offline service_group -sys system_name


     haagent -stop agent_name -sys system_name

    • Ramdev Ramdev says:

      Hi Srujan, you don’t need these steps to make modificatione to service group. these steps are only when you want to the agents.

  1. July 22, 2016

    […] Read – Disabling the VCS agent […]

What is in your mind, about this post ? Leave a Reply

  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us