10. Building from source (rare — only if packages aren't available)¶
yum install autoconf automake libtool nss-devel nss-util libqb libqb-devel \
libstatgrab libstatgrab-devel rpm-build redhat-rpm-config libuuid libuuid-devel \
glib2-devel libxml2 libxml2-devel libxslt-devel libtool-ltdl-devel bzip2-devel \
ncurses-devel
git clone https://github.com/corosync/corosync.git && cd corosync
./autogen.sh && ./configure --prefix=$PREFIX && make && make install
git clone git://github.com/ClusterLabs/pacemaker.git && cd pacemaker
./autogen.sh && ./configure --prefix=$PREFIX && make && make install && ldconfig -v
git clone https://github.com/feist/pcs.git && cd pcs && make && make install
11. Reference links¶
- Clusters from Scratch (Pacemaker): https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/pdf/Clusters_from_Scratch/Pacemaker-2.0-Clusters_from_Scratch-en-US.pdf
- Red Hat firewall port reference: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_reference/s1-firewalls-haar
- Guest fencing (fence_virt/fence_xvm): https://wiki.clusterlabs.org/wiki/Guest_Fencing
- Node deletion reference: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-node-delete.html
- Alteeve's cluster tutorial (referenced in the "Extreme Clustering Exercise" note): https://www.alteeve.com/w/AN!Cluster_Tutorial_2
← Part 07: Legacy Appendix
← Part 07: Legacy Appendix