[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ssic-linux-users
Subject:    Re: [SSI-users] cron and atd
From:       Xavier <xavier () rootshell ! be>
Date:       2004-09-20 6:36:23
Message-ID: Pine.BSO.4.61.0409200832340.25155 () boogey ! rootshell ! be
[Download RAW message or body]

Hi Bruce,

I realized that the given info were not clear...
In fact, a single cron process is ok.
But, when doing a 'crontab -e', we could add a specific args such as
'--local' or '--cluster'. A cluster cron entry will always be executed by the \
initnode (as exemple). In case of failure, those entries should be appended to the \
cron entries running on a backup node. A small deamon could take care of this.

Xavier
--
Failure is not an option. It comes bundled with your Microsoft product.

On Sun, 19 Sep 2004, Bruce Walker wrote:

> My opinion is that we should aim for a a single cron.
> I would want strong justification for why a single cron is not
> sufficient (occasionally onall may be needed but since all files,
> etc. are visibile to all nodes, off hand I see little justification
> for more than one cron.
> 
> bruce
> 
> > Hi *,
> > 
> > I think there must be 2 different crons running on a cluster
> > (like I did on a TruCluster)
> > 
> > - A local cron per node. Ex:
> > 	- Local node backups
> > 	- System logs rotation
> > 	- ...
> > 
> > - A "clusterized" cron with takeover:
> > 	- Maintenance of clusterized services
> > 	- Generation of critical reporting, stats
> > 	- ...
> > 
> > Xavier
> > --
> > UNIX - if you listen to the shell, you can hear the C
> > 
> > On Sat, 18 Sep 2004, Aneesh Kumar wrote:
> > 
> > > Hi,
> > > 
> > > 
> > > On Thu, 16 Sep 2004 15:21:56 +0200, Kilian CAVALOTTI
> > > <kilian.cavalotti@stix.polytechnique.fr> wrote:
> > > > On Tuesday 27 April 2004 13:05, Everett Coleman II wrote:
> > > > > hello,
> > > > > 
> > > > > I would like to know if cront&&atd should have an entry in rc.nodeinfo
> > > > > as 'initnode' or 'all'.  because the logrotate needs to run on all nodes
> > > > > for they have they're own log directory (via context symlinks).  but
> > > > > scripts like updatedb for locate don't really need to run on all nodes
> > > > > because they share the same disk....
> > > > 
> > > > I second this question. I'd like to have a cron job running on each node of
> > > > my cluster, and I wonder if I have to run crond on each node, with a
> > > > standard cronjob, or if I have to run just one initnode crond, which a
> > > > "onnode $i" style cronjob.
> > > > 
> > > 
> > > 
> > > I am also interested. What is the best way to run cron ?. I guess it
> > > is more generic. For me  cluster should behave as a single machine
> > > that means i want my job to be executed only once. So this is
> > > important with respect to user specific crontab file also . If we run
> > > cron on each node i guess we will have each cron instance executing
> > > the same cron job. On the other hand how do we handle job that may
> > > need to be run on each node. Like taking backup of node specific
> > > files. Do we need modify all those cron job to be cluster aware and
> > > run only one instance of cron job inthe cluster. At first look this
> > > looks simple. But what is the best way ?
> > > 
> > > -aneesh
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > > Project Admins to receive an Apple iPod Mini FREE for your judgement on
> > > who ports your project to Linux PPC the best. Sponsored by IBM.
> > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > > _______________________________________________
> > > Ssic-linux-users mailing list
> > > Ssic-linux-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
> > > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE for your judgement on
> > who ports your project to Linux PPC the best. Sponsored by IBM.
> > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > _______________________________________________
> > Ssic-linux-users mailing list
> > Ssic-linux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
> > 
> 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Ssic-linux-users mailing list
Ssic-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ssic-linux-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic