Skip to content

Commit ed6d21d

Browse files
committed
devel doc: how to test with latest Pacemaker source code
1 parent 0ad0525 commit ed6d21d

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

devel/howto-pacemaker-beta.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# How to test with latest Pacemaker source code
2+
3+
The has been tested on Centos 8 Stream.
4+
5+
First, install some dependencies:
6+
7+
~~~bash
8+
yum install --enablerepo=ha --enablerepo=powertools make git \
9+
corosync corosynclib corosynclib-devel python3 libqb-devel \
10+
bzip2-devel libxslt-devel libxml2-devel glib2-devel pkgconfig \
11+
libuuid-devel libtool-ltdl-devel libtool autoconf automake \
12+
docbook-style-xsl gnutls-devel help2man ncurses-devel \
13+
pam-devel pkgconfig 'pkgconfig(dbus-1)' python3-devel \
14+
rpmdevtools rpmlint perl-TimeDate psmisc resource-agents
15+
~~~
16+
17+
Get the source code and checkout the required tag/commit:
18+
19+
~~~bash
20+
git clone https://github.com/ClusterLabs/pacemaker.git
21+
cd pacemaker
22+
git checkout Pacemaker-2.1.1-rc3
23+
~~~
24+
25+
Build the code and RPM:
26+
27+
~~~bash
28+
./autogen.sh
29+
./configure
30+
make rpm
31+
~~~
32+
33+
Install pacemaker:
34+
35+
~~~bash
36+
cd rpm/RPMS
37+
yum install ./x86_64/pacemaker-2.1.1-0.1.rc3.el8.x86_64.rpm \
38+
./x86_64/pacemaker-cli-2.1.1-0.1.rc3.el8.x86_64.rpm \
39+
./x86_64/pacemaker-libs-2.1.1-0.1.rc3.el8.x86_64.rpm \
40+
./x86_64/pacemaker-cluster-libs-2.1.1-0.1.rc3.el8.x86_64.rpm \
41+
./noarch/pacemaker-schemas-2.1.1-0.1.rc3.el8.noarch.rpm
42+
~~~
43+

0 commit comments

Comments
 (0)