<?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: Oracle Packages failed to switch in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832009#M711269</link>
    <description>These servers get patched regulary.&lt;BR /&gt;  PHSS_25124                    1.0            MC/ServiceGuard and SG-OPS Edition A.11.13 &lt;BR /&gt;  PHSS_26928                    1.0            MC/ServiceGuard and SG-OPS Edition A.11.13 &lt;BR /&gt;  PHSS_27087                    1.0            MC/ServiceGuard and SG-OPS Edition A.11.13 &lt;BR /&gt;</description>
    <pubDate>Thu, 24 Oct 2002 11:13:49 GMT</pubDate>
    <dc:creator>Brent W. Moll</dc:creator>
    <dc:date>2002-10-24T11:13:49Z</dc:date>
    <item>
      <title>Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832000#M711260</link>
      <description>We had a network interruption which caused a lan failure.   Some of the Oracle packages did not fail over properly and stayed in a "down" state.&lt;BR /&gt;&lt;BR /&gt;I noticed this in the package log:&lt;BR /&gt;&lt;BR /&gt;umount: cannot unmount /u02/oradata/QTM3 : Device busy&lt;BR /&gt;        ERROR:  Function umount_fs&lt;BR /&gt;        ERROR:  Failed to unmount /dev/vg_qtm3/lvol1&lt;BR /&gt;Oct 23 11:17:48 - Node "sdatpp02": Deactivating volume group vg_qtm3&lt;BR /&gt;vgchange: Couldn't deactivate volume group "vg_qtm3":&lt;BR /&gt;Device busy&lt;BR /&gt;        ERROR:  Function deactivate_volume_group&lt;BR /&gt;        ERROR:  Failed to deactivate vg_qtm3&lt;BR /&gt;&lt;BR /&gt;It looks as if the logical volume  did not unmount cleanly because there were processes running at the time of the service interruption. What happened is that the package could not fail over to it's alternate server, because the volume group was still active on the primary. The result was a down package that should not have been.&lt;BR /&gt;&lt;BR /&gt;How do I implement the fuser -k command in the shutdown script with oracle databases to to insure a 'clean' failover ?</description>
      <pubDate>Wed, 23 Oct 2002 16:34:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832000#M711260</guid>
      <dc:creator>Brent W. Moll</dc:creator>
      <dc:date>2002-10-23T16:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832001#M711261</link>
      <description>YOur logical volumes did not unmount at all as they were definetely being occupied by some process .&lt;BR /&gt;&lt;BR /&gt;fuser -k is incorporated in the package control file already . When a shutdown of a package is commenced , it runs the customer defined halt scripts first , then doeas an fuser -ku on all mounted logical volume of that pakage , then unmounts and deactivates the VG . &lt;BR /&gt;&lt;BR /&gt;However , fuser -ku will the process occupying that logical volume , but there might be some ipcs ( inter process communications ) that might have been started from that logical volume , and fuser won't be able to kill them . That would resilt in the logical volume not being able to unmount . This is particularly true for oracle logical volumes .&lt;BR /&gt;&lt;BR /&gt;YOu can write a script that does an ipcrm against those processes and put it in your customer defined halt scripts .</description>
      <pubDate>Wed, 23 Oct 2002 16:44:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832001#M711261</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2002-10-23T16:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832002#M711262</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Assuming you are using the ORACLE.sh from the toolkit, what is the flag that you are using in the customer_defined_halt_commands?&lt;BR /&gt;&lt;BR /&gt;Are you using shutdown or halt?&lt;BR /&gt;&lt;BR /&gt;The shutdown does a shutdown immediate, which is fine for normal operations, but reaks havoc when you have a true failover situation because it tries to wait until all transactions are finished before stopping.&lt;BR /&gt;&lt;BR /&gt;The halt flag issues a shutdown abort, which "kicks" everybody off the database and allows the clean failover you desire.&lt;BR /&gt;&lt;BR /&gt;There is a lot of controversey as to whether you use a shutdown abort or immediate.  I chose to use the abort.  I have never had a problem and my packages have run without incident for years.  &lt;BR /&gt;&lt;BR /&gt;I am assuming you are doing a normal shutdown and let you decide whether or not to change it.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 23 Oct 2002 16:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832002#M711262</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-10-23T16:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832003#M711263</link>
      <description>Hi Brent&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can do like this &lt;BR /&gt;&lt;BR /&gt;fuser -ck /mount point ; umount /mount point in the same line , this will ensure the second command to run immedialtey after the first one so that no porcess grabs the mount point.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Wed, 23 Oct 2002 17:07:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832003#M711263</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-10-23T17:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832004#M711264</link>
      <description>Well ethe package would have tried to use fuser, but fuser has it's limitations.&lt;BR /&gt;Also, you do not say which version of SG you are on, and there were some changes to later versions to retry file system unmounts, due to time delays in processes closing off.&lt;BR /&gt;One thing we do know is that Oracle often has an open socket connection into a directory, which fuser cannot detect.&lt;BR /&gt;For thsi you can use the unsupported utility lsof obtainable at ath eporting archives around the world.&lt;BR /&gt;This lists open files including those opened by a network socket, and then allows them to be closed off.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Oct 2002 06:55:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832004#M711264</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2002-10-24T06:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832005#M711265</link>
      <description>Hi &lt;BR /&gt;I agree with Christopher.&lt;BR /&gt;We use "shutdown abort" to bring down the database, start it up again and shut it down with "shutdown immediate"&lt;BR /&gt;We use this scenario for years and it works fine, we had never problems with umounting filesystems because of processes or ipc's&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 24 Oct 2002 07:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832005#M711265</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2002-10-24T07:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832006#M711266</link>
      <description>Thanks to ALL of you for your assistance with this.&lt;BR /&gt;&lt;BR /&gt;The version of MCSG we are using is 11.09 on these servers in a preproduction cluster.&lt;BR /&gt;&lt;BR /&gt;We use the default toolkit scripts for Oracle also.&lt;BR /&gt;&lt;BR /&gt;Our cntl script uses LV_UMOUNT_COUNT=1&lt;BR /&gt;&lt;BR /&gt;We also issue a shutdown command with the startup and shutdown script.   Could we chage this to "&lt;PACKAGE&gt;.sh abort" in the control script ?&lt;BR /&gt;&lt;BR /&gt;Thank you again for you help :)&lt;/PACKAGE&gt;</description>
      <pubDate>Thu, 24 Oct 2002 10:35:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832006#M711266</guid>
      <dc:creator>Brent W. Moll</dc:creator>
      <dc:date>2002-10-24T10:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832007#M711267</link>
      <description>I apologize .. the version of MC/SG is 11.13 on this cluster.</description>
      <pubDate>Thu, 24 Oct 2002 10:36:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832007#M711267</guid>
      <dc:creator>Brent W. Moll</dc:creator>
      <dc:date>2002-10-24T10:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832008#M711268</link>
      <description>well have you patched this SG version? do : what /usr/lbin/cmcld  to check, else install PHSS_27087&lt;BR /&gt;&lt;BR /&gt;You could also look at changing the variable&lt;BR /&gt;FS_UMOUNT_COUNT from 1 to something like 4, and then it will try 4 times to umount the file system on package shutdown.</description>
      <pubDate>Thu, 24 Oct 2002 10:45:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832008#M711268</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2002-10-24T10:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832009#M711269</link>
      <description>These servers get patched regulary.&lt;BR /&gt;  PHSS_25124                    1.0            MC/ServiceGuard and SG-OPS Edition A.11.13 &lt;BR /&gt;  PHSS_26928                    1.0            MC/ServiceGuard and SG-OPS Edition A.11.13 &lt;BR /&gt;  PHSS_27087                    1.0            MC/ServiceGuard and SG-OPS Edition A.11.13 &lt;BR /&gt;</description>
      <pubDate>Thu, 24 Oct 2002 11:13:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832009#M711269</guid>
      <dc:creator>Brent W. Moll</dc:creator>
      <dc:date>2002-10-24T11:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832010#M711270</link>
      <description>Hi Brent,&lt;BR /&gt;&lt;BR /&gt;You indicated:&lt;BR /&gt;"Our cntl script uses LV_UMOUNT_COUNT=1 "&lt;BR /&gt;&lt;BR /&gt;Have you thought of increasing that value to give Oracle more time to wrap up and exit?  Try it - you might like it :)&lt;BR /&gt;&lt;BR /&gt;-s.</description>
      <pubDate>Thu, 24 Oct 2002 11:26:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832010#M711270</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2002-10-24T11:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832011#M711271</link>
      <description>In response to your last post, Brent?&lt;BR /&gt;&lt;BR /&gt;Could we chage this to "&lt;PACKAGE&gt;.sh abort" in the control script ? &lt;BR /&gt;&lt;BR /&gt;No, the command you would use to do a shutdown abort is "&lt;PACKAGE&gt;.sh halt"&lt;BR /&gt;&lt;BR /&gt;I would also look into the possibility of patching your service guard version as necessary, as Melvyn suggested.&lt;BR /&gt;&lt;BR /&gt;The purpose of issuing a shutdown abort is on the premise that you have a node that has/is failed and the database needs to be shut down NOW, which is what the halt flag (shutdown abort) accomplishes.&lt;BR /&gt;&lt;BR /&gt;For your consideration.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Chris&lt;BR /&gt;&lt;BR /&gt;&lt;/PACKAGE&gt;&lt;/PACKAGE&gt;</description>
      <pubDate>Thu, 24 Oct 2002 11:52:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832011#M711271</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-10-24T11:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Packages failed to switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832012#M711272</link>
      <description>Thank you ALL for your assistance.   I'm taking your responses to our group meeting to hash out before we implement them, which will probalby be a combination of several of them.&lt;BR /&gt;&lt;BR /&gt;Warmest Regards&lt;BR /&gt;&lt;BR /&gt;Brent W. Moll&lt;BR /&gt;Atlanta GA</description>
      <pubDate>Thu, 24 Oct 2002 12:06:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-packages-failed-to-switch/m-p/2832012#M711272</guid>
      <dc:creator>Brent W. Moll</dc:creator>
      <dc:date>2002-10-24T12:06:30Z</dc:date>
    </item>
  </channel>
</rss>

