Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-24 Thread Johan Rosing Bergkvist
Den 24. feb. 2012 09.30 skrev Florian Haas : > On 02/24/12 09:21, Johan Rosing Bergkvist wrote: > > Sorry parameter, you're right. > > But still It didn't mount untill I added the drbdconf parameter. > > > > primitive clusterDRBD ocf:linbit:drbd \ > > params drbd_resource="cluster-ocfs" *d

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-24 Thread Florian Haas
On 02/24/12 09:21, Johan Rosing Bergkvist wrote: > Sorry parameter, you're right. > But still It didn't mount untill I added the drbdconf parameter. > > primitive clusterDRBD ocf:linbit:drbd \ > params drbd_resource="cluster-ocfs" *drbdconf="/etc/drbd.conf" > *#This is what I added \ >

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-24 Thread Johan Rosing Bergkvist
Sorry parameter, you're right. But still It didn't mount untill I added the drbdconf parameter. primitive clusterDRBD ocf:linbit:drbd \ params drbd_resource="cluster-ocfs" *drbdconf="/etc/drbd.conf" *#This is what I added \ op monitor interval="20" role="Master" timeout="20" \

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-24 Thread Florian Haas
On 02/24/12 08:50, Johan Rosing Bergkvist wrote: > Hi > Just an update. > So I upgraded to pacemaker 1.1.6 and tried to configure it all again, > without dlm. > It didn't work, I still got the "OCF_ERR_INSTALLED so I started looking > through the setup and found that I didn't specify the drbd.conf

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-23 Thread Johan Rosing Bergkvist
Hi Just an update. So I upgraded to pacemaker 1.1.6 and tried to configure it all again, without dlm. It didn't work, I still got the " OCF_ERR_INSTALLED so I started looking through the setup and found that I didn't specify the drbd.conf path. When I added that meta and boom, it mounted like a d

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-22 Thread Florian Haas
> > Last updated: Wed Feb 22 11:51:22 2012 > Stack: openais > Current DC: cluster01 - partition with quorum > Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b Please go to 1.1.5, at least, as soon as you can. > primitive Cluster-FS-DLM ocf:pacemaker:controld \ > op mon

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-22 Thread emmanuel segura
I think your order constrains are wrong order Cluster-FS-Mount-Order 0: Cluster-FS-O2CB-Clone Cluster-FS-Mount-Clone ?? you mount the fs beafore start the dlm ?? order Cluster-FS-O2CB-Order 0: Cluster-FS-DLM-Clone Cluster-FS-O2CB-Clo

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-22 Thread Johan Rosing Bergkvist
root@cluster01:~# ls -l /usr/lib/ocf/resource.d/pacemaker/o2cb -rwxr-xr-x 1 root root 10868 5 aug 2010 /usr/lib/ocf/resource.d/pacemaker/o2cb Den 22. feb. 2012 12.04 skrev emmanuel segura : > ls -l /usr/lib/ocf/resource.d/ocfs2/o2cb > -rwxr-xr-x 1 root root 11107 2010-05-17 12:48 > /usr/lib/o

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-22 Thread emmanuel segura
ls -l /usr/lib/ocf/resource.d/ocfs2/o2cb -rwxr-xr-x 1 root root 11107 2010-05-17 12:48 /usr/lib/ocf/resource.d/ocfs2/o2cb Il giorno 22 febbraio 2012 11:54, Johan Rosing Bergkvist < jbergkvi...@gmail.com> ha scritto: > Hi > So I tried to configure some dlm and o2cb resources, now I get a new er

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-22 Thread Johan Rosing Bergkvist
Hi So I tried to configure some dlm and o2cb resources, now I get a new error here's the output of crm_mon Last updated: Wed Feb 22 11:51:22 2012 Stack: openais Current DC: cluster01 - partition with quorum Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b 2 Nodes configured,

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-21 Thread Dejan Muhamedagic
On Tue, Feb 21, 2012 at 04:31:50PM +0100, Florian Haas wrote: > On Tue, Feb 21, 2012 at 4:22 PM, Dejan Muhamedagic > wrote: > > Hi, > > > > On Tue, Feb 21, 2012 at 02:26:31PM +0100, Florian Haas wrote: > >> On 02/21/12 13:39, Johan wrote: > >> > > >> > I keep getting the: > >> >  info: RA output:

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-21 Thread Florian Haas
On Tue, Feb 21, 2012 at 4:22 PM, Dejan Muhamedagic wrote: > Hi, > > On Tue, Feb 21, 2012 at 02:26:31PM +0100, Florian Haas wrote: >> On 02/21/12 13:39, Johan wrote: >> > >> > I keep getting the: >> >  info: RA output: (Cluster-FS-Mount:1:start:stderr) FATAL: Module >> > scsi_hostadapter not found.

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-21 Thread Dejan Muhamedagic
Hi, On Tue, Feb 21, 2012 at 02:26:31PM +0100, Florian Haas wrote: > On 02/21/12 13:39, Johan wrote: > > > > I keep getting the: > > info: RA output: (Cluster-FS-Mount:1:start:stderr) FATAL: Module > > scsi_hostadapter not found. > > That's a red herring. Why the Filesystem RA is still trying t

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-21 Thread Johan Rosing Bergkvist
Hi Yeah I stopped them since they messed up anyway, just while looking for a solution. I'll try the stuff you mentioned and return with a result - thanks! Johan Den 21. feb. 2012 14.26 skrev Florian Haas : > On 02/21/12 13:39, Johan wrote: > > I've been following this > http://publications.jbfavr

Re: [Pacemaker] Pacemaker will not mount ocfs2

2012-02-21 Thread Florian Haas
On 02/21/12 13:39, Johan wrote: > I've been following this > http://publications.jbfavre.org/virtualisation/cluster- > xen-corosync-pacemaker-drbd-ocfs2.en tutorial on how to setup a pacemaker xen > cluster. I'm all new to this so pls bear over with me. > The big problem is that when UI get to th