- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- alternate link to vg
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2006 04:41 AM
05-22-2006 04:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2006 04:49 AM
05-22-2006 04:49 AM
Re: alternate link to vg
Having multiple paths is useful because it reduces your exposure for downtime. If you have a single path and you lose a controller, cable, fibre channel switch or any single component, then your data is no logner accessable. If you have multiple paths, then any single component failure (other than a catastrophic disk array failure) should not result in data unavailability.
If set up correctly, multiple paths to a disk / disk array can also increase throughput as you have requests flowing down multiple data channels.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2006 04:58 AM
05-22-2006 04:58 AM
Re: alternate link to vg
LVM altername links (otherwise known as 'pvlinks') provide high-availablity to a physical device. That is, should one path to a disk fail, another link (of up to eight (8), or seven (7) alternate and one primary) takes over to provide access.
LVM does not concurrently balance I/O among the primary and alternate paths, although when one has a disk array with multiple physical volumes and two or more paths (pvlinks) one does gain throughput by configuring one primary path to service half the disks from one disk controller and configuring another primary path to service the other half of the disks from a separate controller. With each controller offering an alternate link, there is no single point of failure since each alternate link can take over should its primary fail.
To configure an alternate link, simply 'vgextend' the volume group using a device path. To promote an alternate link to a primary (which is to say to switch an alternate and a primary link), 'vgreduce' the primary link and then 'vgextend' the link back in.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2006 09:41 AM
05-22-2006 09:41 AM
Re: alternate link to vg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2006 03:05 PM
05-22-2006 03:05 PM
Re: alternate link to vg
There is nothing called "Alternate link" to VG per say. I think you meant Alternate link to PV. This feature in LVM is termed "PV Link". This operates in "Active/Passive" mode Meaning, here the alternate link is used only when the primary fails. It can't be used for Load balancing scenarios.
We do not have a special command in LVM to operate on the PV links. Its only that, from the storage commands like "xpinfo" ot "inqraid" you need to find what H/W paths are alternate to each other. After compiling this list, choose one of the device file for each disk and "pvcreate" on them. Then create VG or add them to existing VG. After doing so, the sceond paths you add them using "vgextend" without performing "pvcreate" ,because the PVRA's and VGRA's are already created. Once done, you will find the output of your "vgdisplay -v" as below...
Truncated the output for better reading...
.
.
.
PV Name /dev/dsk/c6t2d2
PV Name /dev/dsk/c4t2d2 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
.
.
.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2006 07:14 PM
05-22-2006 07:14 PM
SolutionHi Sivabaskaran,
Assume that you have a storage Box with 2 controller,
and the server too has 2 HBAs..
when this BOTH are connected together,
the LUNs/Disks in the Storage will be visible to the OS thru both the HBAs and each disk will have 2 instancess,
in that one will be the promary link and other can be the alternate link to the same PV, which can be used to access the disk in case failure of the primary link.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 04:49 AM
05-23-2006 04:49 AM
Re: alternate link to vg
like
let us take c6t4d0, c7t4d0 then name of vg is vg01,
please make disk as alternate path to vg01
give some example
thanks
siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 04:53 AM
05-23-2006 04:53 AM
Re: alternate link to vg
# vgextend -n vg01 /dev/dsk/c7t4d0
now do a
# vgdisplay -v vg01
and you will see the alternate 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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 05:48 PM
05-23-2006 05:48 PM
Re: alternate link to vg
As per your example, if both c6t4d0 and c7t4d0 is pointing to one LUN via two diff paths, consider one as primary path.
lets assume you are going to create VG first time and c6t4d0 is a primary path and c7t4d0 is a alternate path.
# pvcreate /dev/rdsk/c6t4d0
# vgcreate /dev/vgname /dev/dsk/c6t4d0 (assuming u already created the vgdir and group file)
# vgextend /dev/vgname /dev/dsk/c7t4d0
# vgdisplay /dev/vgname -> it should show c7t4d0 as alternate link for this volume group.
As our gurus told already from the os point of view these alternate links are mainly for high availability.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 06:48 AM
05-24-2006 06:48 AM
Re: alternate link to vg
siva