6–Boot from SAN Configuration
iSCSI Boot from SAN
89
BC0154501-00 P
15. Reboot the server, and then add the following parameters in the command
line:
rd.iscsi.firmware
rd.driver.pre=qed,qedi
(to load all drivers:
pre=qed,qedi,qede,qedf)
selinux=0
16. After a successful system boot, edit the
/etc/modprobe.d/anaconda-blacklist.conf
file to remove the blacklist
entry for the selected driver.
17. Edit the
/etc/default/grub
file as follows:
a.
Locate the string in double quotes as shown in the following example.
The command line is a specific reference to help find the string.
GRUB_CMDLINE_LINUX="iscsi_firmware"
b.
The command line may contain other parameters that can remain.
Change only the
iscsi_firmware
string as follows:
GRUB_CMDLINE_LINUX="
rd.iscsi.firmware selinux=0
"
18. Create a new
grub.cfg
file by issuing the following command:
#
grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
19. Rebuild the ramdisk by issuing the
dracut -f
command, and then
reboot.
NOTE
If the iSCSI target is on a different subnet than the initiator, update the
open-iscsi rpm
in the iSCSI BFS router setup:
1. Boot the RHEL 7.4 BFS with the same subnet.
2. Update the
open-iscsi rpm
by issuing the following commands:
#
rpm -ivh
qlgc-open-iscsi-2.0_873.112.rhel7u4-1.x86_64.rpm
-force
#
systemctl daemon-reload
#
systemctl restart iscsid
3. Verify the
iscsid
version as follows:
Iscsid -version
4. Rebuild the
initrd
image as follows:
dracut -f
5. Reboot, and then change the preboot IP to a different subnet.