1837103 Members
2215 Online
110112 Solutions
New Discussion

Data Migration

 
Brian Keg
Occasional Contributor

Data Migration

I need to migrate data from a Lvol on a EMC frame to a Lvol on a HP EVA. How do I do this? I can take the server off line so I don't need to worry about data corruption. thanks in advance!

L -class server 9000
OS 11.0
8 REPLIES 8
RAC_1
Honored Contributor

Re: Data Migration

You have many options.
If you can connect both storages to the system at the same time, then it becomes very easy.

You can do
cpio
tar
vxdump
cp

(tar,cpio will have limit of 2GB if particular patches are not there. With certain patches this limit goes up to 8GB)
vxdump -in case both file systems are vxfs

And last but not least. Plain cold backup and restore is always there.
There is no substitute to HARDWORK
Brian Keg
Occasional Contributor

Re: Data Migration

Currently both SANs are attached and they are set up for large files. can I use vxdump? and if so what parameter would I need. BTW the data is a Oracle database, but it will be flat at the time of migration.
Tom Ward_1
Honored Contributor

Re: Data Migration

Hello Brian,

I've had good luck with host based mirroring. You'll need software to support the mirroring: mirrorux or Veritas.

Present the new LUNs, add them to the Volume Group, mirror the logical volumes, reduced the old LUNs out of the LVs, then reduce the old PVs.

HTH,
Tom
RAC_1
Honored Contributor

Re: Data Migration

Create required vgs, lvols on new SAN. Once done, you can use vxdump and vxrestore.

Make sure that database is down and you take cold backup-just in case required.

timex vxdump -0f /source_dir1 | (cd /dest_dir ; vxrestore -yrf - )

dd with large block size will also be helpful, as dd avoide all file systems overhead during copy.

timex dd bs=64k if=/dev/vgxx/rlvolx of=/dev/vgyy/rlvoly

There is no substitute to HARDWORK
Sยภเl Kย๓คг
Respected Contributor

Re: Data Migration

Hi,
In this case, I would recommend you to plan a down time and take a cold backup then restore it to the new storage.

As you have such a good setup, you may be using some higher backup softwares like OMNI DP or veritas, better use the same to backup and restore the data.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
Geoff Wild
Honored Contributor

Re: Data Migration

vxdump would be the fastest - however - if you have room in the volume group, then mirroring would be even better (no down time).

vxdump:

vxdump -0 -f - -s 1000000 -b 16 /emc/oracle | (cd /oracle ; vxrestore rf -)

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.
Brian Keg
Occasional Contributor

Re: Data Migration

So I'm thinking of usinf CPIO or vxdump. Ehat would be the command to do this for example move date from mount point /forms to /newforms

are there any caviots with CPO or vxdump? are there problems with larger files etc?
opronin
Occasional Advisor

Re: Data Migration

Why you cannot use mirroring of your original lvol and at the time of migration - brake the mirror with old path?