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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Setting the IP address returned by gethostbyname() (armwsset command)<br />

Setting the IP address returned by gethostbyname()<br />

(armwsset command)<br />

armwsset.exe: the armwsset.exe command sets the IP address returned by the<br />

gethostbyname() executed on the local server.<br />

Command line:<br />

Format1 armwsset.exe [/P] path [ip_address ...]<br />

Format2 armwsset.exe /L<br />

Format3 armwsset.exe /DEL<br />

Description This command sets the IP address returned by the gethostbyname()<br />

executed on the local server.<br />

Use this command when you want to return the virtual IP address as a<br />

local server’s IP address that the application retrieves.<br />

Parameter<br />

Return Value<br />

/P If this parameter is specified, settings are not deleted at<br />

system reboot. The settings are maintained after the<br />

system is restarted.<br />

When this parameter is omitted, settings are deleted at<br />

system reboot.<br />

path Specifies the full path to the executable file of the<br />

target application.<br />

ip_address... Specifies the IP address returned by the<br />

gethostbyname().<br />

More than one IP address can be specified by<br />

separating them by spaces.<br />

When multiple addresses are specified, those are set in<br />

the array returned by gethostbyname()in the described<br />

order.<br />

When this parameter is omitted, the settings of the<br />

application specified by path are deleted.<br />

/L Lists the current settings.<br />

/DEL Deletes all current settings.<br />

0 Success<br />

1 Failed to configure the settings.<br />

367

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

Saved successfully!

Ooh no, something went wrong!