I'm afraid you can't make functions (like a normal programming does) in
cfengine.
To get closed to your expectation, you might need to create global variables
(bundle common) of the outputs of your commands/scripts then you could call it
up in every bundle. For instance;
body common control
{
Thank you Nakarin .. a lot!
On 04/30/2010 11:54 AM, Nakarin Phooripoom wrote:
> I'm afraid you can't make functions (like a normal programming does) in
> cfengine.
>
> To get closed to your expectation, you might need to create global variables
> (bundle common) of the outputs of your commands/s
Has anybody out there ever tried scaling up a cfengine server (v2.1 or
v2.2) on a really big, fast server? I'm thinking on the order of 4
sockets, 24 cores, and a 10Gbit NIC.
This is to support a particularly massive (and temporary) flood of
cfagent requests to synchronize their local policy.
On 30 Apr 2010, at 4:06 pm, Paul Krizak wrote:
> Has anybody out there ever tried scaling up a cfengine server (v2.1 or
> v2.2) on a really big, fast server? I'm thinking on the order of 4
> sockets, 24 cores, and a 10Gbit NIC.
>
> This is to support a particularly massive (and temporary) flo
I'm talking about 5,000 systems each updating about 50MB of policy data
over a 1-2 hour span.
Paul Krizak 7171 Southwest Pkwy MS B200.3A
MTS Systems EngineerAustin, TX 78735
Advanced Micro Devices Desk: (512) 602-8775
Linux/Unix Systems Engin
I think the issue is where Linux can support this many cores. My understanding
was that
the Linux kernel was limited to 8 cores, but this is only hearsay.
Paul Krizak wrote:
> Has anybody out there ever tried scaling up a cfengine server (v2.1 or
> v2.2) on a really big, fast server? I'm think
On 4/30/10 8:30 AM, "Tim Cutts" wrote:
> On 30 Apr 2010, at 4:06 pm, Paul Krizak wrote:
>
>> Has anybody out there ever tried scaling up a cfengine server (v2.1 or
>> v2.2) on a really big, fast server? I'm thinking on the order of 4
>> sockets, 24 cores, and a 10Gbit NIC.
>>
>> This is to supp
Agree 100% on what you're saying here. And if this was a permanent
load, this would be the route I'm taking. But I'm talking about
supporting this level of load for a very short period of time (we're
merging a couple datacenters and having to reinstall every server all at
once, minimizing the
IIRC, it depends on architecture and a compile-time kernel option. The
smallest supported maximum value (e.g. a "lowest highest point", so to
speak) that I know of for x86/x86_64 systems is 32 CPUs. Furthermore, I
think that Linux treats each core as full-blown CPU, without caring how
many specifi
Nah, Linux supports up to 1024 cores, depending on the distro. And with
TCP offload technology and memory-mapped I/O in modern 10Gbit NICs, you
can saturate a 10Gbit link without even pegging a CPU. The linux
scheduler has no trouble at all keeping that many processes busy (we
have 48-core 51
On 30 Apr 2010, at 5:22 pm, Mark Burgess wrote:
>
> I think the issue is where Linux can support this many cores. My
> understanding was that
> the Linux kernel was limited to 8 cores, but this is only hearsay.
As others have said, Linux supports many many more cores than that, and has
done f
Forum: Cfengine Help
Subject: Re: Super-scaled cfengine server?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17053,17061#msg-17061
You would seem to be the first to try this ;) I hope you write a paper.
___
Help-cfengine mai
Then I'm not sure what my friend was talking about. As long as you increase the
max
connections to allow threads, it's up the libraries. Cfengine doesn't care how
many
connections you have, only pthreads.
Paul Krizak wrote:
> Nah, Linux supports up to 1024 cores, depending on the distro. And w
I'm running Cfengine Nova and I'm now going back to some measurements
promises I worked on a while back. I've now recalled that whenever
measurements promises change, cf-monitord needs to be restarted. So I'm
trying to determine how I can restart all of my hosts' cf-monitord
processes.
One thought
Thanks for the responses everyone. I'm going to discuss the options with
my colleagues and our operations center that manages our Zenoss
configuration.
Justin
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of
fo...@cfengin
The normal thing is to use cfengine to restart the pieces when the policy
changes
by seeing when a copy occurs from the policy server.
Justin Lloyd wrote:
> I'm running Cfengine Nova and I'm now going back to some measurements
> promises I worked on a while back. I've now recalled that whenever
Thanks, Mark. I actually thought about doing that and that's one of the
things led me to notice that Cfengine restarts itself at 5 AM in
process_matching.cf. However, since by default the process_matching
bundle is evaluated before any of my custom bundles and in general it's
not a good idea to mes
I am not completely up to date on the latest update.cf, there has been a lot of
development there for Nova. If you think something is missing there, I would
report to to
support so it gets into the next release.
M
Justin Lloyd wrote:
> Thanks, Mark. I actually thought about doing that and that'
Ah, gotcha. Thanks, Mark. I'll open a ticket on this.
Justin
-Original Message-
From: Mark Burgess [mailto:mark.burg...@iu.hio.no]
Sent: Friday, April 30, 2010 1:03 PM
To: Justin Lloyd
Cc: help-cfengine@cfengine.org
Subject: Re: Restarting a daemon on all hosts
I am not completely up t
Forum: Cfengine Help
Subject: Re: cfengine.org mailing list memberships reminder
Author: Authority
Link to topic: https://cfengine.com/forum/read.php?3,17070,17071#msg-17071
That's probably not something you want to post for everyone to see.
___
Help-cf
Forum: Cfengine Help
Subject: Needless/wrong SETUID reporting and logging
Author: Authority
Link to topic: https://cfengine.com/forum/read.php?3,17072,17072#msg-17072
I have a promise that sets the permissions on an binary to be SETUID root.
"/usr/X11R6/bin/xscreensaver"
comment
21 matches
Mail list logo