<?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 Renaming an Oracle instance. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891919#M819508</link>
    <description>Folks.&lt;BR /&gt;&lt;BR /&gt;I would like to know if it is easy to rename an oracle instance.  If so, please give me a detailed procedure to do it.  &lt;BR /&gt;&lt;BR /&gt;If there is any easier, more reliable method, I would like to know as well.&lt;BR /&gt;&lt;BR /&gt;My Oracle version is 8.1.6 running on an rp5450, 11.0.  Thanks.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
    <pubDate>Wed, 29 Jan 2003 13:55:03 GMT</pubDate>
    <dc:creator>Hai Nguyen_1</dc:creator>
    <dc:date>2003-01-29T13:55:03Z</dc:date>
    <item>
      <title>Renaming an Oracle instance.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891919#M819508</link>
      <description>Folks.&lt;BR /&gt;&lt;BR /&gt;I would like to know if it is easy to rename an oracle instance.  If so, please give me a detailed procedure to do it.  &lt;BR /&gt;&lt;BR /&gt;If there is any easier, more reliable method, I would like to know as well.&lt;BR /&gt;&lt;BR /&gt;My Oracle version is 8.1.6 running on an rp5450, 11.0.  Thanks.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Wed, 29 Jan 2003 13:55:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891919#M819508</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2003-01-29T13:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming an Oracle instance.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891920#M819509</link>
      <description>Short answer: Ask a DBA.&lt;BR /&gt;&lt;BR /&gt;Long Answer:&lt;BR /&gt;&lt;BR /&gt;Create a copy of the definition of the database by performing the command 'alter database backup controlfile to trace;' in svrmgrl.&lt;BR /&gt;&lt;BR /&gt;Modify trace file produced, remove extraneous lines at top and bottom of file. Change topmost line to read 'create database set name &lt;SID&gt;'. Change all occurences of old SID to new SID. Rename file to end with .sql.&lt;BR /&gt;&lt;BR /&gt;Stop database, umount all file systems, change mount points to new SID, change names of users to new SID, change Oracle Parameter files to new SID, remount all file systems.&lt;BR /&gt;&lt;BR /&gt;Log in as Oracle Userid, in svrmgrl, run sql script created previously.&lt;BR /&gt;&lt;BR /&gt;There is a recent thread in the forums that holds Oracle Scripts; look there for the create controlfile script.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SID&gt;</description>
      <pubDate>Wed, 29 Jan 2003 14:01:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891920#M819509</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2003-01-29T14:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming an Oracle instance.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891921#M819510</link>
      <description>You need to shut down the database.&lt;BR /&gt;&lt;BR /&gt;then run this command:&lt;BR /&gt;&lt;BR /&gt;find /oracle_home -exec grep -l 'instance_name' {} \; &amp;gt; /tmp/filelist&lt;BR /&gt;&lt;BR /&gt;The oracle home must be your current oracle home. the instance_name must be replaced by your actual instance name.&lt;BR /&gt;&lt;BR /&gt;Now you have a datafile of all the configuration changes you need to make with the exception of /etc/oratab&lt;BR /&gt;&lt;BR /&gt;You can do it manually, or you can use a little script I wrote to make the change in an automated fashion.&lt;BR /&gt;&lt;BR /&gt;Now the trick with this script is putting the old and new instance name in the sed section.  You may need to modify your location of perl as well.&lt;BR /&gt;&lt;BR /&gt;This works, its called database cloning.&lt;BR /&gt;&lt;BR /&gt;If you admit to Oracle support you did it this way, they might not give you support.  Hint: we do this all the time and have never had trouble except when we used to to convert a 32 bit 8.1.7.0 database to a 64 bit 8.1.7.0 database.  To do that, you need a few oracle patches and might as well just install 8.1.7.4.0&lt;BR /&gt;&lt;BR /&gt;P</description>
      <pubDate>Wed, 29 Jan 2003 14:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891921#M819510</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-29T14:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming an Oracle instance.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891922#M819511</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Don't forget to change the config files listener.ora, tnsnames.ora on the serverside and tnsnames.ora on all clients&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 29 Jan 2003 14:33:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891922#M819511</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2003-01-29T14:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming an Oracle instance.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891923#M819512</link>
      <description>Ian, Steven,&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.  I have not yet tried your solutions.  But I believe they should work. I prefer Steven's approach.  It seems to be simpler.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Wed, 29 Jan 2003 14:35:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891923#M819512</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2003-01-29T14:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming an Oracle instance.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891924#M819513</link>
      <description>Hi you can clone the database on itself.&lt;BR /&gt;cf. the following thread&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2a7eef70e827d711abdc0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2a7eef70e827d711abdc0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is straightforward and I don't think there is any support issue with this method&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jean-Luc&lt;BR /&gt;&lt;BR /&gt;PS : as mentioned above you will have to amend your config files</description>
      <pubDate>Wed, 29 Jan 2003 16:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891924#M819513</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-01-29T16:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming an Oracle instance.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891925#M819514</link>
      <description />
      <pubDate>Thu, 30 Jan 2003 05:07:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-an-oracle-instance/m-p/2891925#M819514</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-01-30T05:07:46Z</dc:date>
    </item>
  </channel>
</rss>

