- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Getting rid of MC /ServiceGuard
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
09-21-2004 10:35 PM
09-21-2004 10:35 PM
Getting rid of MC /ServiceGuard
we're "under"-using MC / ServiceGuard ...
we use just a reduced subset of its functionalities then we'll replace it by some proprietary codes.
Now we've to implement the vgchange -e (mount exclusive) provided by MC / SG;
it's rather a difficult task.... we have to implement a "lock manager" on distributed systems, taking into account that one node may be isolated from the IP viewpoint even if it can mount the shared storages.
Can anyone help me? any suggestions on how to approach the problem? any available free software?
thanks a lot
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 12:35 AM
09-22-2004 12:35 AM
Re: Getting rid of MC /ServiceGuard
...I'm not certain what your goal is here....
Are you implementing the lock disk that would be required if you have 4 or less nodes ? -or- do you have more than 4 nodes involved in your distributed systems ?
...and I wonder what you mean by "isolated from the IP viewpoint".....because each cluster must be within the same subnet (with the exception of the heartbeat, which is usually it's own private world).
Seems to me, what your trying to do is re-write MC/SG into your own version of it. Getting disks that can be 'seen' by other nodes is not a big trick to bring up on other server. But automating the failover is where MC/SG proves it's worth.
Best Wishes on your endeavor...I apologize if I have misinterpreted your goal...but..I'll stick with the original.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 12:54 AM
09-22-2004 12:54 AM
Re: Getting rid of MC /ServiceGuard
* I want to NOT use MC/SG anymore
* I need a lock manager to arbitrate the mounting / dismounting of the shared disks
How can I easily implement the shared disks manager?
thanks a lot
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 01:08 AM
09-22-2004 01:08 AM
Re: Getting rid of MC /ServiceGuard
You will NOT be able to do a vgchange -e (only available with MC/SG).
That said, you could write a script that checks the output of a vgdisplay on the other node - if false, then allow the current node to vgchange -a y the vg and mount. You will still have to set AUTO_VG_ACTIVATE=0 in /etc/lvmrc so as to not automatically mount the "shared" vg.
This does NOT guarantee that someone trys to vgchange -a y on the other node when it is already mounted on current node. IMHO - you still run the risk of data corruption....
To prevent that, you would have to write a wrapper script for vgchange and mount....etc...etc...
If you really want to "ditch" MC/SG :( you might want to go all the way to Linux....
http://www.ram.org/computing/linux/linux_cluster.html
Rgds...Geoff

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 02:13 AM
09-22-2004 02:13 AM
Re: Getting rid of MC /ServiceGuard
It will be a complex job to implement this at a kernel level and would not be supported if you chose to do so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 02:24 AM
09-22-2004 02:24 AM
Re: Getting rid of MC /ServiceGuard
Some lock manager via IP or something else?
can we rely on the disks themselves to know who is using them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 12:44 AM
09-23-2004 12:44 AM
Re: Getting rid of MC /ServiceGuard
But I don't know how many disks, vg's, or boxes are in this equation. If you are talking 5 disks and 2 boxes. This is easy. If you are talking 100 disks and 3 boxes, you can do it too. You quadruple check what you're doing before you run vgchange.
I have 3 boxes and about 100 disks in an EMC disk array. I have a manual failover policy. I have perl scripts, reports, and spreadsheets to help me make sure I can move disks from one box to another. I know that /dev/dsk/c7t8d5 on box1 is /dev/dsk/c2t8d5 on box2. I know when the disk is active on box1, I leave it alone on boxes 2 and 3.
I use the -s option when creating vgname.map files.
When booting up, I don't have MC/Service guard enabled. I update file /sbin/init.d/extramount instead for the volume groups I would move from one box to another.
Hope some of this is applicable to your question. And I hope I am not leading you the wrong way.
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 12:49 AM
09-23-2004 12:49 AM
Re: Getting rid of MC /ServiceGuard
Serviceguard employs a daemon, cmlvmd, which uses Serviceguards' inter-node communication to track "exclusive" VG activation across nodes in the cluster. The vgchange command is 'wired' to consult cmlvmd for authorization to activate volume groups which have a cluster ID embedded in the VGDA (LVM structures on disk). The disks don't know which server is reading/writing to them.
As you can see, duplicating these safeguards is no minor task.
-StephenD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2004 09:56 AM
09-24-2004 09:56 AM