<?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 High Availability Basics in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597669#M375522</link>
    <description>I'm thinking of setting up a High Availability Cluster -&lt;BR /&gt;&lt;BR /&gt;Here's a brief description of my situation, I have a front end that serves up ssh connections to customers, I'd like to make it redundant in that I'd like to have a 'failover' server that would take over if that front end failed. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's my problem:&lt;BR /&gt;There are several cron jobs that run at specific times on this front end, if I were to setup a 'failover' server as part of a High Availability cluster where could I move those jobs too, as it wouldn't be good if they ran on both nodes of the cluster.  However if I set them up on just one node, then I have a single point of failure, if that node goes down, those cron jobs will never run.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Mar 2010 15:15:17 GMT</pubDate>
    <dc:creator>Dave Cast</dc:creator>
    <dc:date>2010-03-09T15:15:17Z</dc:date>
    <item>
      <title>High Availability Basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597669#M375522</link>
      <description>I'm thinking of setting up a High Availability Cluster -&lt;BR /&gt;&lt;BR /&gt;Here's a brief description of my situation, I have a front end that serves up ssh connections to customers, I'd like to make it redundant in that I'd like to have a 'failover' server that would take over if that front end failed. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's my problem:&lt;BR /&gt;There are several cron jobs that run at specific times on this front end, if I were to setup a 'failover' server as part of a High Availability cluster where could I move those jobs too, as it wouldn't be good if they ran on both nodes of the cluster.  However if I set them up on just one node, then I have a single point of failure, if that node goes down, those cron jobs will never run.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2010 15:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597669#M375522</guid>
      <dc:creator>Dave Cast</dc:creator>
      <dc:date>2010-03-09T15:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: High Availability Basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597670#M375523</link>
      <description>Pull those crontab jobs out from cron and run them as processes in loop.</description>
      <pubDate>Tue, 09 Mar 2010 15:29:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597670#M375523</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2010-03-09T15:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: High Availability Basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597671#M375524</link>
      <description>You can write a script which starts/stops the cron jobs.Then you can integrate this script into cluster package control script, so when your package starts it starts the cron for users, when the package stop it deletes the cron for users.&lt;BR /&gt;&lt;BR /&gt;Start script should look like:&lt;BR /&gt;/usr/bin/crontab CRON&lt;BR /&gt;&lt;BR /&gt;The file CRON should reside on a file system configured in the package, or you manually replicate it on all nodes. You shouldn't populate your crons with "crontab -e", you should first edit CRON file then use "/usr/bin/crontab CRON" to update crons.&lt;BR /&gt;&lt;BR /&gt;stop script should look like:&lt;BR /&gt;/usr/bin/crontab -r</description>
      <pubDate>Tue, 09 Mar 2010 15:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597671#M375524</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2010-03-09T15:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: High Availability Basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597672#M375525</link>
      <description>As mentioned on the above post, &lt;BR /&gt;&lt;BR /&gt;place all your several cron job under "Cluster pkg" mount points and your place crontab under "pkg.cntl.file" as shown below&lt;BR /&gt;&lt;BR /&gt;function customer_defined_run_cmds&lt;BR /&gt;{&lt;BR /&gt;# ADD customer defined run commands.&lt;BR /&gt;: # do nothing instruction, because a function must contain some command.&lt;BR /&gt;        /opt/smx/bin/rc/rchDB.pd1 s nv&lt;BR /&gt;        /usr/sbin/inetd -c&lt;BR /&gt;        /usr/bin/crontab /opt/smx/bin/cron/abc.cron    &lt;BR /&gt; test_return 51&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2010 16:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597672#M375525</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-03-09T16:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: High Availability Basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597673#M375526</link>
      <description>Here's yet another way.&lt;BR /&gt;&lt;BR /&gt;Put all your cronjobs where you do, in cron.&lt;BR /&gt;Now put all those same cronjobs on the other servers cron.  Now you are going to set them up with one little 'difference'.&lt;BR /&gt;&lt;BR /&gt;A good while back I came across a truly sleek script that Simon Hargrave wrote.  What this does is goes out to see if the package is running on "this" node and runs the cron job.  If the package isn't running then it does not run the job.  Stephen Doud called the script elegant - and it is.&lt;BR /&gt;&lt;BR /&gt;Take a look at this thread.....&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=886789&amp;amp;admit=109447626+1268158640672+28353475" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=886789&amp;amp;admit=109447626+1268158640672+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;We use it here on our cluster...&lt;BR /&gt;&lt;BR /&gt;Kindest regards,&lt;BR /&gt;Rita</description>
      <pubDate>Tue, 09 Mar 2010 18:19:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-availability-basics/m-p/4597673#M375526</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2010-03-09T18:19:28Z</dc:date>
    </item>
  </channel>
</rss>

