[ClusterLabs] Bash automation for Pacemaker, Corosync, DRBD, GFS, CLVM, and LCMC

Travis Bean tbean74 at gmail.com
Mon Mar 24 01:23:50 UTC 2025


Hello,

I developed a Bash script to automate the installation and
configuration of open-source software (i.e., launchpad.net/linuxha). I
want to make sure the syntax of this script is perfect so I can use it
as a teaching tool to educate people about Linux.

I need to know if there is anything misconfigured with my LinuxHA
high-availability Bash syntax.

Writing the Bash code to automate the installation and configuration
of Pacemaker, Corosync, DRBD, GFS, CLVM, and LCMC was a painstaking
process of trial and error to create this custom setup. I could not
find any how-to guide on the internet to show me step-by-step
instructions for what I wanted to achieve, so when I first got this
custom setup successfully working on two virtual machines, it was
really a miracle.

I haven’t been able to thoroughly test this Bash script out to make
sure it functions as intended for all environments, so I need feedback
to make sure I haven’t overlooked something with my current syntax.

If you find a bug in LinuxHA, please submit a bug report to
bugs.launchpad.net/linuxha/+filebug.

Kind regards,

Travis Bean


More information about the Users mailing list