System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set up alternate disk (alternate link) to a PV in VG

SOLVED
Go to solution
senthil_kumar_1
Super Advisor

How to set up alternate disk (alternate link) to a PV in VG

Hi All,

I found that in one of my HPUX server, one VG is having a PV with alternate links.

For example:

--- Physical volumes ---
PV Name /dev/dsk/c6t1d1
PV Name /dev/dsk/c5t0d1 Alternate Link
PV Status available
Total PE 17005
Free PE 0



My Questions:

1)What is the purpose of this?

2)How it is configured?
5 REPLIES
Torsten.
Acclaimed Contributor
Solution

Re: How to set up alternate disk (alternate link) to a PV in VG

This is a LUN of an array.

To an array you usually have more than one path.



You (simply) identify the second path and use "vgextend" to add it as an alternate link.

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!   
Benoy Daniel
Trusted Contributor

Re: How to set up alternate disk (alternate link) to a PV in VG

Its the same LUN but represented through different path. In case of primary Link failure, the Lun is still accessible through alternate path.
Torsten.
Acclaimed Contributor

Re: How to set up alternate disk (alternate link) to a PV in VG

This also depends on the OS version and multipathing software in use.

With 11.31 or additional software in previous releases the load is balanced between the other pathes.

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!   
Ismail Azad
Esteemed Contributor

Re: How to set up alternate disk (alternate link) to a PV in VG

Hi,

This depends on what version you are using as said before. Traditionally this was the concept of something called as PV links which meant that there was dual cabling but load is always transmitted only through one path. The concept of PV links and switchover has been outdated and is deprecated with the design of the new mass storage stack as multipathing is native to 11.31 which distributes I/O load accross all paths by default in a round robin fashion. And I think the other forumers have already answered the question how is it configured?

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Alzhy
Honored Contributor

Re: How to set up alternate disk (alternate link) to a PV in VG

Senthil,

Do a:

diskinfo /dev/rdsk/c6t1d1 (note the r)

it will give you the type of multipathed Disk (which is usually an external HW based Array disk -- SAN these days)

If it is an EVA disk, you can use evainfo utility to find out the other "device paths" of the same disk which can serve as either primary PV or alternate PV. You need to have as many alternate PVs (or PVLINKs) as you have paths to the same disk.

If you are using XP disk, then xpinfo will give you the information to find out what the other "device paths" are.

On HP-UX 11.31, there is what is called Agile or persistent device naming where:

/dev/dsk/diskNN *already* is your PVlinked, multipathed/ load balanced disk and where there is no more need to designate "alternate paths"

Hakuna Matata.