Solved

AIX Oracle database server cloning.

Posted on 2011-09-12
9
538 Views
Last Modified: 2012-05-12
We have an AIX server that hosts an oracle DB that we need to clone to a new host that should have the same OS and DB. the DB files/redo and others are on a SAN
My Q is in a situation like that, can we just copy the oracle software installation ORACLE_BASE and ORACLE_HOME;or do we have to install Oracle from scratch on the new server.

thanks,
0
Comment
Question by:it-rex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 35

Expert Comment

by:johnsone
ID: 36525111
Oracle will tell you that you need to run the install from scratch and I would recommend that as well.

If the directory structure on the source and target will be identical, it should work, but Oracle won't support it and you won't have a valid registry you can do upgrades from.
0
 
LVL 11

Author Comment

by:it-rex
ID: 36525254
what is a valid registry?
0
 
LVL 35

Expert Comment

by:johnsone
ID: 36525294
Sorry, registry is the wrong word.  I meant inventory.  The oraInventory directory that contains all of the installed components would not be included.  Also, even if copied from another machine, I do not believe it is valid.
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 11

Author Comment

by:it-rex
ID: 36525363
0
 
LVL 35

Expert Comment

by:johnsone
ID: 36525589
I have never used the cloning procedure.  It may work, it may not.

However, that is not just plain copying the files from one machine to another as you stated in your original question.
0
 
LVL 1

Expert Comment

by:jsr_dba
ID: 36525652
it-rex,
  I guess you are NOT using the  OUI cloning  but cloning both the oracle S/W and the DB at  the H/W level to a different host ( running on AIX ).   If this is so,  then the anwer is YES you can clone.  I have done this many times in AIX ( on LPARs) and  the DB in the new cloned environment will just work fine.  

You may have to update the tnsnames.ora/listener.ora   files for the host names/IP address references and start/restart the listener  before the users start connecting to the DB.

As Johnsone mentions, oracle inventory  many not be updated with the new env's host references.  Except for that there will  be no other issues.  
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36530378
>>can we just copy the oracle software installation ORACLE_BASE and ORACLE_HOME

I tend to agree that an install may not be necessary.  A copy should be fine.  You also need to make sure you pull over the dbstart and dbshut scripts and any crontab files that might have been created.  The oraenv and coraenv files are typically in some common folder somewhere.

If you have done nothing 'custom' then you might just need to rerun root.sh on the new host.
0
 
LVL 7

Accepted Solution

by:
Piloute earned 500 total points
ID: 36530718
Hi,

If you need a 'host copy' (including OS & db) go for it. No reason for a clone not to work fine.

In case you are thinking about OH cloning (oui cloning), I can confirm it works just fine on AIX (done it on 5.x and on 6.1 so far). This is the 'usual' method to deploy identical binaries on a large number of servers...

Cheers,
P
0
 
LVL 11

Author Closing Comment

by:it-rex
ID: 36574652
thanks
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
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 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.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

696 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