<?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: Addition adding a new database in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754533#M835429</link>
    <description>You can use the $ORACLE_HOME/bin/dbassist to create the new database.&lt;BR /&gt;YOu have a good GUI kind of creating a database where you can select the options.&lt;BR /&gt;&lt;BR /&gt;Else &lt;BR /&gt;you should do as&lt;BR /&gt;&lt;BR /&gt;1.copy the initialization file to the new instance.&lt;BR /&gt;$cp $ORACLE_HOME/dbs/init.ora init"&lt;INSTANCE-NAME&gt;".ora&lt;BR /&gt;2.Edit the init"instance-name".ora &lt;BR /&gt;to change the database_name &lt;BR /&gt;and set the values for the Shared_pool_size,DB_BLOCK_BUFFERS,etc..&lt;BR /&gt;Also change the location of your control files to the location you want to.&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;3.set you ORACLE_SID parameter to the new instance name.&lt;BR /&gt;&lt;BR /&gt;eg.ORACLE_SID=DB001;export ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;check the value of the ORACLE_SID whether it is set properly.&lt;BR /&gt;&lt;BR /&gt;echo $ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;4.$svrmgrl&lt;BR /&gt;svrmgr&amp;gt;connect internal&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;startup nomount pfile=$ORACLE_HOME/dbs/init"newinstance-name".ora&lt;BR /&gt;&lt;BR /&gt;Now your instance will be started&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;create database "database-name"&lt;BR /&gt;&amp;gt;controlfile reuse&lt;BR /&gt;&amp;gt;datafile '&lt;PATH of="" the="" datafile=""&gt;&lt;/PATH&gt;&amp;gt;logfile group 1 ('oracle_home/dbs/log1NEW_NAME.dbf') size 10 M,&lt;BR /&gt;&amp;gt; group 2 ('oracle_home/dbs/log2NEW_NAME.dbf') size 10 M&lt;BR /&gt;&lt;BR /&gt;check for the size for your database.&lt;BR /&gt;The datafile created is for the default system tablespace.&lt;BR /&gt;&lt;BR /&gt;now after the database is created,you have to run the catalog.sql and catproc.sql&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;@$ORACLE_HOME/rdbms/admin/catalog&lt;BR /&gt;svrmgrl&amp;gt;@$ORACLE_HOME/rdbms/admin/catproc&lt;BR /&gt;&lt;BR /&gt;After you run the two scripts.&lt;BR /&gt;&lt;BR /&gt;create a seperate tablespace for rollback segment&lt;BR /&gt;svrmgr&amp;gt;create tablespace rollback datafile '/home/oracle/rollback.dbf' size 100 M;&lt;BR /&gt;svrmgrl&amp;gt;create rollback segment R01 tablespace rollback storage(maxextents unlimited);&lt;BR /&gt;svrmgrl&amp;gt;alter rollback segment R01 online;           &lt;BR /&gt;Now the rollback segment is created .&lt;BR /&gt;Now make the entry in the&lt;BR /&gt;$ORACLE_HOME/dbs/init"new-instance".ora&lt;BR /&gt;In that enter R01 in the place of the&lt;BR /&gt;rollback segment in the file.&lt;BR /&gt;&lt;BR /&gt;create the required tablespace ,like if you require user tablespace&lt;BR /&gt;like the one for the rollback segment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/INSTANCE-NAME&gt;</description>
    <pubDate>Sat, 29 Jun 2002 04:26:12 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2002-06-29T04:26:12Z</dc:date>
    <item>
      <title>Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754527#M835423</link>
      <description>I'd like to know the process on how to add on the additional database.  The previous database was created using the dbca.  Do I have to create a new .profile for this new instance of database, or can I just edit the previous .profile of the existing database? &lt;BR /&gt;thankx</description>
      <pubDate>Fri, 28 Jun 2002 14:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754527#M835423</guid>
      <dc:creator>Deanna Tran_1</dc:creator>
      <dc:date>2002-06-28T14:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754528#M835424</link>
      <description>Do you mean environment variables for a second database ? On our Informix system we switch between the databases by having an alias in the main profile which points to a second profile containing the environment variables that differ. ie &lt;BR /&gt;&lt;BR /&gt;alias it=". $HOME/.IT.profile;unset INFORMIXSQLHOSTS"                           &lt;BR /&gt;alias dev=". $HOME/.DEV.profile;unset INFORMIXSQLHOSTS"                         &lt;BR /&gt;alias eval=". $HOME/.EVAL.profile;unset INFORMIXSQLHOSTS"      &lt;BR /&gt;&lt;BR /&gt;By the way - did'nt you crash the Enterprise ? :@)</description>
      <pubDate>Fri, 28 Jun 2002 15:25:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754528#M835424</guid>
      <dc:creator>Nick Wickens</dc:creator>
      <dc:date>2002-06-28T15:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754529#M835425</link>
      <description>we usually use the same .profile  and have a seperate script that sets up oracle specific environment variables for each sid.  Oracle ships a script to do this named oraenv. depending on who installed oracle it may be in /usr/local/bin.</description>
      <pubDate>Fri, 28 Jun 2002 18:13:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754529#M835425</guid>
      <dc:creator>Kevin Hansen</dc:creator>
      <dc:date>2002-06-28T18:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754530#M835426</link>
      <description>Hi kevin,&lt;BR /&gt;Can you give me an example on how to do it?&lt;BR /&gt;I found the oraenv script in /usr/local/bin&lt;BR /&gt;Can you show me how you set your up?&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jun 2002 18:46:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754530#M835426</guid>
      <dc:creator>Deanna Tran_1</dc:creator>
      <dc:date>2002-06-28T18:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754531#M835427</link>
      <description>Hi kevin,&lt;BR /&gt;what are the other scripts that I might need to use to set up an environment?&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jun 2002 21:51:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754531#M835427</guid>
      <dc:creator>Deanna Tran_1</dc:creator>
      <dc:date>2002-06-28T21:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754532#M835428</link>
      <description>You can use the $ORACLE_HOME/bin/dbassist to create the new database.&lt;BR /&gt;YOu have a good GUI kind of creating a database where you can select the options.&lt;BR /&gt;&lt;BR /&gt;Else &lt;BR /&gt;you should do as&lt;BR /&gt;&lt;BR /&gt;1.copy the initialization file to the new instance.&lt;BR /&gt;$cp $ORACLE_HOME/dbs/init.ora init"&lt;INSTANCE-NAME&gt;".ora&lt;BR /&gt;2.Edit the init"instance-name".ora &lt;BR /&gt;to change the database_name &lt;BR /&gt;and set the values for the Shared_pool_size,DB_BLOCK_BUFFERS,etc..&lt;BR /&gt;Also change the location of your control files to the location you want to.&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;3.set you ORACLE_SID parameter to the new instance name.&lt;BR /&gt;&lt;BR /&gt;eg.ORACLE_SID=DB001;export ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;check the value of the ORACLE_SID whether it is set properly.&lt;BR /&gt;&lt;BR /&gt;echo $ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;4.$svrmgrl&lt;BR /&gt;svrmgr&amp;gt;connect internal&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;startup nomount pfile=$ORACLE_HOME/dbs/init"newinstance-name".ora&lt;BR /&gt;&lt;BR /&gt;Now your instance will be started&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;create database "database-name"&lt;BR /&gt;&amp;gt;controlfile reuse&lt;BR /&gt;&amp;gt;datafile '&lt;PATH of="" the="" datafile=""&gt;&lt;/PATH&gt;&amp;gt;logfile group 1 ('oracle_home/dbs/log1NEW_NAME.dbf') size 10 M,&lt;BR /&gt;&amp;gt; group 2 ('oracle_home/dbs/log2NEW_NAME.dbf') size 10 M&lt;BR /&gt;&lt;BR /&gt;check for the size for your database.&lt;BR /&gt;The datafile created is for the default system tablespace.&lt;BR /&gt;&lt;BR /&gt;now after the database is created,you have to run the catalog.sql and catproc.sql&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;@$ORACLE_HOME/rdbms/admin/catalog&lt;BR /&gt;svrmgrl&amp;gt;@$ORACLE_HOME/rdbms/admin/catproc&lt;BR /&gt;&lt;BR /&gt;After you run the two scripts.&lt;BR /&gt;&lt;BR /&gt;create a seperate tablespace for rollback segment&lt;BR /&gt;svrmgr&amp;gt;create tablespace rollback datafile '/home/oracle/rollback.dbf' size 100 M;&lt;BR /&gt;svrmgrl&amp;gt;create rollback segment R01 tablespace rollback storage(maxextents unlimited);&lt;BR /&gt;svrmgrl&amp;gt;alter rollback segment R01 online;           &lt;BR /&gt;Now the rollback segment is created .&lt;BR /&gt;Now make the entry in the&lt;BR /&gt;$ORACLE_HOME/dbs/init"new-instance".ora&lt;BR /&gt;In that enter R01 in the place of the&lt;BR /&gt;rollback segment in the file.&lt;BR /&gt;&lt;BR /&gt;create the required tablespace ,like if you require user tablespace&lt;BR /&gt;like the one for the rollback segment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/INSTANCE-NAME&gt;</description>
      <pubDate>Sat, 29 Jun 2002 04:26:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754532#M835428</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-29T04:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754533#M835429</link>
      <description>You can use the $ORACLE_HOME/bin/dbassist to create the new database.&lt;BR /&gt;YOu have a good GUI kind of creating a database where you can select the options.&lt;BR /&gt;&lt;BR /&gt;Else &lt;BR /&gt;you should do as&lt;BR /&gt;&lt;BR /&gt;1.copy the initialization file to the new instance.&lt;BR /&gt;$cp $ORACLE_HOME/dbs/init.ora init"&lt;INSTANCE-NAME&gt;".ora&lt;BR /&gt;2.Edit the init"instance-name".ora &lt;BR /&gt;to change the database_name &lt;BR /&gt;and set the values for the Shared_pool_size,DB_BLOCK_BUFFERS,etc..&lt;BR /&gt;Also change the location of your control files to the location you want to.&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;3.set you ORACLE_SID parameter to the new instance name.&lt;BR /&gt;&lt;BR /&gt;eg.ORACLE_SID=DB001;export ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;check the value of the ORACLE_SID whether it is set properly.&lt;BR /&gt;&lt;BR /&gt;echo $ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;4.$svrmgrl&lt;BR /&gt;svrmgr&amp;gt;connect internal&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;startup nomount pfile=$ORACLE_HOME/dbs/init"newinstance-name".ora&lt;BR /&gt;&lt;BR /&gt;Now your instance will be started&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;create database "database-name"&lt;BR /&gt;&amp;gt;controlfile reuse&lt;BR /&gt;&amp;gt;datafile '&lt;PATH of="" the="" datafile=""&gt;&lt;/PATH&gt;&amp;gt;logfile group 1 ('oracle_home/dbs/log1NEW_NAME.dbf') size 10 M,&lt;BR /&gt;&amp;gt; group 2 ('oracle_home/dbs/log2NEW_NAME.dbf') size 10 M&lt;BR /&gt;&lt;BR /&gt;check for the size for your database.&lt;BR /&gt;The datafile created is for the default system tablespace.&lt;BR /&gt;&lt;BR /&gt;now after the database is created,you have to run the catalog.sql and catproc.sql&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;@$ORACLE_HOME/rdbms/admin/catalog&lt;BR /&gt;svrmgrl&amp;gt;@$ORACLE_HOME/rdbms/admin/catproc&lt;BR /&gt;&lt;BR /&gt;After you run the two scripts.&lt;BR /&gt;&lt;BR /&gt;create a seperate tablespace for rollback segment&lt;BR /&gt;svrmgr&amp;gt;create tablespace rollback datafile '/home/oracle/rollback.dbf' size 100 M;&lt;BR /&gt;svrmgrl&amp;gt;create rollback segment R01 tablespace rollback storage(maxextents unlimited);&lt;BR /&gt;svrmgrl&amp;gt;alter rollback segment R01 online;           &lt;BR /&gt;Now the rollback segment is created .&lt;BR /&gt;Now make the entry in the&lt;BR /&gt;$ORACLE_HOME/dbs/init"new-instance".ora&lt;BR /&gt;In that enter R01 in the place of the&lt;BR /&gt;rollback segment in the file.&lt;BR /&gt;&lt;BR /&gt;create the required tablespace ,like if you require user tablespace&lt;BR /&gt;like the one for the rollback segment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/INSTANCE-NAME&gt;</description>
      <pubDate>Sat, 29 Jun 2002 04:26:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754533#M835429</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-29T04:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754534#M835430</link>
      <description>You can use the $ORACLE_HOME/bin/dbassist to create the new database.&lt;BR /&gt;YOu have a good GUI kind of creating a database where you can select the options.&lt;BR /&gt;&lt;BR /&gt;Else &lt;BR /&gt;you should do as&lt;BR /&gt;&lt;BR /&gt;1.copy the initialization file to the new instance.&lt;BR /&gt;$cp $ORACLE_HOME/dbs/init.ora init"&lt;INSTANCE-NAME&gt;".ora&lt;BR /&gt;2.Edit the init"instance-name".ora &lt;BR /&gt;to change the database_name &lt;BR /&gt;and set the values for the Shared_pool_size,DB_BLOCK_BUFFERS,etc..&lt;BR /&gt;Also change the location of your control files to the location you want to.&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;3.set you ORACLE_SID parameter to the new instance name.&lt;BR /&gt;&lt;BR /&gt;eg.ORACLE_SID=DB001;export ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;check the value of the ORACLE_SID whether it is set properly.&lt;BR /&gt;&lt;BR /&gt;echo $ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;4.$svrmgrl&lt;BR /&gt;svrmgr&amp;gt;connect internal&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;startup nomount pfile=$ORACLE_HOME/dbs/init"newinstance-name".ora&lt;BR /&gt;&lt;BR /&gt;Now your instance will be started&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;create database "database-name"&lt;BR /&gt;&amp;gt;controlfile reuse&lt;BR /&gt;&amp;gt;datafile '&lt;PATH of="" the="" datafile=""&gt;&lt;/PATH&gt;&amp;gt;logfile group 1 ('oracle_home/dbs/log1NEW_NAME.dbf') size 10 M,&lt;BR /&gt;&amp;gt; group 2 ('oracle_home/dbs/log2NEW_NAME.dbf') size 10 M&lt;BR /&gt;&lt;BR /&gt;check for the size for your database.&lt;BR /&gt;The datafile created is for the default system tablespace.&lt;BR /&gt;&lt;BR /&gt;now after the database is created,you have to run the catalog.sql and catproc.sql&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;@$ORACLE_HOME/rdbms/admin/catalog&lt;BR /&gt;svrmgrl&amp;gt;@$ORACLE_HOME/rdbms/admin/catproc&lt;BR /&gt;&lt;BR /&gt;After you run the two scripts.&lt;BR /&gt;&lt;BR /&gt;create a seperate tablespace for rollback segment&lt;BR /&gt;svrmgr&amp;gt;create tablespace rollback datafile '/home/oracle/rollback.dbf' size 100 M;&lt;BR /&gt;svrmgrl&amp;gt;create rollback segment R01 tablespace rollback storage(maxextents unlimited);&lt;BR /&gt;svrmgrl&amp;gt;alter rollback segment R01 online;           &lt;BR /&gt;Now the rollback segment is created .&lt;BR /&gt;Now make the entry in the&lt;BR /&gt;$ORACLE_HOME/dbs/init"new-instance".ora&lt;BR /&gt;In that enter R01 in the place of the&lt;BR /&gt;rollback segment in the file.&lt;BR /&gt;&lt;BR /&gt;create the required tablespace ,like if you require user tablespace&lt;BR /&gt;like the one for the rollback segment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/INSTANCE-NAME&gt;</description>
      <pubDate>Sat, 29 Jun 2002 04:26:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754534#M835430</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-29T04:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754535#M835431</link>
      <description>You can use the $ORACLE_HOME/bin/dbassist to create the new database.&lt;BR /&gt;YOu have a good GUI kind of creating a database where you can select the options.&lt;BR /&gt;&lt;BR /&gt;Else &lt;BR /&gt;you should do as&lt;BR /&gt;&lt;BR /&gt;1.copy the initialization file to the new instance.&lt;BR /&gt;$cp $ORACLE_HOME/dbs/init.ora init"&lt;INSTANCE-NAME&gt;".ora&lt;BR /&gt;2.Edit the init"instance-name".ora &lt;BR /&gt;to change the database_name &lt;BR /&gt;and set the values for the Shared_pool_size,DB_BLOCK_BUFFERS,etc..&lt;BR /&gt;Also change the location of your control files to the location you want to.&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;3.set you ORACLE_SID parameter to the new instance name.&lt;BR /&gt;&lt;BR /&gt;eg.ORACLE_SID=DB001;export ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;check the value of the ORACLE_SID whether it is set properly.&lt;BR /&gt;&lt;BR /&gt;echo $ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;4.$svrmgrl&lt;BR /&gt;svrmgr&amp;gt;connect internal&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;startup nomount pfile=$ORACLE_HOME/dbs/init"newinstance-name".ora&lt;BR /&gt;&lt;BR /&gt;Now your instance will be started&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;create database "database-name"&lt;BR /&gt;&amp;gt;controlfile reuse&lt;BR /&gt;&amp;gt;datafile '&lt;PATH of="" the="" datafile=""&gt;&lt;/PATH&gt;&amp;gt;logfile group 1 ('oracle_home/dbs/log1NEW_NAME.dbf') size 10 M,&lt;BR /&gt;&amp;gt; group 2 ('oracle_home/dbs/log2NEW_NAME.dbf') size 10 M&lt;BR /&gt;&lt;BR /&gt;check for the size for your database.&lt;BR /&gt;The datafile created is for the default system tablespace.&lt;BR /&gt;&lt;BR /&gt;now after the database is created,you have to run the catalog.sql and catproc.sql&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;@$ORACLE_HOME/rdbms/admin/catalog&lt;BR /&gt;svrmgrl&amp;gt;@$ORACLE_HOME/rdbms/admin/catproc&lt;BR /&gt;&lt;BR /&gt;After you run the two scripts.&lt;BR /&gt;&lt;BR /&gt;create a seperate tablespace for rollback segment&lt;BR /&gt;svrmgr&amp;gt;create tablespace rollback datafile '/home/oracle/rollback.dbf' size 100 M;&lt;BR /&gt;svrmgrl&amp;gt;create rollback segment R01 tablespace rollback storage(maxextents unlimited);&lt;BR /&gt;svrmgrl&amp;gt;alter rollback segment R01 online;           &lt;BR /&gt;Now the rollback segment is created .&lt;BR /&gt;Now make the entry in the&lt;BR /&gt;$ORACLE_HOME/dbs/init"new-instance".ora&lt;BR /&gt;In that enter R01 in the place of the&lt;BR /&gt;rollback segment in the file.&lt;BR /&gt;&lt;BR /&gt;create the required tablespace ,like if you require user tablespace&lt;BR /&gt;like the one for the rollback segment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/INSTANCE-NAME&gt;</description>
      <pubDate>Sat, 29 Jun 2002 04:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754535#M835431</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-29T04:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754536#M835432</link>
      <description>You can use the $ORACLE_HOME/bin/dbassist to create the new database.&lt;BR /&gt;YOu have a good GUI kind of creating a database where you can select the options.&lt;BR /&gt;&lt;BR /&gt;Else &lt;BR /&gt;you should do as&lt;BR /&gt;&lt;BR /&gt;1.copy the initialization file to the new instance.&lt;BR /&gt;$cp $ORACLE_HOME/dbs/init.ora init"&lt;INSTANCE-NAME&gt;".ora&lt;BR /&gt;2.Edit the init"instance-name".ora &lt;BR /&gt;to change the database_name &lt;BR /&gt;and set the values for the Shared_pool_size,DB_BLOCK_BUFFERS,etc..&lt;BR /&gt;Also change the location of your control files to the location you want to.&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;3.set you ORACLE_SID parameter to the new instance name.&lt;BR /&gt;&lt;BR /&gt;eg.ORACLE_SID=DB001;export ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;check the value of the ORACLE_SID whether it is set properly.&lt;BR /&gt;&lt;BR /&gt;echo $ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;4.$svrmgrl&lt;BR /&gt;svrmgr&amp;gt;connect internal&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;startup nomount pfile=$ORACLE_HOME/dbs/init"newinstance-name".ora&lt;BR /&gt;&lt;BR /&gt;Now your instance will be started&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;create database "database-name"&lt;BR /&gt;&amp;gt;controlfile reuse&lt;BR /&gt;&amp;gt;datafile '&lt;PATH of="" the="" datafile=""&gt;&lt;/PATH&gt;&amp;gt;logfile group 1 ('oracle_home/dbs/log1NEW_NAME.dbf') size 10 M,&lt;BR /&gt;&amp;gt; group 2 ('oracle_home/dbs/log2NEW_NAME.dbf') size 10 M&lt;BR /&gt;&lt;BR /&gt;check for the size for your database.&lt;BR /&gt;The datafile created is for the default system tablespace.&lt;BR /&gt;&lt;BR /&gt;now after the database is created,you have to run the catalog.sql and catproc.sql&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;@$ORACLE_HOME/rdbms/admin/catalog&lt;BR /&gt;svrmgrl&amp;gt;@$ORACLE_HOME/rdbms/admin/catproc&lt;BR /&gt;&lt;BR /&gt;After you run the two scripts.&lt;BR /&gt;&lt;BR /&gt;create a seperate tablespace for rollback segment&lt;BR /&gt;svrmgr&amp;gt;create tablespace rollback datafile '/home/oracle/rollback.dbf' size 100 M;&lt;BR /&gt;svrmgrl&amp;gt;create rollback segment R01 tablespace rollback storage(maxextents unlimited);&lt;BR /&gt;svrmgrl&amp;gt;alter rollback segment R01 online;           &lt;BR /&gt;Now the rollback segment is created .&lt;BR /&gt;Now make the entry in the&lt;BR /&gt;$ORACLE_HOME/dbs/init"new-instance".ora&lt;BR /&gt;In that enter R01 in the place of the&lt;BR /&gt;rollback segment in the file.&lt;BR /&gt;&lt;BR /&gt;create the required tablespace ,like if you require user tablespace&lt;BR /&gt;like the one for the rollback segment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/INSTANCE-NAME&gt;</description>
      <pubDate>Sat, 29 Jun 2002 04:26:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754536#M835432</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-29T04:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754537#M835433</link>
      <description>You can use the $ORACLE_HOME/bin/dbassist to create the new database.&lt;BR /&gt;YOu have a good GUI kind of creating a database where you can select the options.&lt;BR /&gt;&lt;BR /&gt;Else &lt;BR /&gt;you should do as&lt;BR /&gt;&lt;BR /&gt;1.copy the initialization file to the new instance.&lt;BR /&gt;$cp $ORACLE_HOME/dbs/init.ora init"&lt;INSTANCE-NAME&gt;".ora&lt;BR /&gt;2.Edit the init"instance-name".ora &lt;BR /&gt;to change the database_name &lt;BR /&gt;and set the values for the Shared_pool_size,DB_BLOCK_BUFFERS,etc..&lt;BR /&gt;Also change the location of your control files to the location you want to.&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;3.set you ORACLE_SID parameter to the new instance name.&lt;BR /&gt;&lt;BR /&gt;eg.ORACLE_SID=DB001;export ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;check the value of the ORACLE_SID whether it is set properly.&lt;BR /&gt;&lt;BR /&gt;echo $ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;4.$svrmgrl&lt;BR /&gt;svrmgr&amp;gt;connect internal&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;startup nomount pfile=$ORACLE_HOME/dbs/init"newinstance-name".ora&lt;BR /&gt;&lt;BR /&gt;Now your instance will be started&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;create database "database-name"&lt;BR /&gt;&amp;gt;controlfile reuse&lt;BR /&gt;&amp;gt;datafile '&lt;PATH of="" the="" datafile=""&gt;&lt;/PATH&gt;&amp;gt;logfile group 1 ('oracle_home/dbs/log1NEW_NAME.dbf') size 10 M,&lt;BR /&gt;&amp;gt; group 2 ('oracle_home/dbs/log2NEW_NAME.dbf') size 10 M&lt;BR /&gt;&lt;BR /&gt;check for the size for your database.&lt;BR /&gt;The datafile created is for the default system tablespace.&lt;BR /&gt;&lt;BR /&gt;now after the database is created,you have to run the catalog.sql and catproc.sql&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;@$ORACLE_HOME/rdbms/admin/catalog&lt;BR /&gt;svrmgrl&amp;gt;@$ORACLE_HOME/rdbms/admin/catproc&lt;BR /&gt;&lt;BR /&gt;After you run the two scripts.&lt;BR /&gt;&lt;BR /&gt;create a seperate tablespace for rollback segment&lt;BR /&gt;svrmgr&amp;gt;create tablespace rollback datafile '/home/oracle/rollback.dbf' size 100 M;&lt;BR /&gt;svrmgrl&amp;gt;create rollback segment R01 tablespace rollback storage(maxextents unlimited);&lt;BR /&gt;svrmgrl&amp;gt;alter rollback segment R01 online;           &lt;BR /&gt;Now the rollback segment is created .&lt;BR /&gt;Now make the entry in the&lt;BR /&gt;$ORACLE_HOME/dbs/init"new-instance".ora&lt;BR /&gt;In that enter R01 in the place of the&lt;BR /&gt;rollback segment in the file.&lt;BR /&gt;&lt;BR /&gt;create the required tablespace ,like if you require user tablespace&lt;BR /&gt;like the one for the rollback segment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/INSTANCE-NAME&gt;</description>
      <pubDate>Sat, 29 Jun 2002 04:28:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754537#M835433</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-29T04:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754538#M835434</link>
      <description>You can use the $ORACLE_HOME/bin/dbassist to create the new database.&lt;BR /&gt;YOu have a good GUI kind of creating a database where you can select the options.&lt;BR /&gt;&lt;BR /&gt;Else &lt;BR /&gt;you should do as&lt;BR /&gt;&lt;BR /&gt;1.copy the initialization file to the new instance.&lt;BR /&gt;$cp $ORACLE_HOME/dbs/init.ora init"&lt;INSTANCE-NAME&gt;".ora&lt;BR /&gt;2.Edit the init"instance-name".ora &lt;BR /&gt;to change the database_name &lt;BR /&gt;and set the values for the Shared_pool_size,DB_BLOCK_BUFFERS,etc..&lt;BR /&gt;Also change the location of your control files to the location you want to.&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;3.set you ORACLE_SID parameter to the new instance name.&lt;BR /&gt;&lt;BR /&gt;eg.ORACLE_SID=DB001;export ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;check the value of the ORACLE_SID whether it is set properly.&lt;BR /&gt;&lt;BR /&gt;echo $ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;4.$svrmgrl&lt;BR /&gt;svrmgr&amp;gt;connect internal&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;startup nomount pfile=$ORACLE_HOME/dbs/init"newinstance-name".ora&lt;BR /&gt;&lt;BR /&gt;Now your instance will be started&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;create database "database-name"&lt;BR /&gt;&amp;gt;controlfile reuse&lt;BR /&gt;&amp;gt;datafile '&lt;PATH of="" the="" datafile=""&gt;&lt;/PATH&gt;&amp;gt;logfile group 1 ('oracle_home/dbs/log1NEW_NAME.dbf') size 10 M,&lt;BR /&gt;&amp;gt; group 2 ('oracle_home/dbs/log2NEW_NAME.dbf') size 10 M&lt;BR /&gt;&lt;BR /&gt;check for the size for your database.&lt;BR /&gt;The datafile created is for the default system tablespace.&lt;BR /&gt;&lt;BR /&gt;now after the database is created,you have to run the catalog.sql and catproc.sql&lt;BR /&gt;&lt;BR /&gt;svrmgr&amp;gt;@$ORACLE_HOME/rdbms/admin/catalog&lt;BR /&gt;svrmgrl&amp;gt;@$ORACLE_HOME/rdbms/admin/catproc&lt;BR /&gt;&lt;BR /&gt;After you run the two scripts.&lt;BR /&gt;&lt;BR /&gt;create a seperate tablespace for rollback segment&lt;BR /&gt;svrmgr&amp;gt;create tablespace rollback datafile '/home/oracle/rollback.dbf' size 100 M;&lt;BR /&gt;svrmgrl&amp;gt;create rollback segment R01 tablespace rollback storage(maxextents unlimited);&lt;BR /&gt;svrmgrl&amp;gt;alter rollback segment R01 online;           &lt;BR /&gt;Now the rollback segment is created .&lt;BR /&gt;Now make the entry in the&lt;BR /&gt;$ORACLE_HOME/dbs/init"new-instance".ora&lt;BR /&gt;In that enter R01 in the place of the&lt;BR /&gt;rollback segment in the file.&lt;BR /&gt;&lt;BR /&gt;create the required tablespace ,like if you require user tablespace&lt;BR /&gt;like the one for the rollback segment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/INSTANCE-NAME&gt;</description>
      <pubDate>Sat, 29 Jun 2002 04:28:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754538#M835434</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-29T04:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754539#M835435</link>
      <description>sorry,&lt;BR /&gt;I clicked twice as the post was not submitted.&lt;BR /&gt;So many times....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sorry&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Jun 2002 04:39:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754539#M835435</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-29T04:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Addition adding a new database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754540#M835436</link>
      <description>Don't forget to update your /etc/oratab file to add the new database also.  If you don't, it will not start and stop on reboot.  In addition, some of the env file use it to get the ORACLE_HOME of the database, etc.&lt;BR /&gt;&lt;BR /&gt;I have my env set up to prompt me for the database and then set my env variables appropriately.  Here are the lines I added to my .profile to do the prompting and then call the oraenv script:&lt;BR /&gt;&lt;BR /&gt;# Set up the Oracle environment&lt;BR /&gt;SIDLIST=`awk -F: '/^[^#]/{printf "%s  ",$1}' /etc/oratab`&lt;BR /&gt;echo "SIDs on this machine are: $SIDLIST"&lt;BR /&gt;ORAENV_ASK=&lt;BR /&gt;. /usr/local/bin/oraenv&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Mon, 01 Jul 2002 12:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/addition-adding-a-new-database/m-p/2754540#M835436</guid>
      <dc:creator>Jeanine Kone</dc:creator>
      <dc:date>2002-07-01T12:44:31Z</dc:date>
    </item>
  </channel>
</rss>

