Configuring HP-UX For Peripherals
Chapter 2 63
Managing PCI Cards with OLAR
Performing OLAR procedures from the command line
1. Replace the PCI cover plate
2. Connect the appropriate I/O cable to the installed PCI card
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 9. 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 10. Resume drivers for any affected cards:
# rad -r slot_ID
rad returns the command prompt upon successful resumption of the
driver. If for some reason the driver instance cannot be resumed (new
card is not compatible with existing driver or requires too much power),
rad outputs an error message to console.
Step 11. Configure the new card:
a. Run rad (-q and then -c options) to obtain / verify the hardware path
of the new card.
b. Use this hardware path with ioscan to complete configuration of new
card, for example:
ioscan -H hw_path
Note that by using the -H option, you are limiting the scope of the ioscan
to the hardware path you specify and any I/O nodes below it. This helps
to speed the operation, and limits the introduction of other problems
within the system
Step 12. Check for the existence of an OLAR post_add script in
/usr/sbin/olard.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.
If the script is present, perform the following steps:
a. Execute the script for the target slot: