Friday, February 15, 2008

AIX How to flash device for replacement

lsslot Displays all hot swap slots
lsslot -c pci Lists all pci hot swap slots
lsslot -c pci -a Lists all available pci hot swap slots
drslot Reconfgiures PCI hot-plug slots
drslot -i -c pci -s U0.1-P1-I3 Display a slot, flashes the LED next to the slot so that it can be identified.

Example to find disk slot

# lscfg -vl hdisk22
hdisk22 U9119.590.0254E7D-V30-C70-T1-L820000000000 Virtual SCSI Disk Drive
#
---------------------------------------------
To identify a particular PCI slot before replacing the scsi card in it, enter the following:
#drslot -R -c pci -s U0.2-P1-I3
The system displays messages similar to the following:
The visual indicator of the specified PCI slot has been set to the identify state. Press Enter to continue or enter x to exit.
The LED for the PCI slot blinks to identify the slot. Pressing any key but the Enter key exits the command. Pressing Enter continues with this slot. If continuing, the LED for the PCI slot is changed to the action state and the system displays a message similar to the following:
The visual indicator for the specified PCI slot has been set to the action state. Replace the PCI card in the identified slot, reconnect any devices to be configured, and press Enter to continue. Enter x to exit. Exiting now leaves the PCI slot in the removed state.