17.08.2015 Views

Veritas Cluster Server Bundled Agents Reference Guide

Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec

Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FileShare agents<br />

FileShare agent<br />

75<br />

State definitions<br />

ONLINE<br />

OFFLINE<br />

UNKNOWN<br />

Indicates at least one specified folder is shared.<br />

Indicates no specified folder is shared.<br />

Indicates the agent could not determine the status of the resource.<br />

Note: Sharing a folder with a large number of subfolders and enabling the<br />

ShareSubdirectories attribute may cause increased failover time and high CPU<br />

and memory utilization.<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 FileShare<br />

static keylist SupportedActions = { ForceControl }<br />

static i18nstr ArgList[] = { PathName, ShareName,<br />

"LanmanResName:VirtualName", MaxUsers, "MountResName:MountPath",<br />

HiddenShare, ShareSubdirectories, HideChildShares, AutoShare,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!