HP iLO 3 Scripting and Command Line Guide - Business Support ...
HP iLO 3 Scripting and Command Line Guide - Business Support ...
HP iLO 3 Scripting and Command Line Guide - Business Support ...
Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.
YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.
NOTE: Do not use this switch if launching from <strong>HP</strong> SIM.<br />
The output values may need to be modified to match the RIBCL syntax.<br />
The –L switch cannot designate an output log file. A default log file named with the DNS<br />
name or the IP address is created in the same directory where CPQLOCFG is launched.<br />
• The optional -V switch turns on the verbose message return. The resulting log file contains all<br />
comm<strong>and</strong>s sent to the Remote Insight board, all responses from the Remote Insight board, <strong>and</strong><br />
any errors. By default, only errors <strong>and</strong> responses from GET comm<strong>and</strong>s are logged without<br />
this switch.<br />
• The -t namevaluepairs switch substitutes variables (%variable%) in the input file with<br />
values specified in name-value pairs. Separate multiple name-value pairs with a comma.<br />
For example:<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
From the comm<strong>and</strong> line, enter:<br />
cpqlocfg -f filename -s serverip -t user=Admin,password=pass<br />
If the parameter contains multiple words, you must enclose the phrase within double quotes<br />
(" "). Up to 25 variables are supported in an XML file. The maximum length of variable name<br />
is 48 characters.<br />
Web agent example:<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Invoke the script using:<br />
Cpqlocfg –s ipV4 addr –f file name –u username –p password –t substitute variable<br />
For IPv6, without specifying the port number, invoke the script using:<br />
Cpqlocfg –s [ipV6 addr] –f file name –u username –p password –t substitute variable<br />
or<br />
Cpqlocfg –s ipV6 addr –f file name –u username –p password –t substitute variable<br />
For IPv6, when specifying the port number, invoke the script using the following:<br />
Cpqlocfg –s [ipV6 addr]:443 –f file name –u username –p password –t substitute variable<br />
When replacing a token that requires double quotes, use single quotes around the token.<br />
For information on the syntax of the XML data files, see “RIBCL XML <strong>Scripting</strong> Language” (page 56).<br />
Sample XML scripts are available on the <strong>HP</strong> website at www.hp.com/go/<strong>iLO</strong>3.<br />
CPQLOCFG parameters 17