- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How does Service Guard deactivate/reactivate share...
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-13-2001 09:57 PM
11-13-2001 09:57 PM
How does Service Guard deactivate/reactivate shared volume groups.
Is the cmlvmd responsible for the mode of vg activation? ie. because that node has failed, the cmlvmd on the active node can then activate vg01 exclusively, even though it hasn't been deactivated from the failed node. If this is the case, I presume that the file system/s for the package will then have to be remounted on the new node and the fsck'd. Is this the case?
TIA,
Ash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 12:22 AM
11-14-2001 12:22 AM
Re: How does Service Guard deactivate/reactivate shared volume groups.
The logic for this should be in your control script, to be found in /etc/cmcluster/{package-name}/{control-script-name}. Towards the bottom you should see something like:
if [[ $1 = "start" ]]
then
print "\n\t########### Node \"$(hostname)\": Starting package at $(date) ###########"
activate_volume_group
check_and_mount
add_ip_address
get_ownership_dtc
customer_defined_run_cmds
start_services
# Check exit value
if (( $exit_value == 1 ))
then
print "\n\t########### Node \"$(hostname)\": Package start failed at $(date) ###########"
exit 1
else
print "\n\t########### Node \"$(hostname)\": Package start completed at $(date) ###########"
exit 0
fi
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 12:36 AM
11-14-2001 12:36 AM
Re: How does Service Guard deactivate/reactivate shared volume groups.
Correct, the package manager on the surviving node starts up the package on this node, and part of the activation is to try to activate the vg exclusively. As the other node is not available, it does not have the VG, so this gets activated, and any fs with the dirty bit set gets fscked as part of the start up script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 12:44 AM
11-14-2001 12:44 AM
Re: How does Service Guard deactivate/reactivate shared volume groups.
I believe the main trick is when you create the cluster, the Volume Groups which are configured to be controlled by ServiceGuard are marked as cluster aware (vgchange -c y. I would think that this has some form of special function to allow a VG to be activated without being deavtivated on an alternate node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 06:18 AM
11-14-2001 06:18 AM
Re: How does Service Guard deactivate/reactivate shared volume groups.
Take a Look at the thread below,
http://docs.hp.com/hpux/onlinedocs/B3936-90053/B3936-90053.html
Look for the section "Understanding MC/ServiceGuard Software Components"
You can also look at "How Package Control Scripts Work".
Hope this helps.
Regds