Having some issues with SendTargets, so I've gone with this first example (static config), and am seeing some issues with the modify.
I am running the OpeniSCSI that comes with OFED 1.3.1. Should I move to another release, maybe? /* create, no error */ # iscsiadm -m node -T iqn.1986-03.com.sun:02:aff22998-3466-4bf4- ee3c-958fd4b5d346 -p 10.8.0.6:3260 -o new New iSCSI node [tcp:[hw=default,ip=,net_if=default,iscsi_if=default] 10.8.0.6,3260,-1 iqn.1986-03.com.sun:02:aff22998-3466-4bf4- ee3c-958fd4b5d346] added /* dump the config */ # iscsiadm -m node -T iqn.1986-03.com.sun:02:aff22998-3466-4bf4- ee3c-958fd4b5d346 -p 10.8.0.6:3260 node.name = iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346 node.tpgt = -1 node.startup = manual iface.hwaddress = default iface.iscsi_ifacename = default iface.net_ifacename = default iface.transport_name = tcp node.discovery_address = <empty> node.discovery_port = 0 node.discovery_type = static node.session.initial_cmdsn = 0 node.session.initial_login_retry_max = 4 node.session.cmds_max = 128 node.session.queue_depth = 32 node.session.auth.authmethod = None node.session.auth.username = <empty> node.session.auth.password = <empty> node.session.auth.username_in = <empty> node.session.auth.password_in = <empty> node.session.timeo.replacement_timeout = 120 node.session.err_timeo.abort_timeout = 10 node.session.err_timeo.reset_timeout = 30 node.session.iscsi.FastAbort = Yes node.session.iscsi.InitialR2T = No node.session.iscsi.ImmediateData = Yes node.session.iscsi.FirstBurstLength = 262144 node.session.iscsi.MaxBurstLength = 16776192 node.session.iscsi.DefaultTime2Retain = 0 node.session.iscsi.DefaultTime2Wait = 2 node.session.iscsi.MaxConnections = 1 node.session.iscsi.MaxOutstandingR2T = 1 node.session.iscsi.ERL = 0 node.conn[0].address = 10.8.0.6 node.conn[0].port = 3260 node.conn[0].startup = manual node.conn[0].tcp.window_size = 524288 node.conn[0].tcp.type_of_service = 0 node.conn[0].timeo.logout_timeout = 15 node.conn[0].timeo.login_timeout = 15 node.conn[0].timeo.auth_timeout = 45 node.conn[0].timeo.active_timeout = 5 node.conn[0].timeo.idle_timeout = 60 node.conn[0].timeo.ping_timeout = 5 node.conn[0].timeo.noop_out_interval = 10 node.conn[0].timeo.noop_out_timeout = 15 node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072 node.conn[0].iscsi.HeaderDigest = None,CRC32C node.conn[0].iscsi.DataDigest = None node.conn[0].iscsi.IFMarker = No node.conn[0].iscsi.OFMarker = No /* now, modify the transport (tcp to iser) */ # iscsiadm -m node -T iqn.1986-03.com.sun:02:aff22998-3466-4bf4- ee3c-958fd4b5d346 -p 10.8.0.6:3260 -o update -n iface.transport_name - v iser /* no error, dump the config */ # iscsiadm -m node -T iqn.1986-03.com.sun:02:aff22998-3466-4bf4- ee3c-958fd4b5d346 -p 10.8.0.6:3260 iscsiadm: iface iter could not stat /etc/iscsi/nodes/iqn. 1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346/10.8.0.6,3260. iscsiadm: Could not execute operation on all records. Err 19. /* not sure what happened, but my "1" entry is now "-1"... with "iser" set as the transport_name */ # grep transport_name /etc/iscsi/nodes/iqn.1986-03.com.sun\: 02\:aff22998-3466-4bf4-ee3c-958fd4b5d346/10.8.0.6\,3260\,-1/default iface.transport_name = iser On Aug 17, 2008, at 1:40 PM, Mike Christie wrote: > > Jesse Butler wrote: >> >> (This could be a duplicate post, not sure. I posted Friday, but am >> not seeing it on the archive online, so resending.) >> >> Hello- >> >> We have an iSER implementation under way for Solaris, and have >> reached >> the point where we are working on Open iSCSI and OFED >> interoperability. I am starting with testing the Linux initiator >> (RHEL 5.2, OFED 1.3.1) against our Solaris iSER-enabled target, and >> I'm not getting very far. >> >> Most of our testing thusfar has been via StaticConfig discovery. I >> see that OpeniSCSI does not support this, and thus I am attempting to > > It does. You do > iscsiadm -m node -T your_target -p ip:port -o new > to create the basic config. > Then do > iscsiadm -m node -T your_target -p ip:port > to see the settings. > > Then do: > iscsiadm -m node -T your_target -p ip:port -o update -n > name_of_setting > -v value_of_setting. > > I think you will at least want to change the transport and the digest > settings for iser. > >> use SendTargets; I am running a SendTargets discovery session, and >> then logging in manually to that node (iscsiadm -l). >> >> The connection is on IPoIB between the two nodes, but once discovery >> is completed, it appears that the Linux node is configured to just >> use >> the "tcp" transport - he is not attempting to use iSER at all. >> Looking at the /etc/iscsi/nodes entry, iface.transport_name is "tcp". >> > > Run > iscsiadm -m node -T your_target -p ip:port -o update -n > iface.transport_name -v iser > > The transport_name setting may be different in different releases. We > have not got it set it yet. > > In > http://www.open-iscsi.org/bits/open-iscsi-2.0-870-rc1.tar.gz > you can just do > iscsiadm -m discovery -t st -p ip:port -I iser > > and we assume you want to use the iser transport for all portals > found. > In that release you can also pass in iser to > iscsiadm -m node -T your_target -p ip:port -I iser -o new > > And a way to avoid all this, is using the method Erez suggested and > use > the iscsi_discovery script which will do some magic probing and config > udpates for you. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
