Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Interface Card OL* Support Guide: HP-UX 11i v2 > Chapter 4 olrad - Command Line Interface

Options, Scripts, & Logging

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Options

Details for some options are discussed below. See the olrad(1M) manpage for a complete listing of options, usage, syntax, and details of their use.

-a slot_id

Prepare to add a card to system at the specified slot. Critical resource analysis is run to ensure that the current card addition onto the system will not cause disruption in the functioning of the system. The driver scripts (pref_replace and prep_replace) for affected slots (if any) are run and the drivers associated with the affected slots are suspended. The slot power is turned OFF, and the attention LED at the corresponding slot is set to BLINK mode.

-A slot_id

Post add phase. The slot power is turned ON, the drivers associated with all affected slots are resumed. ioscan is run and if the card is claimed, the driver scripts, post_add for the current slot and post_replace for affected slots (if any), are run and the attention LED at the corresponding slot is turned OFF.

-r slot_id

Prepare to replace a card on the system at the specified slot. Critical resource analysis is run to ensure that the current card replacement on the system will not cause disruption in the functioning of the system. The driver scripts (pref_replace and prep_replace) for the affected slots (if any) and the current slot are run. The drivers associated with the current slot and affected slots are suspended. The target slot is powered off and the attention LED is set to BLINK at the corresponding slot.

-R slot_id

Post Replace phase. The target slot power is turned ON. The suspended drivers are resumed and the driver scripts (post_replace) for the current slot and the affected slots (if any) are run. The attention LED at the corresponding slot is set to OFF.

-q

Displays the status of all OL* capable slots in the system. Slots with the same bus number are treated as shared slots.

-I flag slot_id

Controls the state of the Attention LED. The valid values for this flag option are: ATTN and OFF. Based on the flag value, the Attention LED at the corresponding slot is set to the appropriate state. ATTN turns the LED to BLINK. The flags are not case-sensitive.

-C slot_id

Runs critical resource analysis routine on the specified slot_id and display the results. It checks for critical resources on all affected hardware paths associated with the specified slot. It analyzes file systems, volumes, processes, networking, swap, and dump; and generates a report of affected resources.

Scripts

When performing an OL* operation on a slot, olrad runs pref_replace and prep_replace scripts in the pre-OL* phase and post_add and post_replace driver scripts in post-OL* phase.

There are no preface and prepare driver scripts for online add.

For a given OL* operation on a slot, pref_replace driver scripts are run for the affected slots (if any) irrespective of the type of operation being performed on the given slot.

An audit trail is logged onto NetTL log file whenever an OL* operation is initiated. This information is also written to standard output.

See “OL* Driver Scripts” for additional information on scripts.

Logging

olrad uses the NetTL subsystem to log errors and audit trail for all OLA/R operation performed on various slots. An audit trail is logged onto NetTL log file whenever an OLA/OLR operation is initiated.

olrad makes use of the SYSADMIN subsystem formatter to format the log messages.

The following details are not logged:

  • CRA report when performing OL*,

  • CRA report when using the -C option,

  • Output of view information options such as -v, -c, -g, -h, -q, and -n.

  • If the NetTL sub-system is not enabled, olrad will continue with the operation, after writing an error message.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2004 Hewlett-Packard Development Company, L.P.