<?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: Need oracle script(s) to generate a database in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678946#M917294</link>
    <description>HI Andreas,&lt;BR /&gt;Thank you for sending the script.&lt;BR /&gt;I would like to ask you several questions prior of running this script.&lt;BR /&gt;1. I know that I have to make logical volumes &lt;BR /&gt;and not the filesystem.  My question is this,&lt;BR /&gt;I just do the same old LVM stuff? without filesystem, I can't mount that data mount point? &lt;BR /&gt;2.  How would I run this script in sqlplus ?&lt;BR /&gt;Thank you very much&lt;BR /&gt;</description>
    <pubDate>Wed, 13 Mar 2002 15:54:00 GMT</pubDate>
    <dc:creator>Deanna Tran</dc:creator>
    <dc:date>2002-03-13T15:54:00Z</dc:date>
    <item>
      <title>Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678942#M917290</link>
      <description>Hi,&lt;BR /&gt;Please help me to clarify :&lt;BR /&gt;1. I have completed installed oracle 9i on my system.  And I have started the database and edit&lt;BR /&gt;the oratab. However, when I tried to use sqlplus to login it gives me this error : NLS ...error.&lt;BR /&gt;here is the step that i did &lt;BR /&gt;su - oracle&lt;BR /&gt;echo $ORACLE_HOME&lt;BR /&gt;/u01/product/9.0.1&lt;BR /&gt;cd $ORACLE_HOME&lt;BR /&gt;sqlplus /nolog&lt;BR /&gt;SQL&amp;gt; connect SYSTEM/manager&lt;BR /&gt;error : NLS ....&lt;BR /&gt;Can someone help me with this problem...I have oracle 9i not 8 ...&lt;BR /&gt;2.  I tested the start up the script, it said it has started completed&lt;BR /&gt;/sbin/init.d/oracle start&lt;BR /&gt;ps -ef | grep ora&lt;BR /&gt;3. Does any1 have any generic script that would give help to generate a database and write to them?&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your hel</description>
      <pubDate>Fri, 08 Mar 2002 15:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678942#M917290</guid>
      <dc:creator>Diemanh</dc:creator>
      <dc:date>2002-03-08T15:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678943#M917291</link>
      <description>This page should give you a ton of stuff to use.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.dbaoncall.net/index_files/index_unix_scripts.html" target="_blank"&gt;http://www.dbaoncall.net/index_files/index_unix_scripts.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Fri, 08 Mar 2002 15:07:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678943#M917291</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-03-08T15:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678944#M917292</link>
      <description>This is a perl script we use for 7.4.3.1&lt;BR /&gt;After some modifications it /might/ help you.</description>
      <pubDate>Fri, 08 Mar 2002 15:09:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678944#M917292</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-03-08T15:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678945#M917293</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Use the script I posted in this thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x36ce94f22a31d6118fff0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x36ce94f22a31d6118fff0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Modify with your preferences and run.&lt;BR /&gt;&lt;BR /&gt;To enter data into this database you'll need to create a suiting table with the "create table" statament in sqlplus, and insert data with the "insert into" statement.&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Sun, 10 Mar 2002 10:53:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678945#M917293</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-03-10T10:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678946#M917294</link>
      <description>HI Andreas,&lt;BR /&gt;Thank you for sending the script.&lt;BR /&gt;I would like to ask you several questions prior of running this script.&lt;BR /&gt;1. I know that I have to make logical volumes &lt;BR /&gt;and not the filesystem.  My question is this,&lt;BR /&gt;I just do the same old LVM stuff? without filesystem, I can't mount that data mount point? &lt;BR /&gt;2.  How would I run this script in sqlplus ?&lt;BR /&gt;Thank you very much&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Mar 2002 15:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678946#M917294</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-03-13T15:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678947#M917295</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Last thing first; to runb scipt in SQL*Plus:&lt;BR /&gt;sqlplus sys/passwd as sysdba&lt;BR /&gt;SQL&amp;gt;@script&lt;BR /&gt;or&lt;BR /&gt;SQL&amp;gt;start script&lt;BR /&gt;&lt;BR /&gt;second, I'm not sure what you mean by using LVM and not filesystem...&lt;BR /&gt;If you mean using Raw devices for the tablespaces, I'm not familiar with that.&lt;BR /&gt;Have even read that there isn't much to gain on using this, and by using filesystem / blockdevices instead you get much easier administration.&lt;BR /&gt;&lt;BR /&gt;If using filesystem, you can set mount options to bypass the os buffering, as Oracle does its own buffering. Dont have the options here, but I'm sure someone in the forums have.&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Wed, 13 Mar 2002 22:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678947#M917295</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-03-13T22:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678948#M917296</link>
      <description>Hi Andreas,&lt;BR /&gt;I had created the init&lt;SID&gt;.ora in the $ORACLE_HOME/dbs&lt;BR /&gt;but i haven't do any link yet? would you help me on how to do it?&lt;BR /&gt;&lt;BR /&gt;If that is the case using the filesystem, then i must mount these filesystems prior running&lt;BR /&gt;your script? I am currently running oracle 9i.&lt;BR /&gt;Can you go over this procedure on making the tablespaces to make sure i am on the right track?&lt;BR /&gt;pvcreate -f /dev/rdsk/xxxx&lt;BR /&gt;vgcreate /dev/vgxx /dev/dsk/xxxx&lt;BR /&gt;lvcreate -L size -n tablespace1 /dev/vgxx&lt;BR /&gt;(If I want to have 20 tablespaces, then I must &lt;BR /&gt;issued this command 20 times?)&lt;BR /&gt;newfs -F vxfs /dev/vgxx/rlvolxx&lt;BR /&gt;--- the software is located on /u01&lt;BR /&gt;and the database is on /u02&lt;BR /&gt;--- how do i mount this tablespace f/system to those ?&lt;BR /&gt;&lt;/SID&gt;</description>
      <pubDate>Thu, 14 Mar 2002 00:15:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678948#M917296</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-03-14T00:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678949#M917297</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Before creating the database you must have in place the different mount points for the filesystems. In my setup /u01 to /u07 where:&lt;BR /&gt;/u01: Data tablespaces and software&lt;BR /&gt;/u02: Data tablespaces&lt;BR /&gt;/u03: Index tablespaces&lt;BR /&gt;/u04: Redologs&lt;BR /&gt;/u05: Temporary and rollback&lt;BR /&gt;/u06: Redolog members&lt;BR /&gt;/u07: Archived redologs&lt;BR /&gt;&lt;BR /&gt;(ops; my script doesn't follow this. Just edit to your preference)&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Thu, 14 Mar 2002 08:36:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678949#M917297</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-03-14T08:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678950#M917298</link>
      <description>Hi Andreas,&lt;BR /&gt;I have some questions in regards to your script&lt;BR /&gt;what does /u01 and /u03 and /u02 and /u05?&lt;BR /&gt;I noticed that this database is running with noachieved logs? why?</description>
      <pubDate>Thu, 14 Mar 2002 22:52:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678950#M917298</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-03-14T22:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678951#M917299</link>
      <description>Hi andreas,&lt;BR /&gt;Do all of those filesystem need to have the&lt;BR /&gt;init&lt;SID&gt;.ora in the directory?&lt;/SID&gt;</description>
      <pubDate>Fri, 15 Mar 2002 00:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678951#M917299</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-03-15T00:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678952#M917300</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;/u01/oradata/&lt;SID&gt; and /u02/oradata/&lt;SID&gt; is used when creating tablespaces that will be used for containing user data.&lt;BR /&gt;You also place the Oracle software here under /u01/app/oracle/product/9.0.1&lt;BR /&gt;The pfile init.ora goes in /u01/app/oracle/admin/&lt;SID&gt;/pfile/init&lt;SID&gt;.ora with a link to /u01/app/oracle/product/9.0.1/dbs/init&lt;SID&gt;.ora&lt;BR /&gt;&lt;BR /&gt;/u03/oradata/&lt;SID&gt; is used when creating tablespaces that will be used for table indexes.&lt;BR /&gt;/u04 and /u06 is used for the mirrored redologs /member 1 on /u04 and member 2 in /u06&lt;BR /&gt;/u05 is used for creating the tablespaces that will contaion the rollback segments.&lt;BR /&gt;&lt;BR /&gt;It is important to keep these parts of Oracle apart to aviod I/O botlenecks. During a DML to the database Oracle updates the rollbacksegment with read consistancy info so, then changes are made in the database buffer and written in the redolog and last the data in the table itself is changed. This means that data, rollback and redo disk aktivity must be separated.&lt;BR /&gt;&lt;BR /&gt;As to you quiestion os noarchivelogs, its simply a matter of your backup policy. A development or test database do not need archiving, as you don't mind loosing data if some datafiles get lost (disk failure ..)&lt;BR /&gt;&lt;BR /&gt;If you want to run with archiving its important to set the log_archive_dest to a disk different than the other Oracle volumes.&lt;BR /&gt;&lt;BR /&gt;Andreas&lt;BR /&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;</description>
      <pubDate>Fri, 15 Mar 2002 07:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678952#M917300</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-03-15T07:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need oracle script(s) to generate a database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678953#M917301</link>
      <description>Ooops&lt;BR /&gt;&lt;BR /&gt;Seems like we've overtaken Diemanh's thread.. I wasn't awake I think...&lt;BR /&gt;&lt;BR /&gt;Deanna, lets continue in your own posting.&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Fri, 15 Mar 2002 08:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-oracle-script-s-to-generate-a-database/m-p/2678953#M917301</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-03-15T08:12:13Z</dc:date>
    </item>
  </channel>
</rss>

