Subscribe

how to determine which host access the storage throught non-primary and no-optimal path

the following event occur in log:

scsitarget.partnerPath.misconfigured:error]: FCP Partner Path Misconfigured - Host I/O access through a non-primary and non-optimal path was detected

we didn't implement multiple path,how to determine which host access the storage throught non-primary and no-optimal path?how to fix it without impact?

thank advance,sorry for my poor english

how to determine which host access the storage throught non-primary and no-optimal path

Issue `igroup show` on each controller CLI

The output should show each igroup, the initiators within the igroup and which ports they are logged in on. Ensure that each initiator is logged in on a port such as 0a, 0b, 0c, 0d as well as vtic.

If any initiator shows as only being logged in on vtic then it will be accessing the LUN via vtic and therefore not by the optimum path. Check your cabling and zoning to find out why the initiator is only logged in on vtic and therefore only has a path to one controller.

how to determine which host access the storage throught non-primary and no-optimal path

thank you,but I had no idea how to fix the problem yet? any ideas will be appreciated

the output info of the command that you provided

fas2020a> igroup show

    realcastDB (FCP) (ostype: linux):

        21:01:00:e0:8b:bc:54:64 (not logged in)

        21:00:00:e0:8b:9c:54:64 (logged in on: vtic, 0a)

    dynamic (FCP) (ostype: linux):

        21:01:00:e0:8b:bc:52:64 (not logged in)

        21:00:00:e0:8b:9c:52:64 (logged in on: vtic, 0a)

    BlogDB (FCP) (ostype: windows):

        21:00:00:e0:8b:9c:51:64 (logged in on: vtic, 0a)

        21:01:00:e0:8b:bc:51:64 (not logged in)

    Backuse (FCP) (ostype: windows):

        21:01:00:e0:8b:bc:56:64 (not logged in)

        21:00:00:e0:8b:9c:56:64 (not logged in)

fas2020b> igroup show

    videoware (FCP) (ostype: windows):

        21:00:00:e0:8b:9c:50:64 (logged in on: 0a, vtic)

        21:01:00:e0:8b:bc:50:64 (not logged in)

    juyuanDB (FCP) (ostype: windows):

        21:01:00:e0:8b:bc:4f:64 (not logged in)

        21:00:00:e0:8b:9c:4f:64 (logged in on: 0a, vtic)

fas2020a: ip 192.168.10.34

fas2020b: ip 192.168.10.134

the following event that occur in log come from fas2020b:

scsitarget.partnerPath.misconfigured:error]: FCP Partner Path Misconfigured - Host I/O access through a non-primary and non-optimal path was detected,we didn't implement multiple path befause ignorance of system integrator and me

how to determine which host access the storage throught non-primary and no-optimal path

If any initiator shows as only being logged in on vtic then it will be accessing the LUN via vtic and therefore not by the optimum path.

It is not as simple. Host can see both optimal and non-optimal paths but due to (mis-)configuration chose non-optimal one.

When you have many hosts it becomes indeed not so easy to find which one is doing wrong. I wish NetApp would include WWPN of misbehaving host in this message (or provided otherwise some means to find it).

how to determine which host access the storage throught non-primary and no-optimal path

It can be this simple on occasion and it's a quick check so it's always good to look for it as a first option.

Because the intitators are logged in on both vtic and an onboard port then MPIO should be configured on the host otherwise confusion occurs as in this case. The host sees two paths and doesn't know which one to choose so it's chosen the wrong one as it doesn't know any better.

how to determine which host access the storage throught non-primary and no-optimal path

is't there a method to solve it?

how to determine which host access the storage throught non-primary and no-optimal path

Not that I'm aware of. According to your `igroup show` output you have 5 hosts connected, login on each one and confirm which path it's using....

how to determine which host access the storage throught non-primary and no-optimal path

thank for prompt reponse,but howto, the os of machine is linux or windows2003,can you tell me the details ,instruction step by step;sorry for my poor english,

thank you in advance

how to determine which host access the storage throught non-primary and no-optimal path

lun stats -o 'lun_path' will show you if that particular LUN is being accessed improperly and you may be able to track it that way.  However if all of your same OS hosts have access to all of your LUNs or all of your LUNs show partner access, this won't help at all.

You will get an output like this, and the part you want to look as are the last two fields.

        Read (kbytes)   Write (kbytes)  Read Ops  Write Ops  Other Ops  QFulls  Partner Ops Partner KBytes

        0                      24                   0               6               6               0         0                 0  

- Scott

how to determine which host access the storage throught non-primary and no-optimal path

fas2020b> lun stats -o '/vol/vol1/lun1'

    /vol/vol1/lun1  (606 days, 3 hours, 45 minutes, 20 seconds)

        Read (kbytes)   Write (kbytes)  Read Ops  Write Ops  Other Ops  QFulls  Partner Ops Partner KBytes

        6931445         2480642         99655     58594      590        0       158368      9411947  

fas2020b> lun stats -o '/vol/vol2/lun2'

    /vol/vol2/lun2  (606 days, 3 hours, 45 minutes, 26 seconds)

        Read (kbytes)   Write (kbytes)  Read Ops  Write Ops  Other Ops  QFulls  Partner Ops Partner KBytes

        1251784782      591894828       91956296  11177182   661        0       103133521   1843678725

can you tell me where the clue is?