Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
     Forums advanced search
HP.com Home
IT Resource Center Forums > HP-UX > general

Gotta migrate data from old disk arrays to new disk array

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: Gotta migrate data from old disk arrays to new disk array      Add to my favorites
Rita C Workman This member has accumulated 7500 or more points
Jan 31, 2003 16:32:10 GMT   

OK...open to any suggestions or caveats...

I have to get everything off an old EMC 3430 and a Clariion 4500 and get it all onto an EMC 8530.

My 'challenges':

All but one vg was created with a PE size of 4Mb. The new EMC 8530 is coming in with 8Mb PE. To add insult to injury - the only vg created with an 8Mb has the default Max PV at 16, so I can't add the new disks and just do a mirror/sync and then split off the old disks.
<Why is it the person who sets up these boxes up is never there when they must be migrated..?>
One host has it's 2 fiber connections going 1 to the old EMC array and one to the Clariion array. The other hosts are dual fibered to the old EMC array.

My Thoughts...

BACKUP BACKUP first !
Create fresh vgexport mapfiles (use -s option) for old volume groups since I will have to move fiber cables around on that one host.

Remove 1 fiber cable from host to old array and use this for single fiber connection to new array.
Create new vg for everything, thus setting the 8Mb PE and Max PV.
Then mount the new vg to dummy mount points; copy all the data from the old volume group (can't tar or cpio cause many files over 2gb) to new vg.
Then once everything looks solid on the new vg, umount everything and remount the new vg to the correct mount points.
Make new mapfiles..

Lastly vgexport the old vg and cleanup disks on old array.
Remove 2nd fiber connection from old array and add the 2nd fiber from new array..
Cleanup loose ends....

Rita
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Ian Dennison This member has accumulated 2500 or more points
Jan 31, 2003 16:37:30 GMT  5 pts

Rita,

Does loose ends include setting up alternate pathing?

ie. Extend all disks in VG to include alternate paths,

export the Primary path for every second disk, then re-extend the Disk back into the VG?

Thought - if your machine is SAN connected, why not leave the old Disks idle and simply restore the pre-implementation Backup to the new Disks? With the tapes streaming it should not take long.

Share and Enjoy! Ian
Pete Randall This member has accumulated 40000 or more points
Jan 31, 2003 16:38:29 GMT  5 pts

Rita,

How come you get all the fun projects????

This is a shot in the dark, but would pvmove do anything for you?

Pete
Pete Randall This member has accumulated 40000 or more points
Jan 31, 2003 16:40:26 GMT  1 pts

Rita,

Disregard. pvmove has to be same vg - no help.

;^(

Pete
James R. Ferguson This member has accumulated 80000 or more points
Jan 31, 2003 16:47:17 GMT  10 pts

Hi Rita!

As usual, you have thought this out well. I agree with your plan. (Too bad the person who first implemented the volume group didn't plan for the future).

For moving your data, I'd use 'fbackup/frecover' since it supports largefiles, 'uid' values greater than 65K, *and* it will handle sparse files. I suggest:

# cd /srcdir
# fbackup -i . -f - | (cd /dstdir; frecover -Xsrf -)

With my warmest regards!

...JRF...
Ian Dennison This member has accumulated 2500 or more points
Jan 31, 2003 16:48:21 GMT  5 pts

What application / database is it? (if you are allowed to give that out)

If it is Oracle, there are some DR options that can be used; cutover to new disks in 15-30 mins.

Also, how much data are we talking about?

Share and Enjoy! Ian
Marco Santerre This member has accumulated 2500 or more points
Jan 31, 2003 16:49:51 GMT  5 pts

Rita,

Unfortunately I don't see many ways out of this. I think you got the right idea. The only thing I'm wondering is how much downtime are you going to take for that?

The only other solution I could propose to you, but then again that would mean more hardware, is to have another server setup to be able to do your copy there.

So basically if you have BCVs on both EMC, you have both BCVs seen by this server, you do your copies there, and when you are ready, you vgexport all your VG, create your new ones and sync from those BCVs.

Just an option I guess.
John Poff This member has accumulated 7500 or more points
Jan 31, 2003 16:50:45 GMT  4 pts

Hi Rita,

It looks like a great plan. The only thing I can think of is that you might have to do a vgreduce on your disks to the old array that use the fibre connection that you are going to plug into the new array. Since you'll be picking up new disk devices on that controller it might confuse things if the old disk devices for the old array are still out there.

Sounds like fun!

JP
Martin Johnson Expert in this area This member has accumulated 7500 or more points
Jan 31, 2003 16:54:59 GMT  9 pts

Verify that you don't have any sparse files or you may unexpectedly use up more space when you do your copy. fbackup can handle the sparse files with the "frecover -s" option.

HTH
Marty
Rita C Workman This member has accumulated 7500 or more points
Jan 31, 2003 18:01:59 GMT    N/A: Question Author

Ian -Yes alternate path will be done..but as for SAN. Yes (sort of) the 8530 is 1 of 2 arrays. Unfortunately 'mgmt' made decision to put DR site through a switch, but here just to fiber to host. arghgh!
My apps are Oracle - Share away with any tips on what you mentioned. I'm no DBA ! How much data...about a terbyte. Most on 1-2 instances, rest on several small db's.

Pete - Your more than welcome to come play and clean this mess up..ha ha. pvmove-been there, then I figured add disk and mirror, then drop old disk and remove from vg. But only vg I could do that w/had the MaxPV of 16...brickwall again!

JRF - Thanks, I'll print and keep your suggestion !!

Marco - Downtime is always an issue here..I'm going to have to do this a db at a time ( there's goes any life outside here )& earplugs in so I don't hear the complaints.

John - that is why I have to vgexport with the -s option, so the mapfiles will have the vgid. Since on 1 box I must drop & flip cables back and forth to get things off the Clariion and then off the old array. Thus the security of my mapfiles if I must vgimport when I unplug/replug cables.

Martin - yep...you and Jim agree. Looks like it's in the plan.

Thanks Guys !!
Rita
Pete Randall This member has accumulated 40000 or more points
Jan 31, 2003 18:25:41 GMT  1 pts

Rita,

If you were some place sunny and warm like Florida or Arizona, I'd be there in a flash. However, I think you're probably as much in the deep freeze as we've been up here in the "Green" Mountains (that seem to be awful damn white lately).

Best of luck,

Pete
Rita C Workman This member has accumulated 7500 or more points
Jan 31, 2003 18:28:17 GMT    N/A: Question Author

So true Pete...but the skiing is great these days !!

Now if I knew only could ski...

Rgrds,
Rita


...freezing in WV...
John Poff This member has accumulated 7500 or more points
Jan 31, 2003 19:20:55 GMT  6 pts

Hi again,

Let me explain the point I was trying to make. Let's say you have an existing VG with two disks and two PV links &#91;two fibre connections to your old array&#93;. The disks look like this:

c6t0d0
c8t0d0 PV link

c8t0d1
c6t0d1 PV link


Now, if you unhook the fibre cable for the HBA that gives you the c8 drives, your PV links will take care of you and you'll run everything to the c6 drives. Cool. But now, you plug in that fibre cable to the new array. What PVs will the box see now? More c8 disks? But those will be the PVs on the new array. Plus, your existing VG will know about the old c8 disk devices and expect them to have the LVM info about the existing VG. Oops. I understand all about why you are doing the 'vgexport -s', but I don't think it will save you. That's why I suggested doing the 'vgreduce' to get rid of the c8 PVs so that your existing VG will be happy. Plus, if the PVs on the new array come in as c8 disks, will you have to do an 'rmsf' on the old c8 device files before plugging the cable into the new array, and then do an 'ioscan' and 'insf' to pick up the new PVs?

I'm not trying to be a pain &#91;well, not too much anyway&#93;, but I've been through things like this before and learned it the hard way. :)

JP
Rita C Workman This member has accumulated 7500 or more points
Jan 31, 2003 20:37:02 GMT    N/A: Question Author

John,

Thank you for the valuable information...I will check everything before I commence the migration.

Regards,
Rita

...no pain is worse than the one you experience if you ignore the warnings...
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2010 Hewlett-Packard Development Company, L.P.