|We have moved! The latest version of this document can be found on http://crmsh.github.io.|
crmsh is a free software project, and is open to contributors. Patches, comments, documentation, testing and so on are all very much welcome!
git clone https://github.com/crmsh/crmsh.git
crmsh needs the source code to cluster-glue and pacemaker when installing. On openSUSE, these are packaged as libglue-devel and libpacemaker-devel.
./autogen.sh ./configure make make install
The test suite uses nose. On most distributions, this can be installed by installing the package python-nose, or using pip.
To run the unit test suite, go to the source code directory of crmsh and call:
crmsh comes with a regression test suite. The regression tests need to run after installation, on a system which has pacemaker installed. To execute the tests, call:
/usr/share/crmsh/tests/regression.sh cat crmtestout/regression.out