- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Automatic activation of shared 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
01-26-2005 06:54 AM
01-26-2005 06:54 AM
I use shared VG (on 2 nodes) with ServiceGuard...
If i reboot an node, VG is not activated automatically ...
AUTO_VG_ACTIVATE=1 in /etc/lvmrc
how i can assure automatic VG activation in case of unwanted reboot ?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 07:00 AM
01-26-2005 07:00 AM
SolutionYour current setting will cause the shared VG's to be activated by all the nodes and will lead to data corruption.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 07:01 AM
01-26-2005 07:01 AM
Re: Automatic activation of shared VG
you need to set "AUTO_VG_ACTIVATE" to "0" in the /etc/lvmrc file in the SG env. Since SG will activate its own vg using the package control script, you do not activate the SG vg's during system reboot.
Take a look at this doc from itrc,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072570238
The itrc doc id is UMCSGKBRC00010342.
Check the section related to /etc/lvmrc.
Also take a look at this doc for detailed reasoning,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062686639
The itrc doc id is UXSGKBAN00000041.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 07:04 AM
01-26-2005 07:04 AM
Re: Automatic activation of shared VG
The package takes care of activating the VG's it requires when the package starts up on the node.
Any VG that is NOT part of a SG package needs to be added in at the custom_vg_activation portion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 01:30 AM
01-27-2005 01:30 AM
Re: Automatic activation of shared VG
I have tried this config. But Shared VG is not more active on reboot.
I need to have Active Shared VG on 2 nodes on the same time (VG server on one node and client on second node) bcause i use Oracle RAC with RAC option for SG. I dont need package.
Do i need to create package just for activate shared VG. ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 02:51 AM
01-27-2005 02:51 AM
Re: Automatic activation of shared VG
Set the cluster to auto-form when the node boots:
/etc/rc.config.d/cmcluster: AUTOSTART_CMCLD=1
(on each node).
Caveat: If one node is not running Serviceguard, the other node will not form a one-node cluster and start the package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 03:24 AM
01-27-2005 03:24 AM
Re: Automatic activation of shared VG
IMHO - I would not auto start the cluster on boot...
If a hardware failure - you will probably want to investigate prior to starting any applications - or, say you apply a pacth - which requies a reboot, or a kernel change - you may want to check system prior to starting up any applications....or you boot both boxes - but one starts up quicker then the other - your cluster may not form anyways...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 03:32 AM
01-27-2005 03:32 AM
Re: Automatic activation of shared VG
I need to have Active Shared VG on 2 nodes on the same time (VG server on one node and client on second node) bcause i use Oracle RAC with RAC option for SG. I dont need package.
<<
Thats a no no. If you try and activate a volume group containing the same disks on two machines at the same time, you will likely corrupt the data.
Serviceguard is a high availabilty system. It works like this:
Whichever node the package is running on needs to control the volume group. It activates it at start up.
Basically control of the volume group passes from node to node with the package. This is something you test when you test your cluster configuration.
You need to structure your packages for this operational format. Its the way SG works.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com