<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Times New Roman, Times, serif">Hi All , <br>
<br>
I don't have SAN with me , so I want to build the 2 node DRBD
active active for mysql & http resource ( i.e /dev/drbd2
& /dev/drbd3 in my case) with RHCS . </font><font
face="Times New Roman, Times, serif"><br>
<br>
I configured the require setup from
<a class="moz-txt-link-freetext" href="http://sourceware.org/cluster/wiki/DRBD_Cookbook">http://sourceware.org/cluster/wiki/DRBD_Cookbook</a> and from DRDB
links</font>.<br>
<br>
<font face="Times New Roman, Times, serif">From last 1 week I am
testing the same scenario in 2 XEN vms with kenel
2.6.18-128.el5xen , </font><font face="Times New Roman, Times,
serif">Every thing is working fine , like mysql and http services
move from one server to other etc... </font><font face="Times New
Roman, Times, serif"> But not working correctly when it get fence
( i.e when n/w fail on of the node). <br>
<br>
<b>I am facing the split-brain problem. </b> I search a lot in
google and mailling list but don't found the proper correct
solution and suggestion.<br>
<br>
For Fence testing I am doing following.<br>
================================<br>
1) On node1 http service is running with /dev/drbd2<br>
2) On node2 mysql service is runing with /dev/drbd3<br>
At this movement the DRBD primary-primary status is working
correctly.<br>
3) Now On node2 When I stop n/w service manually by "service
network stop" then within 3-5 sec. node2 get fence properly and
mysql service get switch on node1 properly.<br>
4) After fencing when node2 come up , then I am facing the DRBD
split-brain issue with node1 and node2. <br>
<br>
My questions :--<br>
==========<br>
1) Why DRBD Split brain is not coming when I reboot or shutdown or
destroy the machine by xm command <br>
i.e "xm reboot <node1/node2>" OR xm shutdown
<node1/node2> OR xm destroy <node/node2> <br>
<br>
2) Why the DRBD split brain issue come at the time of fencing node
only ?<br>
<br>
3) Is the combination of DRBD active-active + RHCS is stable ? and
workable solution <br>
Because one of the below mailling list I found it's workable
solution <br>
<a class="moz-txt-link-freetext" href="http://www.gossamer-threads.com/lists/drbd/users/20467#20467">http://www.gossamer-threads.com/lists/drbd/users/20467#20467</a><br>
<br>
4) In fencing Is there any extra setting require for such
combination ? <br>
5) Do I need to use any custom fencing logic ?<br>
<br>
6) Any one using such "</font><font face="Times New Roman, Times,
serif"><b>DRBD active-active + RHCS</b>" setup in Live without
split brain issue ? </font><br>
<font face="Times New Roman, Times, serif"><br>
Please guide and suggest on the same.<br>
<br>
Regards<br>
Jayesh Shinde<br>
<br>
<br>
</font>
</body>
</html>