Configuring HP-UX For Peripherals
56 Chapter2
Managing PCI Cards with OLAR
Performing OLAR procedures from the command line
This command will report all I/O nodes on the target card.
Step 6. Check for an OLAR prep_replace script in /usr/sbin/olrad.d/
If the driver requires no preparatory action, then no script will be
present. Refer to the section “OLARD Scripts” for detailed information
regarding the name, location and purpose of the use of OLARD scripts.
If the script is present, perform the following steps:
a. For each port on the target card, execute the script:
# /usr/sbin/olrad.d/drivername prep_replace <hw_path>
b. The prep_replace script does any preparatory work required before
you can suspend driver operation. For example, a networking card
might have to be unbound from a networking operation. Make sure
that running the script produces no error messages before you
proceed with the next step.
Step 7. Suspend the drivers for the target card(s):
# rad -s slot_ID
This displays the hardware path and card identifier, and asks you to
confirm suspension.
Enter Y to continue. For example:
The following interface driver I/O node(s) will be suspended:
0/12/0/0 c720
Do you wish to continue(Y/N)? Y
#
If the target card is a multi-port card, all I/O nodes will be suspended.
rad returns the command prompt upon successful suspension of the
driver. If for some reason the driver instance cannot be suspended, rad
outputs an error message to console.
Step 8. Turn off power to the target slot(s):
# rad -o slot_ID
If the slot is successfully powered-down, the command prompt is
returned. At this point, the target slot’s green power LED turns off and