RSS

Cluster.exe

17 Sep

for windows server 2003 get more information here:

Availability and Scalability
Server Clusters
Managing a Server Cluster from the Command Line

基本命令

  1. Cluster node
  2. Cluster group
  3. Cluster network
  4. Cluster netinterface
  5. Cluster resource
  6. Cluster resourcetype

缩写词

Keyword Supported abbreviations
addcheckpoints addchk
addcheck
addchkpoints
addcryptocheckpoints addcryptochk
addcryptocheck
addcryptochkpoints
adddependency adddep
changepassword changepass
checkpoints chk
check
chkpoints
cluster c
cryptocheckpoints cryptochk
cryptocheck
cryptochkpoints
delete del
dllname dll
expandstring expandstr
forcecleanup force
help ?
listdependencies listdep
listinterfaces listint
listinterface
moveto move
multistring multistr
network net
netinterface netint
offline off
online on
privproperties priv
privprop,
privprops
properties prop
props
quorumresource quorum
removecheckpoints removechk
removecheck,
removechkpoints
removecryptocheckpoints removecryptochk
removecryptocheck
removecryptochkpoints
removedependency removedep
removeowner remowner
rename ren
resource res
resourcegroup resgroup
group
resourcetype restype
type
status stat
state
string str
version ver

一些示例

创建MSCS,仅开启第一节点,关闭其他节点以及连接了相同存储的服务器

Cluster /cluster:<mscsname> /create /node:<node-1-name> /ipaddress:<mscsIP> /user:<MCSaccount> /password:<MCSaccountPassword> /unattend /quorum:"Disk Q:"

添加MSCS节点,开启其他节点

Cluster <mscsname> /add:<node-2-name>,<node-3-name>,<node-4-name>,<node-5-name>,<node-6-name>,<node-7-name>,<node-8-name> /password:<MCSaccountPassword> /min /unattend

MSCS 创建后,网卡属性的修改

Cluster <mscsname> network "CLU" /prop Role=1
Cluster <mscsname> network "LAN" /prop Role=3
Cluster <mscsname> /setnetpri:CLU,LAN

Advertisements
 
Leave a comment

Posted by on September 17, 2009 in Cmdlets&Tools

 

Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: