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

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

Advertisement

The virtual iSCSI device is now available. Find the actual device with lsscsi:
lsscsi
[1:0:0:0]
disk
IET
VIRTUAL-DISK
0
/dev/sda
12.2.2 Setting Up the iSCSI Initiator
Manually
Both the discovery and the configuration of iSCSI connections require a running iscsid.
When running the discovery the first time, the internal database of the iSCSI initiator
is created in the directory /var/lib/open-iscsi.
If your discovery is password protected, provide the authentication information to iscsid.
Because the internal database does not exist when doing the first discovery, it cannot
be used at this time. Instead, the configuration file /etc/iscsid.conf must be
edited to provide the information. To add your password information for the discovery,
add the following lines to the end of /etc/iscsid.conf:
discovery.sendtargets.auth.authmethod = CHAP
discovery.sendtargets.auth.username = <username>
discovery.sendtargets.auth.password = <password>
The discovery stores all received values in an internal persistent database. In addition,
it displays all detected targets. Run this discovery with the command iscsiadm -m
discovery --type=st --portal=<targetip>. The output should look
like:
149.44.171.99:3260,1 iqn.2006-02.com.example.iserv:systems
To discover the available targets on a iSNS server, use the command iscsiadm
--mode discovery --type isns --portal <targetip>
For each target defined on the iSCSI target, one line appears. Learn how to obtain more
information about the stored data in Section 12.2.4, "The iSCSI Client Databases"
(page 279).
The special --login option of iscsiadm creates all needed devices:
iscsiadm -m node -n iqn.2006-02.com.example.iserv:systems --login
278
Installation and Administration

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents