- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- The Best way to migrate the data on raw devices
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
04-19-2001 06:26 AM
04-19-2001 06:26 AM
I need to migrate the Oracle data that is sitting on some raw logical volumes of a retiring EMC array to a new EMC array. I have both arrays connected to my server now. What will be the best way to do this ? The server is a K class, running 10.20.
Any comments will be appreiated.
- EHU
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:36 AM
04-19-2001 06:36 AM
SolutionTo avoid double buffering specify only bs not ibs and obs.
I'm not sure whether you are using raw disks or raw logical volumes. The answer is the same but the devices will differ.
e.g. dd if=/dev/rdsk/c2t5d0 of=/dev/rdsk/c3t2d0 bs=8000k
Obviously if you are using logical volumes then
something like dd if=/dev/vg03/rlvol1 of=/dev/vg04/rlvol1 bs=8000k.
If the input and output raw devices are not the same size you should also add the 'count=' argument to dd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:45 AM
04-19-2001 06:45 AM
Re: The Best way to migrate the data on raw devices
I don't work on XP but I see 2 ways :
1)
Extend your VGs with your new disks
Mirror logical volumes to the new disks
Unmirror form old disks
Reduce the vg
That's all (supposing that you have mirror disk UX, you can pvmove if not), You don't need to stop database.
2)
Create new lvols on new disks
stop database
dd if=/dev/vgXX/rOLDLVOL... of=/dev/vgXX/rNEWLVOL bs=...
start database (mount)
modify database architecture
open database.
If you use rawdevices in oder to increase performances, don't forget that you can obtain approximatively the same perf :
If you have Online-JFS, you are able to mount a filesystem with "mincache=direct" option. Then you will not use LVM.
Regards,
Patrice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:56 AM
04-19-2001 06:56 AM
Re: The Best way to migrate the data on raw devices
You could also try to use Oracle's mirroring functionality. I'm not sure how to use it, but I know it is there as our DBA has used it. Again, I think it can work on-line.
The dd option will certainly work. You will just need downtime as your data can not change during the process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 07:00 AM
04-19-2001 07:00 AM
Re: The Best way to migrate the data on raw devices
They temporarily install SRDF on both frames and copy the data over. Then remove the old frame.
I know they do this type of consulting quite often. Of course it will not be free. Nothing from EMC is free.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 07:14 AM
04-19-2001 07:14 AM
Re: The Best way to migrate the data on raw devices
Thanks a lot for your suggestions. My original plan was to use dd, but now I think I would use the mirroring to do this instead, since the copying process can be done in the background and doesn't require the down time.
Thanks again.
EHU