Monday, November 25, 2013

Reset HBA Card using hbacmd in RHELinux

Here are the commands to reset the HBA Card.

Get the WWN number using list command

# /usr/sbin/hbanyware/hbacmd listhbas


Manageable HBA List

Port WWN   : 10:00:00:00:XX:XX:XX:XX
Node WWN   : 20:00:00:00:XX:XX:XX:XX
Fabric Name: 10:00:00:05:XX:XX:XX:XX
Flags      : 8000fexx
Host Name  : localhost
Mfg        : Emulex Corporation

then Reset

# /usr/sbin/hbanyware/hbacmd Reset 10:00:00:00:XX:XX:XX:XX


Reset HBA 10:00:00:00:XX:XX:XX:XX


Also, you can use the below commands to get HBA Attribute & Port attribute.


# /usr/sbin/hbanyware/hbacmd HBAAttrib 10:00:00:00:XX:XX:XX:XX

# /usr/sbin/hbanyware/hbacmd PortAttrib 10:00:00:00:XX:XX:XX:XX

No comments: