Cluster


Applies To: Windows Server 2008

Creates a new cluster or configures an existing cluster.

For examples of how to use this command, see Examples.

Syntax


Copy Code

cluster [[/cluster:]<ClusterName>] /<Option>

Parameters

Parameter

Description


Copy Code

<ClusterName> /create
/ipaddr[ess]:<Static_IP_Address>[,<SubnetMask>,<NetworkConnectionName>]
/pass[word]:<Password>
/user:{<Domain>\<UserName> | <UserName>@<Domain>}
[/node:<NodeName>]
[/verb[ose]]
[/unattend[ed]]
[/min[imum]]

Creates a cluster. Descriptions of the optional parameters are provided in the table below.


Copy Code

<ClusterName>
/add[nodes][:<NodeName1>[,<NodeName2>, ...]]
[/pass[word]:<Password>]
[/verb[ose]] [/unattend[ed]]
[/min[imum]]

Adds one or more nodes to an existing cluster.


Copy Code

/ren[ame]:<ClusterName>

Renames a cluster.


Copy Code

/cluster:<ClusterName1>[,<ClusterName2>, ...]
/changepass[word][:<NewPassword>[,<OldPassword>]]
[/skipdc]
[/force]
[/test]
[/quiet]
[/verb[ose]]
[/unattend[ed]]
[/help]

For one or more clusters, changes the Cluster service account password on the domain controller and all the cluster nodes from OldPassword to NewPassword. If not supplied as part of the command, you will be prompted to provide the NewPassword or the OldPassword. You can specify a blank password by supplying two double quotes (""). If multiple clusters are specified in one operation, they must all use the same Cluster service account. Descriptions of the optional parameters are provided in the table below.


Copy Code

/ver[sion]

Displays the Cluster service version number.


Copy Code

/listnetpri[ority]

Lists the priority of all internal (private and mixed) networks.

/setnetpri[ority]:<NetworkName1>[,<NetworkName2>, ...]

Sets the priority order for all internal networks. If you use this option, you must supply all the internal networks in the cluster.

/quorum[resource][:<ResourceName>]

[/path:<Drive>:\<Path>\]

[/maxlogsize:<MaximumSize_in_Kilobytes>]

Changes the name or location of the quorum resource or the size of the quorum log. If you change the location of the quorum resource, do not omit the drive letter, the colon, or any backslashes. For example, for a quorum resource on drive f: in a folder called Quorumfolder, you must specify the location with /path:f:\Quorumfolder\ not /path:f:Quorumfolder.

If no options are supplied, this command will display the name of the quorum resource, the path, and maximum log size.

/reg[admin]ext:<AdminExtension_DLL>

[,<AdminExtension_DLL> ...]

Registers a Cluster Administrator extension DLL with the cluster.

/unreg[admin]ext:<AdminExtension_DLL>

[,<AdminExtension_DLL> ...]

Unregisters a Cluster Administrator extension DLL from the cluster.

/list:[<DomainName>]

Displays a list of clusters in the computer's domain or a specified domain. Do not use the cluster name with this command-line option.

/prop[erties] [<PropertyList>]

Views or sets cluster common properties.

/priv[properties] [<PropertyList>]

Views or sets cluster private properties.

/registerdns

Registers existing Network Name resources with a DNS server in a way that does not interrupt cluster availability.

/wiz[ard]

Starts the Cluster Configuration Wizard. This command must be used with either the /create or /add[nodes] commands.

Important

You cannot supply the subnet mask or network connection name when you use the /wiz[ard] command to create a cluster. The program will use the information from the network connection with the same subnet mask as the cluster to supply the subnet mask, and network connection name.

/setfail[urereactions][:<NodeName>[,<NodeName> ...]]

Resets the restart actions settings that the Services Microsoft Management Console snap-in uses for the Cluster service to the original values used at setup.

/?

Displays help at the command prompt.

Remarks

Service Restart Option

Setting

First failure

Restart the service

Second failure

Restart the service

Subsequent failure

Restart the service

Reset fail count after N days

0 days

Restart service after N minutes

1 minute

Option

Description


Copy Code

[/node:<NodeName>]

The name of the server to be configured as the first cluster node. The command will use the name of the current computer if you do not supply a node name.


Copy Code

[/min[imum]]

This option creates a cluster using the Advanced (minimum) Configuration option. Use this option when creating clusters with complex storage configurations.


Copy Code

[/verb[ose]]

This option writes all event messages to the cluster log. Use this option for troubleshooting cluster configuration issues.


Copy Code

/unattend[ed]

If you use this option, you will not be prompted for passwords not supplied at the command prompt.

Option

Description


Copy Code

[/skipdc]

This option will change the Cluster service account password only on the cluster nodes. It will not change the password on the domain controller. Use this option to complete a previous password update that was only partially completed. For example, use this option if you previously issued a cluster /changepass command for multiple clusters and the Cluster service account password was not updated on all the clusters, for whatever reason.

Note that if you use this option, you do not have to supply OldPassword.


Copy Code

[/force]

This option will force execution of the password change command on the available nodes in a cluster even if some of the cluster nodes are not available (that is, some nodes are in the Down, Joining, or Unknown states).


Copy Code

[/test]

This option will open a connection to the specified cluster(s), verify that an appropriate domain controller is available, check the version of the operating system installed on each node, and verify that all the cluster nodes are online and use the same Cluster service account.


Copy Code

[/quiet]

This option will result in no output, unless an error occurs.


Copy Code

[/verb[ose]]

This option outputs detailed information about the cluster nodes (for example, node names and Cluster service account names) to the screen. Use this option for troubleshooting password change issues.


Copy Code

