6–Boot from SAN Configuration
iSCSI Boot from SAN
99
AH0054602-00 J
3.
Open the
/boot/efi/EFI/redhat/grub.conf
file, make the following
changes, and save the file:
Remove
ifname=eth5:14:02:ec:ce:dc:6d
Remove
ip=ibft
Add
selinux=0
For example:
kernel /vmlinuz-2.6.32-696.el6.x86_64 ro
root=/dev/mapper/vg_prebooteit-lv_root rd_NO_LUKS
iscsi_firmware LANG=en_US.UTF-8
ifname=eth5:14:02:ec:ce:dc:6d
rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_DM
rd_LVM_LV=vg_prebooteit/lv_swap
ip=ibft
KEYBOARDTYPE=pc
KEYTABLE=us rd_LVM_LV=vg_prebooteit/lv_root rhgb quiet
initrd /initramfs-2.6.32-696.el6.x86_64.img
kernel /vmlinuz-2.6.32-696.el6.x86_64 ro
root=/dev/mapper/vg_prebooteit-lv_root rd_NO_LUKS
iscsi_firmware LANG=en_US.UTF-8 rd_NO_MD
SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_DM
rd_LVM_LV=vg_prebooteit/lv_swap KEYBOARDTYPE=pc KEYTABLE=us
rd_LVM_LV=vg_prebooteit/lv_root
selinux=0
initrd /initramfs-2.6.32-696.el6.x86_64.img
4.
Build the
initramfs
file by issuing the following command:
#
dracut -f
5.
Reboot the server, and then open the UEFI HII.
6.
In the HII, disable iSCSI boot from BIOS, and then enable iSCSI HBA or
boot for the adapter as follows:
a.
Select the adapter port, and then select
Device Level Configuration
.
b.
On the Device Level Configuration page, for the
Virtualization Mode
,
select
NPAR
.
c.
Open the NIC Partitioning Configuration page and set the
iSCSI
Offload Mode
to
Enabled
. (iSCSI HBA support is on partition 3 for a
two--port adapter and on partition 2 for a four-port adapter.)
d.
Open the
NIC Configuration
menu and set the
Boot Protocol
to
UEFI iSCSI
.
e.
Open the iSCSI Configuration page and configure iSCSI settings.
7.
Save the configuration and reboot the server.
The OS can now boot through the offload interface.