LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling primary/alternate paths under 11.31?

 
SOLVED
Go to solution
Kevin (Gonzo) Bushman
Frequent Advisor

Controlling primary/alternate paths under 11.31?

We have a NetApp for storage. We have to 11.31 systems and two SAN switches for redundancy. One switch connects to each system as the primary path and then to each of two filers in the NA (with two paths per switch for each system). The second switch for each system works as an alternate path in the event the primary switch for one system was to go down.

The problem I'm finding is that under 11.31, it is balancing the I/O load across all 4 paths (2 primary and 2 alternate). Due to the layout of the cables, we don't want to use the alternate path unless a switch is out for some reason. Can this be controlled? And if so, how?

BTW - all my VG's are set up with agile naming.
If you do nothing else in with your life, make friends with a dog.
6 REPLIES 6
Highlighted
Torsten.
Acclaimed Contributor
Solution

Re: Controlling primary/alternate paths under 11.31?

Why use the second switch as standby only?


However, the server will do round_robin per default:

# scsimgr get_attr -N /escsi/esdisk -a path_fail_secs -a load_bal_policy


You can change by using scsimgr (see manual or man page).

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!   
Highlighted
Steven E. Protter
Exalted Contributor

Re: Controlling primary/alternate paths under 11.31?

Shalom,

scsimgr lets you control the policy.

Policy impact:
round robin is easy on the system. The kernel does not need to do work to make that happen.

http://bizsupport1.austin.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=120&prodSeriesId=417289&prodTypeId=18964&objectID=c01685302

Least load requires more kernel work but has been known to provide substantial performance impact.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Highlighted
Kevin (Gonzo) Bushman
Frequent Advisor

Re: Controlling primary/alternate paths under 11.31?

We use the second switch as an alternate because we actually have two filers in the NA. The second switch is actually connected to the other filer. Which is what is causing the problem. Data going down this path goes to the second filer, goes across the back plane of the NA to the other filer, that filer serves up the data which then follows the same (longer) path back to the O/S.

What I want/need to do is turn this off or set it purely as an alternate so ALL I/O goes only down the primary path. Unless of course there's an issue with the switch, when if that is the case, it needs to down the alternate path.

Make sense?

Thanks. I'll look at scsimgr.

-G
If you do nothing else in with your life, make friends with a dog.
Highlighted
Kevin (Gonzo) Bushman
Frequent Advisor

Re: Controlling primary/alternate paths under 11.31?

Steven -

Thanks for the link. That is most helpful!

Points given.

I'll look at the links and suggestions. I knew there was a solution somehow!

-G
If you do nothing else in with your life, make friends with a dog.
Highlighted
Torsten.
Acclaimed Contributor

Re: Controlling primary/alternate paths under 11.31?

Does your array support ALUA?

In this case the server should be aware of this and adjust automatically.

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!   
Highlighted
Torsten.
Acclaimed Contributor

Re: Controlling primary/alternate paths under 11.31?

Get the complete configuration:

# scsimgr get_info -D /dev/rdisk/disk__

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!