Uninstalling the agent in a VCS environment

Last published : Oct 13, 2026
You must uninstall the agent for Microsoft SQL Server from a cluster while the cluster is active.
To uninstall the agent in a VCS environment
  1. Log in as a superuser.
  2. Set the cluster configuration mode to read/write by running the following command from any node in the cluster:
# haconf -makerw
  1. Remove all MSSQL resources from the cluster. Run the following command to verify that all resources have been removed:
# hares -list Type=MSSQL
  1. Remove the agent type from the cluster configuration by running the following command from any node in the cluster:
# hatype -delete MSSQL
Removing the agent's type file from the cluster removes the include statement for the agent from the main.cf file, but the agent's type file is not removed from the cluster configuration directory. You can remove the agent's type file later from the cluster configuration directory.
  1. Save these changes. Then set the cluster configuration mode to read-only by running the following command from any node in the cluster:
# haconf -dump -makero
  1. Use the platform's native software management program to remove the agent for Microsoft SQL Server from each node in the cluster.
Run the following command to uninstall the agent:
# rpm -e VRTSmssql