Pacemaker 2.0 Daemon Changes

From ClusterLabs
Jump to: navigation, search

Pacemaker 2.0 changed the Pacemaker daemons as follows.

New names

The Pacemaker daemons have been renamed more intuitively, to help make the logs easier to follow.

Previous name Current name Purpose
attrd pacemaker-attrd node attribute manager
cib pacemaker-based Cluster Information Base manager
crmd pacemaker-controld cluster controller
lrmd pacemaker-execd local resource agent executor
stonithd pacemaker-fenced node fencer
pacemaker_remoted pacemaker-remoted remote resource agent executor
pengine pacemaker-schedulerd action scheduler

The master process that spawns all the others, pacemakerd, keeps its same name.

The systemd unit files and init scripts that start pacemaker and pacemaker_remote keep their same names.

The daemon source code subdirectories have all been moved to a new daemons subdirectory of the code base, and the source code files have been renamed for uniqueness, to help make the detail log easier to follow.

Regression tests

(Regression tests are mainly for Pacemaker developers, so most users can ignore this.)

The various regression tests have been made more unified. The most noticeable difference is in the command names:

Previous name Current name
BasicSanity.sh cts-regression
coverage.sh cts-coverage
cli/regression.sh cts-cli
lrmd/regression.py cts-exec
pengine/regression.sh cts-scheduler
fencing/regression.py cts-fencing
lrmd_test cts-exec-helper
stonith-test cts-fence-helper

The regression tests are now directly in /usr/share/pacemaker/tests instead of subdirectories, and the code has been moved into the cts directory of the source code tree. There were some minor tweaks to command-line arguments here and there; run the test command with --help to see the current options. The -i/--interval option to cts-exec-helper now takes a generic interval specification instead of an integer number of milliseconds.