- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migrate lock disk to another storage EMC.
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
03-06-2012 01:34 PM - edited 03-06-2012 01:36 PM
03-06-2012 01:34 PM - edited 03-06-2012 01:36 PM
Migrate lock disk to another storage EMC.
Hi guys, I have a plan to migrate all my VG's and packages to other storage EMC, but I still have some doubts about the disk lock.
Here the scenario:
2 nodes and 1 package.
HP-UX 11 v1
Service Guard 11.16
Here my procedure, but I am not sure if it is the best away to follow. If you can give your opinions I appreciate that.
1- halt the cluster
2- pvcreate /dev/rdsk/cxxtxdx (New disk from new EMC storage).
3- vgchange -a y /dev/vglock
4- vgextend /dev/vglock /dev/dsk/cxxtxdx (New disk from new EMC storage).
5- vgreduce /dev/vglock /dev/dsk/cxxtxdx (Old disk from old EMC storage)
6- vgchange -a n /dev/vglock
7- vgexport –p –v –s -m /tmp/vglock.maps /dev/vglock
8- scp –p /tmp/vglock.maps node2:/tmp/
9- on node2, vgexport /dev/vglock
10- on node2, mknod c 64 0xXX0000 /dev/vglock/group
11- on node2, vgimport –v –s –m /tmp/vglock.maps /dev/vglock.
12- cmcheckconf –v –C Cluster.ascii --- cmapplyconf –v –C Cluster.ascii (Update the cluster binary file)
13- vgchange -a n vglock (deactivate the lock VG, and start the cluster)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012 02:27 AM
03-07-2012 02:27 AM
Re: Migrate lock disk to another storage EMC.
Hi:
Use of an LVM Lock Disk as the Cluster Lock.
A lock disk may be used for clusters up to and including four nodes in size. The cluster lock disk is a special area on an LVM disk located in a volume group that is shareable by all nodes in the cluster. When a node
obtains the cluster lock, this area is marked so that other nodes will recognize the lock as “taken.”
The lock disk is not dedicated for use as the cluster lock; the disk can be employed as part of a normal volume group with user data on it. The cluster lock volume group and physical volume names are identified in
the cluster configuration file.
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02056246/c02056246.pdf
Cluster.Ascii:
FIRST_CLUSTER_LOCK_VG /dev/vgapp1
NODE_NAME node1
FIRST_CLUSTER_LOCK_PV /dev/dsk/xxxxxxx
NODE_NAME node2
FIRST_CLUSTER_LOCK_PV /dev/dsk/zzzzzz
Apply new configuration.
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012 03:15 AM
03-07-2012 03:15 AM
Re: Migrate lock disk to another storage EMC.
To add to..
Make sure you are updating the latest cluster configuration ascii file with the new Lock disk details.
Use the cmgetconf command to get the current cluster configuration from the cluster binary.
Example:
To generate the cluster configuration file for clusterA, and store the information in clusterA.conf, do the following:
# cmgetconf -c clusterA clusterA.conf
Update the Cluster Lock VG and PV entries in ClusterA.conf and then run cmapplyconf to reapply the cluster binary.
Pradeep
I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details