1. I have a software target, which can be accessed by 2 computers. My 
   aim is: *switch access computer of the software target*
   2. I have *hacked resolve_address, so every time the initiator will get 
   a different IP*. So if the recovery mechanism is triggered, the access 
   computer is switched
   3. I found that *kill the tcp connection can trigger the recovery 
   mechanism*, so i hacked iscsiadm and mgmt_conn_remove function to close 
   the connection, the code is here: https://gist.github.com/pdu/6265563 BUT 
   this can't work, whether stop_conn or destroy_conn would cause IO error, 
   and destroy_conn returned error.

My question is:

   1. How to close the tcp connection via iscsiadm while doing IO?
   2. How to manually trigger the recovery mechanism via iscsiadm while 
   doing IO?

Thanks the open-iscsi team!!!

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 http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to