Adding Chris Leech to see if this could be used by the iSCSI community.

Thanks,
Satyajit

On Wed, Feb 8, 2017 at 1:56 AM, Satyajit Deshmukh <
satyajit.s.deshm...@gmail.com> wrote:

> Hello,
>
> We have a setup, where we are using the iSCSI redirect functionality,
> where we connect to a highly available persistent address, and get
> redirected to a different address/portal.
> Our setup allows modifying the persistent IP address of the iSCSI targets,
> amongst active I/O to the iSCSI sessions to the redirected
> addresses/portals.
> The requirement is to ensure non-disruptive I/O when any portal crashes.
> (persistent address/portal is assumed to be still available)
>
> Consider a scenario where sessions are redirected to different
> addresses/portals and now the persistent portal address is modified on the
> target.
>
> Without this patch:
> When the redirected portal crashes, iscsid would tries to recover the
> session by reconnecting to the incorrect/stale in-memory 'failback_saddr'
> portal.
> Since, this IP is modified on the fly, iscsid tries reconnecting to a
> wrong portal.
>
> With the patch:
> Patch notifiies iscsid about the change in the persistent address of all
> the sessions via the iscsiadm utility.
> All in-memory session structures' failback addresses are updated with the
> new persistent address.
>
> We have unit-tested the patch in our setup and we can see sessions
> recovering amongst current portal failures.
> Usage:
>
> iscsiadm -m session -n updated_persistent_ip_address -v 192.168.5.5
>
> Would be great if someone can review the attached patch.  Any
> feedback/suggestions/questions greatly appreciated.
>
> Thanks,
> Satyajit
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "open-iscsi" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/open-iscsi/SIKMWXXpQf0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> open-iscsi+unsubscr...@googlegroups.com.
> To post to this group, send email to open-iscsi@googlegroups.com.
> Visit this group at https://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to