hello all, i'm a newbie in clustering i've been following "cluster from scratch" tutorial, edition 5. everything goes well until drbd section. 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. and there is a problem : when i ran 'mkfs.gfs2 -p lock_dlm -j 2 -t cluster:web /dev/drbd1' this message appear 'can't open device /dev/drbd1: Read-only file system'
in node 1 : [root@cluster1 ~]# cat /proc/drbd version: 8.3.13 (api:88/proto:86-96) GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by dag@Build64R6, 2012-09-04 12:06:10 1: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown r----- 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 in node 2 : [root@cluster2 ~]# cat /proc/drbd version: 8.3.13 (api:88/proto:86-96) GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by dag@Build64R6, 2012-09-04 12:06:10 1: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown r----- 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 this is the crm status [root@cluster1 ~]# crm status ============ Last updated: Wed Oct 17 11:32:38 2012 Last change: Wed Oct 17 10:08:21 2012 via crm_resource on cluster1 Stack: cman Current DC: cluster1 - partition with quorum Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14 2 Nodes configured, 2 expected votes 5 Resources configured. ============ Online: [ cluster1 cluster2 ] ClusterIP (ocf::heartbeat:IPaddr2): Started cluster1 Master/Slave Set: WebDataClone [WebData] Masters: [ cluster1 ] Slaves: [ cluster2 ] and, this is the crm configuration [root@cluster1 dev]# crm configure show node cluster1 \ attributes standby="off" node cluster2 \ attributes standby="off" primitive ClusterIP ocf:heartbeat:IPaddr2 \ params ip="xxx.xxx.xxx.229" cidr_netmask="32" \ op monitor interval="30s" primitive WebData ocf:linbit:drbd \ params drbd_resource="wwwdata" \ op monitor interval="60s" primitive WebFS ocf:heartbeat:Filesystem \ params device="/dev/drbd/by-res/wwwdata" directory="/var/www/html" fstype="ext4" \ meta target-role="Stopped" primitive WebSite ocf:heartbeat:apache \ params configfile="/etc/httpd/conf/httpd.conf" statusurl=" http://localhost/server-status" \ op monitor interval="1min" ms WebDataClone WebData \ meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" location location-WebSite-cluster1-50 WebSite 50: cluster1 colocation WebSite-with-WebFS inf: WebSite WebFS colocation colocation-WebSite-ClusterIP-INFINITY inf: WebSite ClusterIP colocation fs_on_drbd inf: WebFS WebDataClone:Master order WebFS-after-WebData inf: WebDataClone:promote WebFS:start order WebSite-after-WebFS inf: WebFS WebSite order order-ClusterIP-WebSite-mandatory : ClusterIP:start WebSite:start property $id="cib-bootstrap-options" \ dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \ cluster-infrastructure="cman" \ expected-quorum-votes="2" \ stonith-enabled="false" \ no-quorum-policy="ignore" rsc_defaults $id="rsc-options" \ resource-stickiness="100" op_defaults $id="op_defaults-options" \ timeout="240s" i've been googling, but the solution i found can't resolve mine. any help would be appreciated -- Best Regards, Soni Maula Harriz Database Administrator PT. Data Aksara Sangkuriang
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org