- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing the cluster lock volume group and dis...
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-23-2006 02:12 AM
06-23-2006 02:12 AM
1. vgexport oldclvg
2. create the newclvg with the new cluster lock disk.
3. vgimport newclvg on adoptive node
3. Edit the cluster.ascii file with the newclvg and new disk device.
4. cmhaltpkg "packages"
5. cmhaltcl
6. vgchange -a y /dev/newclvg from one of the nodes.
7. cmapplyconf -k -v -C cluster.ascii
8. vgchange -a n /dev/newclvg
9. cmruncl
10. cmrunpkg "packages"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 02:22 AM
06-23-2006 02:22 AM
SolutionIn this case, my approach would be to let the cluster itself suggest a lock disk for me.
# cd /etc/cmcluster
# cmquerycl -v -C new.cluster -n node1 -n node2 -n ...
Edit the new.cluster to make sure it detected soem other VG as the cluster VG and PV
# cmcheckconf -v -C new.cluster
# cmhaltcl -f
# cmapplyconf -v -C new.cluster
# cmruncl -v
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 02:28 AM
06-23-2006 02:28 AM
Re: Changing the cluster lock volume group and disk
procedure:
PROCEDURE:
1) Locate the cluster ASCII file. If it's whereabouts is unknown, recreate
it on one of the nodes in the cluster:
# cd /etc/cmcluster
# cmgetconf cluster.ascii
2) Insure the cluster.ascii reflects the current hardware and network
configuration:
# cmcheckconf -C cluster.ascii
If this command fails, the cluster.ascii may be out-dated. Either correct
the problem, or dissolve (cmdeleteconf -f) the current cluster and
create a fresh cluster.ascii.
Example:
# cmhaltcl -f
# cmdeleteconf -f
# cmquerycl -C cluster.ascii -n
3) Locate the FIRST_CLUSTER_LOCK_VG and FIRST_CLUSTER_LOCK_PV references in
the cluster.ascii file.
4) If the FIRST_CLUSTER_LOCK_VG reference will be changed, and it is a new
volume group for the cluster, insure that each node can see the same set
of disks for that volume group. See /etc/lvmtab on each node.
Then add the volume group name to the cluster.ascii file. Example:
VOLUME_GROUP /dev/vg03
j) Update the FIRST_CLUSTER_LOCK_VG reference and/or FIRST_CLUSTER_LOCK_PV
references in the file.
6) When a maintenance window arrives, halt the cluster:
# cmhaltcl -f
7) Activate the cluster lock VG. NOTE: If the lock VG is already owned
by the cluster, it must first be "declustered" before it can be
activated. Example:
# vgchange -c n vg03
# vgchange -a y vg03
8) Use the cmapplyconf command now. This command performs both a
cmcheckconf validation of the cluster.ascii file, and then updates and
distributes the cluster binary file:
# cmapplyconf -f -C cluster.ascii
Begin cluster verification...
Modifying node
Modifying node
It should not be necessary to delete the cluster (cmdeleteconf) prior to changing the cluster lock volume group or disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 03:32 AM
06-23-2006 03:32 AM
Re: Changing the cluster lock volume group and disk
A much cleaner approach would be to install a Quorum Server for your network. This works really wonderful. It's so small, that if you had a problem with the host that it's configured on, you could easily install it on another host and configure the IP (if it's in the same subnet). The Quorum server is free (as you probably know) and you can download it from software.hp.com
There is a catch tho, you cannot change the IP address of the Quorum server without taking down your clusters (You can move it to another machine, just in the same subnet - online).
You could then use the Quorum Server for your other clusters aswell.
Kind Regards,
David.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 04:08 AM
06-26-2006 04:08 AM
Re: Changing the cluster lock volume group and disk
to obtain current asci, run cmgetconf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 01:17 AM
06-27-2006 01:17 AM
Re: Changing the cluster lock volume group and disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 02:48 AM
06-27-2006 02:48 AM