Operations and Maintenance Guide, Second Edition - HP Integrity rx2600 Server and HP zx6000 Workstation
30 HP Integrity rx2600 server and HP workstation zx6000 Operation and Maintenance Guide
System Configuration
Error Handling in Scripts
By default, if an error is encountered during the execution of a command in a batch script, the
script will continue to run. The
lasterror shell variable enables batch scripts to test the results of
the most recently run command using the
if command. This variable is not an environment
variable, but is a special variable maintained by the shell for the lifetime of that instance of the
shell.
Comments in Script Files
Comments can be embedded in batch scripts. The # character on a line denotes that all characters
on the same line and to the right of the
# are to be ignored by the shell. Comments are not echoed
to the console.
Using the Boot Option Maintenance Menu
This menu enables you to select console output and input devices as well as various boot options.
It contains the following items:
■ Boot from a File
■ Add a Boot Option
■ Delete Boot Option(s)
■ Change Boot Order
■ Manage BootNext setting
■ Set Auto Boot TimeOut
■ Select Active Console Output Devices
■ Select Active Console Input Devices
■ Select Active Standard Error Devices
■ Cold Reset
■ Exit
These items are described in the following sections.
In all menus, select the following:
■ Help to display the help available for the command
■ Exit to return to the main Boot Options Maintenance menu
■ Enter to select an item after using the arrow keys to highlight the item
■ Save Settings to NVRAM to save your changes
NOTE: The options shown here are examples. Your server may have different options available
based on the system configuration and installed hardware components.
Paths
All devices in the rx2600 server and zx6000 workstation are represented by paths in the EFI
shell. To identify the correct slot or disk drive, use the following tables.