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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to create new instance ?

Re: How to create new instance ?

From: oracle <oracle_at_nightmare.com>
Date: 1997/03/06
Message-ID: <331F7226.7C74@nightmare.com>#1/1

------------76635C7D2FFA22
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

Tom Helmer Jensen wrote:

>
> Hi there
>
> I'm new to the more advanced Oracle setups.
>
> We are running Oracle 7.3.2 on a Solaris 2.5.1/Ultra 2, but are in
 need
> of a second instance of our db for development purposes.
>
> I've tried to use the script's shipped with Oracle:
>
> /opt/app/oracle/admin/<sid>/create/crdb<sid>.sql
> /opt/app/oracle/admin/<sid>/create/crdb2<sid>.sql
> /opt/app/oracle/admin/<sid>/pfile/init<sid>.ora
> /opt/app/oracle/admin/<sid>/pfile/config<sid>.ora
>
> (of course I had to create a new set of files and modify them)
>
> ..it seems to work, the instance can be started, but it's not created
> properly.
> Eg. all the packages and other system tables are missing.
>
> What do i need to do ??
>
> Regards, Tom

Do the following:

  1. cd $ORACLE_HOME/rdbms/admin
  2. svrmgrl connect internal
  3. If the database is started shut it down and do a "startup restrict"
  4. Within svrmgrl run the following scripts: catalog.sql catproc.sql catexp.sql

This should do it. If you are using replication you will also need to run
"catrep.sql" and "catrepad.sql".

------------76635C7D2FFA22
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset=us-ascii

<HTML><BODY>

<DT>Tom Helmer Jensen wrote:<BR>

&gt;&nbsp;<BR>
&gt; Hi there<BR>
&gt;&nbsp;<BR>
&gt; I'm new to the more advanced Oracle setups.<BR>
&gt;&nbsp;<BR>
&gt; We are running Oracle 7.3.2 on a Solaris 2.5.1/Ultra 2, but are in
need<BR>
&gt; of a second instance of our db for development purposes.<BR>
&gt;&nbsp;<BR>
&gt; I've tried to use the script's shipped with Oracle:<BR>
&gt;&nbsp;<BR>
&gt; /opt/app/oracle/admin/&lt;sid&gt;/create/crdb&lt;sid&gt;.sql<BR>
&gt; /opt/app/oracle/admin/&lt;sid&gt;/create/crdb2&lt;sid&gt;.sql<BR>
&gt; /opt/app/oracle/admin/&lt;sid&gt;/pfile/init&lt;sid&gt;.ora<BR>
&gt; /opt/app/oracle/admin/&lt;sid&gt;/pfile/config&lt;sid&gt;.ora<BR>
&gt;&nbsp;<BR>
&gt; (of course I had to create a new set of files and modify them)<BR>
&gt;&nbsp;<BR>
&gt; ..it seems to work, the instance can be started, but it's not created<BR>
&gt; properly.<BR>
&gt; Eg. all the packages and other system tables are missing.<BR>
&gt;&nbsp;<BR>
&gt; What do i need to do ??<BR>
&gt;&nbsp;<BR>
&gt; Regards, Tom<BR>

<BR></DT>

<DT>Do the following:</DT>

<DT>&nbsp;</DT>

<DT>1)&nbsp; cd $ORACLE_HOME/rdbms/admin</DT>

<DT>2)&nbsp; svrmgrl</DT>

<DT>&nbsp;&nbsp;&nbsp;&nbsp; connect internal</DT>

<DT>3)&nbsp; If the database is started shut it down and do a &quot;startup
restrict&quot;</DT>

<DT>4)&nbsp; Within svrmgrl run the following scripts:</DT>

<DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catalog.sql</DT>

<DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catproc.sql</DT>

<DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catexp.sql</DT>

<DT>&nbsp;</DT>

<DT>&nbsp;</DT>

<DT>This should do it.&nbsp; If you are using replication you will also
need to run</DT>

<DT>&quot;catrep.sql&quot; and &quot;catrepad.sql&quot;.</DT>

<DT>&nbsp;</DT>

<DT>&nbsp;</DT>

<DT>&nbsp;&nbsp;</DT>

</BODY>
</HTML>

------------76635C7D2FFA22-- Received on Thu Mar 06 1997 - 00:00:00 CST

Original text of this message

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