<br><br><div class="gmail_quote">On Wed, Oct 17, 2012 at 7:56 PM, Digimer <span dir="ltr">&lt;<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please paste your cluster.conf file </blockquote><div><br>&lt;?xml version=&quot;1.0&quot;?&gt;<br>&lt;cluster config_version=&quot;1&quot; name=&quot;cluster&quot;&gt;<br>  &lt;logging debug=&quot;off&quot;/&gt;<br>  &lt;clusternodes&gt;<br>
    &lt;clusternode name=&quot;cluster1&quot; nodeid=&quot;1&quot;&gt;<br>      &lt;fence&gt;<br>    &lt;method name=&quot;pcmk-redirect&quot;&gt;<br>          &lt;device name=&quot;pcmk&quot; port=&quot;cluster1&quot;/&gt;<br>
        &lt;/method&gt;<br>      &lt;/fence&gt;<br>    &lt;/clusternode&gt;<br>    &lt;clusternode name=&quot;cluster2&quot; nodeid=&quot;2&quot;&gt;<br>      &lt;fence&gt;<br>    &lt;method name=&quot;pcmk-redirect&quot;&gt;<br>
          &lt;device name=&quot;pcmk&quot; port=&quot;cluster2&quot;/&gt;<br>        &lt;/method&gt;<br>      &lt;/fence&gt;<br>    &lt;/clusternode&gt;<br>  &lt;/clusternodes&gt;<br>  &lt;fencedevices&gt;<br>    &lt;fencedevice name=&quot;pcmk&quot; agent=&quot;fence_pcmk&quot;/&gt;<br>
  &lt;/fencedevices&gt;<br>&lt;/cluster&gt;<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">and the output from &#39;cat<br>
/proc/drbd&#39;. </blockquote><div><br>[root@cluster1 ~]# cat /proc/drbd <br>version: 8.3.13 (api:88/proto:86-96)<br>GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by dag@Build64R6, 2012-09-04 12:06:10<br><br> 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----<br>
    ns:0 nr:401408 dw:401408 dr:5620 al:0 bm:50 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Also, did you configure and test stonith/fencing?<br>
