Forum: Cfengine Help
Subject: Server and client daemons, execution flow
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17825,17825#msg-17825

I installed Cfengine3 from a distribution-specific rpm. By default, the rpm 
installs an init script that starts cf-serverd, cf-execd and cf-monitord. I 
gather that I don't want cf-serverd running on clients. Can someone verify the 
following?

Daemons that normally run on a Cfengine3 server:

cf-serverd
cf-execd
cf-monitord

Daemons that normally run on a Cfengine3 client:

cf-execd
cf-monitord

If this is true, would the following be the correct procedure and flow for 
configuring a new client?

Assuming the server is configured and running:

Install the Cfengine3 rpm on the client machine
Disable cf-serverd startup in the init script
Run the init script and start cf-execd and cf-monitord
Initiate a key exchange between the server and the new client
Run cf-agent to grab the inputs from the server (which I assume is everything 
in /var/cfengine/inputs on the server)
The agent configures itself from the inputs it fetched from the server

If this is not correct, can someone post a very simple description of the 
mechanics of Cfengine server and client interaction? It seems like the 
reference and tutorials are all about the language, and I need to understand 
the basic mechanics before I get into that. Thanks in advance.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to