<?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 Package Maintenance Mode in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207742#M705694</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How do we start a cluster package in maintenance mode? What is the relevance of this?? What is the OB2SGENABLED parameter used for?&lt;BR /&gt;&lt;BR /&gt;One of our customer was asking me this and I dont have any further info about the same ...!!!&lt;BR /&gt;&lt;BR /&gt;Pl. help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthik S S</description>
    <pubDate>Wed, 03 Mar 2004 04:40:37 GMT</pubDate>
    <dc:creator>Karthik S S</dc:creator>
    <dc:date>2004-03-03T04:40:37Z</dc:date>
    <item>
      <title>Package Maintenance Mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207742#M705694</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How do we start a cluster package in maintenance mode? What is the relevance of this?? What is the OB2SGENABLED parameter used for?&lt;BR /&gt;&lt;BR /&gt;One of our customer was asking me this and I dont have any further info about the same ...!!!&lt;BR /&gt;&lt;BR /&gt;Pl. help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthik S S</description>
      <pubDate>Wed, 03 Mar 2004 04:40:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207742#M705694</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2004-03-03T04:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Package Maintenance Mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207743#M705695</link>
      <description>Firstly, the parameter you quote is not a standard SG paameter. I would hazard a guess, and say it may have something to do with a package written for OmniBack (Omni Back II ServiceGuard enabled ??).&lt;BR /&gt;&lt;BR /&gt;As to package Maintenance Mode, this is a method of having your package startup script test for the existence of a file, and if the file exists, then it just loops around sleeping, or skips the application startup.&lt;BR /&gt;This means that you have your vg/lv/fs activated and mounted to allow you to do any maintenance, without the application actually running.&lt;BR /&gt;&lt;BR /&gt;If the file is not there, the package starts as normal.&lt;BR /&gt;&lt;BR /&gt;This is covered in a course that may be available, namely the Serviceguard II (3 day advanced) course from HP Customer Education.</description>
      <pubDate>Wed, 03 Mar 2004 04:47:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207743#M705695</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2004-03-03T04:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Package Maintenance Mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207744#M705696</link>
      <description>Karthik,&lt;BR /&gt;&lt;BR /&gt;I would hash out the custome_defined_run_cmds. This way only the disk get mounted and the ip-address is activated.  I do not know the OB2SGENABELED parameter. Is it a new parameter?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Wed, 03 Mar 2004 04:48:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207744#M705696</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-03-03T04:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Package Maintenance Mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207745#M705697</link>
      <description>Hi Melvyn,&lt;BR /&gt;&lt;BR /&gt;Does the SG Toolkit scripts contain a option for starting the package in maintenance mode?? If so do I have to pass any switches to the cmrunpkg command or just create a file by name debug under the package directory?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthik S S</description>
      <pubDate>Wed, 03 Mar 2004 05:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207745#M705697</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2004-03-03T05:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Package Maintenance Mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207746#M705698</link>
      <description>Thank you  Vrijhoeven for the Info.</description>
      <pubDate>Wed, 03 Mar 2004 05:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207746#M705698</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2004-03-03T05:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Package Maintenance Mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207747#M705699</link>
      <description>The standard SG scripts do not supply anything for this. These are normally "home-grown " or come with certain specific toolkits, such as the Serviceguard Extension for SAP.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Mar 2004 05:39:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207747#M705699</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2004-03-03T05:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Package Maintenance Mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207748#M705700</link>
      <description>Here is a simple idea:&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt; if&lt;BR /&gt;    [ -f /etc/cmcluster/pkgA/maint_flag ]&lt;BR /&gt; then&lt;BR /&gt;    while [ -f /etc/cmcluster/pkgA/maint_flag ]&lt;BR /&gt;    do&lt;BR /&gt;            sleep 10&lt;BR /&gt;    done&lt;BR /&gt;&lt;BR /&gt; else&lt;BR /&gt;     start_my_application&lt;BR /&gt; fi&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Mar 2004 05:44:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207748#M705700</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2004-03-03T05:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Package Maintenance Mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207749#M705701</link>
      <description>If all that u want is to have the VGs mounted and virtual IP address enabled then why to fiddle with the package control script.&lt;BR /&gt;&lt;BR /&gt;  If the cmcld is running in the node, why not just activate the vg in exclusive mode ,mount the logical volumes manually and add the IP address using cmmodnet ?&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Mar 2004 13:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207749#M705701</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-03-04T13:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Package Maintenance Mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207750#M705702</link>
      <description>Hi Karthik,&lt;BR /&gt;&lt;BR /&gt;There is nothing called package maintenance mode by default with serviceguard. However, I implement a 'lockfile' mechanism on my servers. If the file exists, then the application won't start. A simple chronology is as follows. My scripts have start|stop|monitor cases. I define functions like appstart, appstop and appmon inside the script.&lt;BR /&gt;&lt;BR /&gt;1. Start&lt;BR /&gt;&lt;BR /&gt;Check for /etc/cmcluster/&lt;APP&gt;.lock. If it exists, run the function appstart. Else simply exit with exit 0.&lt;BR /&gt;&lt;BR /&gt;2. Stop&lt;BR /&gt;&lt;BR /&gt;Doesn't care for this lock file for most of my requirements. Simply runs appstop.&lt;BR /&gt;&lt;BR /&gt;3. Monitor:&lt;BR /&gt;&lt;BR /&gt;This is an important piece. If the lock file is there, then it will skip the monitoring part of the processes. If the lock file is not there, then it will see if all the processes|required packages are up or not and start them. It also keeps a counter for each operation. If the counter exceed beyond a certain value, then the script will abort. Without this counter, monitor may end up restarting the applicaiton numerous times.&lt;BR /&gt;&lt;BR /&gt;If I have to do maintenance, I simply touch /etc/cmcluster/&lt;APP&gt;.lock file and start the package. Once I am done, I remove the file and the monitor will automatically kick in the appstart function to start the application. It's fun to write those scripts though but you will need to do a lot of error handling.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;/APP&gt;&lt;/APP&gt;</description>
      <pubDate>Thu, 04 Mar 2004 14:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-maintenance-mode/m-p/3207750#M705702</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-03-04T14:00:44Z</dc:date>
    </item>
  </channel>
</rss>

