- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Moving Oracle Database to EMC Box from local s...
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
11-14-2001 11:14 AM
11-14-2001 11:14 AM
We want to move all Oracle databases to the EMC storage from the local disks of our existing server.
Thanks,
Gulam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:19 AM
11-14-2001 11:19 AM
SolutionYou can add the EMC disks to the same Vg as your existing database Vg and then do a pvmove to move the data from the current disk to the EMC disks. Once done, you can do vgreduce to remove the current internal disks from the database VG. Thus your database will sit on the EMC with the same VG.
Another choice would be to add the EMC disk to a new VG. Take a backup of the old database filesystems, restore them to EMC and then unmount the old filesystems, mount the EMC filesystems in their place.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:21 AM
11-14-2001 11:21 AM
Re: Moving Oracle Database to EMC Box from local server disks.
If it is a filesystem, back it up, create new VG and LV's on the EMC, restore data (or copy disk to disk). Make sure DB is DOWN.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:25 AM
11-14-2001 11:25 AM
Re: Moving Oracle Database to EMC Box from local server disks.
We don't want to take backup and restore on EMC disk.
I think PVMOVE is better option, please provide us more details on this option.
Thanks,
Gulam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:26 AM
11-14-2001 11:26 AM
Re: Moving Oracle Database to EMC Box from local server disks.
Take a look at the threads below,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=8afe35fb0d3b809776/screen=ckiDisplayDocument?docId=200000024603959
http://us-support.external.hp.com/cki/bin/doc.pl/sid=8afe35fb0d3b809776/screen=ckiDisplayDocument?docId=200000054963038
http://us-support.external.hp.com/cki/bin/doc.pl/sid=8afe35fb0d3b809776/screen=ckiDisplayDocument?docId=200000052394074
The third doc refers to some other links, do have a look at them too.
hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:28 AM
11-14-2001 11:28 AM
Re: Moving Oracle Database to EMC Box from local server disks.
I'd create a set of "dummy mount points". Then do this for each filesystem:
# cd /old_mount_point
# find . | cpio -pudlmv /new_mount_point
When done, edit /etc/fstab replacing the "old_mount_point" with the "new_mount_point" and remove the "old" ones.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:33 AM
11-14-2001 11:33 AM
Re: Moving Oracle Database to EMC Box from local server disks.
With regard to using a 'pvmove' mechanism, consider that this will *not* allow you to change the existing LVM disk geometry ('max_pv', 'pe_size', 'max_pv', 'max_lv') since you would not be doing a 'vgcreate'. This may or may not impede you at a later date since the attributes, once set, *cannot* be changed. Personally, I would avail myself of the opportunity, now, to create fresh volume groups, and set my LVM parameters for future growth. This *may* avoid needless maintenance later.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:52 AM
11-14-2001 11:52 AM
Re: Moving Oracle Database to EMC Box from local server disks.
As we have 90+ databases and some are pretty big in size 30GB+. So we are looking for quick and safe solution.
Although we will be getting some help from EMC support engineers, but we want to prepare ourselves with all options.
Thanks,
Gulam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 12:04 PM
11-14-2001 12:04 PM
Re: Moving Oracle Database to EMC Box from local server disks.
Thanks,
Gulam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 12:10 PM
11-14-2001 12:10 PM
Re: Moving Oracle Database to EMC Box from local server disks.
You do NOT have to "tell" Oracle anything about the "new" mountpoints. Notice that they exist only during the time of the file copy. When done, you edit /etc/fstab and change the new mountpoint names to the old mountpoint names. Obviously, your database is *inactive* for the whole duration of the copy and the mountpoint swap.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 12:13 PM
11-14-2001 12:13 PM
Re: Moving Oracle Database to EMC Box from local server disks.
JRF is not asking you to rename the mount points. He is advising you to mount the new filesystems at a new mount point and then copy the data over to that filesystem, unmount the original data mount points and mount the new filesystems in their place. This does not lead to new mount point names.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 12:52 PM
11-14-2001 12:52 PM
Re: Moving Oracle Database to EMC Box from local server disks.
But can I get more detail example, if you guys don't mind.
Thanks,
Gulam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 01:19 PM
11-14-2001 01:19 PM
Re: Moving Oracle Database to EMC Box from local server disks.
I did this about a year and half ago.
The big step is that you unmount the file system with the .new mount point and re-mount the same logical volume with the original mount point. When finished the logical volume name my change but the mount point will be the same.
I.E. Before you begin
/dev/vg##/lvol1 /oracle/SID/data1
New emc drive attached and added to a volume group. File System created and mounted as
/dev/vg##/lvol100 /oracle/SID/data1.new
Shutdown database and cp data from /oracle/SID/data1 to /oracle/SID/data1.new
unmount /oracle/SID/data1 and /oracle/SID/data1.new
Now mount the new drive's logical volume to the old mount point.
/dev/vg##/lvol100 /oracle/SID/data1
Hope this clears it up ...but all the examples look correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 02:41 PM
11-14-2001 02:41 PM
Re: Moving Oracle Database to EMC Box from local server disks.
The key thing is not clear here:
<
Is your database using
RAW volumes or FILESYSTEMS?
Please note that both raw volumes and filesystems are based on LVM (which is a HP way of configuring disks).
Check this with the dba, or
you can figure it yourself by
doing bdf and see whether there are any mountpoints belonging to the database.
(i am not referring to oracle binaries here ).
<
I can understand your position, having restored a 3 terabyte database couple of times last month ;-)
<>
Pvmove is an option, but not
necessarily a better option!
If your database is using
only FILESYSTEMS, then this
should be a easy process.
Like others mentioned in this thread, all you need to do
is :
1)make a list of filesystems which your database is using
2) note their sizes.
3) create new filesystems on emc disks with the same sizes
4)mount the new filesystems under a differnt mountpoint. for eg:
if your db mountpoints is
/mydb/redo01
-> the new FS can have the mountpoint as /newmydb/redo1
5) shutdown the database
6) copy the Dbase FS to the new FS, using cpio or cp or any similar command.
7) Once the copy is done, umount the Database filesystems and new filesystems
8) Now, make the newfilesystems mountpoint pointing to old mountpoints
9)Bring the DB up.
You don't need to do anychange in the DB layout.
But, if this is a rawvolume
database or if it is a rawvolume+FS database, then
you would need to use a different strategy to move the rawvolumes.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 09:05 AM
11-15-2001 09:05 AM
Re: Moving Oracle Database to EMC Box from local server disks.
Thanks,
Gulam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 05:44 AM
06-05-2002 05:44 AM
Re: Moving Oracle Database to EMC Box from local server disks.
1. Create new filesystems from EMC
2. Copy data from autoraid to new filesystems
3. Unmount old and new filesystems then mount new filesystems to old mount points.
My question is with the copy command. I was just going to use: cp -r -p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 05:58 AM
06-05-2002 05:58 AM
Re: Moving Oracle Database to EMC Box from local server disks.
You should really have posted this as a new wuestion rather than as a response to this old thread.
Yes cpio is generally faster than cp, and in fact is generally the fastest method of moving the data without getting a bit esoteric. You may of course be able to use LVM commands to migrate all the data off the autoraid and onto the EMC, but this depends on:
1. You having the MirrorDisk/UX software
2. The size of the LUNs on the Autoraid vs. the size of the LUNs on the EMC, and how the volume groups on the autoraid were created (the values for Maximum number of physical volumes in a volume group, and the maximum number of physical extents per physical volume)
If you want to keep things simple, and can afford the downtime stick to cpio.
HTH
Duncan
I am an HPE Employee
