Cluster Server 8.0 Bundled Agents Reference Guide - Windows
- Introducing VCS bundled agents
- Storage agents
- Network agents
- FileShare agents
- Services and applications agents
- VCS infrastructure and support agents
- VCS hardware replication agent for NetApp
- Troubleshooting bundled agents
About ForceControl function
ForceControl is a FileShare agent function that allows you to reset the file share properties as per what is defined in the VCS configuration. The agent overwrites all modifications made to the file share properties, either externally or from within VCS, and sets the properties as per what you had defined while configuring the file shares in VCS. This function overrides the FileShare agent's AutoControl attribute settings.
You can run the ForceControl function from the command line. To run the ForceControl function on a fileshare resource, type the following command:
hares -action <fileshare_resource_name> ForceControl -sys <system_name>
Here, <fileshare_resource_name> is the name of the file share resource for which you want to reset the properties and <system_name> is the name of the cluster node on which that file share resource is online.
For example, to run the ForceControl function on a FileShare resource A_fileshare that is currently online on a cluster node Node1, type the following:
hares -action A_fileshare ForceControl -sys Node1
The changes take effect on the next agent monitor function.