Operating System - HP-UX
1832604 Members
2541 Online
110043 Solutions
New Discussion

Re: Any script/tool to check multipathing of VGs to XP Array

 
Q4you
Regular Advisor

Any script/tool to check multipathing of VGs to XP Array

We are planning to upgrade the f/w on our XP1024 soon. This f/w requires one of the path to unavailable during the upgrade.

We wish to verify thro' a script that all configured VGs have multiple paths to ACP pairs ( redundant clusters). One way to verify using vgdisplay VG by VG and looking at XP output. Since we have large numbers of servers and if there is a tool/script out there which can check in one go would be a great help.

TIA,

-Q
6 REPLIES 6
melvyn burnard
Honored Contributor

Re: Any script/tool to check multipathing of VGs to XP Array

what about xpinfo?
That gives a lot of detailed information that you could use.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
RAC_1
Honored Contributor

Re: Any script/tool to check multipathing of VGs to XP Array

for i in $(ls -1d /dev/vg*)
do
vgdisplay -v ${i} | grep -i "PV Name" | awk '{print $3}') >> /tmp/disk_list
done.

for a in $(cat /tmp/disk_list)
do
pvdisplay ${a} | grep -iE "PV Name|VG Name|Alternate" >> /tmp/details
done.

Check /tmp/details file
There is no substitute to HARDWORK
Q4you
Regular Advisor

Re: Any script/tool to check multipathing of VGs to XP Array

Thanks for replies folks..I still to ensure that the PV links are actually on different Clusters on XP. when HP folks do f/w upgrade, they do on one cluster while other cluster remains active. So not only alternate links/VG but also alternate links on XP cluster to redundant.

Any more ideas ?
Doug O'Leary
Honored Contributor

Re: Any script/tool to check multipathing of VGs to XP Array

Hey;

You can check out the script I posted in this thread. That may be what you're looking for...

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=888182

HTH;

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Dave La Mar
Honored Contributor

Re: Any script/tool to check multipathing of VGs to XP Array

I hate to state the obvious, but could you not verify this at the XP?
Your scsi path assignments should verify multiple pathing.

Best of luck.

Regards,
dl
"I'm not dumb. I just have a command of thoroughly useless information."
Q4you
Regular Advisor

Re: Any script/tool to check multipathing of VGs to XP Array

Found this un-supported HP tool. it may be helpful.