Configuration management and cfengine.
配置管理和cfengine。
Here, however, I must recommend cfengine.
然而,在这里,我必须推荐cfengine。
Strictly speaking, the cfengine program is just an interpreter of the cfengine language, and any cfengine programs are just scripts for that interpreter.
严格来说,cfengine程序只是 cfengine语言的解释器,并且任何 cfengine程序都只是那个解释器的脚本。
For more information on cfengine development, visit the cfengine Web site (see Resources later in this article).
有关cfengine开发的更多信息,请访问cfengine网站(请参阅本文后面的参考资料)。
This is the design goal of cfengine.
这是cfengine的设计目标。
Processes can be restarted if cfengine doesn't see them running.
如果cfengine没有发觉进程在运行,那么可以重新启动它们。
Distribution packages are located in the cfengine download area.
发布包位于cfengine下载区。
The main one is called cfengine in version 1.6.3.
在版本1.6.3 中,主程序叫作cfengine 。
When cfengine implements convergence, it does so through sets of rules.
当cfengine实现收敛时,它通过规则集做到这一点。
For the fork and exit daemons, cfengine works great.
对于使用fork和exit的守护程序,cfengine运行得很顺利。
To get started with cfengine, you should compile and install it.
在开始使用cfengine 之前,应该编译和安装它。
On the other hand, very few things that cfengine does are harmful.
而另一方面,cfengine 所做的事情几乎很少会造成损害。
With cfengine, you can automate almost any task based on arbitrary criteria.
利用cfengine,可以根据任意标准自动化几乎任何任务。
I will expand upon this topic in a future article on cfengine.
我将在有关cfengine的未来文章中展开这一问题。
Errors emitted by cfengine and classes defined remotely didn't show up reliably when started through CFD.
当通过cfd启动时,cfengine发出的错误和远程定义的类没有可靠地显示出来。
The cfengine program interprets sets of rules from a file and executes the actions demanded by those rules.
cfengine程序解释文件中的规则集,并执行那些规则请求的操作。
Your cfengine configuration files should start out simple, and grow as you discover more things that you want automated.
一开始时,您的cfengine配置文件应该很简单,并且随着发现更多东西希望自动化而增长。
If you do not want to use cfengine for your own reasons, consider the pgrep and pkill utilities that come with most modern UNIX systems.
如果由于个人原因,不想用cfengine,考虑一下大多数现代UNIX系统中附带的pgrep和pkill实用程序。
cfd是cfengine守护程序。
Listing 1. Starting configuration file for cfengine.
清单1.cfengine的启始配置文件。
You could use Perl to produce custom-tailored cfengine configurations, or you could run Perl scripts from cfengine.
可以用Perl生成定制的cfengine配置,或者可以从 cfengine运行 Perl脚本。
From the cfengine command reference, here are its most notable features.
来自cfengine命令参考大全,这里有其最值得注意的特性。
var/cfengine/bin/cf-promises — Command that checks promise syntax
var/cfengine/bin/cf-promises —检查承诺语法的命令
You can start by considering whether cfengine is adequate for the task.
可以通过考虑cfengine是否胜任该任务开始。
Pre-running rsync is a better option with cfengine 1.6.3 and earlier.
预先运行rsync是cfengine1.6.3 及更低版本的较好选项。
Cfengine has two editions: a long-standing community edition and a commercial enterprise edition.
Cfengine有两个版本:一个是存在已久的社区版,另一个是商业的企业版。
If you are serious about automating system administration, cfengine is a tool you should know.
如果您对自动化系统管理是认真的,那么应该了解cfengine工具。
var/cfengine/bin/cf-monitord — Daemon responsible for collecting information about the status of your system
var/cfengine/bin/cf-monitord —负责收集有关系统状态信息的守护进程
Well-designed rules (and rest assured, cfengine makes it easy to design well) will only move the system to an ideal state (ideal as defined in the cfengine rules).
良好设计的规则(请放心,cfengine使良好的设计变得容易)只是使系统达到一种理想状态(如在 cfengine 规则中定义的那样理想)。
For the non-forking daemons, however (and this includes most in-house daemon software), cfengine needs special help.
然而,对于不创建子进程的守护程序(并且这包括大多数内部守护程序软件),cfengine需要特殊帮助。
应用推荐