Operating System - HP-UX
1753695 Members
6098 Online
108799 Solutions
New Discussion юеВ

Re: Data Migration from Old storage to new storage

 
Rohak
Advisor

Data Migration from Old storage to new storage

We are using VxVM with VCS. Could you please let me know how to migrate data from one array to other array with mirroring. Provide good example and let me know about fencedg also and volume are concat.
6 REPLIES 6
Kapil Jha
Honored Contributor

Re: Data Migration from Old storage to new storage

I suppose best way is to present the new LUNs to server, add them to vg, mirror all plexes and then detach old plexes and remove the old disks.
should be the approch.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Basheer_2
Trusted Contributor

Re: Data Migration from Old storage to new storage

Hello Rohak,



I did this with LVM. I hope this will also work for VXVM.

Verify you have the latest patches installed

servera has 2 HBA's
1 HBA is connected to SANA and 2nd one to SANB.

Assume the host sees both the SANs.

SANB
create vdisks and present to host.


vgextend /dev/vg01 new-vdisk-from-SANB.
lvextend -m 1 /dev/vg01/lvol1 new-vdisk

repeat for all lvols in vg01

verify mirroed
lvdisplay -v /dev/vg01/lvol1
should list PV1 and PV2 and state as CURRENT.
or
pvdisplay newdisk (STALE PE count = 0)

once the mirroring is done.

you can now break the mirror from the old SAN.

lvextend -m 0 /dev/vg01/lvol1 old-disk
repeat for all lvols
vgreduce /dev/vg01 old-disk



all of this can be done online, when the traffic is the least.

Rita C Workman
Honored Contributor

Re: Data Migration from Old storage to new storage

Some time back I did a host based migration between arrays. There may be something in this old thread that could help you.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1269954936446+28353475&threadId=51818

Regards,
Rita
Chandrahasa s
Valued Contributor

Re: Data Migration from Old storage to new storage

You can mirror old storage disks to new one,later you need to remove old san strogae disks from vg.

If your new san disks larger in size you need to extend each lv as per your requirement.

Chandra
Rohak
Advisor

Re: Data Migration from Old storage to new storage

What about the lock disk in vcs(fence).

like lock disk in mc-service guard .Can we replace online.
Chandrahasa s
Valued Contributor

Re: Data Migration from Old storage to new storage

Can be done online but need to have extreme care because when doing this activity cluster should not disturb because of hardware failure etc.

Vgcfgrestore need to use.

Chandra