Quicker Method to replicate Oracle Software

Need to install Oracle 11.2.0.1 Enterprise Database on several servers (8 separate machines).  I have already installed on my first server and want to expedite this to the other servers.  Trying to avoid loading DVD and going through the menus, etc. seven more times.  Seem to remember a method of tar-ring up the oracle software, then un-tarring on the next server, and running perl clone.pl.  Anybody familiar with this approach?
LVL 1
sdrussAsked:
Who is Participating?
 
slightwv (䄆 Netminder) Commented:
My unix is old but I remember being able to copy the $ORACLE_HOME acorss machines.

You just need to know what else you need.  Then you should be able to just rerun the root.sh on the new machine.

That said, have you ever thought about the silebt install option?  Place the software on a share, and run it.  No prompts, no fuss.  Exactly the same all the time.
0
 
mrjoltcolaCommented:
Oracle differentiates between "software / binaries" and "instances / databases". Moving the Oracle software itself is pretty easy. tar will work. I usually pipe it over ssh or rsh. Something like:

tar cvf - /u01 |ssh server2 "cd / ; tar xvf -"

This is the software only, not the database instances. So during the server1 install, choose "Install Oracle Software Only".

When you copy include:
1) Oracle home
2) Oracle inventory (wherever you chose to locate Oracle base usually has it). Look for $ORACLE_BASE/oraInventory

Prior to copying the directories to new servers, setup the oracle user with same user id and group ids (dba, etc.), and clone the .profile or /etc/profile. Also do run root.sh as slightwv said, which will create your /etc/oratab and set permissions. Also ensure you setup your init script so dbstart will
 boot Oracle at OS boot time.

Once you are done, you should be able to login to each and run "dbca" and "netca" to create Oracle instances and listeners.
0
 
sdrussAuthor Commented:
Good websites.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.