<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi All ,<br>
<br>
I have configured active/active using pacemaker in centos-6.2 along
with gfs2. Below are configuration. <br>
<br>
<small>crm configure primitive ClusterIP ocf:heartbeat:IPaddr2
params ip="169.144.106.121" cidr_netmask="26" op monitor
interval=30s<br>
crm configure primitive WebSite ocf:heartbeat:apache params
configfile=/etc/httpd/conf/httpd.conf op monitor interval=1min <br>
crm configure op_defaults timeout=240s<br>
crm configure colocation website-with-ip INFINITY: WebSite
ClusterIP<br>
<br>
crm<br>
cib new GFS2<br>
configure primitive WebFS ocf:heartbeat:Filesystem params
device="/dev/mydisk" directory="/var/www/html" fstype="gfs2"<br>
configure colocation WebSite-with-WebFS inf: WebSite WebFS<br>
configure colocation fs_on_drbd inf: WebFS WebDataClone:Master<br>
configure order WebFS-after-WebData inf: WebDataClone:promote
WebFS:start<br>
configure order WebSite-after-WebFS inf: WebFS WebSite<br>
configure show<br>
cib commit GFS2<br>
<br>
<br>
<br>
crm<br>
cib new active<br>
configure clone WebIP ClusterIP meta globally-unique="true"
clone-max="2" clone-node-max="2"<br>
configure edit ClusterIP<br>
<br>
i have add the following to the params line<br>
<br>
clusterip_hash="sourceip"<br>
<br>
crm<br>
cib new active<br>
configure clone WebIP ClusterIP meta globally-unique="true"
clone-max="2" clone-node-max="2"<br>
configure show<br>
<br>
configure clone WebFSClone WebFS<br>
configure clone WebSiteClone WebSite<br>
<b>configure edit WebDataClone (but this file is
empty!!!!!!!)<br>
</b><br>
We need to Change master-max to 2 <br>
<br>
cib commit active<br>
quit </small><br>
<br>
<br>
But i am facing issues ,<br>
<br>
1. Not able to mount gfs2 file system simultaneously on both the
nodes.<br>
<br>
<small>2. When i run "configure colocation fs_on_drbd inf: WebFS
WebDataClone:Master" & "configure order WebFS-after-WebData
inf: WebDataClone:promote WebFS:start" , it's gives me error , it
doesn't find</small> <small>the</small> <small>"fs_on_drbd"
& it asks still want to continue(y/n)</small>.<br>
<br>
2. When i try to configure webdataclone , i don't find any entry
like "<small>master-max</small>" , file is empty.<br>
<br>
3. As i have done lot of googling and try to find documentation
which covers pacemaker+cman+gfs2 for centos-6, but still no success
. every documentation link includes drbd first and then gfs.<br>
<br>
<br>
Also find the attached node xml file<br>
<br>
<br>
Regards<br>
Pradeep Kumar <br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>