27.02.2013 Views

ExpressCluster X 2.0 for Windows Reference Guide - Nec

ExpressCluster X 2.0 for Windows Reference Guide - Nec

ExpressCluster X 2.0 for Windows Reference Guide - Nec

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Section I Detailed functions of <strong>ExpressCluster</strong><br />

Setting the cluster wide variable or local variable (armsetcd command)<br />

Setting the cluster wide variable or local variable<br />

(armsetcd command)<br />

armsetcd.exe: The armsetcd.exe sets the cluster wide variable or local wide variable.<br />

Command line:<br />

armsetcd.exe [/C] variable value<br />

Description This command sets the cluster wide variable or the local variable.<br />

The setting value of the variable set by this command can be referred by<br />

using the armgetcd command on the same or other scripts.<br />

The cluster wide variable is shared between servers in a cluster. The<br />

variable set by the armsetcd command on one server can be referred or<br />

changed on another server.<br />

The local variable is valid only on the server on which the armsetcd<br />

command is run.<br />

Parameter<br />

Return Value<br />

/C Sets the variable as a cluster wide variable.<br />

When this parameter is omitted, the variable is set as a<br />

local variable.<br />

variable Specifies the name of the variable to be set. Specify the<br />

name with up to 127 alphanumeric characters.<br />

(The name is case-sensitive.)<br />

value Specifies the value to be set to the variable on variable<br />

in integers from 1 through 255.<br />

0 Success<br />

8 The variable was not set due to an error.<br />

9 The parameter is invalid.<br />

Remarks This command can be run only in scripts.<br />

Variable names are controlled separately <strong>for</strong> the cluster wide variable<br />

and the local variable. Thus, you can set both variables with one variable<br />

name. In this case, those are operated as two different variables.<br />

The local variable is valid until the <strong>ExpressCluster</strong> Server service of the<br />

server on which this command was run is terminated.<br />

The cluster wide variable is valid until the <strong>ExpressCluster</strong> Server<br />

services of all servers in a cluster are terminated.<br />

349

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!