<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Loading Oracle question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915079#M772472</link>
    <description>John - Thanks!  Very helpful information for future loads.&lt;BR /&gt;&lt;BR /&gt;Connie.</description>
    <pubDate>Wed, 22 Nov 2006 08:39:32 GMT</pubDate>
    <dc:creator>ConnieK</dc:creator>
    <dc:date>2006-11-22T08:39:32Z</dc:date>
    <item>
      <title>Loading Oracle question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915074#M772467</link>
      <description>I have a general question about loading Oracle on an HPUX server.  I know it's possible to restore the DB files from a backup, but is it possible to actually resore the Oracle software (base) from a tape backup or an image?&lt;BR /&gt;&lt;BR /&gt;In previous migrations, I have always loaded Oracle itself using a CD.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Connie</description>
      <pubDate>Fri, 29 Jul 2005 06:54:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915074#M772467</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-07-29T06:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Oracle question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915075#M772468</link>
      <description>Connie&lt;BR /&gt;&lt;BR /&gt;when we installed Oracle sw (8i) we took a copy of our test server.&lt;BR /&gt;Obviously, you will have to amend your config files, tnsnames.ora , listener.ora, ... to refelct the new server.&lt;BR /&gt;&lt;BR /&gt;Please note, on the test server there is a file oraInst.loc located in /var/opt/oracle that indicates the location for oracle products inventory in case you need to add more products.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Fri, 29 Jul 2005 07:44:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915075#M772468</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2005-07-29T07:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Oracle question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915076#M772469</link>
      <description>Yes it is possible.  I have restored Oracle from tape multiple times during Disaster Recovery tests, with no problem what so ever.</description>
      <pubDate>Fri, 29 Jul 2005 07:56:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915076#M772469</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2005-07-29T07:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Oracle question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915077#M772470</link>
      <description>Thanks Bunches both of you!</description>
      <pubDate>Fri, 29 Jul 2005 08:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915077#M772470</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2005-07-29T08:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Oracle question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915078#M772471</link>
      <description>Yes, you can just copy an existing Oracle Home from another server.  Fix the listener.ora tnsnames.ora config files, password file, etc.&lt;BR /&gt;&lt;BR /&gt;Make sure to get files in /var/opt/oracle and copy over too (and edit them).&lt;BR /&gt;&lt;BR /&gt;However, if you are moving version 8i (or newer) there is a directory called OraInventory that was laid down (could be in Oracle's home directory, could be in the ORACLE_HOME, could be in ORACLE_BASE, could be in the parent dir of either of the last two.&lt;BR /&gt;&lt;BR /&gt;This directory is FULL of binary files that have your machine name, your instance name, and the path to ORACLE_BASE, ORACLE_HOME, etc.&lt;BR /&gt;&lt;BR /&gt;The files in this directory MUST be updated to reflect the machine name, instance name, etc if you ever want to patch that ORACLE_HOME (and you will want to).&lt;BR /&gt;&lt;BR /&gt;You can accomplish this following a few simple rules:&lt;BR /&gt;&lt;BR /&gt;A) Always use the same number of letters for machine names.&lt;BR /&gt;B) Always use the same number of letters for instance names (ORACLE_SID).&lt;BR /&gt;C) Always use the same mount point for home directories, (/u01/oracle/product/MYSID, /u01/oracle/product/URSID, etc.).&lt;BR /&gt;&lt;BR /&gt;What you need to go for is the ability to replace strings in ALL of these files (in OraInventory) with the same size strings for another database on another machine.&lt;BR /&gt;&lt;BR /&gt;So:&lt;BR /&gt;&lt;BR /&gt;Source machine: bob&lt;BR /&gt;Dest machine: sue&lt;BR /&gt;Source ORACLE_SID(and db name): MYSID&lt;BR /&gt;Dest ORACLE_SID(and db name): URSID&lt;BR /&gt;Source path /u01/oracle/product/MYSID/9.2.0.5&lt;BR /&gt;Dest path /u01/oracle/product/URSID/9.2.0.5&lt;BR /&gt;&lt;BR /&gt;So, if you can change all strings in all files from "bob" to "sue" and all strings in all files of "MYSID" to "URSID" then you'll be OK.&lt;BR /&gt;&lt;BR /&gt;Next find a copy of "rpl":&lt;BR /&gt;(Excert from rpl with no arguments)&lt;BR /&gt;......................&lt;BR /&gt;rpl v1.1.1 by Joe Laffey, LAFFEY Computer Imaging.&lt;BR /&gt;Visit http:// &lt;A href="http://www.laffeycomputer.com" target="_blank"&gt;www.laffeycomputer.com&lt;/A&gt; for updates.&lt;BR /&gt;,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;I think you may also find it on the HPUX porting archive.&lt;BR /&gt;&lt;BR /&gt;Now after you've copied the OraInventory to the new server, then run rpl on it.&lt;BR /&gt;&lt;BR /&gt;cd $ORACLE_HOME/OraInventory&lt;BR /&gt;rpl -R BOB SUE . &lt;BR /&gt;rpl -R MYSID URSID . &lt;BR /&gt;rpl -R bob sue .&lt;BR /&gt;rpl -R mysid ursid .&lt;BR /&gt;&lt;BR /&gt;Note that rpl has a simulated mode on it (so you can see what it wants to do first) with the "-s" switch.  I often use it to see if anything even needs changing, and if so, what would be involved.&lt;BR /&gt;&lt;BR /&gt;OK, now, you're ready to go, and you can apply patches to the ORACLE_HOME too.&lt;BR /&gt;&lt;BR /&gt;The bad news - if your server names don't have the same length it's not going to work.&lt;BR /&gt;The good news - I think there is a workaround.&lt;BR /&gt;I believe that we may have used in the past when one server had a name length that was slightly shorter than the others, and that we could patch it, and it worked as a database just fine.&lt;BR /&gt;Suppose "bob" is the source, and "sueellen" is the dest.  Just go into /etc/hosts and add an alias to "sueellen" as "sue" (three letters).&lt;BR /&gt;From what I've seen about what the hostname is used for (and that's very little) - this should work fine.  Of course externally, the host name is important - go ahead and use the real name from the other servers, as long as your tnsnames.ora file lines up to the server's listener.ora file you should be in business.&lt;BR /&gt;Lastly, if you've got directory name changes that don't match - you can fake it out along the whole path way with symbolic links and get around it that way.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jul 2005 17:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915078#M772471</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-07-29T17:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Oracle question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915079#M772472</link>
      <description>John - Thanks!  Very helpful information for future loads.&lt;BR /&gt;&lt;BR /&gt;Connie.</description>
      <pubDate>Wed, 22 Nov 2006 08:39:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loading-oracle-question/m-p/4915079#M772472</guid>
      <dc:creator>ConnieK</dc:creator>
      <dc:date>2006-11-22T08:39:32Z</dc:date>
    </item>
  </channel>
</rss>

