Quicker Method to replicate Oracle Software

Posted on 2011-04-22
Last Modified: 2012-05-11
Need to install Oracle 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  Anybody familiar with this approach?
Question by:sdruss
    LVL 76

    Expert Comment

    by:slightwv (䄆 Netminder)
    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 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.
    LVL 23

    Accepted Solution

    LVL 40

    Expert Comment

    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 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.
    LVL 1

    Author Closing Comment

    Good websites.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
    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 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…
    Via a live example, show how to take different types of Oracle backups using RMAN.

    760 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

    8 Experts available now in Live!

    Get 1:1 Help Now