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

o
olrad(1M) olrad(1M)
-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 disrup-
tion 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.
If the -f option is specified, it overrides critical analysis (CRA) results. See the descrip-
tion earlier for the -f option.
-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.
On systems with the capability to handle certain PCI hardware errors during the opera-
tion of PCI I/O cards, the post replace phase can be used to attempt recovery of the PCI
card and corresponding I/O slot from such errors.
-f The -f option, if specified, overrides the "data critical" errors returned by CRA. It is
important to note that olrad will not allow "critical" errors to be overridden and that
olrad automatically overrides "warnings".
Irrespective of whether -f is specified or not, critical resource analysis routines are run
before an OLA/R operation, to ensure that the current OLA/R operation does not inter-
rupt the normal working of the system; in other words, to identify "critical" errors.
The "data critical" errors are typically not critical to the system, but they may be critical
to the user. Hence, the user need to decide whether or not to use the -f option for
overriding these types of errors.
-F Displays the output in machine readable format. It can be used with the following
options:
-q, -c, -h, and -v.
-n Display the number of OLA/R capable slots in the system.
-q Displays the status of all OLA/R capable slots in the system. In the output, slots with
the same bus number share the same PCI Bus. Output fields are detailed below; some
descriptions are platform dependent.
On systems with OLA/R capable PCI-Express slots, the output fields are slightly varied.
See the
PCI Express Based Slots section for detailed description of the fields
displayed for such slots.
Slot displays the slot_id.
Path displays the slot_hw_path.
Bus Number identifies the I/O Bus corresponding to the slot.
Max Spd displays the maximum operating speed of the PCI Bus attached to the slot.
Spd displays the current operating speed of the PCI Bus attached to the slot. The card
inserted into the slot determines the current operating speed, together with the capabil-
ity of the slot’s PCI Bus.
Pwr displays the slot power status.
Occu displays whether the slot is occupied or not.
Susp displays if the card in the slot is suspended or not.
Driver(s) Capable displays the OL* capability of the interface driver/s that
claimed the PCI device/s present in the slot. OLAR field displays whether the interface
driver/s are capable of OnLine Add/Replace operations. OLD field displays whether the
interface driver/s are capable of OnLine Deletion operation.
Max mode displays the maximum operating mode of the PCI Bus attached to the slot.
Mode displays the current operating mode of the PCI Bus attached to the slot. The
card inserted into the slot determines the current operating mode, together with the
capability of the slot’s PCI Bus. PCI and PCI-X are examples of different operating
modes.
HP-UX 11i Version 2: December 2007 Update 2 Hewlett-Packard Company 119