try to change your controld daemon OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/pacemaker/controld meta-data
<parameter name="daemon" unique="1"> <longdesc lang="en"> The daemon to start - supports gfs_controld(.pcmk) and dlm_controld(.pcmk) </longdesc> <shortdesc lang="en">The daemon to start</shortdesc> <content type="string" default="dlm_controld.pcmk" /> and remember you need to configure the cluster fencing, because dlm relay on it 2015-02-10 23:08 GMT+01:00 José Luis Rodríguez Rodríguez <jlr...@gmail.com>: > Hi Emmanuel, I installed this package but the result is the same when I try > to mount /dev/drbd1 on /mn: > gfs_controld join connect error: Connection refused > error mounting lockproto lock_dlm > > > I have installed gfs2-tools, dlm-pcmk y el que me indicastes gfs-pcmk > > > > My pacemaker configuration is: > node nodo1 > node nodo2 > primitive FAILOVER-ADDR ocf:heartbeat:IPaddr2 \ > params ip="192.168.122.100" nic="eth0" \ > op monitor interval="10s" meta-is-managed="true" \ > meta target-role="Started" > 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" > fstype="ext4" \ > meta target-role="Stopped" > primitive WebSite ocf:heartbeat:apache \ > params configfile="/etc/apache2/apache2.conf" > statusurl="http://localhost/server-status" \ > op monitor interval="1min" \ > meta target-role="Started" > primitive dlm ocf:pacemaker:controld \ > op monitor interval="60s" > ms WebDataClone WebData \ > meta master-max="1" master-node-max="1" clone-max="2" > clone-node-max="1" notify="true" target-role="Started" > clone dlm_clone dlm \ > meta clone-max="2" clone-node-max="1" target-role="Started" > location PREFERIDO-NODO1 WebSite 50: nodo1 > colocation WebSite-with-WebFS inf: WebSite WebFS > colocation fs_on_drbd inf: WebFS WebDataClone:Master > colocation website-with-ip inf: WebSite FAILOVER-ADDR > order WebFS-after-WebData inf: WebDataClone:promote WebFS:start > order WebSite-after-WebFS inf: WebFS WebSite > order apache-after-ip inf: FAILOVER-ADDR WebSite > property $id="cib-bootstrap-options" \ > dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \ > cluster-infrastructure="openais" \ > expected-quorum-votes="2" \ > stonith-enabled="false" \ > no-quorum-policy="ignore" > op_defaults $id="op-options" \ > timeout="240s" > > > > > Con sudo crm_mon: > > > Online: [ nodo1 nodo2 ] > > FAILOVER-ADDR (ocf::heartbeat:IPaddr2): Started nodo1 > Master/Slave Set: WebDataClone [WebData] > Masters: [ nodo1 ] > Slaves: [ nodo2 ] > Clone Set: dlm_clone [dlm] > Started: [ nodo2 nodo1 ] > > > El estado de DRBD es: > > Nodo 1 > 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----- > ns:264908 nr:0 dw:0 dr:267236 al:0 bm:19 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f > oos:0 > > > Nodo 2 > 1: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----- > ns:0 nr:264908 dw:264908 dr:0 al:0 bm:19 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f > oos:0 > > > What is my error? > > > On 10 February 2015 at 16:02, emmanuel segura <emi2f...@gmail.com> wrote: >> >> I'm using debian 7 >> >> apt-cache show gfs-pcmk >> ...... >> This package contains the GFS module for pacemaker. >> ....... >> >> 2015-02-10 8:55 GMT+01:00 José Luis Rodríguez Rodríguez >> <jlr...@gmail.com>: >> > Hello, >> > >> > I would like to create an active/active cluster by using pacemaker and >> > corosync on Debian. I have followed the documentation >> > http://clusterlabs.org/doc/Cluster_from_Scratch.pdf. It works well >> > until >> > 8.2.2 Create and Populate an GFS2 Partition. When I try to mount the >> > disk >> > /dev/drbd1 as /mnt, the output is: >> > >> > gfs_controld join connect error: Connection refused >> > error mounting lockproto lock_dlm >> > >> > I have read that it is necessary to use cman, but then the resources >> > created >> > by pacemaker (with the command crm configure primitive ...) doesn't >> > appear >> > with the command crm_mon. >> > >> > What could I do? >> > >> > -- >> > Saludos, >> > >> > >> > José Luis >> > ------ >> > Profesor Informática IES Jacarandá - Brenes (Sevilla) >> > http://www.iesjacaranda.es - www.iesjacaranda-brenes.org >> > twitter: @jlrod2 >> > >> > >> > >> > _______________________________________________ >> > 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 >> > >> >> >> >> -- >> esta es mi vida e me la vivo hasta que dios quiera >> >> _______________________________________________ >> 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 > > > > > -- > Saludos, > > > José Luis > ------ > Profesor Informática IES Jacarandá - Brenes (Sevilla) > http://www.iesjacaranda.es - www.iesjacaranda-brenes.org > twitter: @jlrod2 > > > > _______________________________________________ > 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 > -- esta es mi vida e me la vivo hasta que dios quiera _______________________________________________ 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