HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
r
rad(1M) rad(1M)
-o slot_id Power OFF the indicated slot. The other slots, if any, that are on the same power-
domain will have their power turned OFF as well (potentially harmful to the system
operations).
-q Display the status of all OLA/R slots on the system.
-r slot_id Resume the operations of the indicated slot and its affected slots (same power-
domain).
-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.
Section 1M−−722 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005