Device Mapper Multipathing (DM-Multipath) can be used for Improving the Performance and for Redundancy.So, we decided to write 5 easy steps to configure Multipath in Redhat Linux.
It allows us to configure multiple I/O paths between Servers and Storage in a single device. These I/O paths are the physical SAN connections.
So for using device mapper multipathing you need to configure it in your Redhat Linux system.
5 easy steps to configure Multipath in Redhat Linux.
Here are the Multipathing Configuration steps for Redhat Linux:
1. For configuring the Multipath in Redhat Linux the prerequesties is the device-mapper-multipath should be installed. You can verify
It by using below command that it is installed or not:
#rpm -q device-mapper-multipath
2. If it is not installed, then use the below command to install device-mapper-multipath:
#yum install device-mapper-multipath -y
3. After the installation of device-mapper-multipath, start the Configuration:
#mv multipath.conf multipath.conf.dist
#sed ‘/^#/d; /^$/d’ multipath.conf.dist > multipath.conf
Change to blacklist local hard drive only,
4. Now start the Multipath service
#service multipathd start
#chkconfig multipathd on
5. Now Verify the disk paths
That’s it… 🙂