cluscfg setparams

Applies To: Microsoft HPC Pack 2008, Microsoft HPC Pack 2008 R2, Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2, Windows HPC Server 2008, Windows HPC Server 2008 R2

Sets the values of one or more specified cluster-wide parameters.

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

Syntax

cluscfg setparams <name1>=<value1>[;<name2>=<value2>…] 
[/scheduler:<name>]

cluscfg setparams {/? | /help}

Parameters

Parameter Description

<name1>=<value1>[;<name2>=<value2>…]

Specifies a list of one or more cluster-wide parameters and the values to which you want to set those parameters. Specify each pair of a parameter name and value in a format of <name>=<value>.

To specify multiple parameters and values, use a space between each pair.

To specify a value that contains spaces, enclose the value in double quotation marks (" ").

To unset a parameter, do not specify a value. For example, "<parameter_to_unset_name>=".

/scheduler:<name>

Specifies the host name or IP address of the head node for the cluster for which you want to set the cluster-wide parameter. The value must be a valid computer name or IP address. If you do not specify the /scheduler parameter, this command uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies.

/?

Displays Help at the command prompt.

/help

Displays Help at the command prompt.

Remarks

  • For information about the cluster-wide parameters that are available, see the Help for the cluscfg listparams command.

  • You must be a cluster administrator to run this command successfully.

Examples

To set the parameter named JobRetryCount equal to 5, use the following command:

cluscfg setparams JobRetryCount=5

To set the parameter named HeartbeatInterval equal to 30, unset the parameter named SubmissionFilterProgram, and set the parameter named InactivityCount to 5, use the following command:

cluscfg setparams HeartbeatInterval=30 SubmissionFilterProgram= InactivityCount=5

Additional references