Operating System - Linux
1745847 Members
4509 Online
108723 Solutions
New Discussion юеВ

Re: Check the multipath - RHL 5X

 
JaYKaY_1
Advisor

Check the multipath - RHL 5X

How to test the multi path with commands
6 REPLIES 6
bullz
Super Advisor

Re: Check the multipath - RHL 5X

multipath -l

try for this, if some utility is installed,

try for this too

sanlun lun show
Kapil Jha
Honored Contributor

Re: Check the multipath - RHL 5X

what you need to check if multipath software is there or is it working

#multipath -ll
would show you the multipath names.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
FLQ
Valued Contributor

Re: Check the multipath - RHL 5X

Hi Jishanth,

do you mean testing if multipathing is working or if the software is installed?
Rockstar
Advisor

Re: Check the multipath - RHL 5X

If you need to check the various command line options for multipath then you can use the command

multipathd -k

You would get a multipath shell as shown below, press enter to get the various options to manage and list the various multipath controlled devices.

multipathd>

JaYKaY_1
Advisor

Re: Check the multipath - RHL 5X

I want to make sure that the MP is installed and its working fine.

EX: i have two luns, which shows 4 paths each.
how do i check multi path is consfigured properly.
FLQ
Valued Contributor

Re: Check the multipath - RHL 5X

Hi Jishanth,

If you have results after you run this command "multipath -ll", it means that it's installed.

It should show that all 4 paths are "active"

Now if you have 4 paths on your LUN's, I suppose you have 2 FC cards with 2 paths each to your LUN's.

Next pull the fiber from one the card and re-run "multipath -ll". You should see 2 paths "failed".

Also, after pulling the plug, verify that you still have access to your data ;-)

Plug in the cable again and re-run "multipath -ll" to check if all 4 paths are "active".

Rinse and repeat for all FC cards.

That should do the trick to validate that your multipathing setup is fault tolerant.