All ASM files from ONE DISKGROUP TO ANOTHER

ASM is maintained by our Unix Group and the SA informed us that they upgraded the storage and all the databases be moved to DATA2 from the existing DATA disk group.
We currently have 4 databases.
Is there any document available for this process of moving all the database files from one ASM disk group to another? The old disk group (DATA) will not be used after moving the databases to the new one. Just to mention the database is on 4 node RAC
OranewAsked:
Who is Participating?
 
johnsoneConnect With a Mentor Senior Oracle DBACommented:
I'm not sure how I stumbled upon it, but I did find a method to do the entire database at once.  It should be here -> http://docs.oracle.com/cd/E11882_01/server.112/e18951/asm_rman.htm#OSTMG12121

On a quick scan it seems to have all the steps to backup and then recover a database to ASM.
0
 
slightwv (䄆 Netminder)Connect With a Mentor Commented:
Have you checked the online docs?

Moving Datafiles Between ASM Disk Groups

http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmasmmi.htm#BRADV89997
0
 
johnsoneConnect With a Mentor Senior Oracle DBACommented:
I found something very similar in the ASM doc -> http://docs.oracle.com/cd/E11882_01/server.112/e18951/asm_rman.htm#sthref620  Apparently we were both searching at the same time.

I am by no means an ASM expert.  However, that link does describe in detail how to do what you are asking.

It does seem to be an offline activity.  You could do it over multiple down time windows and move just a few files at a time.

Downtime would be required if you weren't using ASM as well, so I guess I'm not surprised there.  Although you could definitely do it in fewer steps.

There may be a way to do it without taking the data files offline, but I couldn't find it in the documentation.
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
OranewAuthor Commented:
I have more than 350 files in one database. Is there any shorter way to move all the files to a different diskgroup with outage. The expected time for this task is 50-60 hours of downtime. (will bring down the system down on Friday evening (4pm) and the databases should be available by Monday 5 am).  Is there something be done during the working hours ?
0
 
slightwv (䄆 Netminder) Commented:
I would work directly with Oracle Support to see what 'magic' might be available.
0
 
OranewAuthor Commented:
Is this something be achieved using RMAN full backup and restore the database into a different diskgroup ?
Just a thought ?
0
 
slightwv (䄆 Netminder) Commented:
Not sure if RMAN will let you do this or not.  Even if it will, I'm not sure if there will be any benefit.

It is still moving 'X' amount of data from pointA to pointB.  That will take 'Y' amount of time.  

Instead of a direct copy using RMAN would involve extra reads and writes to some other media before the final destination.

Opening an SR with Oracle Support and working with them about your specific systems and database will ensure you have the 'best' plan to meet your requirements.
0
 
OranewAuthor Commented:
It looks very promising as if we are migrating from non-ASM to ASM but this should still work.
0
 
johnsoneSenior Oracle DBACommented:
Looks like the steps are for a migration from non-ASM to ASM, but to me it looks like they should work for what you are trying to do.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.