Automate Linux Configuration with cfengine - page 2
Configuration For Everybody
Any host running cfengine can be a cfengine server, which offers all kinds of flexibility, and all kinds of confusion. It is best to stick with a single central master cfengine server until your cfengine skillz are well-honed.
The three most important executables are:
cfservd, the cfengine daemon. Must be running on all hosts, uses port 5308
cfagent, performs the actual changes on hosts
cfexecd, the cfengine scheduler
Also important are
cfrun, pushes updates to clients
cfkey, the encryption key generator
Understanding the cfengine file structure is a common point of confusion. There were changes between cfengine upgrades, which messes up older howtos. And various Linux distributions have their own ideas about where to put them. Red Hat EL4 uses
/var/cfengine. Debian uses
/var/lib/cfengine2. I'm sure there are good reasons for the differences. (Yeah. Sure.) And they may be symlinked to
/etc/cfengine or other interesting locations, so be prepared for anything. This is the cfengine directory structure as described in the cfengine documentation:
/var/cfengine /bin, contains executables /inputs, configuration files live here cfagent.conf, performs the actual changes on each host cfservd.conf, controls the cfservd daemon cfrun.hosts, list of participating hosts update.conf, used by cfagent on the master server to copy configuration files and binaries into the correct locations on servers and clients /outputs, home of logfiles /ppkeys, encryption keys
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: RHEL 6.5, Debian 7.2 and EOL for Linux 3.0.x
- 5Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10