/unattend[ed]

If you use this option, you will not be prompted for passwords not supplied at the command prompt.


Copy Code

[/help]

This option displays help for the cluster /changepass command only.

Common property names

Use


Copy Code

AdminExtensions

Describes one or more class identifiers (CLSIDs) of Cluster Administrator extension for the cluster object.


Copy Code

DefaultNetworkRole

Specifies the default role to assign to networks.


Copy Code

Description

Specifies administrative description of the cluster.


Copy Code

Security

Describes the Windows Server 2003 family-compatible security descriptor.


Copy Code

Security Descriptor

Describes Windows NT-SP4 and the Windows Server 2003 family-compatible security descriptor.


Copy Code

Groups\AdminExtensions

Describes one or more class identifiers (CLSIDs) of Cluster Administrator extensions for the groups.


Copy Code

NetworkInterfaces\AdminExtensions

Describes one or more class identifiers (CLSIDs) of Cluster Administrator extensions for the netinterfaces.


Copy Code

Networks\AdminExtensions

Describes one or more class identifiers (CLSIDs) of Cluster Administrator extensions for the networks.


Copy Code

Nodes\AdminExtensions

Describes one or more class identifiers (CLSIDs) of Cluster Administrator extensions for the nodes.


Copy Code

Resources\AdminExtensions

Describes one or more class identifiers (CLSIDs) of Cluster Administrator extensions for the resources.


Copy Code

ResourceTypes\AdminExtensions

Describes one or more class identifiers (CLSIDs) of Cluster Administrator extensions for the resource types.


Copy Code

EnableEventLogReplication

Specifies if Event Log Replication is enabled or disabled cluster wide. (True (1) means enabled; False (0) means disabled.)


Copy Code

QuorumArbitrationTimeMin QuorumArbitrationTimeMax

Determines the minimum and maximum time, in seconds, a node is allowed to spend arbitrating for the quorum resource before giving up. The range of values allowed is 0 to 3600 seconds for QuorumArbitrationTimeMin and 1 to 3600 seconds for QuorumArbitrationTimeMax.

For a single quorum device server cluster, the default values are 7 seconds for QuorumArbitrationTimeMin and 60 seconds for QuorumArbitrationTimeMax.

For a majority node set server cluster, the default values are 7 seconds for QuorumArbitrationTimeMin and 180 seconds for QuorumArbitrationTimeMax.


Copy Code

DisableGroupPreferredOwnerRandomization                

If you do not specify a preferred owner list for resource groups, the Cluster service randomizes the list it uses internally to decide which node to fail over the groups to. That is, by default, this property is set to FALSE (0). If you want to disable this randomization and instead follow the internal ordered list of nodes for failover, set the DisableGroupPreferredOwnerRandomization property to be TRUE (or 1).


Copy Code

EnableEventDeltaGeneration

When a set of events in the Event Log is replicated across cluster nodes, this property generates a delta event in the Event Log to indicate the time difference between nodes. True (1), the default, means enabled; False (0) means disabled.


Copy Code

ClusSvcHeartbeatTimeout

Used by the Cluster Network driver, ClusNet.sys, to monitor the health of the Cluster service.


Copy Code

HangRecoveryAction

Describes the recovery action taken if ClusNet.sys detects a failure in the Cluster service.


Copy Code

EnableResourceDllDeadlockDetection
ResourceDllDeadlockTimeout
ResourceDllDeadlockThreshold
ResourceDllDeadlockPeriod

Used by the Cluster service to monitor if the entry points to the Resource DLLs are deadlocked (a condition that occurs when two processes are each waiting for the other to complete before proceeding).


Copy Code

cluster opsclust /priv

The following table describes a cluster private property for cryptographic checkpoints. This private property is useful in two scenarios:

You can use this private property to change the encryption levels for any of the cryptographic providers (supplied by third-party developers or by Microsoft) that are used by the Cluster service.

Private property names

Use


Copy Code

"<CSP>"

Sets the encryption levels (key lengths) for a cryptographic key that is used to export (encrypt) and import (decrypt) resource data (cluster and cluster application cryptographic checkpoints). The imported and exported resource data is saved to the quorum. The cryptographic key is generated by a cryptographic provider that uses the RC2 block encryption method.

Usage:


Copy Code

"<CSP>"=<key_length>,<effective_key_length>:MULTISTR

"<CSP>" is the name of the cryptographic provider. For example, one of the standard cryptographic providers supplied with the Windows Server 2003 family is "Microsoft Enhanced Cryptographic Provider v1.0." For more information, see CLUSCTL_RESOURCE_ADD_CRYPTO_CHECKPOINT in the Microsoft Platform Software Development Kit (SDK).

<key_length> is the RC2 key length, in bits.

<effective_key_length> is the RC2 effective key length, in bits

For example, to change the RC2 key length for a third-party cryptographic provider named "Database CSP v2.0" in cluster opsclust to 128 bits, type:


Copy Code

cluster opsclust /priv "Database CSP v2.0"=128,40:MULTISTR

Note

For this property to take effect, the resource DLL must add the cryptographic checkpoint for the property. This is because the cryptographic key is exported and saved to the quorum when the checkpoint is added for the very first time; prior to the resource coming online the key is imported from the file saved in the quorum. Review the documentation for your cryptographic provider to obtain the correct procedure for adding the cryptographic checkpoint.

Review the documentation for your cryptographic provider to obtain valid values for the following RC2 encryption algorithm parameters: <key_length> and <effective_key_length>.

Examples

To rename a cluster called OpsClust to OpsClust1, type:


Copy Code

cluster opsclust /rename:opsclust1

Additional references

Command-Line Syntax Key