olrad.1m (2010 09)

o
olrad(1M) olrad(1M)
Logging
olrad uses the NetTL subsystem to log errors and audit trail for all OLA/R/D operations performed on
slots. See nettl (1M).
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/D,
CRA report when using the
-C
option,
Output of view information options such as -v, -c, -g, -h, -q, and -n.
RETURN VALUE
olrad returns the cra-return values when invoked with
-C (cra-only) option. The valid values are as
follows:
0 CRA_SUCCESS
1 CRA_WARNING
2 CRA_DATA_CRITICAL
3 CRA_SYS_CRITICAL
4 CRA_FAILURE
For all other options olrad returns the following:
0 Successful completion.
-1 Failure, olrad also logs a message on the NetTL log file and to standard error.
EXAMPLES
Adding a New Card
1. Get the information about all the OLA/R/D 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/D 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
Deleting a Card
1. Get information about all the OLA/R/D capable slots. Make note of the slot_id field:
/usr/bin/olrad -q
2. Delete the card:
/usr/bin/olrad -d slot_ID
3. Post Delete:
/usr/bin/olrad -D slot_ID
HP-UX 11i Version 3: September 2010 7 Hewlett-Packard Company 7