| Author |
Message |
Vijay
Guest
|
Posted:
Sun Nov 13, 2005 1:50 am Post subject:
Help : Creating cluster in command line |
|
|
I have requirement to use command line options for creating 2 node cluster.
I have used cluster.exe from command line.
cluster sqlcluster /create /ipaddr:10.1.10.150 /pass:password
/user:mydomain\SQLCluSrv /node:SQL-01 /verbose /min
where,
sqlcluster - cluster name
I want to use SAN drives for Quorum and SQL server, which I want install on
cluster.
After I run this command, cluster has been created. but it created with
Local quorum drive by default. There is an option in wizard you can choose
other drive (e.g "Drive Q:" that is SAN disk). I want to know how can I
configure my SAN disk (Drive Q:) as quorum drive or resource from command
line.
Also I want to know how to create resource as Physical Disk resource. I
tried to use "cluster resource" command as follows
cluster resource "Disk Q:" /create /group:"Cluster Group" /type:"Physical
Disk"
Resource is created. but disk parameters of this resource shows my C: drive.
I want to give SAN disk (say Drive Q:) for this resource. How can i acheive
this from commandline. I was able to do this from cluster administrator
wizard.
Any help on this is highly appreciated.
Thanks |
|
| Back to top |
|
 |
Mike Rosado [MSFT]
Guest
|
Posted:
Sun Nov 13, 2005 9:50 pm Post subject:
RE: Help : Creating cluster in command line |
|
|
Hi Vijay,
In order to use Cluster.exe to add a Physical Disk resource, you would need
to type the following:
cluster res "Disk Q:" /Create /group:"Cluster Group" /Type:"physical
disk"
cluster res "Disk Q:" /priv signature=1405929673
The signature in Hex was obtained from:
HKLM/System/CCS/Services/Clusdisk/Parameters/Available Disks
NOTE: That the signature must be entered as a decimal value for the
command line syntax to be valid.
Sometimes during the 2nd command line step of adding the Signature, you may
received a System Error 87.
If this error is encountered, then you will need to locate the GUID in the
registry under
HKEY_LOCAL_MACHINE\Cluster\Resources\<GUID>\Parameters
to manually added the Signature key as a DWORD value in order to bring it
Online in Cluster Administrator.
--------------------
Hope this helps,
Mike Rosado
Windows 2000 MCSE + MCDBA
Microsoft Enterprise Platform Support
Windows NT/2000/2003 Cluster Technologies
====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
<http://www.microsoft.com/info/cpyright.htm> |
|
| Back to top |
|
 |
John Toner [MVP]
Guest
|
Posted:
Mon Nov 14, 2005 1:50 am Post subject:
Re: Help : Creating cluster in command line |
|
|
FYI, you should also be able to use the hex value of the disk signature in
the command as long as you add 0x to indicated it's a hex value. For
example:
cluster res "Disk Q:" /priv signature=0x53CCC8C9
....would be the same as:
cluster res "Disk Q:" /priv signature=1405929673
Both commands are valid.
Regards,
John |
|
| Back to top |
|
 |
|
|
|
|