Interface Card OL* Support Guide

4 The olrad Command
This chapter describes how to use the olrad command to perform OL* operations.
This chapter addresses the following topics:
Using olrad
Options, Scripts, and Logging
Using olrad
The olrad command enables you to perform online addition, replacement, and deletion of I/O
cards. The olrad command performs a Critical Resource Analysis (CRA) of the system before
performing any OL* operations. This ensures that the system is not left in an inconsistent state
after a PCI card is added, replaced, or deleted. Only users with root privileges can use this
command.
NOTE: The olrad command replaces the rad command.
Syntax and Arguments
The following arguments and options are used in the command.
slot_id
The slot ID of an OL* capable slot. A slot ID is a list of one or more
numbers separated by dashes. Each number represents a component of
the physical location of the slot. you can use the slot ID to locate the slot.
NOTE: The sequence of numbers in the slot ID is platform dependent.
On low end platforms, the slot ID contains only the slot number. On all
other platforms, including Superdome, the format of the slot ID is:
Cabinet#-Bay#-Chassis#-Slot#
hw_path
The hardware path of an OL* capable slot.
-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 casesensitive.
-C slot_id
Runs a CRA on the specified slot_id and display the results. This 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.
Preliminary Actions
Before you add, replace, or delete a card using the olrad command, follow these steps:
1. Determine the slot status.
2. Perform a CRA.
Determining Slot Status
Enter the olrad -q command to get details and the status of all OL* capable slots in the system.
In the output, slots with the same bus number are treated as shared slots.
Using olrad 65