Applies to:
----------------------------------------------------------------------------------------------------------------------


Operating Systems - RHEL 5.x, RHEL 6.x, OL 5.x, OL 6.x, Oracle VM 2.x
Platform - Applies to all Dell PowerEdge Servers

Goal:
----------------------------------------------------------------------------------------------------------------------


To setup the iscsi-initiator-utils.

Solution:
----------------------------------------------------------------------------------------------------------------------

The iSCSI initiator is comprised of kernel modules that come with the appropriate Enterprise Linux installation. In order to use and manage the initiator, you need to install the iSCSI utilities.

Installation of the iscsi-initiator-utils rpm package is required. To install the package you can use your Enterprise Linux DVD or a yum repository.

For the purposes of this article, we will be using our yum repository for the instllation process.

With your yum repository already setup, via the command line you must run:
# yum install iscsi-initiator-utils

Once the package has been successfully installed, the next step is to start the iSCSI service. The command to start your iSCSI service is the following:
# service iscsi start

In order to ensure that your iSCSI initiator is enabled during boot time, you must enable the service using the chkconfig command as follows:
# chkconfig iscsi on

To verify that that it was properly setup, you can run the command:
# chkconfig --list | grep iscsi
iscsi 0:off 1:off 2:off 3:on 4:on 5:on 6:off

From the above example we can see our iSCSI environment will run on boot time on run levels 3,4, and 5.