Operating System - HP-UX
1748136 Members
3791 Online
108758 Solutions
New Discussion юеВ

Re: Changing VG primary path

 
SOLVED
Go to solution
Torsten.
Acclaimed Contributor
Solution

Re: Changing VG primary path

You sort it by vgreduce/vgextend, pvchange will chenge it temporary only.

But as a long term solution you should go to hp-ux 11.31 with a real load balacing ...

For the moment make sure you keep both controllers busy, not only a single controller.

 

 

The tool "evainfo" can help you to find out what path belongs to what controller, you will find the tool as part of P6000 Command View at software.hp.com.

 

Example from the webpage:

 

# ./evainfo -a -p

Devicefile                       Array                       WWNN              Capacity        Controller/Port/Mode

/dev/rdisk/disk5165      5000-1FE1-5002-E1B0 6005-08B4-0010-2AB1-0000-F000-0053-0000 
10240MB       Ctl-B/FP-2/NonOptimized
/dev/rdsk/c232t15d7     5000-1FE1-5002-E1B0 6005-08B4-0010-2AB1-0000-F000-0053-0000
10240MB       Ctl-A/FP-1/Optimized
/dev/rdsk/c233t15d7     5000-1FE1-5002-E1B0 6005-08B4-0010-2AB1-0000-F000-0053-0000
10240MB       Ctl-B/FP-2/NonOptimized
/dev/rdsk/c230t15d7     5000-1FE1-5002-E1B0 6005-08B4-0010-2AB1-0000-F000-0053-0000
10240MB       Ctl-A/FP-1/Optimized
/dev/rdsk/c231t15d7     5000-1FE1-5002-E1B0 6005-08B4-0010-2AB1-0000-F000-0053-0000
10240MB       Ctl-B/FP-2/NonOptimized

 

 

 

Since the EVA is an ALUA device, you can see 2 pathes to controller A as OPTIMIZED, 2 to controller B as NonOptimized (standby).


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
kurt_karl
Occasional Advisor

Re: Changing VG primary path

That's my concern Torsten. I'm afraid if I run the vgreduce on some of our vg's it will end up using the same controller. Since most of our vg's when we look up the Alternate links they all end up having the same path on the first Alternate link. So once we are done with the load balancing they might end up again using the same primary path because of the Alternate links. But how would you know which path uses which controllers? is there a command line for this? thank you
Torsten.
Acclaimed Contributor

Re: Changing VG primary path

I added the info to my previous post.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
kurt_karl
Occasional Advisor

Re: Changing VG primary path

Thank for the quick response Torsten. I dont have that software installed. I will try to install one today if I can but one quick question if you wont mind. If you say "You sort it by vgreduce/vgextend" what do you mean by this? does it mean that I have to do several vgreduce comands on the same vg until I get the right Alternate link from the list that I want to be our new Primary link then add those missing links back using vgextends?
Torsten.
Acclaimed Contributor

Re: Changing VG primary path

>> does it mean that I have to do several vgreduce comands on the same vg until I get the right Alternate link from the list that I want to be our new Primary link then add those missing links back using vgextends?

Exactly.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!