?
Solved

All ASM files from ONE DISKGROUP TO ANOTHER

Posted on 2015-01-20
9
Medium Priority
?
229 Views
Last Modified: 2015-02-13
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
0
Comment
Question by:Oranew
  • 3
  • 3
  • 3
9 Comments
 
LVL 78

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 400 total points
ID: 40561829
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
 
LVL 35

Assisted Solution

by:johnsone
johnsone earned 1600 total points
ID: 40561851
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
 

Author Comment

by:Oranew
ID: 40564152
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40564155
I would work directly with Oracle Support to see what 'magic' might be available.
0
 

Author Comment

by:Oranew
ID: 40564159
Is this something be achieved using RMAN full backup and restore the database into a different diskgroup ?
Just a thought ?
0
 
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40564210
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
 
LVL 35

Accepted Solution

by:
johnsone earned 1600 total points
ID: 40564231
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
 

Author Comment

by:Oranew
ID: 40564814
It looks very promising as if we are migrating from non-ASM to ASM but this should still work.
0
 
LVL 35

Expert Comment

by:johnsone
ID: 40564994
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

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question