Configure the multipath software
To provide a redundant path to the storage array, you can configure multipath software.
You must install the required packages on your system.
-
For Red Hat (RHEL) hosts, verify the packages are installed by running
rpm -q device-mapper-multipath
. -
For SLES hosts, verify the packages are installed by running
rpm -q multipath-tools
.
If you have not already installed the operating system, use the media supplied by your operating system vendor.
Multipath software provides a redundant path to the storage array in case one of the physical paths is disrupted. The multipath software presents the operating system with a single virtual device that represents the active physical paths to the storage. The multipath software also manages the failover process that updates the virtual device.
You use the device mapper multipath (DM-MP) tool for Linux installations. By default, DM-MP is disabled in RHEL and SLES. Complete the following steps to enable DM-MP components on the host.
-
If a multipath.conf file is not already created, run the
# touch /etc/multipath.conf
command. -
Use the default multipath settings by leaving the multipath.conf file blank.
-
Start the multipath service.
# systemctl start multipathd
-
Save your kernel version by running the
uname -r
command.# uname -r 3.10.0-327.el7.x86_64
You will use this information when you assign volumes to the host.
-
Enable the
multipathd
daemon on boot.systemctl enable multipathd
-
Rebuild the
initramfs
image or theinitrd
image under /boot directory:dracut --force --add multipath
-
Use the Create host manually procedure in the online help to check whether the hosts are defined. Verify that each host type setting is based on the kernel information gathered in step 4.
Automatic Load Balancing is disabled for any volumes mapped to hosts running kernel 3.9 or earlier. -
Reboot the host.