- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Alternate Link - MirrorDisk/UX
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
Discussions
Discussions
Discussions
Forums
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
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-06-2003 08:22 AM
тАО05-06-2003 08:22 AM
Alternate Link - MirrorDisk/UX
root@ffhpxdb3 # pvdisplay /dev/dsk/c2t6d0
Device file path "/dev/dsk/c2t6d0" is an alternate path
to the Physical Volume. Using Primary Link "/dev/dsk/c1t6d0".
--- Physical volumes ---
PV Name /dev/dsk/c1t6d0
PV Name /dev/dsk/c2t6d0 Alternate Link
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 4
Total PE 4340
Free PE 2504
Allocated PE 1836
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 08:26 AM
тАО05-06-2003 08:26 AM
Re: Alternate Link - MirrorDisk/UX
ioscan -fnC disk
lvlnboot -v
vgdisplay -v /dev/vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 08:30 AM
тАО05-06-2003 08:30 AM
Re: Alternate Link - MirrorDisk/UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 08:35 AM
тАО05-06-2003 08:35 AM
Re: Alternate Link - MirrorDisk/UX
A mirrored disk and one with an alternate link are not the same. "Alternate" links are also known as "pv_links". The alternate device file is nothing more than a different *path* to the same physical device. A mirror is a discrete device unto itself, upon which data is replicated (mirrored).
Alternate links are designated "primary" and "secondary". You can actually have up to eight alternate links which are pathways to a device. LVM uses the primary or first path declared during 'vgcreate' to perform I/O. In the event that this path fails (e.g. the cable is pulled) then the "secondary" pv_link takes over to handle the I/O. Thus, pv_links provide high-availability.
Disk mirroring in HP-UX is implemented at the logical volume level. That is, logical volumes are mirrored, not physical disks nor volume groups. Mirroring means that the data is written to physically separate media. Thus if one mirror fails, the data is available from the other. Mirroring thus, too, provides high-availablity.
If you combine mirroring *and* alternate links, then you have increased your level of high-availablity. Not only do you have a second copy of your data, but you have multiple *paths* by which you can access the data should one path fail.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 08:42 AM
тАО05-06-2003 08:42 AM
Re: Alternate Link - MirrorDisk/UX
A good overview of disk and filesystem concepts and management can be found in the "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" manual:
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 08:46 AM
тАО05-06-2003 08:46 AM
Re: Alternate Link - MirrorDisk/UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 08:58 AM
тАО05-06-2003 08:58 AM
Re: Alternate Link - MirrorDisk/UX
There is no specific documentation on PV_Links in the man pages.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 09:00 AM
тАО05-06-2003 09:00 AM
Re: Alternate Link - MirrorDisk/UX
What's the history of this server? Was it delivered this way by HP? Pull out your sales order and manifest, if purchased from a channel partner then they'll have this also.
In short, you don't need an alternate or PV link or duplicate controller which is device c2t6d0. You need another disk and the c2 controller needs to attach to it.
Run diskinfo and try to pick up the serial number:
diskinfo -v /dev/rdsk/c1t6d0
diskinfo -v /dev/rdsk/c2t6d0
Good catch though. Should be a reward from management for finding this goof. :-)
When you've got another disk, same size and part number, also see 'diskinfo', follow the mirroring a boot disk procedure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 09:05 AM
тАО05-06-2003 09:05 AM
Re: Alternate Link - MirrorDisk/UX
If your controller c1 stops working, you won't have any negative impact, the system will use controller c2
Same disk, two pathes.
Its like driving from Chicago to Madison Wisconsin.
You can take the I-94 and go through Milwaukee or you can Take the I-90 and go through cheese land.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 09:06 AM
тАО05-06-2003 09:06 AM
Re: Alternate Link - MirrorDisk/UX
Do lvlnboot -v to verify if they are really the same physical device, or not.
If you see something like this:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c3t6d0 (1/0/1/0/0/1/1.6.0) -- Boot Disk
you've got two different disks, both set to be boot disks. The second one is NOT mirrored, but it will boot in the event that the first one fails by virtue of the alternate link being established.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 10:15 AM
тАО05-06-2003 10:15 AM
Re: Alternate Link - MirrorDisk/UX
I am still wondering whay we have this config - c2t6d0 being marked on the root VG as an alternate link even if ioscan shows c2t6d0 as a separate physical disk.
Any more ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 10:46 AM
тАО05-06-2003 10:46 AM
Re: Alternate Link - MirrorDisk/UX
lifls -Cl /dev/dsk/c2t6d0
If that returns something like this:
volume ISL10 data size 7984 directory size 8 99/10/28 15:23:53
filename type start size implement created
===============================================================
ISL -12800 584 240 0 99/10/28 15:23:53
AUTO -12289 824 1 0 99/10/28 15:23:53
HPUX -12928 832 800 0 99/10/28 15:23:53
PAD -12290 1632 1700 0 99/10/28 15:23:54
LABEL BIN 3336 8 0 02/05/28 10:08:10
They the disk has the boot information on it. What might have been done is the disk setup to be a mirror of the primary boot disk, but instead of being activated as a mirror copy, it was setup as an alternate link. Whether by accident or design, I cannot say.
You big issue here is that you cannot see what is on the drive. What you can try, if you've the time and opportunity, is to boot from it if it's been setup to be a boot disk.
Power down your system. Remove the primary boot drive. Power-up the system. Interrupt the boot process and interact with the ISL. Scan for boot paths to confirm that the ISL sees the disk. If so, select that boot path and see if the system comes up. If it does, take a look at what is on the drive, and how old it is.
If that doesn't work, power the system back down, replace the boot drive, and bring it back up. You can then remove the alternage link and use the drive as a mirror disk.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 07:40 PM
тАО05-06-2003 07:40 PM
Re: Alternate Link - MirrorDisk/UX
Can you give us the mirroring steps you followed for boot disk mirrioring?
Thanks
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2004 04:57 AM
тАО03-29-2004 04:57 AM
Re: Alternate Link - MirrorDisk/UX
Please forgive me for digging up an old post...but I am curious for your answer.
Did you have a second disk or merely an alternate path along a different controller?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2004 05:09 AM
тАО03-29-2004 05:09 AM
Re: Alternate Link - MirrorDisk/UX
I was relatively "RE-Acclimatizing" back then and getting familair with HP-9000 environments. Now that I've almost a year's worth of experience with more current HP OS, software and HW (and getting better at that)... I can deduce (theorize?) the following:
c2t6d0 probably was a DD copy of the primary OS some time back. hence, it was being treated as an alternate link or PV link...
But I could be wrong...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2004 06:11 AM
тАО03-29-2004 06:11 AM
Re: Alternate Link - MirrorDisk/UX
We once did this deleberately in a lab on a server that had no alternate link just to see if we could get it working. What we did was a dd from one disk to the other.
When you do a pvcreate LVM writes a "unique" number to the disk to id it. When you do a dd from the entire disk to a second disk this id is copied. When you do a vgextend LVM will think it is an alternate link since the numbers match.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2004 06:13 AM
тАО03-29-2004 06:13 AM
Re: Alternate Link - MirrorDisk/UX
Thanks!