On Sat, Jun 30, 2018 at 6:04 PM Frank de Bot (lists) <lists@xxxxxxxxxxx> wrote:
I've crossposted the problem to the freebsd-stable mailinglist. There is
no ALUA support at the initiator side. There were 2 options for
multipathing:
1. Export your LUNs via two (or more) different paths (for example
via two different target portal IP addresses), on the initiator
side set up both iSCSI sessions in the usual way (like without
multipathing), add kern.iscsi.fail_on_disconnection=1 to
/etc/sysctl.conf, and set up gmultipath on top of LUNs reachable
via those sessions
2. Set up the target so it redirects (sends "Target moved temporarily"
login responses) to the target portal it considers active. Then
set up the initiator (single session) to either one; the target
will "bounce it" to the right place. You don't need gmultipath
in this case, because from the initiator point of view there's only
one iSCSI session at any time.
Would an of those 2 options be possible on the ceph iscsi gateway
solution to configure?
We probably don't have the (development) bandwidth to implement a custom solution for FreeBSD. You should be able to just use targetcli to configure a one-node target using RBD as a backend, however.
Regards,
Frank
Jason Dillaman wrote:
> Conceptually, I would assume it should just work if configured correctly
> w/ multipath (to properly configure the ALUA settings on the LUNs). I
> don't run FreeBSD, but any particular issue you are seeing?
>
> On Tue, Jun 26, 2018 at 6:06 PM Frank de Bot (lists) <lists@xxxxxxxxxxx
> <mailto:lists@xxxxxxxxxxx>> wrote:
>
> Hi,
>
> In my test setup I have a ceph iscsi gateway (configured as in
> http://docs.ceph.com/docs/luminous/rbd/iscsi-overview/ )
>
> I would like to use thie with a FreeBSD (11.1) initiator, but I fail to
> make a working setup in FreeBSD. Is it known if the FreeBSD initiator
> (with gmultipath) can work with this gateway setup?
>
>
> Regards,
>
> Frank
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx>
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> --
> Jason
Jason
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com