Solved

Creating a Share on a Windows 2008 R2 File Cluster

Posted on 2011-02-19
1
2,092 Views
Last Modified: 2012-05-11
We have a Windows 2008 R2 Cluster and we want to move a Lun right now on it from a Windows 2003 Cluster we do not touch the ntfs settings and a File Server Cluster Application is allready running.

My Question is how can i create the shares with a batch if the LUN is attached to the 2008R2 Cluster.

If found the script here but i dont get it.

We have a two node cluster. The nodes a called Node1 and node 2. We allready have a File Server and the prefered owner is node1 and the name is fileserver1.

We have a lot of shares on the fileserver1 we have created them on the gui.

But how can I create shares with a script if the new LUN is attached.

MD ClusterFS
cluster. res "ClusterFS" /create /group:"Datenträgergruppe 1" /type:"Dateifreigabe"
cluster . res "ClusterFS" /priv path="X:\ClusterFS"
cluster . res "ClusterFS" /priv Sharename=ClusFileShare
cluster . res "ClusterFS" /priv Remark="Dies ist eine Dateifreigabe"
cluster . res "ClusterFS" /prop Description="Dies ist eine Clusterfreigabe"
cluster . res "ClusterFS" /priv security=Domäne\Benutzer,grant,c:security
cluster . res "ClusterFS" /priv ShareSubDirs=1
cluster . res "ClusterFS" /AddDep:"Datenträger X:"
cluster . res "ClusterFS" /AddDep:"Netzwerkname"
cluster . res "ClusterFS" /On
0
Comment
Question by:jensmg
1 Comment
 
LVL 22

Accepted Solution

by:
65td earned 500 total points
Comment Utility
If the 2003 cluster is still operational one needs to use cluster.exe to obtain the group, resource and depenancy information to create the script (batch).

You may have already seen this doc:
http://support.microsoft.com/kb/284838
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now