Discussion:
NPIV FC target fails
Robert Wood
2014-09-09 23:12:38 UTC
Permalink
Hello,

We are trying to create an FC target using an NPIV FC alias (as an
attempt to set up high availability without using ALUA based
failover). There are hints that this is supposed to be supported by
LIO, but we are unable to get it to work. Could you please provide
any insight into configuring an NPIV alias for a Qlogic QLE2562 NPIV?

Thank you,
RW
Robert Wood
2014-09-09 23:39:36 UTC
Permalink
This worked so far (cd'ing into each directory):

mkdir /sys/kernel/config/target/qla2xxx_npiv/
mkdir 21:00:00:24:ff:4f:0d:***@21009924ff4f0def:20009924ff4f0def
(based on
https://gitorious.org/opensuse/kernel/commit/49a47f2cafbe4ca3839f8ae99c6fdeffd
5fcaf45)

mkdir tpgt_1
echo 1> enable

Any comments, suggestions?

Thanks, RW
Nicholas A. Bellinger
2014-09-18 00:46:59 UTC
Permalink
Hi Robert,
Post by Robert Wood
Hello,
We are trying to create an FC target using an NPIV FC alias (as an
attempt to set up high availability without using ALUA based
failover). There are hints that this is supposed to be supported by
LIO, but we are unable to get it to work. Could you please provide
any insight into configuring an NPIV alias for a Qlogic QLE2562 NPIV?
The physical (eg: non NPIV) port needs to be setup ahead of NPIV port
configuration. So in your follow-up example, the physical port at:

/qla2xxx/21:00:00:24:ff:4f:0d:ee

must be created + enabled first (LUN exports are not necessary on the
physical port), before the first NPIV port at:

/qla2xxx_npiv/21:00:00:24:ff:4f:0d:***@21009924ff4f0def:20009924ff4f0def

can be configured + enabled.

--nab

Loading...