Running the iscsiuio configuration script – HP FlexFabric 10Gb 2-port 534FLR-SFP Adapter User Manual

Page 15

Advertising
background image

Setup 15

Set up Linux iSCSI boot using remote DVD installation (on page

17

)

Set up Linux iSCSI boot using local hard drive installation

To set up Linux iSCSI boot using local hard drive installation:

1.

Install Linux OS on your local hard drive, and then verify that the open iSCSI Initiator is current.
To update iSCSI Initiator, remove the existing initiator using rpm-e.

2.

Be sure all run-levels of network service are on: chkconfig network on

3.

Be sure the 2, 3, and 5 run-levels of iSCSI service are on: chkconfig -level 235 iscsi on

4.

(Optional) Install iscsiuio ("

Running the iscsiuio configuration script

" on page

15

).

5.

(Optional) Install the linux-nx2 package.

6.

Install the bibt package.

7.

Remove all ifcfg-eth* files.

8.

Reboot the system.

9.

Configure one port of the network adapter to connect to the iSCSI target.

10.

Connect to the iSCSI target.

11.

Run the DD command to copy the local hard drive to the iSCSI target.

12.

When the DD command is complete, execute the sync command twice, log out, and then log in to the

iSCSI target again.

13.

Run the fsck command on all partitions created on the iSCSI target.
The initial installation is complete. To complete the setup, create new customized initrd images for new
and updated components.

To create initrd images for new and updated components:

1.

On the /OPT/bcm/bibt folder, run the iscsi_setup.sh script to create the initrd images. Option

0 creates a non-offload image and option 1 creates an offload image.

2.

Mount the /boot partition on the iSCSI target.

3.

Copy the newly created initrd images from the local hard drive to the mounted partition.

4.

On the mounted partition, edit the grub menu to point to the new initrd images.

5.

Unmount the /boot partition on the iSCSI target.

6.

To enable CHAP for Red Hat, modify the CHAP section of the iscsid.conf file on the iSCSI target.

Optionally, edit the iscsid.conf file with one- or two-way CHAP information.

7.

Power down system, and then disconnect the local hard drive. The iSCSI target is ready to iSCSI boot.

8.

Configure iSCSI boot parameters, including CHAP parameters as appropriate. For more information,
see "Configuring the iSCSI target (on page

6

)."

9.

Boot to the iSCSI boot image, and then select one of the new images (non-offload or offload). The image
should correspond to the iSCSI Boot Parameters section. If HBA Boot Mode is enabled in the iSCSI boot

parameters, boot the offload image. SLES 11 does not support offload.

Running the iscsiuio configuration script

As an optional step for a local hard drive setup of Linux iSCSI boot, run the iscsiuio script version 0.7.0.1b

or later.
Linux kernel dependencies include the following:

Advertising