tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Scott Mutchler <smutchler () gfs ! com>
To: tru64-unix-managers
Subject: user cron jobs in a disk service
Date: Mon, 24 Aug 1998 16:30:46 +0000	[thread overview]
Message-ID: <96078718211901.tru64-unix-managers.marc@archive.invalid> (raw)

Hello all,

We have two 4100's running DU 4.0d (with patch kit 2) and TruCluster 1.5 =
(with patch kit 2).  We have a disk service that runs a database (Progress)=
 and makes use of four AdvFS filesets.  We have user accounts with home =
directories in one of those filesets that need to run cron jobs to take =
action against the database, such as loading data and running reports. =20

When the disk service moves to a node,  cron on that node needs to "wake =
up" and see that it now has jobs to do for these users.  The cron on the =
other node needs to wake up and see that it should no longer be running =
those jobs.  We have discovered that cron is different from most daemons =
in that kill -1 does not cause it to re-examine its files (in /var/spool/cr=
on/crontabs).  We are handling this in our failover scripts (the user-defin=
ed stop action and start action scripts).

We also tried the variation of completely killing and restarting cron.  =
This works well once the nodes are booted.  However, when a node boots, it =
runs the stop action script.  Our stop action script would look for a cron =
to kill, adjust crontab files, then start a new cron.  The problem comes =
in at /sbin/rc3.d/S57cron, which in turns start up another cron daemon.

So my question:  how have others of you handled cron jobs in your clusters =
that need to move with a disk service? =20

Thank you=20

Scott Mutchler
Gordon Food Service Marketplace
smutchler@gfs.com

                 reply	other threads:[~1998-08-24 16:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox