Configuring HP-UX For Peripherals
58 Chapter2
Managing PCI Cards with OLAR
Performing OLAR procedures from the command line
3. Insert the SPU back into the cabinet.
4. For PCI I/O cards on the left-hand side of the SPU, you may need
to re-install the rear door
Step 10. Turn on power to the target slot(s):
# rad -i slot_ID
If the target slot is successfully powered on, the command prompt is
returned and the slot’s green power LED turns on.
Step 11. Resume drivers for target card and any affected cards:
# rad -r slot_ID
rad returns the command prompt upon successful resumption of the
driver(s).
Remember that by using rad with the -r option, all ports associated with
the slot will be resumed.
If any of those driver instances cannot be resumed, rad will attempt to
reset the target and affected drivers to the state they were in prior to
running this command.
It is possible that rad may fail to revert a driver to it’s previous state. You
will not be notified if this happens; rad will skip this driver and continue
to try and revert all other affected drivers.
To ensure that all drivers were reset correctly to their previous states, do
the following:
a. Run rad -q and then rad -a to obtain information about the target slot
and affected slots.
b. Run rad -v to obtain driver state information specific to affected
hardware paths
Compare the output of these commands with the information you
obtained in the first part of this procedure: “Preparing to replace an
interface card using rad”. Manually modify any driver that was not
correctly reverted to it’s prior state.
Step 12. Check for the existence of an OLAR post_replace script in
/usr/sbin/olrad.d/. Refer to the section “OLAR Scripts” for script naming
conventions and general script information. If the driver requires no
post-replacement action, then no script will be present.