[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: split load with cfengine
From: |
Brendan Strejcek |
Subject: |
Re: split load with cfengine |
Date: |
Tue, 5 Jul 2005 11:19:21 -0500 |
User-agent: |
Mutt/1.5.6+20040907i |
Zeev Fisher wrote:
> 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 ?
How about pseudorandom distribution?
Using "strategies" is one way to do this.
http://www.cfengine.org/docs/cfengine-Reference.html#strategies