Solved

Creating a Share on a Windows 2008 R2 File Cluster

Posted on 2011-02-19
1
2,095 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
ID: 34933645
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Small Business Server 2012 Essentials 5 56
who removed AD Domain ID 9 44
Windows Server Folder Access Control 6 33
Why does my public IP keep changing? 6 63
If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
OfficeMate Freezes on login or does not load after login credentials are input.
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 give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

786 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