Appendix C: Multipathing on Linux
391
Installing Packages
The easiest and most effective way to install the device mapper and multipath
tool is during OS installation. The device mapper installs by default, regardless
of the configuration you select. However, you must manually specify the
multipath tool, as it does not install as a part of any of the configurations of
either OS. The multipath tool is listed as an option under Base System.
For hosts with the OS already installed, you can add the device mapper and
multipath tool, if they are missing.
Example To add the multipath tool for RHEL 5.x, do the following actions:
1. Open a terminal window.
2. Type the following command and press Enter:
# rpm -ivh device-mapper-multipath-0.4.7-8.el5.i386.rpm
The system returns the following lines:
Preparing... ##################### [100%]
1:device-mapper-multipath##################### [100%]
#
(or a similar message)
Verifying Packages – RedHat
To verify that the required packages are installed on the host, do the following
actions:
1. Open a terminal window.
2. Type the following command and press Enter:
# rpm -qa | grep device-mapper
If the required packages are present, the system returns the following lines.
RHEL 5:
device-mapper-1.02.13-1.el5
device-mapper-multipath-0.4.7-8.el5
Important
Where possible, obtain the device mapper and multipath tool from
the original installation CDs to ensure full compatibility with your
existing OS. Refer to your OS documentation for more
information.