Solved

Creating a Share on a Windows 2008 R2 File Cluster

Posted on 2011-02-19
1
2,093 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
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 the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

910 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

23 Experts available now in Live!

Get 1:1 Help Now