Solved

AIX Oracle database server cloning.

Posted on 2011-09-12
9
521 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
9 Comments
 
LVL 34

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 34

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
 
LVL 11

Author Comment

by:it-rex
ID: 36525363
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 34

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 76

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

747 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

13 Experts available now in Live!

Get 1:1 Help Now