[ClusterLabs] Antw: Re: clustering fiber channel pools on multiple wwns

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed Oct 5 11:55:54 UTC 2016


>>> Andrei Borzenkov <arvidjaar at gmail.com> schrieb am 18.09.2016 um 08:50 in
Nachricht <911e7925-511e-0555-2ee6-2da0ee7b19ba at gmail.com>:
> 06.09.2016 16:45, Gabriele Bulfon пишет:
>> Hi, on illumos, I have a way to cluster one zfs pool on two nodes, by
>> moving ip,pool and its shares at once on the other node. This works
>> for iscsi too: the ip of the target has been migrated together with
>> the pool, so the iscsi resource is still there running on the same ip
>> (just a different node). Now I was thinking to do the same with fiber
>> channel: two nodes, each with its own qlogic fc connected to a fc
>> switch, with vmware clients with their fc cards connected on the same
>> switch. I can't see how I can do this with fc, because with iscsi I
>> can migrate the hosting IP, but with fc I can't migrate the hosting
>> wwn! What I need, is to tell vmware that the target volume may be
>> running on two different wwns, so a failing wwn should trigger retry
>> on the other wwn: the pool and shared volumes will be moving from one
>> wwn to the other. Am I dreaming?? Gabriele 
> 
> Use NPIV to define virtual HBAs that can then be migrated between
> servers. This also makes overall configuration more secure as you can
> zone only those servers that need access to these virtual HBAs, so they
> can see only own resources.

Having done that, I know that cleaning up the NPIV can be tricky if
multipathing is in effect. If you remove the NPIV too early, other things may
hang. Fortunately the times of kernel panics and OOpses should be gone if you
add and remove multiple NPIVs quickly ;-)

Actually we were using NPIV as a additional safeguard against mounting the
same disk on multiple nodes. Noe we use OCFS2 which does not have a problem
with that ;-)

Ulrich

> 
> See documentation for virtual ports in QLogic CLI (scli -vp). Your
> switch needs NPIV support too.
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org 
> http://clusterlabs.org/mailman/listinfo/users 
> 
> Project Home: http://www.clusterlabs.org 
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
> Bugs: http://bugs.clusterlabs.org 







More information about the Users mailing list