<?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: Oracle 7.3.4: Database name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-7-3-4-database-name/m-p/3918024#M761690</link>
    <description>The various articles referenced give a good description of cloning a database.  However, there is one idiosyncrasy of a 7.3.4 database that you need to watch out for.&lt;BR /&gt;&lt;BR /&gt;Whenever a 7.3.4 instance is started, it creates a file $ORACLE_HOME/dbs/sgadefSID.dbf, which lists the address of the shared memory segment for the instance.  The CREATE CONTROLFILE script will see the source database name in the data files and see the source database sgadef file, and fail because it claims another instance already has the datafiles open.&lt;BR /&gt;&lt;BR /&gt;There are two workarounds: 1, shut down the source database while running the create controlfile, or 2, temporarily rename the sgadef file for the source database.</description>
    <pubDate>Tue, 09 Jan 2007 10:10:37 GMT</pubDate>
    <dc:creator>Ben Dehner</dc:creator>
    <dc:date>2007-01-09T10:10:37Z</dc:date>
    <item>
      <title>Oracle 7.3.4: Database name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-7-3-4-database-name/m-p/3918022#M761688</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I have a oracle 7.3.4 database. I want to make clone this database and start with another name on same server. Is it possible ? if yes How ?&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Sunil&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Dec 2006 09:08:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-7-3-4-database-name/m-p/3918022#M761688</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2006-12-27T09:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 7.3.4: Database name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-7-3-4-database-name/m-p/3918023#M761689</link>
      <description>Duplicate of &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1086420" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1086420&lt;/A&gt;</description>
      <pubDate>Wed, 27 Dec 2006 09:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-7-3-4-database-name/m-p/3918023#M761689</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-12-27T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 7.3.4: Database name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-7-3-4-database-name/m-p/3918024#M761690</link>
      <description>The various articles referenced give a good description of cloning a database.  However, there is one idiosyncrasy of a 7.3.4 database that you need to watch out for.&lt;BR /&gt;&lt;BR /&gt;Whenever a 7.3.4 instance is started, it creates a file $ORACLE_HOME/dbs/sgadefSID.dbf, which lists the address of the shared memory segment for the instance.  The CREATE CONTROLFILE script will see the source database name in the data files and see the source database sgadef file, and fail because it claims another instance already has the datafiles open.&lt;BR /&gt;&lt;BR /&gt;There are two workarounds: 1, shut down the source database while running the create controlfile, or 2, temporarily rename the sgadef file for the source database.</description>
      <pubDate>Tue, 09 Jan 2007 10:10:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-7-3-4-database-name/m-p/3918024#M761690</guid>
      <dc:creator>Ben Dehner</dc:creator>
      <dc:date>2007-01-09T10:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 7.3.4: Database name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-7-3-4-database-name/m-p/3918025#M761691</link>
      <description>Hi Sunil,&lt;BR /&gt;&lt;BR /&gt;Do on the source database:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;alter database backup controlfile to trace;&lt;BR /&gt;&lt;BR /&gt;This will generate a text file on the bdump or udump (don't remember). Make the ajustmnents to be like this:&lt;BR /&gt;&lt;BR /&gt;STARTUP NOMOUNT&lt;BR /&gt;CREATE CONTROLFILE REUSE SET DATABASE "&lt;NEW_SID&gt;" RESETLOGS NOARCHIVELOG&lt;BR /&gt;    MAXLOGFILES 16&lt;BR /&gt;    MAXLOGMEMBERS 3&lt;BR /&gt;    MAXDATAFILES 300&lt;BR /&gt;    MAXINSTANCES 1&lt;BR /&gt;    MAXLOGHISTORY 500&lt;BR /&gt;LOGFILE&lt;BR /&gt;  GROUP 1 (&lt;BR /&gt;    '/disc1/.../&lt;NEW_SID&gt;/log01a.dbf',&lt;BR /&gt;    '/disc2/.../&lt;NEW_SID&gt;/log01b.dbf'&lt;BR /&gt;  ) SIZE 10M,&lt;BR /&gt;  GROUP 2 (&lt;BR /&gt;    '/disc1/.../&lt;NEW_SID&gt;/log02a.dbf',&lt;BR /&gt;    '/disc2/.../&lt;NEW_SID&gt;/log02b.dbf'&lt;BR /&gt;  ) SIZE 10M&lt;BR /&gt;DATAFILE&lt;BR /&gt;    '/disc1/.../&lt;NEW_SID&gt;/system01.dbf',&lt;BR /&gt;    '/disc1/.../&lt;NEW_SID&gt;/rbs01.dbf',&lt;BR /&gt;    '/disc1/.../&lt;NEW_SID&gt;/temp01.dbf',&lt;BR /&gt;...&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;Save it (clone.sql).&lt;BR /&gt;&lt;BR /&gt;Copy the COLD BACKUP datafiles to /disc1/.../&lt;NEW_SID&gt;/ and /disc2/.../&lt;NEW_SID&gt;.&lt;BR /&gt;&lt;BR /&gt;Set the user's environment to the new SID and start svrmgrl:&lt;BR /&gt;&lt;BR /&gt;SVRMGRL&amp;gt;@clone.sql;&lt;BR /&gt;SVRMGRL&amp;gt;RECOVER DATABASE USING BACKUP CONTROLFILE; -- it may give an error but ignore!&lt;BR /&gt;SVRMGRL&amp;gt;ALTER DATABASE OPEN RESETLOGS;&lt;BR /&gt;&lt;BR /&gt;If it doesn't work try it recovering WITHOUT USING BACKUP CONTROLFILE (I'm not sure if you must use this option or not):&lt;BR /&gt;&lt;BR /&gt;SVRMGRL&amp;gt;@clone.sql;&lt;BR /&gt;SVRMGRL&amp;gt;RECOVER DATABASE; -- it may give an error but ignore!&lt;BR /&gt;SVRMGRL&amp;gt;ALTER DATABASE OPEN RESETLOGS;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/NEW_SID&gt;&lt;/NEW_SID&gt;&lt;/NEW_SID&gt;&lt;/NEW_SID&gt;&lt;/NEW_SID&gt;&lt;/NEW_SID&gt;&lt;/NEW_SID&gt;&lt;/NEW_SID&gt;&lt;/NEW_SID&gt;&lt;/NEW_SID&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-7-3-4-database-name/m-p/3918025#M761691</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2007-01-10T05:32:55Z</dc:date>
    </item>
  </channel>
</rss>

