Interface Card OL* Support Guide

Chapter 4
olrad - Command Line Interface
Options, Scripts, & Logging
80
Options, Scripts, & Logging
Options
Details for some options are discussed below. See the olrad (1M) manpage for a complete listing of options,
usage, syntax, and details of their use.
-a
slot_id
Prepare to add a card to system at the specified slot. Critical resource
analysis is run to ensure that the current card addition onto the system
will not cause disruption in the functioning of the system. The driver
scripts (pref_replace and prep_replace) for affected slots (if any) are
run and the drivers associated with the affected slots are suspended. The
slot power is turned OFF, and the attention LED at the corresponding slot
is set to BLINK mode.
-A
slot_id
Post add phase. The slot power is turned ON, the drivers associated with
all affected slots are resumed. ioscan is run and if the card is claimed, the
driver scripts, post_add for the current slot and post_replace for
affected slots (if any), are run and the attention LED at the corresponding
slot is turned OFF.
-r
slot_id
Prepare to replace a card on the system at the specified slot. Critical
resource analysis is run to ensure that the current card replacement on
the system will not cause disruption in the functioning of the system. The
driver scripts (pref_replace and prep_replace) for the affected slots (if
any) and the current slot are run. The drivers associated with the current
slot and affected slots are suspended. The target slot is powered off and
the attention LED is set to BLINK at the corresponding slot.
-R
slot_id
Post Replace phase. The target slot power is turned ON. The suspended
drivers are resumed and the driver scripts (post_replace) for the current
slot and the affected slots (if any) are run. The attention LED at the
corresponding slot is set to OFF.
-q Displays the status of all OL* capable slots in the system. Slots with the
same bus number are treated as shared slots.
-I
flag slot_id
Controls the state of the Attention LED. The valid values for this flag
option are: ATTN and OFF. Based on the flag value, the Attention LED at
the corresponding slot is set to the appropriate state. ATTN turns the
LED to BLINK. The flags are not case-sensitive.
-C
slot_id
Runs critical resource analysis routine on the specified slot_id and display
the results. It checks for critical resources on all affected hardware paths
associated with the specified slot. It analyzes file systems, volumes,
processes, networking, swap, and dump; and generates a report of affected
resources.
Scripts
When performing an OL* operation on a slot, olrad runs pref_replace and prep_replace scripts in the
pre-OL* phase and post_add and post_replace driver scripts in post-OL* phase.