From ed6d21d04d07b6f26c351f8e75ebc2a658aebc34 Mon Sep 17 00:00:00 2001 From: Jehan-Guillaume de Rorthais Date: Fri, 3 Sep 2021 14:34:55 +0200 Subject: [PATCH] devel doc: how to test with latest Pacemaker source code --- devel/howto-pacemaker-beta.md | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 devel/howto-pacemaker-beta.md diff --git a/devel/howto-pacemaker-beta.md b/devel/howto-pacemaker-beta.md new file mode 100644 index 0000000..81c1d22 --- /dev/null +++ b/devel/howto-pacemaker-beta.md @@ -0,0 +1,43 @@ +# How to test with latest Pacemaker source code + +The has been tested on Centos 8 Stream. + +First, install some dependencies: + +~~~bash +yum install --enablerepo=ha --enablerepo=powertools make git \ + corosync corosynclib corosynclib-devel python3 libqb-devel \ + bzip2-devel libxslt-devel libxml2-devel glib2-devel pkgconfig \ + libuuid-devel libtool-ltdl-devel libtool autoconf automake \ + docbook-style-xsl gnutls-devel help2man ncurses-devel \ + pam-devel pkgconfig 'pkgconfig(dbus-1)' python3-devel \ + rpmdevtools rpmlint perl-TimeDate psmisc resource-agents +~~~ + +Get the source code and checkout the required tag/commit: + +~~~bash +git clone https://github.com/ClusterLabs/pacemaker.git +cd pacemaker +git checkout Pacemaker-2.1.1-rc3 +~~~ + +Build the code and RPM: + +~~~bash +./autogen.sh +./configure +make rpm +~~~ + +Install pacemaker: + +~~~bash +cd rpm/RPMS +yum install ./x86_64/pacemaker-2.1.1-0.1.rc3.el8.x86_64.rpm \ + ./x86_64/pacemaker-cli-2.1.1-0.1.rc3.el8.x86_64.rpm \ + ./x86_64/pacemaker-libs-2.1.1-0.1.rc3.el8.x86_64.rpm \ + ./x86_64/pacemaker-cluster-libs-2.1.1-0.1.rc3.el8.x86_64.rpm \ + ./noarch/pacemaker-schemas-2.1.1-0.1.rc3.el8.noarch.rpm +~~~ +