HP ProLiant ML310e HP Scripting Toolkit 9.30 for Linux User Guide - Page 35

HPRCU command line arguments, HPRCU return codes, HPRCU sample XML format

Page 35 highlights

HPRCU command line arguments Command line argument -s -l -f{file.xml} -h -t HPRCU return codes Description This argument saves the system configuration to a file. This argument loads the system configuration from a file and writes it to the target server. Name of the input or output file. If not specified, the XML configuration defaults to hprcu.xml. This argument displays program usage. Outputs the help and warning text for each feature. Only valid with the -s option. Command line argument 0 1 2 3 4 5 6 7 Description The command was completed successfully. The server is not supported by this utility. The input XML file is missing or is in an invalid format. One of the dependencies is missing. See the error message for details. The system RBSU password is set. The settings cannot be changed until the password is cleared from within RBSU. An error occurred reading the supported features on the server. Invalid command line syntax. Use the -h parameter for complete command line parameters. A general error occurred saving or loading the server settings. See the error message for details. HPRCU sample XML format A sample XML format generated by HPRCU is similar to the following: ProLiant DL380 Gen8 P64 11/01/2011 Intel(R) Hyperthreading Options Enabled Disabled Server Name - Line 1 SERVERNAME Using HPRCU 35

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68

HPRCU command line arguments
Description
Command line argument
This argument saves the system configuration to a file.
-s
This argument loads the system configuration from a file
and writes it to the target server.
-l
Name of the input or output file. If not specified, the XML
configuration defaults to
hprcu.xml
.
-f{file.xml}
This argument displays program usage.
-h
Outputs the help and warning text for each feature. Only
valid with the
-s
option.
-t
HPRCU return codes
Description
Command line argument
The command was completed successfully.
0
The server is not supported by this utility.
1
The input XML file is missing or is in an invalid format.
2
One of the dependencies is missing. See the error message
for details.
3
The system RBSU password is set. The settings cannot be
changed until the password is cleared from within RBSU.
4
An error occurred reading the supported features on the
server.
5
Invalid command line syntax. Use the
-h
parameter for
complete command line parameters.
6
A general error occurred saving or loading the server
settings. See the error message for details.
7
HPRCU sample XML format
A sample XML format generated by HPRCU is similar to the following:
<hprcu>
<informational>
<product name>ProLiant DL380 Gen8</product_name>
<system_rom_family>P64</ system_rom_family >
<system_rom_date>11/01/2011</system_rom_date>
</informational>
<feature feature_id='176' selected_option_id='2' default_option_id=
1
feature_type='option'>
<feature_name>Intel(R) Hyperthreading Options</feature_name>
<option option_id='1'><option_name>Enabled</option_name></option>
<option option_id='2'><option_name>Disabled</option_name></option>
</feature>
<feature feature_id='100' feature_type=
string
>
<feature_name>Server Name - Line 1</feature_name>
<feature_value>SERVERNAME</feature_value>
</feature>
Using HPRCU
35