HP 3PAR RedHat and Oracle Linux Implementation Guide

NOTE: Dynamic Driver Reconfiguration: Configuration changes can be made to the iSCSI
driver without having to stop it or to reboot the host system. To dynamically change the
configuration of the driver, insert the /etc/init.d/iscsi reload to the /etc/iscsi/
iscsid.conf file. This will cause the iSCSI daemon to re-read the iscsi.conf file and to
create any new Discovery Address connections it finds. Those discovery sessions will then
discover targets and create new target connections.
6. Make sure that the multipathd daemon is not running. If it is, you can stop it by running
the script /etc/init.d/multipathd stop.
# /etc/init.d/multipathd status
multipathd is stopped
7. Verify that the module iscsi_sfnet is not loaded.
# lsmod | grep iscsi_sfnet
8. Verify that the module iscsi_sfnet has been loaded.
# lsmod | grep iscsi_sfnet
iscsi_sfnet 96093 26
scsi_transport_iscsi 14017 1 iscsi_sfnet
scsi_mod 145297 7
iscsi_sfnet,lpfc,libata,cciss,qla2xxx,scsi_transport_fc,sd_mod
Configuring RHEL 4 iSCSI Settings with Device-mapper Multipathing
The /etc/multipath.conf file is used by Device–mapper where the multipathing parameters
have been set. The default installed /etc/multipath.conf file must be edited with the following
changes for a minimum configuration connecting to an HP 3PAR StoreServ Storage array. Entries
listed in multipath.conf override the default kernel parameters for dm-multipath. In general,
the kernel defaults are sufficient with the exception of the devices entries for HP 3PAR.
NOTE: See RHEL documentation of DM Multipath Configuration and Administration for additional
options in multipath.conf entries.
NOTE: See “Setting Up Device-mapper” (page 48) for the installation of the Device-mapper rpm
packages.
1. Remove or comment out all entries in the /etc/multipath.conf file except for the devices
section of devices currently in use.
2. Edit the devices structure to add entries for HP 3PAR StoreServ Storage array and remove
other product entries that are not needed.
3. Verify that the /etc/multipath.conf file contains the following content:
NOTE: The following multipath settings for the RHEL server apply regardless of the HP 3PAR
OS version running on the HP 3PAR StoreServ Storage array.
# cat /etc/multipath.conf
defaults {
}
devices {
device {
82 Configuring a Host with iSCSI