zainal1

updated

17 years ago

Z

zainal1

2 Intern

127 Posts

0

8179

July 27th, 2009 01:00

1 HBA missing in Powerpath

Hi
I have 2 RedHat Enterprise 4 Linux nodes running on a RedHat cluster on a CX300.
In each nodes, there are 2x HBA Qlogic cards.

One of the node, is showing just one HBA card, even though in reality there shld be 1 more HBA card, total 2 HBA cards.

[root@misln01 scsi]# powermt display
Symmetrix logical device count=0
CLARiiON logical device count=6
==============================================================================
----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats ------
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
1 qla2xxx optimal 12 0 - 0 0


A run of scli Qlogic utlity confirm this.

Host Name : misln01.pen.comm.mot.com
OS Type : Linux - Red Hat Enterprise Linux AS release 4 i686
OS Version : 2.6.9-42.0.10.ELsmp
FO API Version : 2.2.9
SDM API Version : v2.02 beta14
-----------------------------------------------------------------------------
HBA Model QLA2340:
Port 1: WWPN 21-00-00-E0-8B-8F-26-92 SN K20454 FW 3.03.19 Online
HBA Model QLA2340:
Port 0: WWPN 21-00-00-E0-8B-8F-73-97 SN K21811 FW 3.03.19 Online
-----------------------------------------------------------------------------
Total QLogic HBA(s) : 2

I have tried to run powermt config, but still its showing 1 HBA card.

What shld I do to get the other HBA card shown in PP without affecting the I/O.

Thanks

Zainal
  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    2851

    0

    Posted July 29th, 2009 04:00

    try these commands, on my system hbas are 1 and 2, on yours they could be 3 and 4. Cd into appropriate directory to see what you have. Reboot will be your last option:


    RHEL4 native qla driver:

    echo "1" > /sys/class/fc_host/host1/issue_lip
    echo "1" > /sys/class/fc_host/host2/issue_lip
    echo "- - -" > /sys/class/scsi_host/host1/scan
    echo "- - -" > /sys/class/scsi_host/host2/scan

    qlogic driver for 2.6 kernel (RHEL4):

    echo "scsi-qlascan" > /proc/scsi/qla2xxx/1
    echo "scsi-qlascan" > /proc/scsi/qla2xxx/2
    echo "- - -" > /sys/class/scsi_host/host1/scan
    echo "- - -" > /sys/class/scsi_host/host2/scan
  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    2563

    1

    Posted July 27th, 2009 03:00

    can you check Connectivity Status on Clariion to make sure that HBA is logged-in and it's green color (part of as storage group)
  • zainal1

    2 Intern

    127 Posts

    2566

    0

    Posted July 28th, 2009 23:00

    Connectivity status shows 1 HBA connected to A1 and B0 ports as greyed out.
    There is ~management under Connected Storage groups as green color.
  • Conor

    341 Posts

    2566

    0

    Posted July 28th, 2009 23:00

    As per emc199088 the initiator is not registered correctly on the CX array, De-register the initiator and manually register it again.
  • zainal1

    2 Intern

    127 Posts

    2566

    0

    Posted July 29th, 2009 00:00

    Hi Conor

    I forgot to mention that this is a 2-node Linux cluster.
    Each node having 2 HBA's.

    My guess is that the HBA which was greyed out was faulty and replaced with a new HBA which is shown under the ~management.
    Can I click on the Reconnect button to refresh the affected node so that the WWN no get refresh with a new WWN no. I check somewhere in this PowerPath forum that this can be done.


    Thanks
  • Conor

    341 Posts

    2566

    0

    Posted July 29th, 2009 00:00

    Well if you are not currently seeing devices down this path then "Reconnect" will not have any impact, and may bring the path back online (Registered and Logged in on the array)
  • zainal1

    2 Intern

    127 Posts

    2566

    0

    Posted July 29th, 2009 02:00

    Shld I highlight the the HBA on ~management first before I click on reconnect?
  • zainal1

    2 Intern

    127 Posts

    2566

    0

    Posted July 29th, 2009 02:00

    After doing reconnect of the HBA, i went to the host and did a powermt config.
    Somehow the devices on the 2nd HBA is only 2 devices and not 12 as it shld be.


    [root@misln01 log]# powermt display
    Symmetrix logical device count=0
    CLARiiON logical device count=6
    ==============================================================================
    ----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats ------
    ### HW Path Summary Total Dead IO/Sec Q-IOs Errors
    ==============================================================================
    1 qla2xxx optimal 12 0 - 2 0
    2 qla2xxx optimal 2 0 - 0 0
  • Conor

    341 Posts

    2566

    0

    Posted July 29th, 2009 02:00

    Yes - thats it, let us know how it goes
  • Conor

    341 Posts

    2566

    0

    Posted July 29th, 2009 02:00

    That¿s a good sign, at least the HBA is showing as logging in. You may need to rescan for new devices at the OS level, there are Qlogic rescan scripts available as part of their driver package, personally I think a reboot is the most consistent way of picking up the devices.