I discovered 2 machine,192.168.7.50(containing 10 targets,out of which
performed login on 2) and  192.168.7.51(containing 5 targets,out of
which performed login on 3).I am using IET target and 'iscsi-initiator-
utils-6.2.0.868-0.7.el5' initiator.

So at present there are 5 connections on initiator.suddenly if
initiator reboots.

we are having following code in 'iscsi' service
iscsiadm -m node --logoutall=all(stop function)
iscsiadm -m node --loginall=automatic(start function)

But disadvantage is that it will login to all 15 targets from both
7.50 and 7.51 machines,and not 5 which already were there.This is
because previous discovery entry is still there in "/var/lib/iscsi/
nodes" and "/var/lib/iscsi/send_targets".

If I commented above 2 lines from 'iscsi' service,It works fine for
stop,start,restart service operations.i.e.initiator is restoring only
connections which were there previously.

But this doesn't work across reboot.I lost my 5 connections after
reboot though above 2 lines were commented.

Thus,what should I do for persistent connections across reboot?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to