Veritas Cluster Server Bundled Agents Reference Guide
Veritas⢠Cluster Server Bundled Agents Reference Guide - Symantec
Veritas⢠Cluster Server Bundled Agents Reference Guide - Symantec
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
FileShare agents<br />
CompositeFileShare agent<br />
85<br />
About ForceControl function<br />
ForceControl is a FileShare agent function that allows you to reset the file share<br />
properties as per what is defined in the VCS configuration. The agent overwrites<br />
all modifications made to the file share properties, either externally or from within<br />
VCS, and sets the properties as per what you had defined while configuring the<br />
file shares in VCS. This function overrides the FileShare agent's AutoControl<br />
attribute settings.<br />
You can run the ForceControl function from the command line. To run the<br />
ForceControl function on a fileshare resource, type the following command:<br />
hares -action ForceControl<br />
-sys <br />
Here, is the name of the file share resource for which<br />
you want to reset the properties and is the name of the cluster<br />
node on which that file share resource is online.<br />
For example, to run the ForceControl function on a FileShare resource A_fileshare<br />
that is currently online on a cluster node Node1, type the following:<br />
hares -action A_fileshare ForceControl -sys Node1<br />
The changes take effect on the next agent monitor function.<br />
Resource type definition<br />
type CompositeFileShare<br />
static keylist SupportedActions = { ForceControl }<br />
static i18nstr ArgList[] = { "LanmanResName:VirtualName", MaxUsers,<br />
"MountResName:MountPath", HiddenShare, ShareSubdirectories,<br />
HideChildShares, AutoShare, AutoControl, ClientCacheType,<br />
PathAndShareName, UserPermissions, AccessBasedEnumeration,<br />
ShareComment }<br />
str LanmanResName<br />
str MaxUsers<br />
str MountResName<br />
i18nstr UserPermissions{} = { Everyone=READ_ACCESS }<br />
boolean HiddenShare = 0<br />
boolean ShareSubdirectories = 0<br />
boolean HideChildShares = 0<br />
boolean AutoShare = 1<br />
boolean AutoControl = 1<br />
i18nstr PathAndShareName{}<br />
str ClientCacheType = MANUAL