Following was tested on Windows Server 2003
Assume a cluster consisting of nodes SVR10, SVR11 and clustername of SVRCLUSTER
having file share "home" as a file share cluster resource
1. Switching nodes
eg. assume SVR10 was active, SVR11 was standby
> cluster node SVR10 /stop
- stops SVR10 cluster service, forcing SVR11 to become live
2. Check node(s) status
> cluster node SVR10 /Status
> cluster /cluster:SVRCLUSTER node /status
3. Display property of a particular Resource, eg. file share resource named home
> cluster resource home /properties
4. Create a new file share resource named home2 into the SharedFolders group,
> cluster resource home2 /create /group:SharedFolders /TYPE:"File Share"
5. Define the private properties of the file share resource
> cluster resource home2 /priv Path="c:\home2"
ShareName=home2 Remark="Second shared home folder"
6. Define the resource dependency (done while resource is offline)
> cluster resource home2 /adddependency:"Disk C:"
7. Bring resource offline or online
> cluster resource home2 /offline
> cluster resource home2 /online
8. Delete a resource
> cluster resource /offline
> cluster resource /delete
9. Set the file share resource security (permissions)
> cluster resource home2 /priv Security=,
sec grp or user = eg. Everyone, staff\xyz
accesstype = grant, deny, set or revoke
accessmask = R, C or F (for Read, Change and Full resp)
For example to grant Everyone:Change permission to livenctr$ file share resource
> cluster res livecntr$ /priv Security=Everyone,grant,C:security