On 02/28/2012 04:33 PM, Alan Johnson wrote: > Sorry if it missed it, but I've search around a bit on the archives > and tubes and I only found some talk of implementing IP address > binding back on 2007, and several references to other binding options > (MAC, interface, etc).
Yeah, bind by ip address is not supported. It was implemented in some test code, but I had messed up. You are the first person to request it. But I am not sure if this the same thing you are looking for. That binding is to have the iscsi initiator bind the session to a host object. For example you could make the session use a specific nic or netdev/ethX instead of using the default routing. It sounds like you want the initiator to use specific target address right? > > My setup is that I have 2 IPAs on one NIC. One of them floats with > the iSCSI service on an HA setup between 2 servers, but both machines > need to access the targets that float with the IPA. If the IPA > switches to the other machine while iSCSI sessions are logged in, the > initiator freaks out because it used the floating IPA to connect to > the targets instead of the steady one. This is an expected default So after doing discovery if you do iscsiadm -m node -P 1 do you see 2 portals (2 ipaddress)? Is one of them the one you want to use and one of them not? When you login do you login to both portals? You can control which one to use by turning them on/off by setting the node.startup value to automatic/manual. For example to not login to 192.168.0.100 do iscsiadm -m node -T yourtargetname -p 192.168.0.100 -o update -n node.startup -v manual When you start the iscsi service then we will not use that portal. To have the iscsi service login by default when it starts then set iscsiadm -m node -T yourtargetname -p 192.168.0.100 -o update -n node.startup -v automatic To see your current values do: iscsiadm -m node -T yourtargetname -p 192.168.0.100 > because it is more efficient, but clearly not desirable in my case. I > need the initiator to be sure to NOT bind to the floating IP address > when connecting to the targets on it. > > I apologize in advance for my noobieness. > > Thanks for any help. > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
