Configuring HP-UX For Peripherals

52 Chapter2
Managing PCI Cards with OLAR
Performing OLAR procedures from the command line
Post-OLAR scripts accept the following parameters:
Execute action
Hardware path of I/O node
For example:
# sh/usr/sbin/olrad.d/drivername post_replace hw_path
The script will return:
“0” if it succeeded
“1” if it failed but was able to recover or restore the system to its
original state before the script ran
“2” if it failed and was not able to recover
OLAR Script Command Line Parameters
The following lists shows the valid combinations of OLAR actions (add
and replace) and Script actions (pref, prep, post), which make up the
valid list of script execute action parameters:
post_add
pref_replace
prep_replace
post_replace