User Manual

Advanced Functions
5-13
RHEL5 Xen/64bit:mpath-xxx-x.x86_64xen-rhel5.rpm
SuSe10/32bit: mpath-xxx-x.i586-sles10.rpm
SuSe10/64bit: mpath-xxx-x.x86_64-sles10.rpm
If your Linux kernel cannot match the pre-built driver binaries, you may
also build the binary on your own.
Below are the source RPM packages:
RHEL5: mpath-xxx-x.src-rhel5.rpm
SuSe10: mpath-xxx-x.src-sles10.rpm
1. Install the RPM by typing rpm -ivh mpath-xxx-x.xxx-xxxx.rpm. This not
only installs the driver but also starts the multipathd service like the
procedures described for the single-controller system.
2. To build a driver binary, follow the steps below:
2.1 Type rpm -ivh mpath-xxx-x.src-xxxx.rpm to install the source code
package
2.2 Change working directory to /usr/src/packages/SPECS and type
rpmbuild -bb mpath.spec
2.3 Change working directory to /usr/src/redhat/packages/RPMS/
”your ARCH” and Type rpm -ivh mpath-xxx-x.rpm
3. Edit /etc/multipath.conf to specify the vendor names, product names,
priority callout function, and hardware handler. An example is
illustrated as below:
Uninstall and stop the multipathd service
(Redundant-Controller System)
Simply type rpm -e mpath-xxx-x
Access to multi-path devices
1. If no error message is displayed during the installation and startup of
the multipathd service, you’ve successfully started the multipathd, and
you can now go to /dev/ to find the multi-path devices, which are
named as dm-x, where x is a number assigned by the DM driver.
2. You can create partitions on /dev/dm-x using fdisk or parted
command. To access the partitions, you need also to use kpartx to
create DM devices in the /dev/.
Manage multipathd service