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.

Message output command<br />

clplogcmd: the clplogcmd command registers the specified text into alert.<br />

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

Message output command<br />

Command line:<br />

clplogcmd -m message [--alert] [-i ID] [-l level]<br />

Note:<br />

Generally, it is not necessary to run this command <strong>for</strong> constructing or operating the cluster. You<br />

need to write the command in the script resource script.<br />

Description Write this command in the script resource script and output messages<br />

you want to send to the destination.<br />

Messages are produced in the following <strong>for</strong>mat:<br />

[ID] message<br />

Options<br />

Return Value<br />

-m message Specifies text to be produced in message. This option<br />

cannot be omitted. The maximum size of message is<br />

498 bytes.<br />

You may use alphabets, numbers, and symbols. See<br />

below (*) <strong>for</strong> notes on them.<br />

--alert<br />

This parameter can be omitted. You can specify only<br />

alert as the output destination of this command.<br />

See “Directory structure of <strong>ExpressCluster</strong>” in<br />

Chapter 10, “The system maintenance in<strong>for</strong>mation”<br />

<strong>for</strong> more in<strong>for</strong>mation on output destinations.<br />

-i ID Specify message ID.<br />

This parameter can be omitted. The default value 1 is<br />

set <strong>for</strong> the ID when the parameter is omitted.<br />

-l level Select a level of alert output from ERR, WARN, or<br />

INFO. The icon on the alert view of the WebManager<br />

is determined according to the level you select here.<br />

This parameter can be omitted. The default value<br />

INFO is set to level when the parameter is omitted.<br />

See “Checking alerts using the WebManager” on<br />

page 56 <strong>for</strong> more in<strong>for</strong>mation.<br />

0 Success<br />

Other than 0 Failure<br />

Notes Run this command as a user with Administrator privileges.<br />

The specification of the –i option is different from that of the Linux<br />

version. The event ID that is displayed in alert is fixed and unchangeable<br />

in the <strong>Windows</strong> version<br />

307

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

Saved successfully!

Ooh no, something went wrong!