Cluster commands
This page is from Microsoft
Updated: January 21, 2005
You can use cluster commands to create or administer server clusters from the command prompt. You can also call the program Cluster.exe from command scripts to automate many cluster administration tasks. Cluster.exe is provided on computers running the Windows Server 2003 family.
You can use Cluster.exe to administer clusters from a node of the cluster, from nodes of other clusters, or from other computers running Windows NT 4.0 with Service Pack 3 or later.
The following rules apply to cluster.exe and its subcommands when entering commands from the command prompt:
- You must use quotation marks around all names that contain spaces and special characters. Examples of special characters are: the minus sign (-), the slash mark (/), quotation marks ("), the colon (:), the comma (,), and the equal sign (=). For other examples, see the cluster commands in Related Topics.
- When setting properties to True or False, specify 1 (one) for True and 0 (zero) for False.
- You specify the local cluster when you enter a PERIOD (.) in the command for cluster name.
- You can specify multiple command-line options for one command line. Cluster.exe processes command-line options from left to right. If a command-line option fails, the command will stop executing at the failed command-line option.
-
Use double quotation marks (") instead of single quotation marks (') in a string that has two consecutive double quotation marks (""). The following examples show the correct and incorrect ways to set the private property aProp for resource AResource equal to a ".
Incorrect: cluster resource AResource /priv aProp='a ""'
Correct: cluster resource AResource /priv aProp="a """
- Using the Cluster subcommands
For more information, click a command: