<?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 How to boot databases from multiple oracle installation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206594#M792944</link>
    <description>Hi all.&lt;BR /&gt;I got HPUX 11.00 and multiple oracle installations on it, each installation uses different user.&lt;BR /&gt;When I'm using dbstart script it start all of the databases on /etc/oratab that has Y mark on them, no matter with which installation they were installed.&lt;BR /&gt;Is there a solution?&lt;BR /&gt;Liad</description>
    <pubDate>Tue, 02 Mar 2004 06:23:50 GMT</pubDate>
    <dc:creator>Liadi</dc:creator>
    <dc:date>2004-03-02T06:23:50Z</dc:date>
    <item>
      <title>How to boot databases from multiple oracle installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206594#M792944</link>
      <description>Hi all.&lt;BR /&gt;I got HPUX 11.00 and multiple oracle installations on it, each installation uses different user.&lt;BR /&gt;When I'm using dbstart script it start all of the databases on /etc/oratab that has Y mark on them, no matter with which installation they were installed.&lt;BR /&gt;Is there a solution?&lt;BR /&gt;Liad</description>
      <pubDate>Tue, 02 Mar 2004 06:23:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206594#M792944</guid>
      <dc:creator>Liadi</dc:creator>
      <dc:date>2004-03-02T06:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to boot databases from multiple oracle installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206595#M792945</link>
      <description>Hi Liad,&lt;BR /&gt;&lt;BR /&gt;Well, IF you've installed with different user names, you have no choice but to supply different oratab files to *each* user. But I'm not sure that's supported. If so it would have to be an env variable that would point to the diff oratab files, I'd suppose.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Mar 2004 06:31:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206595#M792945</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-03-02T06:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to boot databases from multiple oracle installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206596#M792946</link>
      <description>You have to do what we did; make a copy of dbstart and dbshut and modify these copies to include/exclude which databases you actually want to start/stop. You can make a copy for each database you have if you want, call them dbstart.&lt;DBNAME&gt; and dbshut.&lt;DBNAME&gt; or create one called dbstart.singledb and dbshut.singledb which take an argument and only shut/start that one db, this is what we do.&lt;BR /&gt;&lt;BR /&gt;We edit dbstart and modify this bit;&lt;BR /&gt;&lt;BR /&gt;cat $ORATAB | while read LINE&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;TO:&lt;BR /&gt;&lt;BR /&gt;#cat $ORATAB | while read LINE&lt;BR /&gt;#do&lt;BR /&gt;LINE=$(cat /etc/oratab|grep ${1}|tail -1)&lt;BR /&gt;&lt;BR /&gt;So that the argument you supply ($1) is now the database to start (not every Y entry in /etc/oratab). You need to commend out the done statement further down also(as youve commented out the do).&lt;BR /&gt;&lt;BR /&gt;Same for the dbshut script.&lt;BR /&gt;&lt;BR /&gt;Now when you run it it only starts/stops the dbname you supplied, eg;&lt;BR /&gt;&lt;BR /&gt;dbshut.singledb &lt;DBNAME&gt;&lt;BR /&gt;sbstart.singledb &lt;DBNAME&gt;&lt;BR /&gt;&lt;/DBNAME&gt;&lt;/DBNAME&gt;&lt;/DBNAME&gt;&lt;/DBNAME&gt;</description>
      <pubDate>Tue, 02 Mar 2004 06:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206596#M792946</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2004-03-02T06:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to boot databases from multiple oracle installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206597#M792947</link>
      <description>An option would be to check the installation name within each /etc/passwd entry (in other words: the user-name), set it as ORACLE_SID, and then remove the entry from dbstart that loops through /etc/oratab?</description>
      <pubDate>Tue, 02 Mar 2004 06:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206597#M792947</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2004-03-02T06:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to boot databases from multiple oracle installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206598#M792948</link>
      <description>Thank you all.&lt;BR /&gt;I now can run databases with multiple oracle installations, but only manually, it doesn't work on startup. I get this message from /etc/rc.log:&lt;BR /&gt;/sbin/rc3.d/S990dbora_qadab91[18]: su:  not found.&lt;BR /&gt;"/sbin/rc3.d/S990dbora_qadab91 start" FAILED&lt;BR /&gt;&lt;BR /&gt;dbora_qadab91 looks like:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# Set ORA_OWNER to the user id of the owner of the&lt;BR /&gt;# Oracle database in ORA_HOME.&lt;BR /&gt;ORA_HOME=/SAN_DISKS/qadab91&lt;BR /&gt;ORA_OWNER=oracle9s&lt;BR /&gt;if [ ! -f $ORA_HOME/bin/dbstart ]&lt;BR /&gt;then&lt;BR /&gt;     echo "Oracle startup: cannot start"&lt;BR /&gt;     exit&lt;BR /&gt;fi&lt;BR /&gt;case "$1" in&lt;BR /&gt;     start)&lt;BR /&gt;          # Start the Oracle databases:&lt;BR /&gt;          # The following command assumes that the oracle login&lt;BR /&gt;          # will not prompt the user for any values&lt;BR /&gt;     su - $ORA_OWNER -c "setenv ORACLE_HOME $ORA_HOME ; $ORA_HOME/bin/dbstart qadab91"&lt;BR /&gt;     ;;&lt;BR /&gt;     stop)&lt;BR /&gt;          # Stop the Oracle databases:&lt;BR /&gt;          # The following command assumes that the oracle login&lt;BR /&gt;          # will not prompt the user for any values&lt;BR /&gt;     su - $ORA_OWNER -c "setenv ORACLE_HOME $ORA_HOME ; $ORA_HOME/bin/dbshut qadab91"&lt;BR /&gt;&lt;BR /&gt;     ;;&lt;BR /&gt;     *)&lt;BR /&gt;        echo $1&lt;BR /&gt;esac</description>
      <pubDate>Tue, 02 Mar 2004 09:17:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206598#M792948</guid>
      <dc:creator>Liadi</dc:creator>
      <dc:date>2004-03-02T09:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to boot databases from multiple oracle installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206599#M792949</link>
      <description>in your /sbin/init.d startup script (which is a link from /etc/rc3.d ensure the PATH variable is declared at the start and add to it; /usr/bin&lt;BR /&gt;&lt;BR /&gt;This will then pick up the su command.&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Mar 2004 09:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206599#M792949</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2004-03-02T09:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to boot databases from multiple oracle installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206600#M792950</link>
      <description>Thank you very very much, it's working!!!&lt;BR /&gt;&lt;BR /&gt;Stefan - you really helped me, thank you.</description>
      <pubDate>Tue, 02 Mar 2004 10:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-boot-databases-from-multiple-oracle-installation/m-p/3206600#M792950</guid>
      <dc:creator>Liadi</dc:creator>
      <dc:date>2004-03-02T10:03:03Z</dc:date>
    </item>
  </channel>
</rss>

