Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 08-05-2008 Installation Manual page 297

Hide thumbs Also See for LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 08-05-2008:
Table of Contents

Advertisement

12.2.3 The iSCSI Client Databases
All information that was discovered by the iSCSI initiator is stored in two database
files that reside in /var/lib/open-iscsi. There is one database for the discovery
of targets and one for the discovered nodes. When accessing a database, you first must
select if you want to get your data from the discovery or from the node database. Do
this with the -m discovery and -m node parameters of iscsiadm. Using
iscsiadm just with one of these parameters gives an overview of the stored records:
iscsiadm -m discovery
149.44.171.99:3260,1 iqn.2006-02.com.example.iserv:systems
The target name in this example is
iqn.2006-02.com.example.iserv:systems. This name is needed for all
actions that relate to this special data set. To examine the content of the data record
with the ID iqn.2006-02.com.example.iserv:systems, use the following
command:
iscsiadm -m node --targetname iqn.2006-02.com.example.iserv:systems
node.name = iqn.2006-02.com.example.iserv:systems
node.transport_name = tcp
node.tpgt = 1
node.active_conn = 1
node.startup = manual
node.session.initial_cmdsn = 0
node.session.reopen_max = 32
node.session.auth.authmethod = CHAP
node.session.auth.username = joe
node.session.auth.password = ********
node.session.auth.username_in = <empty>
node.session.auth.password_in = <empty>
node.session.timeo.replacement_timeout = 0
node.session.err_timeo.abort_timeout = 10
node.session.err_timeo.reset_timeout = 30
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
....
To edit the value of one of these variables, use the command iscsiadm with the
update operation. For example, if you want iscsid to log in to the iSCSI target when
it initializes, set the variable node.startup to the value automatic:
iscsiadm -m node -n iqn.2006-02.com.example.iserv:systems --op=update
--name=node.startup --value=automatic
Remove obsolete data sets with the operation delete. If the target
iqn.2006-02.com.example.iserv:systems is no longer a valid record,
Mass Storage over IP Networks—iSCSI
279

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents