<div style="text-align:left">hello all, <br>i'm a newbie in clustering<br>i've been following "cluster from scratch" tutorial, edition 5. everything goes well until drbd section.<br>but, when i step ahead into "conversion to active/active", i follow "cluster from scratch" 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>'mkfs.gfs2 -p lock_dlm -j 2 -t cluster:web /dev/drbd1'<br>this message appear 'can't open device /dev/drbd1: Read-only file system'<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="off"<br>node cluster2 \<br>
    attributes standby="off"<br>primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>    params ip="xxx.xxx.xxx.229" cidr_netmask="32" \<br>    op monitor interval="30s"<br>primitive WebData ocf:linbit:drbd \<br>
    params drbd_resource="wwwdata" \<br>    op monitor interval="60s"<br>primitive WebFS ocf:heartbeat:Filesystem \<br>    params device="/dev/drbd/by-res/wwwdata" directory="/var/www/html" fstype="ext4" \<br>
    meta target-role="Stopped"<br>primitive WebSite ocf:heartbeat:apache \<br>    params configfile="/etc/httpd/conf/httpd.conf" statusurl="<a href="http://localhost/server-status">http://localhost/server-status</a>" \<br>
    op monitor interval="1min"<br>ms WebDataClone WebData \<br>    meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"<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="cib-bootstrap-options" \<br>    dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \<br>
    cluster-infrastructure="cman" \<br>    expected-quorum-votes="2" \<br>    stonith-enabled="false" \<br>    no-quorum-policy="ignore"<br>rsc_defaults $id="rsc-options" \<br>
    resource-stickiness="100"<br>op_defaults $id="op_defaults-options" \<br>    timeout="240s"<br><br>i've been googling, but the solution i found can'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>