<?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: Shutdown oracle before BC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978491#M784181</link>
    <description>Thanks for your opinion on the archivelog issue...&lt;BR /&gt;(I'll forward it to the DBA)&lt;BR /&gt;&lt;BR /&gt;Unfortunatly I'm just the consultant setting up the bussiness copy :-)&lt;BR /&gt;&lt;BR /&gt;I've tried to convince my customer to switch to archivelog mode and &lt;BR /&gt;the least I can say is that's been very controversial...&lt;BR /&gt;&lt;BR /&gt;//Michael&lt;BR /&gt;</description>
    <pubDate>Fri, 12 May 2006 13:36:47 GMT</pubDate>
    <dc:creator>Michael Kalisz</dc:creator>
    <dc:date>2006-05-12T13:36:47Z</dc:date>
    <item>
      <title>Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978483#M784173</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm working on a script that will shutdown oracle before doing a bussiness copy.&lt;BR /&gt;(We have to be absolutely sure that oracle is down after running the script)&lt;BR /&gt;&lt;BR /&gt;What I had in mind is the following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-- Start Timer&lt;BR /&gt;alter system checkpoint;   -- writes dirty buffer to datafiles + updates controlfile&lt;BR /&gt;shutdown immediate;        -- kill and rollback ongoing transactions +&lt;BR /&gt;shutdown database&lt;BR /&gt;&lt;BR /&gt;If Timeout then&lt;BR /&gt;  shutdown abort;    -- Kills everything here and now (No rollback of ongoing transactions)&lt;BR /&gt;  startup restrict;  -- Recover database and starup in restricted mode (only SYSDBA:s allowed)&lt;BR /&gt;  shutdown normal;   -- Wait for all users to logout (Nobody is connected as we are in restriced mode)  and then shutdown database cleanly.&lt;BR /&gt;&lt;BR /&gt;end if;&lt;BR /&gt;&lt;BR /&gt;Should this work?&lt;BR /&gt;&lt;BR /&gt;Anyone already having a similar script? :-)&lt;BR /&gt;&lt;BR /&gt;Any other hints or tricks?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Thu, 11 May 2006 06:19:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978483#M784173</guid>
      <dc:creator>Michael Kalisz</dc:creator>
      <dc:date>2006-05-11T06:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978484#M784174</link>
      <description>Shalom Michael,&lt;BR /&gt;&lt;BR /&gt;Yes it will work.&lt;BR /&gt;&lt;BR /&gt;You can use dbshut as well, if you modify its shutdown from shutdown to shutdown immediate.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 11 May 2006 06:47:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978484#M784174</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-05-11T06:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978485#M784175</link>
      <description>Looks good to me too, and a company I worked for, with HUGE business-critical DBs, used that method for all BCV splits. Many DRP tests showed that the DB was consistent every time.&lt;BR /&gt;(In'Shallah!)</description>
      <pubDate>Thu, 11 May 2006 07:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978485#M784175</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2006-05-11T07:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978486#M784176</link>
      <description>Just a small suggestion.&lt;BR /&gt;Have a script which will logout all applications users using the database before shutting down the database.&lt;BR /&gt;I remember we used to kill all client connections - processes showing LOCAL=NO as well.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Thu, 11 May 2006 07:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978486#M784176</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-05-11T07:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978487#M784177</link>
      <description>Have you considered hot backups.  This &lt;BR /&gt;requires the database be in archive log&lt;BR /&gt;mode, which you want on any critical database&lt;BR /&gt;anyway.&lt;BR /&gt;&lt;BR /&gt;For each tablespace,&lt;BR /&gt;- Mark the tablespace as being backed up,&lt;BR /&gt;- Copy the tablespace,&lt;BR /&gt;- Unmark the tablespace&lt;BR /&gt;&lt;BR /&gt;Save a copy of the control file to trace.&lt;BR /&gt;Take a timestamp, wait two seconds, and&lt;BR /&gt;force a logfile switch. &lt;BR /&gt;Save any logfiles from the start of the&lt;BR /&gt;backup until after the forced logfile&lt;BR /&gt;switch.&lt;BR /&gt;&lt;BR /&gt;Recovery is:&lt;BR /&gt;- Restore files to a new location.&lt;BR /&gt;- Modify the backed up control file to &lt;BR /&gt;reflect the new locations. &lt;BR /&gt;- Startup the database and recover until&lt;BR /&gt;the time of the timestamp.&lt;BR /&gt;- Shutdown the database and rename it.&lt;BR /&gt;- Restart resetting logs.&lt;BR /&gt;</description>
      <pubDate>Thu, 11 May 2006 10:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978487#M784177</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2006-05-11T10:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978488#M784178</link>
      <description>Doing the split while the DB is in backup mode is fine, except.....recovery depends on the availability of the archive logs. In a disaster, you don't want to have wonder where they are. I suggest that if a warm backup is done, that a cold backup is done once a week, to provide a minimum restore point.</description>
      <pubDate>Thu, 11 May 2006 10:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978488#M784178</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2006-05-11T10:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978489#M784179</link>
      <description>We have considered hot backups...but according to our DBA running in archive log mode would slow the application noticeably...&lt;BR /&gt;(business warehouse application)&lt;BR /&gt;&lt;BR /&gt;Thanks for all answers!&lt;BR /&gt;&lt;BR /&gt;//Michael</description>
      <pubDate>Thu, 11 May 2006 14:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978489#M784179</guid>
      <dc:creator>Michael Kalisz</dc:creator>
      <dc:date>2006-05-11T14:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978490#M784180</link>
      <description>hi Michael,&lt;BR /&gt;&lt;BR /&gt;being in noarchivelog mode -- is a 100% surefire way to LOSE data&lt;BR /&gt;&lt;BR /&gt;Archiving is very CPU deintensive -- it involves copying a file from one disk to &lt;BR /&gt;another disk. You need sufficient devices to avoid contention here.  &lt;BR /&gt;&lt;BR /&gt;consider this:&lt;BR /&gt;You want to make it so that when LGWR is writing to a device, ARCH is *not* reading that device.  So, you would have log group 1 on dev1 (mirrored to dev3). Log group 2 on dev2 (mirrored to dev4). Log group 3 on dev1/dev3, log group 4 on dev2/dev4 and so &lt;BR /&gt;on.&lt;BR /&gt;&lt;BR /&gt;Well, LGWR writes to dev1/dev3. Arch is reading dev2/dev4 and writing to dev5. Arch finishes and waits. LGWR not writes to dev2/dev4, Arch reads dev1/dev3 and writes to dev5. No contention, there you go -- smooth operation, no degradation.&lt;BR /&gt;&lt;BR /&gt;think well, in some cases noarchivelog is indeed essential... but can you afford to make this compromise?&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 12 May 2006 04:07:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978490#M784180</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-05-12T04:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978491#M784181</link>
      <description>Thanks for your opinion on the archivelog issue...&lt;BR /&gt;(I'll forward it to the DBA)&lt;BR /&gt;&lt;BR /&gt;Unfortunatly I'm just the consultant setting up the bussiness copy :-)&lt;BR /&gt;&lt;BR /&gt;I've tried to convince my customer to switch to archivelog mode and &lt;BR /&gt;the least I can say is that's been very controversial...&lt;BR /&gt;&lt;BR /&gt;//Michael&lt;BR /&gt;</description>
      <pubDate>Fri, 12 May 2006 13:36:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978491#M784181</guid>
      <dc:creator>Michael Kalisz</dc:creator>
      <dc:date>2006-05-12T13:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown oracle before BC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978492#M784182</link>
      <description>Got sufficiant information...</description>
      <pubDate>Mon, 15 May 2006 05:56:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-oracle-before-bc/m-p/4978492#M784182</guid>
      <dc:creator>Michael Kalisz</dc:creator>
      <dc:date>2006-05-15T05:56:11Z</dc:date>
    </item>
  </channel>
</rss>

