Configuring HP-UX For Peripherals

48 Chapter2
Managing PCI Cards with OLAR
Performing OLAR procedures from the command line
Performing OLAR procedures from the
command line
This Critical Resource Analysis feature is not available from the
command line (rad), so it is the responsibility of the engineer or system
administrator to ensure that other system services are not interrupted
during OLAR command line procedures.
Extreme care should be taken when using rad, since the command
will, in most cases, attempt to complete the operation. For example,
running the command: rad -s slotid , will suspend the driver
instances for every I/O node controlled by that slot, even if you only
wanted to suspend one driver instance (for example, as with a multi
function card). Review and choose command line options carefully.
The section “Analyzing Critical Resources” presents a high-level list
of steps you can take to help you determine critical dependencies.
Although these steps are incorporated into the Add and Replace
procedures that follow, reviewing this section will give you a better
understanding of the scope of an OLAR operation.
In order to ensure a thorough critical resource analysis when
performing any OLAR procedure using rad, procedure steps should be
performed and completed in the exact sequence presented.
Analyzing Critical Resources
A critical resource is one that would cause a system crash or prevent the
operation from completing successfully if the resource were temporarily
suspended or disconnected. For example, SAM uses space in the /usr file
system. If the link to this file system is lost, SAM cannot complete the
operation. Another example is the use of SAM to administer a remote
machine over a network. If the network interface card through which
SAM accesses the remote machine is shut down, SAM loses its
connection and the operation fails. SAM cannot detect resources needed
by a user application. It will simply report which resources appear to be
in use and have no detectable backup or fail over alternative. You must
ensure that none of the reported dependencies are critical to an
application.
During a card replacement, SAM performs a Critical Resource Analysis,