Configuring HP-UX For Peripherals

Chapter 2 49
Managing PCI Cards with OLAR
Performing OLAR procedures from the command line
which checks all ports on the target card for critical resources that would
be temporarily unavailable while the card is shut down.
This feature is not available from rad, so it is the responsibility of the
engineer or system administrator to ensure the safety of the OLAR
process.
The following procedure presents ata high level the steps you can take to
manually perform some of the basic functions of SAM’s Critical Resource
Analysis:
1. Use rad -q to locate the slot and hardware path of the target card
and other affected cards such as multi-port Cards.
2. Use rad -a to find out if the target card slot is in a power domain
with other card slots. (Multi-slot power domains are not implemented
in this release)
3. Use rad -c to determine the characteristics of the target card.
4. Use ioscan -fnk to determine the device names for the target card
and affected cards.
5. Determine the applications and processes that are dependent upon
the target card and affected cards.
6. Determine if those applications and processes can be shut down or
otherwise suspended during the add or replace procedures, as well as
the card(s) suspend/timeout limitations.
a. If the target card is in the critical path and services which are
dependent upon it can not be interrupted, you can try to on-line
add a similar card, move services to the new card, and on-line
replace the target card.
b. If the target card is not in the critical path, then perform on-line
replace after notifying users and preparing applications for
suspension.
OLAR Scripts
NOTE SAM executes OLAR scripts automatically. If you are using rad, you
must manually run each script as described in the Add and Replace
procedure. Running these scripts manually is complicated, and HP