How To Create RedHat/Centos/OracleLinux 7 Cluster Configuration Step With Pacemaker/Corosync-Part1
Pacemaker:RedHat/Centos/Oracle Linux 7 Cluster Configuration Step by Step Pacemaker/Corosync, Configuring HA Cluster using Redhat Cluster – Pacemaker on RHEL 7 ,
http://pastebin.com/HaSze8eF The commands.
I will Share this file in my viedo through pastebin.com
Before start this u need very very carefull about belows points:
Node 1 & Node 2:
—————————
1) date and time Done
2) selinux must disable Done
3) NetworkManager Stop Done
4) Firewall u can use or not (not mandatory) Done
[node1,node2] yum install -y pacemaker pcs psmisc policycoreutils-python -Done
[node1,node2]systemctl start pcsd.service;systemctl enable pcsd.service
[node1,node2]passwd hacluster
[node1 / node2]pcs cluster auth node1.secl.com node2.secl.com
[node1 / node2] pcs cluster setup –name hacluster node1.secl.com node2.secl.com
[Any Node]pcs status
Error: cluster is not currently running on this node (Bcoz still we dont start the cluster)
pcs cluster start –all
now u need enable the cluster for boot time
pcs cluster enable –all
you can show the cluster in Pacemaker by #pcs status command or also u can use
Web GUI
https://192.168.0.10:2224 (sorry i have no DNS) w8 …
Web Gui take some time to update…(Sorry bcoz of i have no dns or dont use the VM network i need add this in WEB GUI)
Its really Nice feature and Super FAST response from server , PaceMaker is so Fast then ricci luci
This Warning becoz we need now configure Fencing…..:) ..watch and share…
by A.K.M. RAKIBUL HASAN
linux web server