You are on page 1of 3

Fautly HBA replacement in Solaris

HBA replacement in a Sun Server is tricky task. Before replacing the HBA you should note down the WWN number as these are needed for the Zoning and masking to map the HBA paths from storage end. Same is the case when you install new HBA into the server. Without these, you would not be able to see the connectivity of new HBA to the storage. Following are the set of steps which will help you to identify the faulty HBA and how to replace it : 1. Execute /etc/powermt command to find the failed HBA. # /etc/powermt display Symmetrix logical device count=39 CLARiiON logical device count=0 Ess logical device count=0 Hitachi logical device count=0 HP xp logical device count=0 HP HSx logical device count=0
============================================================================== Host Bus Adapters I/O Paths Stats ### HW Path Summary Total Dead IO/Sec Q-IOs Errors ============================================================================== 2304 pci@84/fibre-channel@1 optimal 39 0 1 38 2305 pci@8c/fibre-channel@1 failed 39 39 0 77

2. Find the WWN number of failed HBA. You can use any of the following command to get the WWW a) Execute prtconf command. b) If EMCsymmetrix package is installed on your system then you could use "syminq -fiber hba" c) On Solaris 10 you could use command "fcinfo hba -port" d) By lputil (LPFC driver) or by Emulex utility (Emulex driver) # syminq -fiber hba Host Name : my-host HBA Type : FibreChannel HBA Name : Emulex-LP10000-1 Vendor : Emulex Corporation

Model : LP10000 Serial Number : MS54272387 Firmware Version : 1.91A1 (T2D1.91A1) Driver Version : 6.02f; HBAAPI(I) v2.0.e, 11-07-03 Node WWN : 20000000c94f6a54 Number of Ports : 1 Port WWN : 10000000c94f5e32 Port name : /devices/pci@84,2000/fibre-channel@1 Port type : NPort Port FCID : 1310773 Port speed : 2gbit Supported speed : 2gbit Port state : Online HBA Type : FibreChannel HBA Name : Emulex-LP10000-2 Vendor : Emulex Corporation Model : LP10000 Serial Number : MS54245678 Firmware Version : 1.91A1 (T1D1.91A1) Driver Version : 6.02f; HBAAPI(I) v2.0.e, 11-07-03 Node WWN : 20000000c94f6a83 Number of Ports : 1 Port WWN : 10000000c94f7a67 Port name : /devices/pci@8c,2000/fibre-channel@1 Port type : NPort Port FCID : 0 Port speed : 2gbit Supported speed : 2gbit Port state : Diagnostics > Here the port status is not online and diagnostics reflects that its faulty HBA. # /usr/sbin/lpfc/lputil listhbas WWNN WWPN Board ================================================================ === 20:00:00:00:c9:4f:5e:32 10:00:00:00:c9:4f:5e:32 0 20:00:00:00:c9:4f:7a:67 10:00:00:00:c9:4f:7a:67 1 3. Now Shutdown the server using init5 command once it is down, power off it and replace the faulty HBA. 4. After replacing the HBA, Power on the machine and take it to OK> prompt. From OK> give the command "boot -r" to boot it into reconfigure mode. 5. Now again find out the WWN for the new HBA for Zoning and masking for the storage.

# syminq -fiber hba Host Name : my-host HBA Type : FibreChannel HBA Name : Emulex-LP10000-1 Vendor : Emulex Corporation Model : LP10000 Serial Number : MS54272387 Firmware Version : 1.91A1 (T2D1.91A1) Driver Version : 6.02f; HBAAPI(I) v2.0.e, 11-07-03 Node WWN : 20000000c94f6a54 Number of Ports : 1 Port WWN : 10000000c94f5e32 Port name : /devices/pci@84,2000/fibre-channel@1 Port type : NPort Port FCID : 1310773 Port speed : 2gbit Supported speed : 2gbit Port state : Online HBA Type : FibreChannel HBA Name : Emulex-LP10000-2 Vendor : Emulex Corporation Model : LP10000 Serial Number : MS54245678 Firmware Version : 1.91A1 (T1D1.91A1) Driver Version : 6.02f; HBAAPI(I) v2.0.e, 11-07-03 Node WWN : 20000000c94f6a83 Number of Ports : 1 Port WWN : 10000000c94f4d54 Port name : /devices/pci@8c,2000/fibre-channel@1 Port type : NPort Port FCID : 0 Port speed : 2gbit Supported speed : 2gbit Port state : Online ---------> Now its in online state 6. You can change the storage configuration now to apply the Zoning for this WWN.

You might also like