Solved

Create copy of database from coldback up when oracle uses ASM

Posted on 2008-06-24
11
1,216 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 143 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 143 total points
ID: 21858965
0
 
LVL 22

Assisted Solution

by:DrSQL
DrSQL earned 143 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
 
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 47

Assisted Solution

by:schwertner
schwertner earned 71 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Last record chosen in Oracle Query 3 52
select only modified column name  based on the status 15 47
Oracle DATE Column Space 11 59
Oracle query output question 4 36
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

932 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now