diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-03-14 12:12:13 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2008-03-14 12:12:13 -0500 |
commit | 421d351674d309d35adcd534a343aa09c08d3e91 (patch) | |
tree | 55aefa3604857af9c48b75a05e832d0bc509f9d5 /README | |
parent | 6bd2e30b9a835cb54d4fd539c97f79efe9d70a7a (diff) | |
download | open-iscsi-421d351674d309d35adcd534a343aa09c08d3e91.tar.gz |
sync up README and iscsi.conf comments about node.startup
Since we do not support MCS, we just want to use the node.startup
setting. We still support node.conn[0].startup for compat reasons.
Diffstat (limited to 'README')
-rw-r--r-- | README | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -4,7 +4,7 @@ ================================================================= - Feb 21, 2008 + Mar 14, 2008 Contents ======== @@ -259,11 +259,11 @@ Usage: iscsiadm [OPTION] Stats prints the iSCSI stats for the session. -m node --logoutall=[all|manual|automatic] Logout "all" the running sessions or just the ones - with a node or conn startup value manual or automatic. + with a node startup value manual or automatic. Nodes marked as ONBOOT are skipped. -m node --loginall=[all|manual|automatic] Login "all" the running sessions or just the ones - with a node or conn startup value manual or automatic. + with a node startup value manual or automatic. Nodes marked as ONBOOT are skipped. -m session display all active sessions and connections -m session --sid=[sid] [ --print=level | --rescan | --logout ] @@ -845,16 +845,16 @@ Note: this may only work for distros with init scripts. To automate login to a node, use the following with the record ID (record ID is the targetname and portal) of the node discovered in the discovery above: - iscsiadm -m node -T targetname -p ip:port --op update -n node.conn[0].startup -v automatic + iscsiadm -m node -T targetname -p ip:port --op update -n node.startup -v automatic To set the automatic setting to all portals on a target through every interface setup for each protal, the following can be run: - iscsiadm -m node -T targetname --op update -n node.conn[0].startup -v automatic + iscsiadm -m node -T targetname --op update -n node.startup -v automatic -Or to set the "node.conn[0].statup" attribute to "startup" as default for +Or to set the "node.startup" attribute to "startup" as default for all sessions add the following to the /etc/iscsi/iscsid.conf: - node.conn[0].startup = automatic + node.startup = automatic Setting this in iscsid.conf, will not affect existing nodes. It will only affect nodes that are discovered after setting the value. |