Users Guide

Table Of Contents
11–iSCSI Protocol
iSCSI Boot
Doc No. BC0054508-00 Rev. R
January 21, 2021 Page 126 Copyright © 2021 Marvell
To create an iSCSI boot image with “DD”:
1. Install Linux OS on your local hard drive and ensure that the Open-iSCSI
initiator is up to date.
2. Ensure that all run levels of network service are on.
3. Ensure that the 2, 3, and 5 runlevels of iSCSI service are on.
4. Update iscsiuio. You can get the iscsiuio package from the QLogic CD. This
step is not needed for SUSE 10.
5. Install the linux-nx2 package on your Linux system. You can get this
package from the QLogic CD.
6. Install the bibt package on your Linux system. You can get this package from
QLogic CD.
7. Delete all ifcfg-eth* files.
8. Configure one port of the network adapter to connect to iSCSI target (for
instructions, see “Configuring the iSCSI Target” on page 102).
9. Connect to the iSCSI target.
10. Issue the DD command to copy from the local hard drive to iSCSI target.
11. When DD is done, issue the sync command two times, log out, and then
log in to iSCSI target again.
12. Issue the fsck command on all partitions created on the iSCSI target.
13. Change to the /OPT/bcm/bibt folder and 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. The iscsi_script.sh script creates
the non-offload image only on SUSE 10 because offload is not supported on
SUSE 10.
14. Mount the /boot partition on the iSCSI target.
15. Copy the initrd images you created in Step 13 from your local hard drive to
the partition mounted in Step 14.
16. On the partition mounted in Step 14, edit the grub menu to point to the new
initrd images.
17. Unmount the /boot partition on the iSCSI target.
18. (Red Hat Only) To enable CHAP, you need to modify the CHAP section of
the iscsid.conf file on the iSCSI target. As needed, edit the
iscsid.conf file with one-way or two-way CHAP information.
19. Shut down the system and disconnect the local hard drive.
You are now ready to iSCSI boot the iSCSI target.