tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* user cron jobs in a disk service
@ 1998-08-24 16:30 Scott Mutchler
  0 siblings, 0 replies; only message in thread
From: Scott Mutchler @ 1998-08-24 16:30 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-08-24 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-24 16:30 user cron jobs in a disk service Scott Mutchler

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