Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Command-line interface for High-Availability cluster management on GNU/Linux systems.

License

NotificationsYou must be signed in to change notification settings

deanrasheed/crmsh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusCode Health

Introduction

crmsh is a command-line interface for High-Availability clustermanagement on GNU/Linux systems, and part of the Clusterlabsproject. It simplifies the configuration, management andtroubleshooting of Pacemaker-based clusters, by providing a powerfuland intuitive set of features.

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

Documentation

Installation

Crmsh is implemented in Python, and requires Python version 3.4 ornewer. Versions of crmsh older than the 4 series ran on Python 2, soif you don't have access to a Python 3 interpreter, you will need touse one of the older releases.

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

It then calls the python setuptools setup.py to actually process thePython module sources and install into the Python system site-packagesdirectory.

./autogen.sh./configuremakemake install

Test suites

There are two sets of tests: Unit tests and regression tests.

To run the unit tests, calltest/run. This usesnosetests to run aset of test cases that don't need a full Pacemaker environment.

To run the regression tests in a docker container, use thetest/containerized-regression-tests.sh script. This relies on havingaccess todocker to pull down the base image and run the regressiontest suite. The docker base image used is defined in theDockerfileincluded in the repository.

Manifest

./doc: man page,sourcefor 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           contributions./hb_report: log file collection and analysis tool

Development

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

git clone https://github.com/ClusterLabs/crmsh

There is a gitpre-commit hook used to update the data-manifestwhich lists all the data files to be installed. To install this, run

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

Community

About

Command-line interface for High-Availability cluster management on GNU/Linux systems.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python96.9%
  • Shell1.9%
  • Vim Script0.3%
  • Roff0.3%
  • Makefile0.2%
  • M40.2%
  • Other0.2%

[8]ページ先頭

©2009-2025 Movatter.jp