Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Configuring OPS Clusters with MC/LockManager: > Chapter 7 Cluster and Package Maintenance

Activating a Volume Group in Shared Mode (HP-UX Commands Only)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Activation and deactivation of shared volume groups can be done through the DLM control script (runhalt.sh). If you need to perform activation from the command line, you can issue the following command from each node to activate the volume group in shared mode. (The node on which you first enter the command becomes the server node.)

# vgchange -a s -p /dev/vg_ops 

The following message is displayed:

Activated volume group in shared mode.
This node is the Server.

When the same command is entered on the second node, the following message is displayed:

Activated volume group in shared mode.
This node is a Client.
NOTE: Do not share volume groups that are not part of the OPS configuration.

Deactivating a Shared Volume Group

Issue the following command from each node to deactivate the shared volume group:

# vgchange -a n /dev/vg_ops 

Remember that volume groups remain shareable even when nodes enter and leave the cluster.

NOTE: If you wish to change the capacity of a volume group at a later time, you must deactivate and unshare the volume group first. If you add disks, you must specify the appropriate physical volume group name and make sure the /etc/lvmpvg file is correctly updated on both nodes.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1999 Hewlett-Packard Development Company, L.P.