BORN to bash
Born to bash
ClusterTools2
Die ClusterTools2 ist ein rpm Paket das in der SLES12 High Availability Extension enthalten ist. Der Author und Entwickler dieser Software ist mein Kollege Lars Pinne aus Deutschland. Lars pflegt seine Scripte und passt sie stets der neuen SLES Version an damit Anwender die Scripte einwandfrei in der jeweiligen SLES HA Version verwenden können.
Installation:
Das Paket ClusterTools2 ist im SLES12-HA Extension Module enthalten und kann mit zypper installiert werden.
zypper in -y ClusterTools2
Um aber die aktuellste Version von ClusterTool2 zu installieren dann sollte vorher das rpm aus meinem github repository heruntergeladen werden und anschliesend mit zypper zu installieren.
git clone https://github.com/bjin01/ClusterTools2.git
zypper in ClusterTools2-3.0.1-6.noarch.rpm
Dabei kann es zu einer Fehlermeldung kommen das das Paket nicht signiert ist welche ignoriert werden kann.
Package is not signed!
ClusterTools2-3.0.1-6.noarch (Plain RPM files cache): Signature verification failed [6-File is unsigned]
Abort, retry, ignore? [a/r/i] (a): i
Aber was kann das Paket "ClusterTools2" überhaupt?
Einfach gesprochen beinhaltet das Paket eine Reihe von Scripten die dem Admin helfen den pacemaker Cluster für unterschiedlichen Workloads die komplexe Arbeit bei der Installation, Konfiguration und Troubleshooting zu vereinfachen. Viele Bash Scripte und komplexe "one-liner" commandlines sind bereits in ClusterTools2 in Form von fertigen Scripten abgebildet.
Hier ein Auszug aus der man page von ClusterTools2.
man 7 ClusterTools2
"The ClusterTools2 package provides tools for setting up and managing pacemaker HA clusters. The tools are aimed to make tasks easy around the pacemaker HA cluster manager and the Linux storagestack.
Main command for managing a running cluster is ClusterService. This ASCII-terminal based menu system allows to perform common administrative tasks. It can be used instead of crm_gui or Hawk if no webservice and no X desktop is available.
Tools like cs_list_failcounts and cs_show_cluster_transistion help to analyse the cluster behaviour. A set of tools based on wow allows to make configuration of clusters reproduceable and efficiant.
Wo kann ich ClusterTools benutzen und wie?
Beispiel:
Wo finde ich immer die aktuellste Version von ClusterTools2 welche von Lars laufend aktualisiert wird?
https://github.com/bjin01/ClusterTools2
oder direkt runterladen:
git clone https://github.com/bjin01/ClusterTools2.git