help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: split load with cfengine


From: Zeev Fisher
Subject: Re: split load with cfengine
Date: Thu, 07 Jul 2005 12:45:39 +0300

Hi,

What I need is not something random. I need that machines from group A
will have class A defined  and the other group will have another group
defined. I can't do list of hosts for each group because this is
dynamic. machines come and go.

I thought of something like checking if the number part of the machine
name ( for example lnx4 ) is odd or even and from this define class
( reminder - I need to divide the compute farm to 2  ) but maybe you
have better idea.

Thanks in advance,
Zeev



On Tue, 2005-07-05 at 18:22 +0200, Mark Burgess wrote:
> Try peer groups, or strategies.
> 
> M
> 
> http://www.cfengine.org/confdir/peers.html
> http://www.cfengine.org/docs/cfengine-Reference.html#strategies
> 
> 
> 
> On Tue, 2005-07-05 at 18:53 +0300, Zeev Fisher wrote:
> > Hi,
> > 
> > I would like that half of my environment will point to ldap server A and
> > the other half will point to ldap server B. It actually implemented by
> > putting different config file.
> > 
> > The machine names are lnx1,lnx2 etc
> > 
> > Do you think of smart way to dynamically define class based on machine
> > name ( like hashing ) which will spread the compute farm to 2 groups ?
> > 
> > Or maybe not based on machine name ?
> > 
> > 
> > 
> > Thanks in advance,
> > Zeev
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
> 
-- 
********* PLEASE NOTE NEW EMAIL ADDRESS *************
Zeev Fisher - Unix System Administrator
Marvell Semiconductor Israel Ltd
6 Hamada Street, Mordot HaCarmel Industrial Park
Yokneam 20692
Israel

Email    -  zeevf@marvell.com
Tel      -  + 972 4 9091402
Cell     -  + 972 54 4995402
Fax      -  + 972 4 9091501
WWW Page:     http://www.marvell.com
------------------------------------------------------------------------
This message may contain confidential, proprietary or legally privileged
information. The information is intended only for the use of the individual
or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination, distribution
or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify us
immediately by telephone, or by e-mail and delete the message from your
computer.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]