Novell LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION Installation Manual page 292

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

Advertisement

iSNS for Linux Overview (page 283). Note that the access control for the iSNS discovery
is not supported. Just keep iSNSAccessControl no.
All direct iSCSI authentication may be done in two directions. The iSCSI target can
require the iSCSI initiator to authenticate with the IncomingUser, which can be
added multiple times. The iSCSI initiator may also require the iSCSI target to authenti-
cate. Use OutgoingUser for this. Both have the same syntax:
IncomingUser <username> <password>
OutgoingUser <username> <password>
The authentication is followed by one or several target definitions. For each target, add
a Target section. This section always starts with a Target identifier followed by
definitions of logical unit numbers:
Target iqn.yyyy-mm.<reversed domain name>[:identifier]
In the Target line, yyyy-mm is the date when this target is activated, and identifier
is freely selectable. Find more about naming conventions in RFC 3722 (see
www.ietf.org/rfc/rfc3722.txt). Three different block devices are exported
in this example. The first one is a logical volume (see also Section 7.1, "LVM Configu-
ration" (page 115)), the second is an IDE partition, and the third is an image available
in the local file system. All these look like block devices to an iSCSI initiator.
Before activating the iSCSI target, add at least one IncomingUser after the Lun
definitions. It does the authentication for the use of this target.
To activate all your changes, restart the iscsitarget daemon with rcopen-iscsi
restart. Check your configuration in the /proc file system:
cat /proc/net/iet/volume
tid:1 name:iqn.2006-02.com.example.iserv:systems
There are many more options that control the behavior of the iSCSI target. Find them
in the manual page of ietd.conf.
Active sessions are also displayed in the /proc file system. For each connected initiator,
an extra entry is added to /proc/net/iet/session:
274
Installation and Administration
Lun 0 Path=/dev/mapper/system-v3
Lun 1 Path=/dev/hda4
Lun 2 Path=/var/lib/xen/images/xen-1,Type=fileio
lun:0 state:0 iotype:fileio path:/dev/mapper/system-v3
lun:1 state:0 iotype:fileio path:/dev/hda4
lun:2 state:0 iotype:fileio path:/var/lib/xen/images/xen-1
http://

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents