Command-line interface for High-Availability cluster management on GNU/Linux systems.
Python Shell Vim script Roff Makefile M4 Awk
Latest commit 841c552 Feb 16, 2017 @krig krig low: utils: is_process did not work
Possibly caused by a change to ps, the output listing
includes the name of the process in the argument list
to grep - meaning is_process always returns True.

Change the command to filter out any calls to grep,
and also don't match on parts of process names.

Fixes: #182
Failed to load latest commit information.
bin dev: Move crm to bin/crm Dec 14, 2016
contrib Low: ui: Fix vim highlightning support. Dec 13, 2016
crmsh low: utils: is_process did not work Feb 16, 2017
doc doc: Bootstrap howto guide Feb 2, 2017
hb_report medium: hb_report: Make sure this never expands to rm -rf / Nov 2, 2016
scripts high: scripts: Remove script versions of add/remove/init Dec 9, 2016
templates medium: templates: Clearer descriptions for editing templates (boo#92… Mar 16, 2015
test Allow empty fencing_topology (bsc#1025393) Feb 15, 2017
utils dev: Reference COPYING in license headers [2] Jul 7, 2015
.gitignore git ignore contents of .tox directory May 13, 2016
.hgignore Dev: Added new website source Aug 15, 2013
.landscape.yaml dev: allow cyclic imports Mar 9, 2016
.travis.yml dev: Install Pacemaker 1.1.16 on Travis from a tarball Dec 9, 2016
AUTHORS dev: Update AUTHORS Aug 12, 2016
COPYING build: add build and generic doc files Oct 19, 2011
ChangeLog dev: Release 3.0.0 Jan 31, 2017 Low: ui: Fix vim highlightning support. Dec 13, 2016
NEWS build: add build and generic doc files Oct 19, 2011 dev: Add badge to README Apr 28, 2016
TODO doc: Update TODO Sep 10, 2014 Dev: Clean up unused definitions from autotools chain Oct 4, 2013 dev: Release 3.0.0 Jan 31, 2017 high: config: Remove config.core.supported_schemas (bsc#946893) Sep 22, 2015
crmsh.spec dev: Update example RPM spec file Aug 12, 2016
data-manifest test: Remove Travis hack Dec 13, 2016
requirements.txt dev: Add parallax to requirements.txt Mar 9, 2016 dev: Release 3.0.0 Jan 31, 2017
tox.ini added tox.ini to setup py26 and py27 virtualenvs May 13, 2016 high: Makefile: Don't unstall hb_report using data-manifest (bsc#936026) Jun 25, 2015 low: Remove build revision from version Jul 3, 2015


Build Status Code Health


crmsh is a command-line interface for High-Availability cluster management on GNU/Linux systems, and part of the Clusterlabs project. It simplifies the configuration, management and troubleshooting of Pacemaker-based clusters, by providing a powerful and intuitive set of features.

crmsh can function both as an interactive shell with tab completion and inline documentation, and as a command-line tool. It can also be used in batch mode to execute commands from files.



The GNU Autotools suite is used to configure the OCF root directory, the Asciidoc tool which is used to generate documentation and the default daemon user (usually hacluster).

It then calls the python setuptools to actually process the Python module sources and install into the Python system site-packages directory.

make install


./doc: man page, source for the website and other documentation
./crmsh: the code
./templates: configuration templates
./test: unit tests and regression tests
./contrib: vim highlighting scripts and other semi-related
./hb_report: log file collection and analysis tool


crmsh is implemented in Python. The source code for crmsh is kept in a git source repository. To check out the latest development version, install git and run this command:

git clone

There is a git pre-commit hook used to update the data-manifest which lists all the data files to be installed. To install this, run

cp contrib/git-hook-pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit