- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cluster re-configuration
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
10-18-2006 05:54 PM
10-18-2006 05:54 PM
Cluster re-configuration
Pre-migration
1. cmhaltcl
2. vi /etc/rc.config.d/cmcluster and set autostart_cmcld to 0
3. cmquerycl -k -v -C /etc/cmcluster/my_cluster.config -n nodeA -n nodeB
4. Backup all config in /etc/cmcluster directory
# export out all MC/SG VG
5. vgexport -m
Post-migration
From the primary node
1. mkdir /dev/
2. mknod /dev/
3. vgimport -v -m
4. vgchange -a y
5. vgchange -a n
6. Edit cluster configuration file as lock disk path has chanaged. FIRST_CLUSTER_LOCK_PV
7. cmcheckconf -k -v -C /etc/cmcluster/my_cluster.config
8. cmapplyconf -k -v -C /etc/cmcluster/my_cluster.config
9. vgcfgbackup
10. vgexport -m
11. rcp all map file to secondary node
From the secondary node
1. mkdir
2. mknod /dev/
3. vgimport -v -m
4. vgchange -a y
5. vgchange -a n
6. verify the cluster lock disk configuration
Do I miss anything?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2006 06:57 PM
10-18-2006 06:57 PM
Re: Cluster re-configuration
If you use -p option with vgexport it wont remove the vg from /etc/lvmtab file and you'll have problems importing it.
So remove -p option and rest is all good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2006 07:19 PM
10-18-2006 07:19 PM
Re: Cluster re-configuration
1. Import all VG using the map files export in the pre-migration step.
# mkdir /dev/
# mknod /dev/
# vgimport â v â m
# vgchange â a y
2. Deactivate the volume group on the primary node & copy LVM info to nodeB:
# ll /dev/vg*/group |awk '{print $6, $10}' > /tmp/gp_min.lst
# rcp /tmp/gp_min.lst nodeB: /tmp/gp_min.lst
# vgchange -a n
# vgexport -m
# rcp /tmp/
# rcp /tmp/< pv_paths > nodeB:/tmp/< pv_paths >
3. Ensure the cluster lock device should have default pv timeout value on both Node
4. Modify/edit the following parameters in the cluster configuration file as lock disk path has changed:
FIRST_CLUSTER_LOCK_PV
5. Verify the cluster configuration:
# cmcheckconf -k -v -C /etc/cmcluster/emc_cluster.config
6. Activate the cluster lock volume group (if used), and apply the cluster configuration:
# vgchange -a y /dev/
# cmapplyconf -k -v -C /etc/cmcluster/emc_cluster.config
If a cluster lock is used, back it up:
# vgcfgbackup /dev/
7. Deactivate cluster lock volume group:
# vgchange -a n /dev/
8. Start the cluster, check status, test node shutdown functionality, and halt the cluster:
# cmruncl -v
# cmviewcl -v
# cmhaltnode -v nodeA
# cmviewcl -v
# cmrunnode -v nodeA
# cmviewcl -v
# cmhaltcl -v â f
Secondary Node
1. Import the vg
# mkdir /dev/
# mknod /dev/
# vgimport -v -m /tmp/
# vgchange -a y
# vgchange -a n /dev/vgdata1
2. Ensure the cluster lock device should have default pv timeout value on both Node
3. Modify/edit the following parameters in the cluster configuration file as lock disk path has changed:
Cluster lock device (or Quorum server) for each node
4. Verify the cluster configuration:
# cmcheckconf -k -v -C /etc/cmcluster/emc_cluster.config
5. Activate the cluster lock volume group (if used), and apply the cluster configuration:
# vgchange -a y /dev/
# cmapplyconf -k -v -C /etc/cmcluster/emc_cluster.config
6. If a cluster lock is used, back it up:
# vgcfgbackup /dev/
7. Deactivate cluster lock volume group:
# vgchange -a n /dev/
8. Start the cluster, check status, test node shutdown functionality, and halt the cluster:
# cmruncl -v
# cmviewcl -v
# cmhaltnode -v nodeA
# cmviewcl -v
# cmrunnode -v nodeA
# cmviewcl -v
# cmhaltcl -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 12:36 AM
10-19-2006 12:36 AM
Re: Cluster re-configuration
It may be necessary to add the following steps:
Step 6.5
# vgchange -c n
# vgchange -a y
Step 8.5
# vgchange -a n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 12:37 AM
10-19-2006 12:37 AM
Re: Cluster re-configuration
6. Activate the cluster lock volume group (if used), and apply the cluster configuration:
# vgchange -a y /dev/
# cmapplyconf -k -v -C /etc/cmcluster/emc_cluster.config
If a cluster lock is used, back it up:
# vgcfgbackup /dev/
7. Deactivate cluster lock volume group:
# vgchange -a n /dev/
You don't need a separate vg for the cluster lock....your cmquerycl will choose a device for you...
BTW - I'm about to do the same thing this weekend on one of my clusters...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 03:59 AM
10-19-2006 03:59 AM
Re: Cluster re-configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 02:33 PM
10-19-2006 02:33 PM
Re: Cluster re-configuration
As I mentioned earlier that all device path will change so I think I need to modify the lock PV configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 02:41 PM
10-19-2006 02:41 PM
Re: Cluster re-configuration
In my cluster configuration I have only the following line
FIRST_CLUSTER_LOCK_VG /dev/vgAA1
There is no
FIRST_CLUSTER_LOCK_PV so I guess I do not nee to do the following steps in both nodes right
4. Ensure the cluster lock device should have default pv timeout value on both Node
5. Modify/edit the following parameters in the cluster configuration file as lock disk path has changed:
FIRST_CLUSTER_LOCK_PV
6. Verify the cluster configuration:
# cmcheckconf -k -v -C /etc/cmcluster/emc_cluster.config
7. Activate the cluster lock volume group (if used), and apply the cluster configuration:
# vgchange -a y /dev/
# cmapplyconf -k -v -C /etc/cmcluster/emc_cluster.config
If a cluster lock is used, back it up:
# vgcfgbackup /dev/
8. Deactivate cluster lock volume group:
# vgchange -a n /dev/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 02:53 PM
10-19-2006 02:53 PM
Re: Cluster re-configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 03:31 PM
10-19-2006 03:31 PM
Re: Cluster re-configuration
Primary Node
1. Import all VG using the map files export in the pre-migration step.
# mkdir /dev/
# mknod /dev/
# vgimport â v â m
2. Activate MC/SG VG.
2.1 If cluster daemon is running use the following command:
# vgchange â a y
2.2 If cluster daemon is not running use the following command:
# vgchange â c n
# vgchange â a y
3. Deactivate the volume group on the primary node & copy LVM info to nodeB:
# ll /dev/vg*/group |awk '{print $6, $10}' > /tmp/gp_min.lst
# rcp /tmp/gp_min.lst nodeB: /tmp/gp_min.lst
# vgchange -a n
If you have done step 2.2, you have to convert the VG back to cluster mode.
# vgchange â c y
# vgexport -m
# rcp /tmp/
# rcp /tmp/
Secondary Node
4. Import the vg using the map files copy from primary node
# mkdir /dev/
# mknod /dev/
# vgimport â v â m
Primary Node and Secondary Noe
5. Ensure the cluster lock device should have default pv timeout value on both Node.
Primary Node
6. Locate and modify the following parameters in the cluster configuration file as lock disk path has changed:
FIRST_CLUSTER_LOCK_PV
7. Verify the cluster configuration:
# cmcheckconf -k -v -C /etc/cmcluster/emc_cluster.config
8. Activate the cluster lock volume group (if used), and apply the cluster configuration:
# vgchange â c n /dev/
# vgchange -a y /dev/
# cmapplyconf -k -v -C /etc/cmcluster/emc_cluster.config
# vgcfgbackup /dev/
9. Deactivate cluster lock volume group:
# vgchange -a n /dev/
# vgchange â c y /dev/
Primary Node & Secondary Node
10. Edit /etc/rc.config.d/cmcluster and set autostart_cmcld to 0
Primary Node
11. Start the cluster, check status, test node shutdown functionality, and halt the cluster:
# cmruncl -v
# cmviewcl â v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 09:17 PM
10-19-2006 09:17 PM
Re: Cluster re-configuration
only thing is u should activate the lock volume in exclusive mode(if required).
it will work.