HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migrate Packages - service guard
Operating System - HP-UX
1833785
Members
2306
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-22-2007 12:54 AM
06-22-2007 12:54 AM
Hi,
I'll migrate my packages to new servers and new cluster.
I create the procedure.
cmhaltpkg p1
vgexport -m /etc/cmcluster/mapavgp1 -s -p -v /dev/vgp1
cmhaltcl -v
rcp between the servers
vgimport -m /etc/cmcluster/mapavgp1 -s -v
vgchange, mount e IP
Test Oracle DB
umount, vgchange e IP
cmquerycl -v -C /etc/cmcluster/cmclconf.ascii -n hpxjf55 -n hpxjf65
cmcheckconf -v -C /etc/cmcluster/cmclconf.ascii Verificar o arquivo /etc/cmcluster/cmclconf.ascii
cmapplyconf -v -C /etc/cmcluster/cmclconf.ascii cmmakepkg -p /etc/cmcluster/p1/p1.conf
Copy the packages files the old packages to new cluster and start packages
cmcheckconf -C /etc/cmcluster/cmclconf.ascii -P /etc/cmcluster/p1/p1.conf
cmapplyconf -C /etc/cmcluster/cmclconf.ascii -P /etc/cmcluster/p1/p1.conf
cmrunpkg -n hpxjf55 p1
I'll migrate my packages to new servers and new cluster.
I create the procedure.
cmhaltpkg p1
vgexport -m /etc/cmcluster/mapavgp1 -s -p -v /dev/vgp1
cmhaltcl -v
rcp between the servers
vgimport -m /etc/cmcluster/mapavgp1 -s -v
vgchange, mount e IP
Test Oracle DB
umount, vgchange e IP
cmquerycl -v -C /etc/cmcluster/cmclconf.ascii -n hpxjf55 -n hpxjf65
cmcheckconf -v -C /etc/cmcluster/cmclconf.ascii Verificar o arquivo /etc/cmcluster/cmclconf.ascii
cmapplyconf -v -C /etc/cmcluster/cmclconf.ascii cmmakepkg -p /etc/cmcluster/p1/p1.conf
Copy the packages files the old packages to new cluster and start packages
cmcheckconf -C /etc/cmcluster/cmclconf.ascii -P /etc/cmcluster/p1/p1.conf
cmapplyconf -C /etc/cmcluster/cmclconf.ascii -P /etc/cmcluster/p1/p1.conf
cmrunpkg -n hpxjf55 p1
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2007 01:00 AM
06-22-2007 01:00 AM
Re: Migrate Packages - service guard
Shalom,
Nice procedure.
To actually do this with minimal downtime, the nodes intended for the new cluster are going to have to join the old one.
SEP
Nice procedure.
To actually do this with minimal downtime, the nodes intended for the new cluster are going to have to join the old one.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2007 03:08 AM
06-22-2007 03:08 AM
Solution
ON OLD CLUSTER:
# cmhaltpkg
For each VG in the package:
# vgexport -pvs -m /dev/
# vgchange -c n
# rcp *.map NEW_CLUSTER_NODE_A:/etc/lvmconf/
# rcp -pr /etc/cmcluster/ NEW_CLUSTER_NODE_A:/etc/cmcluster
ON NEW CLUSTER NODE_A:
Connect the disk array to the new cluster
# rm /etc/cmcluster//*log
# rcp -pr /etc/cmcluster/ NEW_CLUSTER_NODE_B:/etc/cmcluster
For each VG in the package, do the following on each node in the new cluster:
# mkdir /dev/
# mknod /dev//group c 64 0xUU0000 <<-- where UU is a unique minor number
# vgimport -vs -m /etc/lvmconf/.map /dev/
Insure at least 2 active networks or 1 network and 1 standby NIC are configured.
Build the cluster:
cmquerycl -v -C /etc/cmcluster/cmclconf.ascii -n hpxjf55 -n hpxjf65
vgchange -a y
cmapplyconf -v -C /etc/cmcluster/cmclconf.ascii
vgchange -a n
For each new package:
cmapplyconf -P / -f
~
~
# cmhaltpkg
For each VG in the package:
# vgexport -pvs -m
# vgchange -c n
# rcp *.map NEW_CLUSTER_NODE_A:/etc/lvmconf/
# rcp -pr /etc/cmcluster/
ON NEW CLUSTER NODE_A:
Connect the disk array to the new cluster
# rm /etc/cmcluster/
# rcp -pr /etc/cmcluster/
For each VG in the package, do the following on each node in the new cluster:
# mkdir /dev/
# mknod /dev/
# vgimport -vs -m /etc/lvmconf/
Insure at least 2 active networks or 1 network and 1 standby NIC are configured.
Build the cluster:
cmquerycl -v -C /etc/cmcluster/cmclconf.ascii -n hpxjf55 -n hpxjf65
vgchange -a y
cmapplyconf -v -C /etc/cmcluster/cmclconf.ascii
vgchange -a n
For each new package:
cmapplyconf -P
~
~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 11:24 PM
06-24-2007 11:24 PM
Re: Migrate Packages - service guard
It's Ok.
The procedure is ok.
Thanks.
The procedure is ok.
Thanks.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP