There is a new release candidate release, open-iscsi-2.0-872-rc2 here:

http://kernel.org/pub/linux/kernel/people/mnc/open-iscsi/releases/open-iscsi-2.0-872-rc2.tar.gz

(still having troubles with open-iscsi.org so it is on kernel.org).

Major changes:

--------------------
- be2iscsi support.


--------------------
- discovery mode is depreciated. The discovery db commands are now fixed to support the update command (-o update -n name -v value), but it conflicted with the old default behavior, so this releases adds a discovery2 command. With this you need to pass in the --discovery/-D command to instruct iscsiadm to do discovery. If you do not, then it will do a discovery db operation, so it behaves similar to node mode and the --login command.

To do discovery do:

# iscsiadm -m discovery2 -t st -p IP:port -D

This will create a discovery record for IP:port if not created. If there is an existing record, then iscsiadm will use the settings in there.

If you just wanted to create a discovery record do:

# iscsiadm -m discovery2 -t st -p IP:port -o new

And if you wanted to update a record setting run:

# iscsiadm -m discovery2 -t st -p IP:port -o update -n name -v setting

To see settings do:

# iscsiadm -m discovery2 -t st -p IP:port [optional to see CHAP passwords also use--show]

To see how portals were found:

# iscsaidm -m discovery2 -P 1


--------------------
- The iSNS discovery node is now fully supported and the command has been marked as stable (or actually the experimental tag was removed). The discovery command for this has changed.

To discover a target with isns do:

iscsiadm -m discovery2 -t isns -p IP:port

(the iscsid.conf setting is not supported).


You can also set things up so iscsid just does iSNS queries and logs in and out of targets based on those queries and iSNS SCNs. With this Discovery Daemon mode there is not need to run the iscsiadm isns discovery command above. iscsid will do it for you.


To set this up do:


- Create a iSNS record by passing iscsiadm the "-o new" argument in
  discovery2 mode.
# iscsiadm -m discovery2 -t isns -p 20.15.0.7:3205 -o new
New discovery record for [20.15.0.7,3205] added.

- Set the use_discoveryd setting for the record.
# iscsiadm -m discovery2 -t isns -p 20.15.0.7:3205 -o update -n discovery.isns.use_discoveryd -v Yes

- [OPTIONAL] Set the polling interval if using Microsoft or linux-isns/SLES or RHEL 5 iSNS servers:

# iscsiadm -m discovery2 -t st -p 20.15.0.7:3205 -o update -n discovery.isns.discoveryd_poll_inval -v 30

To have the new settings take effect restart iscsid by restarting the
iscsi service.


See section 7.4 of the README for more info and details.


--------------------
- There is also a SendTargets Discovery Daemon mode. It works like linux-iscsi's default mode. Again, for this, you do not have to run iscsiadm's sendtargets discovery command. iscsid will do it for you. To set this up do:

- Create a SendTargets record by passing iscsiadm the "-o new" argument in
  discovery2 mode.
# iscsiadm -m discovery2 -t st -p 20.15.0.7:3260 -o new
New discovery record for [20.15.0.7,3260] added.

- Set the use_discoveryd setting for the record.
# iscsiadm -m discovery2 -t st -p 20.15.0.7:3260 -o update -n discovery.sendtargets.use_discoveryd -v Yes

- Set the polling interval.
# iscsiadm -m discovery2 -t st -p 20.15.0.7:3260 -o update -n discovery.sendtargets.discoveryd_poll_inval -v 30

To have the new settings take effect restart iscsid by restarting the
iscsi service.

See section 7.4 of the README for more info and details.


--------------------
- 2.6.33 - 2.6.35 kernel support added.

--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@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?hl=en.

Reply via email to