Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Create copy of database from coldback up when oracle uses ASM

Posted on 2008-06-24
11
Medium Priority
?
1,225 Views
Last Modified: 2013-12-18
Guys

I am in a pickle I need to copy a RAC ASM oracle 10g database from a linux box to a different linux server.

I have been advised that the simpliest method is to shutdown the database then copy the files. I have no problem doing this as I have done this many time before with a single NON RAC database in the past.

I found this to be a problem firstly because ASM makes the files invisible so I have found out how to sort this by using FTP and setting up a port.
Secondly when I shutdown the database and the instances I loose my FTP connection

Any Ideas how I can achieve this

Darren
0
Comment
Question by:DarrenJackson
  • 4
  • 2
  • 2
  • +2
11 Comments
 
LVL 35

Assisted Solution

by:Mark Geerlings
Mark Geerlings earned 572 total points
ID: 21858472
I think RMAN can do that for you, but I'm hardly a master of RMAN, and I've never used ASM, so I don't know the exact steps.  I think if you browse the RMAN documentation you should find the instructions for cloning a database via RMAN (whether it uses ASM or not).
0
 
LVL 29

Assisted Solution

by:MikeOM_DBA
MikeOM_DBA earned 572 total points
ID: 21858965
0
 
LVL 22

Assisted Solution

by:DrSQL
DrSQL earned 572 total points
ID: 21858974
Darren,
    not sure why you'd lose the FTP connection, that seems odd.  Unfortunately, for all the benfits ASM brings, it does add some complexity.  In order to clone a database using ASM you also have to clone the ASM repository.  The device names stored in there are not likely to be the same on your new box, so ASM won't be able to find anything.   Use RMAN to clone the database - it handles the transfer for you.  here's a doc: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/ostspitr003.htm#sthref1982

Good luck!

0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 21859007

Also with RMAN you can clone the db to non-ASM file system.

0
 

Author Comment

by:DarrenJackson
ID: 21859039
Guys thank you for the posts

I would like to use the clone feature but not sure how to create the clone then transport it to the new server
0
 
LVL 35

Expert Comment

by:Mark Geerlings
ID: 21859226
It should be possible to create the clone directly on the new server, you shouldn't need to create it first, then move/copy it.
0
 

Author Comment

by:DarrenJackson
ID: 21859254
any ideas how I would do this as at the moment I have drawn a blank
0
 
LVL 22

Expert Comment

by:DrSQL
ID: 21859346
The link I gave you:  http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/ostspitr003.htm#sthref1982

has step by step instructions (if you have RMAN).
0
 

Author Comment

by:DarrenJackson
ID: 21859376
ok will look in to this in more detail

Thank you
0
 
LVL 48

Assisted Solution

by:schwertner
schwertner earned 284 total points
ID: 21863763
Alternativelly you can do full Data Pump export and after that Import the file.

If you would like to do physical backup this will put some light over the problem

http://www.oracle.com/technology/products/database/asm/pdf/netapp_asm3329.pdf
0
 

Accepted Solution

by:
DarrenJackson earned 0 total points
ID: 21916117
I managed to find this doc on metalink that explains exactly how to do this

doc id 415579.1 How to Restore RMAN Disk  Backups of RAC database to single instance on Another Node

I am gratefull for all the help on this so I will prorata the points based upon posts

Thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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

824 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