HP 3PAR SUSE Linux Enterprise Implementation Guide

Starting the iSCSI Daemon for SUSE
You can use either the various open-iSCSI utilities available from the CLI or YAST to configure and
start open-iSCSI on SUSE. This document refers to the open-iSCSI CLI utilities.
To start the open-iSCSI, complete the following steps:
1. Run the init script that is installed when the open-iSCSI rpm packs located at
etc/init.d/open-script”:
# /etc/init.d/open-iscsi start
2. Check state of the iSCSI service run level information with the chkconfig command.
# chkconfig --list | grep iscsi
iscsi 0:off 1:off 2:off 3:off 4:off 5:on 6:off
3. Check your system run level.
# runlevel
N 5
4. Verify that the module is loaded.
# lsmod | grep iscsi_tcp
iscsi_tcp 39808 2
libiscsi 42496 1 iscsi_tcp
scsi_transport_iscsi 46608 3 iscsi_tcp,libiscsi
scsi_mod 168888 12
sg,st,sr_mod,iscsi_tcp,libiscsi,scsi_transport_iscsi,ahci,libata,qla2xxx,scsi_
transport_fc,cciss,sd_mod
Creating the iSCSI Connection in SUSE Using the iscsiadm Command
After connecting the host to the HP 3PAR StoreServ Storage iSCSI target port, use the iscsiadm
command to create the iSCSI connection, complete following steps:
1. Discover the target node using the iscsiadm command in discovery mode:
iscsiadm -m discovery -t sendtargets -p <target ip address>:<iscsi
port>.
For example:
# iscsiadm -m discovery -t sendtargets -p 10.100.0.101:3260
10.100.0.101:3260,31 iqn.2000-05.com.3pardata:20310002ac000079
After running this command, a database file will be created for the new node in the /etc/
iscsi/nodes/ iqn.2000-05.com.3pardata:20110002ac0001a6/ directory that
contains the iSCSI configuration parameters for that node.
2. To view the contents of the database file, issue the iscsiadm --mode node command.
For example:
# iscsiadm --mode node
10.102.2.2:3260,31 iqn.2000-05.com.3pardata:20310002ac0000b1
10.103.3.3:3260,131 iqn.2000-05.com.3pardata:21310002ac0000b1
40 Configuring a Host with iSCSI