On Fri, Jul 7, 2017 at 4:06 PM, <
lobe...@redhat.com> wrote:
> Hello
Hi Laurence,
>
> I have ESOS up and running but I have a question which may be a simple one
> for folks on the list here.
>
> Can I use the ALUA support in scst to set optimized and non-optimized paths
> on a single scst host for the same back-end device under ESOS.
Yes... so a single-head array setup (not dual-head/HA) -- right?
>
> How would I do that because you cannot add the same device to more than one
> ALUA group.
You would make one (1) SCST device group, and add your devices to it,
and then add multiple target groups to the device group.
>
> What I want is that the device is accessible say on group1 with relative
> id=2 and on group2 with relative id=4 so that
> its optimized to HBA port1 and non-optimized to HBA port2.
>
> The idea of course is to fully emulate ALUA for testing
> device-mapper-multipath initiators.
The config might look something like this:
--snip--
DEVICE_GROUP esos {
DEVICE device_1
DEVICE device_2
DEVICE device_3
DEVICE device_4
DEVICE device_5
TARGET_GROUP active_group {
group_id 151
state active
# Non-key attributes
preferred 0
TARGET 21:00:00:0e:1e:25:b5:10
TARGET 21:00:00:0e:1e:25:b5:11
}
TARGET_GROUP nonopti_group {
group_id 152
state nonoptimized
# Non-key attributes
preferred 0
TARGET 21:00:00:0e:1e:25:93:60 {
rel_tgt_id 3
}
TARGET 21:00:00:0e:1e:25:93:61 {
rel_tgt_id 4
}
}
}
--snip--
Or some variation of the above... let me know if that isn't what you
were looking for.
--Marc
>
> Thanks
> Laurence
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
esos-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.