HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
r
rad(1M) rad(1M)
-R device_hw_path Resume the instance of the driver at the specified hardware path.
-s slot_id Suspend the operations of the indicated slot and its affected slots (same power-
domain) (potentially harmful to the system operations).
-S device_hw_path Suspend the instance of the driver at the specified hardware path.
-V device_hw_path Display the OLA/R driver information (current state, timeout values in seconds, etc.)
for the driver at the specified hardware path.
Note
In some cases, administrators must initiate certain actions before hardware I/O controller cards are
replaced or deleted; other cases require activity after cards are replaced or added. Pre- and Post-OLAR
scripts will be used to perform these necessary activities. These scripts, named according to the driver
name (if the driver is foodriver then the script is foodriver ), are located in
/usr/sbin/olrad.d directory. These scripts has the following synopsis:
/usr/sbin/olrad.d/driver action hardware_path
action is one of:
post_add Execute post add actions.
pref_replace Execute preface to replace actions.
prep_replace Execute prepare to replace actions.
post_replace Execute post replace actions.
pref_delete Execute preface to delete actions.
prep_delete Execute prepare to delete actions.
post_delete Execute post delete actions.
hardware_path is the hardware path of the interface node.
For a detailed description of what each script does, please view the individual scripts.
EXAMPLES
Adding a new card
The command invocation sequence for adding a new card:
1. Get information about all the OLA/R capable slots. Make note of the slot_id field.
/usr/bin/rad -q
2. Set the attention indicator LED of the desired slot to make sure that the correct slot_id was used.
/usr/bin/rad -f ATTENTION slot_id
3. Get the affected slot_ids for this slot; that is, check to see if other slots will be powered down with this
slot. If other slots are affected by this slot and if these slots are occupied, then you must suspend
them by using the -s option to the rad command.
/usr/bin/rad -a slot_id
4. Turn off the power to the slot. Note that the power to the other slots in the same power-domain (if
any), will be turned off as well.
/usr/bin/rad -o slot_id
5. Insert the new card into the slot.
6. Turn the power on to the slot.
/usr/bin/rad -i slot_id
7. Turn the attention indicator LED off.
/usr/bin/rad -f OFF slot_id
8. Run the /usr/sbin/ioscan command with the appropriate options to configure the new card.
Replacing a card
The command invocation sequence for replacing a card:
1. Get information about all the OLA/R capable slots. Make note of the slot_id field.
HP-UX Release 11i: December 2000 2 Section 1M681
___
___