- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Same VG active on two machines?
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
06-29-2009 04:59 AM
06-29-2009 04:59 AM
Is it possible to have one VG active on two machines at the same time? I want to make two SG packages with access to the same LUN.
Br
Patrik
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2009 05:18 AM
06-29-2009 05:18 AM
SolutionYes if the volume group is on shared storage.
The vgchange command has -s parameter, see the man page to permit shared access.
Though the software you are using to actually access the volume group needs to be aware of this or there will be immediate data corruption.
Example Oracle server can not access data on a shared vg from two nodes without corruption.
Oracle RAC can.
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
06-29-2009 05:20 AM
06-29-2009 05:20 AM
Re: Same VG active on two machines?
If you're thinking of sharing a *filesystem* between nodes, then you would need to look at a cluster filesystem, which somes as part of the Serviceguard Storage Management Suite:
http://www.hp.com/go/sgsms
But than runs the cluster filesystem over the clustered version of Veritas Volume manager, not LVM.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2009 11:41 PM
07-01-2009 11:41 PM
Re: Same VG active on two machines?
So if the VG are on EVA LUN it can not be used at the same time from two servers?
My experience of having a VG active on two machines at the same time is that the data will be corrupt.
Br
Patrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2009 01:14 AM
07-02-2009 01:14 AM
Re: Same VG active on two machines?
For Oracle with raw LVs, the Oracle RAC has the necessary components for co-operation at the application level.
If the LUN contains a filesystem, you'll need a cluster-avare VxVM and a cluster-aware version of the vxfs filesystem, known as "Veritas CFS". The standard HP-UX LVM and basic vxfs (even with OnlineJFS) cannot do it.
These components are not free: contact HP sales to get price information.
NOTE: HP-UX 11.31 contains a Cache File System, also known as CFS. This is not the same as "Veritas CFS" clustered vxfs. This is an unfortunate acronym collision.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2009 01:52 AM
07-02-2009 01:52 AM
Re: Same VG active on two machines?
Thx for your answer.
Then it is not possible for me to do this. We use LVM and OnlineJFS.
To solve my problem i just need to make two packages with separate VG´s and duplicated data. But it is no problem with space.
Br
Patrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2009 03:52 AM
07-02-2009 03:52 AM
Re: Same VG active on two machines?
Your final approach is better.
Only way possible for two systems to be active on the same LUN at the same time is to activate the volume group in shared mode and run an application that is designed for this.
In this case, it is much better to simply have two LUNs and two volume groups.
You can for best performance make two applications active-passive with active/primary node being two different systems.
Don't forget to test fail over.
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
07-02-2009 04:11 AM
07-02-2009 04:11 AM
Re: Same VG active on two machines?
Yes your approch is right.
for example if you have 2 packages and you get the best performance then make active each package into different box.
Suraj