Saturday, January 20, 2007

Cluster file Share permission

X:
MD ClusterFS
cluster. res "ClusterFS" /create /group:"Disk Group 1" /type:"File Share"
cluster . res "ClusterFS" /priv path="X:\ClusterFS"
cluster . res "ClusterFS" /priv Sharename=ClusFileShare
cluster . res "ClusterFS" /priv Remark="This is a File Share"
cluster . res "ClusterFS" /prop Description="This is a Clustered Share"
cluster . res "ClusterFS" /priv security=Domain\User,grant,c:security
cluster . res "ClusterFS" /priv ShareSubDirs=1
cluster . res "ClusterFS" /AddDep:"Disk X:"
cluster . res "ClusterFS" /AddDep:"Network Name"
cluster . res "ClusterFS" /On

CLUSTER.EXE . (DOT MEANS CURRENT NODE) "CLUSTERFS" CLUSTERNAME / AND SWITCHES


cluster . res "ClusterFS" /Create /Group:"Disk Group 1" /Type:"File Share"
This creates the File Share resource in the cluster group named "Disk Group 1". Note: You do not want to put anything into, or out of the default Cluster Group.


cluster . res "ClusterFS" /priv Path="X:\ClusterFS"
This sets the local path to the file share to X:\ClusterFS. Verify that the path exists, and that it is accessible.


cluster . res "ClusterFS" /priv ShareName=ClusFileShare
This sets the share name for the resource, and is the name that clients will use to connect to.


cluster . res "ClusterFS" /priv Remark="This is a File Share"
This sets the remarks for the file share. The remark is what the client will see when browsing the virtual server.


cluster . res "ClusterFS" /prop Description="This is a Clustered Share"
This gives the resource a description in Cluster Administrator. This name is only for identification in CluAdmin.


cluster . res "ClusterFS" /priv security=Domain\User,grant,c:security
This gives the user account "User" from domain "Domain" change share level rights to the File Share resource.
Access types are grant, deny, set, or revoke. An access mask is required for the types grant, deny, or set. Access masks are "R" for read, "C" for change, and "F" for full.
This can also be used to grant multiple users rights at the same time, here is the syntax for the security switch:

Security=Domain\User1,grant,C,Domain\User2,revoke,everyone,set,F:security


cluster . res "ClusterFS" /priv ShareSubDirs=1
This sets the file share to dynamic (which translates to "share all subdirectories"). You will need to omit this line if you are creating a standard file share.


cluster . res "ClusterFS" /AddDep:"Disk X:"
This makes the File Share resource dependent on the Physical Disk resource for disk X:\, on which the file share resides.


cluster . res "ClusterFS" /AddDep:"Network Name"
This makes the File Share resource dependent on a Network Name resource. This needs to be an already existing Network Name resource.


cluster . res "ClusterFS" /On
This brings the newly created File Share resource online.

More information or I would say reference this KB article http://support.microsoft.com/?kbid=284838

Have a Look at below mentioned cluster KB, worth Reading

Recovering from a lost or corrupted quorum log

Thursday, January 18, 2007

Cluadmin tips

You know you can open cluadmin without knowing the clustername Here is how

Start > Run > cluadmin IPADDRESS  or

Start > Run > cluadmin Hostname(NodeName)

Also you know if cluadmin hangs it doesn;t mean that anything is wrong with the cluster but something is stopping it from loading it. I will let you know how to find out how to find out the stuff. Whatsoever you confirm if cluster is fine

open cmd prompt and type in following:

cluster /cluster:Clustername res will give all  information about resources.

Friday, January 12, 2007

SNTP

As and When I know

A list of the Simple Network Time Protocol (SNTP) time servers that are available on the Internet could be found at MS . And do you know every country has NTP Server, you wanna know what you country is, in.pool.ntp.org for India and for Singapore SG.pool.ntp.org

You performance counters are corrupt, unload them. It should be evident by eventid:2003

1. Open a your powershell window.

2. Type unlodctr <ServiceShortName> and press Enter, where <ServiceShortName> is the service name, like W3SVC.

Technorati tags: , ,