Operating System - HP-UX
1833863 Members
2277 Online
110063 Solutions
New Discussion

Re: Data Migration using Mirror/UX in a cluster environment.

 
Fan Jiang
Occasional Advisor

Data Migration using Mirror/UX in a cluster environment.

Hi All,

I want to use Mirror/UX to migrate VGs which have SG packages running to a new set of disks which are already seen by both nodes. Can I mirror the VGs while the cluster and packages are online? What are the steps shall I follow?

Thanks in advance.
2 REPLIES 2
Geoff Wild
Honored Contributor

Re: Data Migration using Mirror/UX in a cluster environment.

Yes you can - as long as you have room in the vg's for more pv's.

Just vgextend in the new disks, setup mirroring, then remove the old disks by breaking them out of the mirror, then vgreduce the old disks.

You will have to re-vgimort on the alternate node though.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Marco Santerre
Honored Contributor

Re: Data Migration using Mirror/UX in a cluster environment.

Hi,

in short, you can mirror your VG inside your package anytime you want to while both your cluster and package are up. You can even break your mirrors and remove them from your VG altogether BUT... oh yes there had to be a but.. don't forget a couple of things. First thing to remember : Now your VG(s) will have a different set of disks, therefore if your package fails over, it needs to know that, so you'll have to re-import the VG(s) on your secondary node. Second thing to remember : If you're using a two-node cluster, you are using a cluster lock disk, if you migrate that disk, than you'll need to stop your cluster, and modify it in order to represent the new cluster lock disk, so be very careful with that one.
Cooperation is doing with a smile what you have to do anyhow.