<div style="text-align:left">hello all, <br>i&#39;m a newbie in clustering<br>i&#39;ve been following &quot;cluster from scratch&quot; tutorial, edition 5. everything goes well until drbd section.<br>but, when i step ahead into &quot;conversion to active/active&quot;, i follow &quot;cluster from scratch&quot; tutorial, edition 3 because i use 2 centos 6.3 servers.<br>
</div><div style="text-align:left">and there is a problem :<br>when i ran <br>&#39;mkfs.gfs2 -p lock_dlm -j 2 -t cluster:web /dev/drbd1&#39;<br>this message appear &#39;can&#39;t open device /dev/drbd1: Read-only file system&#39;<br>
<br>in node 1 :<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:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown   r-----<br>
    ns:0 nr:0 dw:265816 dr:267548 al:97 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:265484<br><br><br>in node 2 :<br>[root@cluster2 ~]# 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:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown   r-----<br>    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:4<br><br>this is the crm status <br>[root@cluster1 ~]# crm status<br>============<br>
Last updated: Wed Oct 17 11:32:38 2012<br>Last change: Wed Oct 17 10:08:21 2012 via crm_resource on cluster1<br>Stack: cman<br>Current DC: cluster1 - partition with quorum<br>Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14<br>
2 Nodes configured, 2 expected votes<br>5 Resources configured.<br>============<br><br>Online: [ cluster1 cluster2 ]<br><br> ClusterIP    (ocf::heartbeat:IPaddr2):    Started cluster1<br> Master/Slave Set: WebDataClone [WebData]<br>
     Masters: [ cluster1 ]<br>     Slaves: [ cluster2 ]<br><br>and, this is the crm configuration<br>[root@cluster1 dev]# crm configure show<br>node cluster1 \<br>    attributes standby=&quot;off&quot;<br>node cluster2 \<br>
    attributes standby=&quot;off&quot;<br>primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>    params ip=&quot;xxx.xxx.xxx.229&quot; cidr_netmask=&quot;32&quot; \<br>    op monitor interval=&quot;30s&quot;<br>primitive WebData ocf:linbit:drbd \<br>
    params drbd_resource=&quot;wwwdata&quot; \<br>    op monitor interval=&quot;60s&quot;<br>primitive WebFS ocf:heartbeat:Filesystem \<br>    params device=&quot;/dev/drbd/by-res/wwwdata&quot; directory=&quot;/var/www/html&quot; fstype=&quot;ext4&quot; \<br>
    meta target-role=&quot;Stopped&quot;<br>primitive WebSite ocf:heartbeat:apache \<br>    params configfile=&quot;/etc/httpd/conf/httpd.conf&quot; statusurl=&quot;<a href="http://localhost/server-status">http://localhost/server-status</a>&quot; \<br>
    op monitor interval=&quot;1min&quot;<br>ms WebDataClone WebData \<br>    meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot;<br>location location-WebSite-cluster1-50 WebSite 50: cluster1<br>
colocation WebSite-with-WebFS inf: WebSite WebFS<br>colocation colocation-WebSite-ClusterIP-INFINITY inf: WebSite ClusterIP<br>colocation fs_on_drbd inf: WebFS WebDataClone:Master<br>order WebFS-after-WebData inf: WebDataClone:promote WebFS:start<br>
order WebSite-after-WebFS inf: WebFS WebSite<br>order order-ClusterIP-WebSite-mandatory : ClusterIP:start WebSite:start<br>property $id=&quot;cib-bootstrap-options&quot; \<br>    dc-version=&quot;1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14&quot; \<br>
    cluster-infrastructure=&quot;cman&quot; \<br>    expected-quorum-votes=&quot;2&quot; \<br>    stonith-enabled=&quot;false&quot; \<br>    no-quorum-policy=&quot;ignore&quot;<br>rsc_defaults $id=&quot;rsc-options&quot; \<br>
    resource-stickiness=&quot;100&quot;<br>op_defaults $id=&quot;op_defaults-options&quot; \<br>    timeout=&quot;240s&quot;<br><br>i&#39;ve been googling, but the solution i found can&#39;t resolve mine.<br>any help would be appreciated<br>
<br></div>-- <br>Best Regards,<br><br>Soni Maula Harriz<br>Database Administrator<br>PT. Data Aksara Sangkuriang<br>