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

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

Advertisement

cat /proc/net/iet/session
tid:1 name:iqn.2006-02.com.example.iserv:system-v3
sid:562949957419520
initiator:iqn.2005-11.de.suse:cn=rome.example.com,01.9ff842f5645
cid:0 ip:192.168.178.42 state:active hd:none dd:none
sid:281474980708864 initiator:iqn.2006-02.de.suse:01.6f7259c88b70
cid:0 ip:192.168.178.72 state:active hd:none dd:none
12.1.3 Configuring Online Targets with
ietadm
When changes to the iSCSI target configuration are necessary, you always must restart
the target to activate changes that are done in the configuration file. Unfortunately, all
active sessions are interrupted in this process. To maintain an undisturbed operation,
the changes should be done in the main configuration file /etc/ietd.conf, but
also made manually to the current configuration with the administration utility ietadm.
To create a new iSCSI target with a LUN, first update your configuration file. The ad-
ditional entry could be:
Target iqn.2006-02.com.example.iserv:system2
Lun 0 Path=/dev/mapper/system-swap2
IncomingUser joe secret
To set up this configuration manually, proceed as follows:
1 Create a new target with the command ietadm --op new --tid=2
--params Name=iqn.2006-02.com.example.iserv:system2.
2 Add a logical unit with ietadm --op new --tid=2 --lun=0
--params Path=/dev/mapper/system-swap2.
3 Set the username and password combination on this target with ietadm --op
new --tid=2 --user
--params=IncomingUser=joe,Password=secret.
4 Check the configuration with cat /proc/net/iet/volume.
It is also possible to delete active connections. First, check all active connections with
the command cat /proc/net/iet/session. This may look like:
Mass Storage over IP Networks—iSCSI
275

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents