HP 3PAR Ubuntu Operating System Implementation Guide

NOTE: In order for the parameters changes to take effect, re-run the iSCSI service after the
change.
9. Enable any other configuration changes such as CHAP authentication. For details, see “Setting
the Host CHAP Authentication on the HP 3PAR StoreServ Storage (page 16).
Configuring Ubuntu iSCSI Settings with Device-mapper Multipathing
The /etc/multipath.conf file is used by Device-mapper where the multipathing parameters
can be 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 the online documents in the /usr/share/doc/multipath-tools folder for more
information about the multipath options.
1. If a /etc/multiplath.conf file was created using multipath.conf.synthetic,
remove or comment out all entries in the /etc/multipath.conf file except for the devices
files of devices currently in use.
Edit the device structure to add entries for the HP 3PAR StoreServ Storage array and remove
other product entries that are not needed.
After all of the edits are made, the relevant sections of the /etc/multipath.conf file
should appear as follows if the HP 3PAR StoreServ Storage array to which the Ubuntu host is
connected is running HP 3PAR OS 3.1.2.MU2 or later.
defaults {
polling_interval 10
max_fds 8192
}
device {
vendor "3PARdata"
product "VV"
path_grouping_policy group_by_prio
getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
path_selector round-robin 0
path_checker tur
checker tur
features "0"
hardware_handler "1 alua"
prio alua
failback immediate
no_path_retry 18
rr_min_io 100
}
}
Issue the following commands to verify the entries of the /etc/multipath.conf file.
# multipath -v3 -d
# multipathd -k"reconfigure"
# multipathd -k"show config"
Connecting a Host Server with iSCSI 13