Forum: Cfengine Help
Subject: Controlling Module Calls
Author: nima
Link to topic: https://cfengine.com/forum/read.php?3,18383,18383#msg-18383
During the convergence phase, when cf-agent is run, a module may be called
several times. Depending on the module, perhaps this is desirable, however I
Forum: Cfengine Help
Subject: Re: Daemon Checks
Author: nima
Link to topic: https://cfengine.com/forum/read.php?3,18350,18382#msg-18382
Hi Diego,
If you look at the output, you can see that this isn't the case; specifically
here:
I stop the service, then run cf-agent:
ochus:/srv/sysconf# /etc/
We've already built an external inventory system that does this (e.g. It has
a notion of "role" like "oracle" -- and with even more granularity,
"oracle-slave" or "oracle-master", etc.). While seeing this stuff added to
nova is great, I imagine a lot of people have already done it themselves.
Our
This is something that will come in Nova 2. It is not as easy to answer as you
might
think, as you have to know which classes can or have been defined on each
machine
(simultaneously).
The simplest way to approach this is to measure each system and observe the
probabilities.
As an immediate (i
On Mon, Sep 20, 2010 at 9:46 AM, Francisco Reyes wrote:
> )
>
> Towards the bottom where you have:
> cf-agent -v test_copy.cf -K
>
> Shouldn't it be:
> cf-agent -v -f test_copy.cf -K
You're right! Fixed. Thank you.
Glad you got some help on IRC.
> Personally I think the concepts make total s
Hi all,
As we've been moving forward with our Nova implementation and developing
an appropriate procedure for getting approval to make changes to our
Cfengine policy, I've realized that it would be incredibly important to
know which systems will be affected by a policy change. So, given a
class
On 9/20/10 10:45 AM, "Jiri Horky" wrote:
> On 09/16/2010 12:02 PM, Jan Kundrát wrote:
>> I also got the feeling that it's normal to copy "all files" into each
>> node's staging area, even if such files are not needed on that
>> particular machine.
>>
>>
>> and the second one is why to copy a
Forum: Cfengine Help
Subject: Re: best practices advice about two-stage file copy
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18287,18376#msg-18376
Picking and choosing which inputs get copied to which host does not scale well.
Since the inputs are small text files t
On 20 Sep 2010, at 6:38 pm, Tim Cutts wrote:
>
> On 20 Sep 2010, at 6:22 pm, Mark Burgess wrote:
>
>>
>> Could be a libdb problem. Try deleting the db files.
>
> D'oh - found it; very close to the right answer! BerkeleyDB header files
> were the wrong version for the installed libraries. Q
Dear all,
On 09/16/2010 12:02 PM, Jan Kundrát wrote:
> I also got the feeling that it's normal to copy "all files" into each
> node's staging area, even if such files are not needed on that
> particular machine.
>
>
> and the second one is why to copy all files for all services to each
> mach
On 20 Sep 2010, at 6:22 pm, Mark Burgess wrote:
>
> Could be a libdb problem. Try deleting the db files.
D'oh - found it; very close to the right answer! BerkeleyDB header files were
the wrong version for the installed libraries. Quite why SLES didn't complain
about that I have no idea...
Could be a libdb problem. Try deleting the db files.
Tim Cutts wrote:
> Has anyone managed to get cfengine 2 running on SLES11 SP1? Leaving aside
> that I really should have moved to cfengine 3 by now, I'd like to get
> cfengine working on SLES11, but it crashes and dumps core immediately. Th
Forum: Cfengine Help
Subject: Re: Quickstart guide?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18332,18370#msg-18370
Francisco,
My tutorial, referenced by someone else in this thread, will show you line by
line how Cfengine works.
Client and server authentication
Has anyone managed to get cfengine 2 running on SLES11 SP1? Leaving aside that
I really should have moved to cfengine 3 by now, I'd like to get cfengine
working on SLES11, but it crashes and dumps core immediately. This is cfengine
2.2.8. cfagent backtrace looks like this:
(gdb) where
#0 0x
Thanks for these tips. You should put the examples in promises.cf or any of the
files
it inputs.
Francisco Reyes wrote:
> milo...@gmail.com writes:
>
>> Live CD seems a better idea for me.
>
> Exactly. Live CD is the most widely usable.
>
>> the implementation (as long as you need my help at
Forum: Cfengine Help
Subject: Re: Quickstart guide?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18332,18364#msg-18364
Testcopy1 is the target. Testcopy2 is the source or master file. They can be
files or directories just as if you are using 'cp'. You just need to s
milo...@gmail.com writes:
> Live CD seems a better idea for me.
Exactly. Live CD is the most widely usable.
> the implementation (as long as you need my help at all).
The Live CD should have two options, one to act as server and the second to
act as client. This way someone could quickly see a
Aleksey,
It could be that the RPM package you installed contained a custom
library.cf, which contained some things from cfengine_stdlib.cf plus
some additional definitions (which are now missing since you removed
library.cf). I guess you could try copying the missing definitions (e.g.
def(),
no-re...@cfengine.com writes:
> Offering a small pre-configured virtual appliance or live CD for people to
> download and try would be a nice addition.
LiveCD may be better. Even many people may be using a particular virtual
infrastructure many other people won't be able to run it. A LiveCD ISO
no-re...@cfengine.com writes:
>I've been thinking about a script that can generate a server and client
>configuration suitable for testing
>and evaluation on a single host.
Although useful, anything that does not include at least two machines may be
somewhat of limited help. Last night I had a
Aleksey Tsalolikhin writes:
>> http://www.verticalsysadmin.com/cfengine3/
>> This one seems somewhat promissing. Still trying to go over it and try to
>> see how to apply it.
> Let me know if you have any questions. (I wrote that piece.)
Towards the bottom where you have:
cf-agent -v test_copy
Forum: Cfengine Help
Subject: Re: Daemon Checks
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,18350,18362#msg-18362
Is the "^dnsmasq" regular expression correct? If dnsmasq appears with its full
path in the process list, for example, then the regex would not match, and
cf
Forum: Cfengine Help
Subject: core files and AIX
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18361,18361#msg-18361
Has anyone seen core files being generated from Cfengine processes running on
AIX? Cf seems to be working but I can't see why or how the core files are
Forum: Cfengine Help
Subject: Re: "Hourly" splayclass for daily staggered script execution; some
nodes not executing
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18359,18360#msg-18360
Assuming that I understand splayclass, and I'm certain I do, is it possible
that its
Forum: Cfengine Help
Subject: "Hourly" splayclass for daily staggered script execution; some nodes
not executing
Author: dfriedman
Link to topic: https://cfengine.com/forum/read.php?3,18359,18359#msg-18359
I'd hoped to use a splayclass result to splay a daily script execution for 5
servers over
Forum: Cfengine Help
Subject: Re: Quickstart guide?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18332,18358#msg-18358
Actually I was hoping that the folks at cfengine.com might pick this up and
offer a live CD. This could allow them to showcase both community and Nov
Hm, is there any system that can generate all widely used virtual
appliances at one go? I'm not sure if there is any format that would
work with most of them.
Live CD seems a better idea for me. What is in your mind, how should
it work? If you can give a high level overview I'll take a look into
t
Forum: Cfengine Help
Subject: Re: Quickstart guide?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18332,18356#msg-18356
Offering a small pre-configured virtual appliance or live CD for people to
download and try would be a nice addition.
___
> I've been thinking about a script that can generate a server and client
> configuration suitable for testing and evaluation on a single host. I've
> also started on an updated version of the cookbook. Perhaps I'll add this
> script to it.
I didn't followed the thread, but my 'old' plan (ori
Forum: Cfengine Help
Subject: Re: Quickstart guide?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18332,18354#msg-18354
I've been thinking about a script that can generate a server and client
configuration suitable for testing and evaluation on a single host. I've also
Forum: Cfengine Help
Subject: Re: Authentication using trustedkeys
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18336,18353#msg-18353
Running the server in verbose mode often yields good messages about why
authentication fails.
Sounds like maybe there is some version mixup. Do you have all the files from
the same
place? There should not be any duplicate definitions.
On 09/20/2010 08:36 AM, Aleksey Tsalolikhin wrote:
> On Sun, Sep 19, 2010 at 11:23 PM, Mark Burgess wrote:
>>
>> library.cf is an old version of stdlib, y
Forum: Cfengine Help
Subject: Re: Daemon Checks
Author: nima
Link to topic: https://cfengine.com/forum/read.php?3,18350,18351#msg-18351
Here's the output for the above:
ochus:/srv/sysconf# /etc/init.d/dnsmasq stop
Stopping DNS forwarder and DHCP server: dnsmasq.
ochus:/srv/sysconf# cf-agent -K
R
Forum: Cfengine Help
Subject: Daemon Checks
Author: nima
Link to topic: https://cfengine.com/forum/read.php?3,18350,18350#msg-18350
This has been discussed in a recent thread, however that has not answered my
question/problem:
Here's the relevant cf3 config:
body process_select selectProcess(c
Forum: Cfengine Help
Subject: Re: cf-serverd stops working after a day
Author: Metabaron
Link to topic: https://cfengine.com/forum/read.php?3,18083,18348#msg-18348
phnakarin Wrote:
---
> I didn't experience this problem on 3.0.5p1 either
> or may
It doesn't look like :
ping cfengine.com
PING cfengine.com (62.109.39.150) 56(84) bytes of data.
64 bytes from cf001lin.cfengine.com (62.109.39.150): icmp_seq=1 ttl=47
time=60.6 ms
ping www.cfengine.com
PING cf001lin.cfengine.com (62.109.39.150) 56(84) bytes of data.
64 bytes from cf001lin.cfeng
Is this a DNS issue?
On 09/20/2010 08:54 AM, Nicolas Charles wrote:
> I found how to reproduce it :
> Login on http://cfengine.com is so much slower than http://www.cfengine.com
>
>
> On 20/09/2010 08:46, Aleksey Tsalolikhin wrote:
>> THANK YOU, Nicolas.
>>
>> I just tried providing wrong user
37 matches
Mail list logo