- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vg activation specifying one PV of the mirrors
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
11-01-2004 05:58 AM
11-01-2004 05:58 AM
vg activation specifying one PV of the mirrors
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 06:12 AM
11-01-2004 06:12 AM
Re: vg activation specifying one PV of the mirrors
I don't think you'll have to worry about it. If I understand you correctly, you have two disk arrays in two separate computer rooms. If one room loses power, the PVs should go away, but LVM should just keep going if the VG is setup properly. The PVs in the room that is down should show up as unavailable, but if they are mirrored with the second array it should just act like a disk failure.
I'm curious. What do you do for a cluster lock disk?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 06:16 AM
11-01-2004 06:16 AM
Re: vg activation specifying one PV of the mirrors
I don't see why this would be necessary. If the "other" PVs are simply mirrors the system will just cease using them once they power off. You'll get error messages but the pkg should remain up. As long as the mirror PVs are available when the pkg moves it will come up on the standby node. If they're not available then you'd have to mount the VG with "no quorum enforcement" (-q n) command which would essentially ignore them then. And I'd rather *not* automate this - I'd want to know the mirrors are not available so I could work the issue & get them back ASAP.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 06:17 AM
11-01-2004 06:17 AM
Re: vg activation specifying one PV of the mirrors
When you say you want to activate the VG just using the PV from second array. It would be possible provided the defination you create for the VG on the second server will be using just the secondary PV.
How is your sync acheived between primary and seconday PV. Is it nightly or contineous. If it is nightly, and if one array goes down, at second server, you will have to fire takeover command. By default the PV's wont be in paired state, so that shall be taken care at the array level.
the infotmation you provided is not sufficient, what is the array and how the sync happens..
Please give some more information.
If it is LVM mirror, you will have to make the VG at other array using export and import using one PV only..you will have to do this in advance, just the VG shall have the secondary PV associated with it...
Hope this helps,
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 07:06 AM
11-01-2004 07:06 AM
Re: vg activation specifying one PV of the mirrors
Dual cluster lock disks; one on each array.
Mirroring is done on the OS with Mirror/UX, so it is an LVM issue.
The problem occurs when we have downed the package on the affected system, but the UPS still has the affected array alive. If we try to start up without changing the vgchange options the package will hang. If we try to start up and change the vgchange to include "-q n -s" I don't know if the array LVM will pick will be the unaffected array? We want to minimize out production down time, and could do so if we are able to control which PV we connect to at package start up.
Make sense?
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 07:21 AM
11-01-2004 07:21 AM
Re: vg activation specifying one PV of the mirrors
You have to keep in place two package scripts, which will be normal startup and other will be without quorum startup.
Now the disk array is still on on the alternate power source.
Here you have to do some trick to exclude the another PV..
Hope this helps
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 09:24 AM
11-01-2004 09:24 AM
Re: vg activation specifying one PV of the mirrors
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 09:31 AM
11-01-2004 09:31 AM
Re: vg activation specifying one PV of the mirrors
In your package startup script activate the vg using "no-quorom".
under the section "VOLUME GROUP ACTIVATION: " in the package control script, you can set this,
VGCHANGE="vgchange -a e -q n"
these are the parameters that are used while activating the vg for the package. -q n would mean it would try to start the vg without quorum if necessary.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 12:17 AM
11-02-2004 12:17 AM
Re: vg activation specifying one PV of the mirrors
My question focuses on what to do before the affected array looses UPS power. Is there a way to activate a single PV when both sides of the mirror are still available?
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 02:15 AM
11-02-2004 02:15 AM
Re: vg activation specifying one PV of the mirrors
What's wrong with just starting the package as normal,letting the PV's fail (the LV's will continue to function) and then when power is restored, the failed PV's will be resync'd automatically? Continuing that thinking, provided you've configured Serviceguard to activate your VG's with quorum override(as others have suggested and consider that this option is designed for your type of cluster), why do you do anything? You expect half your cluster to fail but it may not, power could be restored before the UPS expires. If power is lost, Serviceguard will start your failed package on the good node and it will use only the PV's that are available. Surely this will minimise your downtime.