HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

o
olrad(1M) olrad(1M)
bad. The card in error can be replaced with another card of the same type, and a post replace opera-
tion can be tried with the replaced card.
A complete description on PCI Error Handling is not covered here. Refer to documents on PCI Error Han-
dling for details, available at the
http://docs.hp.com
website. Note that the sequence mentioned
here for PCI Error Handling is generic. This is subject to changes depending on different platforms and
operating system releases.
Logging
olrad uses the NetTL subsystem to log errors and audit trail for all OLA/R operation performed on vari-
ous slots.
olrad makes use of the sysadmin subsystem formatter to format the log messages.
The following details are not logged:
CRA report when performing OLA/R,
CRA report when using the -C
option,
Output of view information options such as
-v, -c, -g, -h, -q, and -n.
EXAMPLES
Adding a New Card
1. Get the information about all the OLA/R capable slots. Make note of the slot_id field:
/usr/bin/olrad -q
2. Prepare to add:
/usr/bin/olrad -a slot_ID
3. Physically insert the card into the slot.
4. Post add:
/usr/bin/olrad -A slot_ID
Replacing a Card
1. Get information about all the OLA/R capable slots. Make note of the slot_id field:
/usr/bin/olrad -q
2. Prepare to replace:
/usr/bin/olrad -r slot_ID
3. Replace the faulty card in the slot with a working card. The new card must be identical as the card
being replaced.
4. Post Replace:
/usr/bin/olrad -R slot_ID
RETURN VALUE
olrad returns the cra-return values when invoked for -C (cra-only) option. The valid values are as fol-
lows:
0 CRA_SUCCESS
1 CRA_WARNING
2 CRA_DATA_CRITICAL
3 CRA_SYS_CRITICAL
4 CRA_ERROR
For all other options olrad returns the following:
0 Successful completion.
-1 On failure. olrad also logs a message on the NetTL log file and to standard error.
FILES
NetTL log file containing olrad audit trail and errors.
122 Hewlett-Packard Company 5 HP-UX 11i Version 2: December 2007 Update