Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Copy instead of install

Re: Copy instead of install

From: Maria Aurora de la Vega <mtdelavega_at_pse.org.ph>
Date: Wed, 30 Apr 2003 02:51:54 -0800
Message-ID: <F001.0058C7C1.20030430025154@fatcity.com>


We used the same logins, userids, groupids, mount points and hostname on this new server so paths from the original server to the new one is the same. I assume this would also address the hostname embedded in XML files. We used ufsdump for copying the files btw.

Something new I just saw...there is a directory /opt/ORCLfmap. I haven't encountered this directory before so I am not aware of its use. We just copied this. Then with OUI, I copied oraInventory and updated orainst.loc to reflect the correct path to oraInventory. I left oui directory on the old server thinking I can get my oui from the CD (?)

?

Jeremiah Wilton wrote:

> Just from memory, here are the things you need to remember:
>
> - You have to install in an identical ORACLE_HOME path on the
> prototype (orignal where you used the OUI) and on the destination
> (where you are copying). There are hardcoded paths.
>
> - You need to do the things that root.sh and the installer do:
> * also copy oraInventory, oui directories, etc.
> * make sure the line in /etc/oraInst.loc has the correct
> inventory_loc and inst_group.
> * relink oracle
>
> Also remember that you need a working oraInventory for all verions of
> Oracle installed in that directory. So if you are running 8.1.7 and
> 9.2.0.3, then you need your prototype oraInventory to be from a host
> where you also have both of those installed in the same location.
>
> If you skimp on some of these extras, oracle still runs, but you can't
> use the OUI to upgrade/patch it. Then you're screwed.
>
> Copy things in such a way that there is no loss of permissions and
> owners. Something like this?:
>
> tar cvf - /opt/app/oracle/product | rsh <target host> "cd /opt/app/oracle/product; tar xvf -"
>
> I've never seen a problem with host name. I've been using this method
> for a while. The OUI is unusable in many circumstances, including WAN,
> ADSL and dial-up. I open a TAR stating such with every release that
> the unusability of the OUI goes unaddressed.
>
> --
> Jeremiah Wilton
> http://www.speakeasy.net/~jwilton
>
> On Wed, 30 Apr 2003, Stephane Faroult wrote:
>
> > There are some problems. One used to be able to do this fairly easily, but starting with Oracle 9 (I think) the installer has begun to store things such as the hostname in (XML) files during the installation. If you are on a decent OS try
> >
> > find $ORACLE_HOME -exec grep <your hostname> /dev/null {} \;
> >
> > Being over 40 and therefore the CLI type (notwithsanding that the slowness of the installer despairs me) I have vaguely begun to find a (unabashedly unsupported) way to get around it, but I have done a context switch (several indeed) since.
> >
> >
> > Regards,
> >
> > Stephane Faroult
> > Oriole
> >
> >
> > >----- ------- Original Message ------- -----
> > >From: Maria Aurora de la Vega
> > ><mtdelavega_at_pse.org.ph>
> > >To: Multiple recipients of list ORACLE-L
> > ><ORACLE-L_at_fatcity.com>
> > >Sent: Tue, 29 Apr 2003 23:51:38
> > >
> > >I was wondering if it is possible to do a copy of
> > >an Oracle Server
> > >installation instead of a fresh install and just
> > >relink the executables.
> > >
> > >I have observed that OUI messages show 2 main
> > >actions during
> > >install...copy and linking.
> > >
> > >Any problems you see in this?
> > >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: Stephane Faroult
> > INET: sfaroult_at_oriolecorp.com
> >
> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> > San Diego, California -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
> >
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Jeremiah Wilton
> INET: jwilton_at_speakeasy.net
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Maria Aurora de la Vega
  INET: mtdelavega_at_pse.org.ph

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Apr 30 2003 - 05:51:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US