Installing iSCSI initiator software on Linux on System z

This section describes how to install the iSCSI initiator software on Linux® on System z®.

Before you begin

Ensure that you have the latest release of the initiator software from the Linux distribution vendor which supports the Storwize® V7000 system (iSCSI target).

About this task

The initiator software on Red Hat Enterprise Linux systems is packaged as iscsi-initiator-utils. The initiator software on SUSE Linux Enterprise Server systems is packaged as open-iscsi.

Procedure

  1. For Red Hat Enterprise Linux (RHEL 6)
    # rpm -qa |grep iscsi-initiator-utils  
    iscsi-initiator-utils-6.2.0.873-2.el6.s390x 
    If the package is not installed:
    #rpm -ivh <iscsi-initiator-utils rpm package>
    or
    #yum install iscsi-initiator-utils
    For SUSE Linux Enterprise Server (SLES 11)
    # rpm -qa | grep open-iscsi  
    open-iscsi-2.0.872-0.35.1 
    If the package is not installed:
    #rpm -ivh <open-iscsi rpm package> 
    or
    #zypper install open-iscsi
  2. To manage the software, use the chkconfig and service commands. The service for Red Hat Enterprise Linux systems is iscsid. The service for SUSE Linux Enterprise Server is open-iscsi. The following examples are for Red Hat Enterprise Linux and SUSE Linux Enterprise Server.
    For Red Hat Enterprise Linux (RHEL 6)
    # chkconfig | grep iscsid
    iscsid 0:off 1:off 2:off 3:off 4:off 5:off 6:off 
    
    # chkconfig iscsid on 
    
    # chkconfig | grep iscsid
    iscsid 0:off 1:off 2:on 3:on 4:on 5:on 6:off 
    
    # /etc/init.d/iscsi start
    Starting iscsi: [ OK ]
    For SUSE Linux Enterprise Server (SLES 11)
    # chkconfig --list |grep iscsi 
    open-iscsi 0:off 1:off 2:off 3:off 4:off 5:off 6:off 
    
    # insserv open-iscsi
    
    # chkconfig --list |grep iscsi 
    open-iscsi 0:off 1:off 2:off 3:on 4:off 5:on 6:off 
    
    # /etc/init.d/open-iscsi start
    Loading iscsi modules: tcp done
    Starting iSCSI initiator service: done 
    Setting up iSCSI targets: unused 
    or
    #rcopen-iscsi start
    Loading iscsi modules: tcp done
    Starting iSCSI initiator service: done
    Setting up iSCSI targets: unused
  3. Use the default settings for the iSCSI initiator.
    These settings are described in /etc/iscsi/iscsid.conf.