Hi,
I had no experience with Corosync / Pacemaker before, therefore, I followed
the following guide to setup a Corosync/Pacemaker HA solution for an apache
website:
http://www.unixmen.com/adding-deleting-cluster-resources-corosync-pacemaker-2/
I have two machines that run CentOS 6.5.
I've done
where is your cluster config?
2014-03-30 13:52 GMT+02:00 Dennis Zheleznyak den...@eshkol.com.co:
Hi,
I had no experience with Corosync / Pacemaker before, therefore, I
followed the following guide to setup a Corosync/Pacemaker HA solution for
an apache website:
[root@node1 yum.repos.d]# crm configure show
node node1
node node2
primitive Apache ocf:heartbeat:apache \
params configfile=/etc/httpd/conf/httpd.conf \
op monitor interval=30s \
op start timeout=40s interval=0 \
op stop timeout=60s interval=0
primitive Cluster_Server ocf:heartbeat:IPaddr2 \
if you configured apache to bind to the floating ip address configurared in
your cluster, you need to use colocation constrain or a group, because if
you have ip address in one node and apache try to start on a node without
the ip address, apache fails to bind the
colocation ipapache inf: Apache