</blockquote><div><br>i didn&#39;t, didn&#39;t arrive at that part yet :)<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
digimer<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 10/17/2012 03:42 AM, Soni Maula Harriz wrote:<br>
&gt; ok, it&#39;s done. i can now create gfs2 filesystem in cluster2, by following<br>
&gt; configuration here <a href="http://www.neko-it.com/data-protection-2087.html" target="_blank">www.neko-it.com/data-protection-2087.html</a><br>
&gt;<br>
&gt; On Wed, Oct 17, 2012 at 2:02 PM, Soni Maula Harriz &lt;<br>
&gt; <a href="mailto:soni.harriz@sangkuriang.co.id">soni.harriz@sangkuriang.co.id</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; i succesfully created gfs2 filesystem on cluster1, the failure only happen<br>
&gt;&gt; to cluster2<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Oct 17, 2012 at 2:00 PM, Soni Maula Harriz &lt;<br>
&gt;&gt; <a href="mailto:soni.harriz@sangkuriang.co.id">soni.harriz@sangkuriang.co.id</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; ok, the split brain condition has been resolved.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Oct 17, 2012 at 12:16 PM, Digimer &lt;<a href="mailto:lists@alteeve.ca">lists@alteeve.ca</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 10/17/2012 12:58 AM, Soni Maula Harriz wrote:<br>
&gt;&gt;&gt;&gt;&gt; and when i restart drbd service on node 2, i found this message :<br>
&gt;&gt;&gt;&gt;&gt; [root@cluster2 ~]# service drbd restart<br>
&gt;&gt;&gt;&gt;&gt; Stopping all DRBD resources: .<br>
&gt;&gt;&gt;&gt;&gt; Starting DRBD resources: [ d(wwwdata) s(wwwdata) n(wwwdata) ]..........<br>
&gt;&gt;&gt;&gt;&gt; ***************************************************************<br>
&gt;&gt;&gt;&gt;&gt;  DRBD&#39;s startup script waits for the peer node(s) to appear.<br>
&gt;&gt;&gt;&gt;&gt;  - In case this node was already a degraded cluster before the<br>
&gt;&gt;&gt;&gt;&gt;    reboot the timeout is 0 seconds. [degr-wfc-timeout]<br>
&gt;&gt;&gt;&gt;&gt;  - If the peer was available before the reboot the timeout will<br>
&gt;&gt;&gt;&gt;&gt;    expire after 0 seconds. [wfc-timeout]<br>
&gt;&gt;&gt;&gt;&gt;    (These values are for resource &#39;wwwdata&#39;; 0 sec -&gt; wait forever)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; and this is the drbd config :<br>
&gt;&gt;&gt;&gt;&gt; include &quot;drbd.d/*.res&quot;;<br>
&gt;&gt;&gt;&gt;&gt; global {<br>
&gt;&gt;&gt;&gt;&gt;  usage-count yes;<br>
&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt; common {<br>
&gt;&gt;&gt;&gt;&gt;  protocol C;<br>
&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt; resource wwwdata {<br>
&gt;&gt;&gt;&gt;&gt;  meta-disk internal;<br>
&gt;&gt;&gt;&gt;&gt;  device  /dev/drbd1;<br>
&gt;&gt;&gt;&gt;&gt;  syncer {<br>
&gt;&gt;&gt;&gt;&gt;   verify-alg sha1;<br>
&gt;&gt;&gt;&gt;&gt;  }<br>
&gt;&gt;&gt;&gt;&gt;  net {<br>
&gt;&gt;&gt;&gt;&gt;   allow-two-primaries;<br>
&gt;&gt;&gt;&gt;&gt;  }<br>
&gt;&gt;&gt;&gt;&gt;  on cluster1 {<br>
&gt;&gt;&gt;&gt;&gt;   disk   /dev/vg_cluster1/drbd-demo;<br>
&gt;&gt;&gt;&gt;&gt;   address  xxx.xxx.xxx.213:7789;<br>
&gt;&gt;&gt;&gt;&gt;  }<br>
&gt;&gt;&gt;&gt;&gt;  on cluster2 {<br>
&gt;&gt;&gt;&gt;&gt;   disk   /dev/vg_cluster2/drbd-demo;<br>
&gt;&gt;&gt;&gt;&gt;   address  xxx.xxx.xxx.235:7789;<br>
&gt;&gt;&gt;&gt;&gt;  }<br>
&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Something is blocking your connection between the nodes&#39; &#39;cluster1&#39; and<br>
&gt;&gt;&gt;&gt; &#39;cluster2&#39; on the given IPs/Ports. Are you running a firewall? Can you<br>
&gt;&gt;&gt;&gt; telnet to the opposing node&#39;s ip:port?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; i have disabled the firewall (service iptables stop) on both nodes, and<br>
&gt;&gt;&gt; the drbd driver has been loaded. but i still cannot do the telnet on port<br>
&gt;&gt;&gt; does it related to cman that i have configured and ran ?<br>
&gt;&gt;&gt; and still i cannot create the gfs2 filesystem, message &#39;can&#39;t open device<br>
&gt;&gt;&gt; /dev/drbd1: Read-only file system&#39; still appear.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;  digimer<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; Digimer<br>
&gt;&gt;&gt;&gt; Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
&gt;&gt;&gt;&gt; What if the cure for cancer is trapped in the mind of a person without<br>
&gt;&gt;&gt;&gt; access to education?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Best Regards,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Soni Maula Harriz<br>
&gt;&gt;&gt; Database Administrator<br>
&gt;&gt;&gt; PT. Data Aksara Sangkuriang<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Best Regards,<br>
&gt;&gt;<br>
&gt;&gt; Soni Maula Harriz<br>
&gt;&gt; Database Administrator<br>
&gt;&gt; PT. Data Aksara Sangkuriang<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person without<br>
access to education?<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Soni Maula Harriz<br>Database Administrator<br>PT. Data Aksara Sangkuriang<br><br>