beautypg.com

HP MPX200 Multifunction Router User Manual

Page 77

background image

Installing and configuring the iSCSI driver for Red Hat 5

NOTE:

The iSCSI driver package is included but is not installed by default. Install the package

iscsi—initiator—utils

during or after operating system installation.

To install and configure the iSCSI driver for Red Hat 5:
1.

Use the iscsiadm command to control discovery and connectivity:

# iscsiadm –m discovery –t st –p 10.6.0.33:3260

2.

Edit the initiator name:

# vi /etc/iscsi/initiatorname.iscsi

3.

Start the iSCSI service:

# service iscsi start

4.

Verify that the iSCSI service starts automatically:

#chkconfig iscsi on

NOTE:

For details, see the man pages for the iscsiadm open-iscsi administration utility.

Installing and configuring the iSCSI driver for Red Hat 4 and SUSE 9

NOTE:

The iSCSI driver is included with the Red Hat 4 and SUSE 9 distributions and is installed

by default. Configuration is the same for Red Hat 3 and 4 and SUSE 8 and 9.

To install and configure the iSCSI driver for Red Hat 4 and SUSE 9:
1.

Update the /etc/iscsi.conf file to include the IP address of the iSCSI target.

The configuration file might include entries like this:

DiscoveryAddress=33.33.33.101

For a detailed description of the configuration file format, enter the following command:

man iscsi.conf

2.

Manually start iSCSI services to test your configuration:

/etc/init.d/iscsi start

3.

Modify the /etc/.iscsi file to assign a meaningful name to the initiator.
For example:

InitiatorName=iqn.1987–05.com.cisco:servername.yourcompany.com

NOTE:

In most cases, you only modify the text following the colon.

If there is a problem starting the iscsi daemon, it is usually due to an incorrect IP address or an
incorrectly formatted initiator name.

Installing the iSCSI initiator for Red Hat 3 and SUSE 8

If you are upgrading from a previous version of an iSCSI driver, HP recommends that you remove
the /etc/.iscsi file before installing the new driver. For the latest version
of the Linux driver for P6000 EVA iSCSI connectivity, see:

http://sourceforge.net/projects/linux-iscsi

NOTE:

The Linux driver supports both Red Hat 3 and SUSE 8. For information on how to configure

the Linux iSCSI initiator, see the Readme file in the tar ball.

Setting up the iSCSI initiator

77