Re: [Pacemaker] Clone Set does not start its lsb service on all nodes

2012-02-22 Thread Ante Karamatic
On 13.02.2012 23:29, Andrew Martin wrote: > I am creating a cluster that will manage virtual machines using libvirt > on Ubuntu 10.04 Server. I am following this guide (except using DRBD > instead of iSCSI): > http://www.linbit.com/fileadmin/tech-guides/ha-kvm.pdf Make sure you use PPA with all n

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 23.02.2012 07:57, Vladislav Bogdanov wrote: > Thanks for clarification, that wasn't clear at the moment I looked at > it. If I knew that, I wouldn't write that RA. One remark, my RA has > possibility to check service aliveness on monitor operation and repair > that service if it hangs. Well...

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 23.02.2012 00:10, Andrew Beekhof wrote: > Do you still have LSB scripts on a machine thats using upstart? Yes, some LSB scripts can't be easily converted to upstart jobs. Or, let's rephrase that - can't be converted to upstart jobs without losing some of the functionality. > On fedora they pu

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Vladislav Bogdanov
22.02.2012 22:44, Ante Karamatic wrote: > On 22.02.2012 19:45, Vladislav Bogdanov wrote: > >> I looked at that RAexec very early, just after it was commited, and I >> understand that it requires running dbus daemon to operate. I prefer to >> simplify operation chains, so that is really not an opti

Re: [Pacemaker] colocation quandery

2012-02-22 Thread Jean-Francois Malouin
* Andrew Beekhof [20120222 18:22]: > On Thu, Feb 23, 2012 at 4:25 AM, Jean-Francois Malouin > wrote: > > * Florian Haas [20120222 11:57]: > >> On Wed, Feb 22, 2012 at 5:06 PM, Jean-Francois Malouin > >> wrote: > >> > Hi, > >> > > >&g

Re: [Pacemaker] Clone Set does not start its lsb service on all nodes

2012-02-22 Thread Andreas Ntaflos
On 2012-02-22 23:02, Andrew Martin wrote: > I have upgraded to the version > of pacemaker in the Ubuntu-HA ppa, which includes the upstart resource > agent that I am using now. Glad to hear you got it working, and your patch to the init.d script could come in handy. But which PPA are you using, e

[Pacemaker] questions about the booth

2012-02-22 Thread Yuusuke Iida
Hi, Jiaju I want to ask some questions about booth. I confirm movement of booth by the following constitution. node1, node2 - siteA(grant ticket) node3, node4 - siteB arbitrator 1. boothd which moved in node1 did failover by trouble to node2. Though booth is rebooted then during the validity of

Re: [Pacemaker] don't want to restart clone resource

2012-02-22 Thread Fanghao Sha
Hi Andrew, Hi Lars, I have reported it in bugzilla. http://bugs.clusterlabs.org/show_bug.cgi?id=5038 2012/2/13 Andrew Beekhof > On Wed, Feb 8, 2012 at 5:48 PM, Fanghao Sha wrote: > > Hi Andrew, > > Is crm_report included in pacemaker-1.0.12-1.el5.centos? > > I couldn't find it. > > /headslap >

Re: [Pacemaker] colocation quandery

2012-02-22 Thread Andrew Beekhof
On Thu, Feb 23, 2012 at 4:25 AM, Jean-Francois Malouin wrote: > * Florian Haas [20120222 11:57]: >> On Wed, Feb 22, 2012 at 5:06 PM, Jean-Francois Malouin >> wrote: >> > Hi, >> > >> > I have a question about colocation. >> > >> > (T

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Andrew Beekhof
On Thu, Feb 23, 2012 at 5:01 AM, Ante Karamatic wrote: > On 21.02.2012 17:56, Jake Smith wrote: > >> Np thanks for adding - I was asking because the exit codes on the >> upstart jobs I'm using didn't align (I believe) with the LSB spec and >> I wasn't sure if they were supposed to.  Haven't really

Re: [Pacemaker] Clone Set does not start its lsb service on all nodes

2012-02-22 Thread Andrew Martin
Hi Andreas, You are correct, the /etc/init.d/libvirt-bin pseudo-LSB script did not adhere to the LSB specification (e.g. returning exit code 3 when the "status" parameter is passed and the service is stopped) since it is just a legacy alias for the upstart job. I have upgraded to the version

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Jake Smith
- Original Message - > From: "Ante Karamatic" > To: pacemaker@oss.clusterlabs.org > Sent: Wednesday, February 22, 2012 1:26:56 PM > Subject: Re: [Pacemaker] Upstart resources > > On 21.02.2012 16:30, Florian Haas wrote: > > > [1] "Why do I need to use a PPA if this release is ostensibly

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 22.02.2012 19:45, Vladislav Bogdanov wrote: > I looked at that RAexec very early, just after it was commited, and I > understand that it requires running dbus daemon to operate. I prefer to > simplify operation chains, so that is really not an option for me to > rely on one more service to do s

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Jake Smith
- Original Message - > From: "Ante Karamatic" > To: pacemaker@oss.clusterlabs.org > Sent: Wednesday, February 22, 2012 1:01:35 PM > Subject: Re: [Pacemaker] Upstart resources > > On 21.02.2012 17:56, Jake Smith wrote: > > > Np thanks for adding - I was asking because the exit codes on t

[Pacemaker] Cluster from Scratch v2 typos?

2012-02-22 Thread Ben Branch
All, This is my first post to the list, so go easy on me ;). I've been reading the Clusters from Scratch v2 document and I noticed some inconsistencies. 1. Pg. 25, Figure 2.14 - Customize Networking: Screenshot indicates that the user should be using the IP address of 192.168.9.41 on t

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Vladislav Bogdanov
22.02.2012 20:55, Ante Karamatic write: > On 16.02.2012 05:23, Vladislav Bogdanov wrote: > >> Newer versions of pacemaker and lrmd are able to deal with upstart >> resources via dbus. >> However I do not like this way, so please find resource-agent attached, >> which is able to manage arbitrary up

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 21.02.2012 16:30, Florian Haas wrote: > [1] "Why do I need to use a PPA if this release is ostensibly on > long-term support?" Don't ask me, ask someone from Canonical. :) Pacemaker isn't really supported cluster stack in Ubuntu 10.04 (it's in universe). RHCS is in main and supported. There ar

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 21.02.2012 17:56, Jake Smith wrote: > Np thanks for adding - I was asking because the exit codes on the > upstart jobs I'm using didn't align (I believe) with the LSB spec and > I wasn't sure if they were supposed to. Haven't really seen the > level of documentation (as LSB resource) for upsta

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 16.02.2012 05:23, Vladislav Bogdanov wrote: > Newer versions of pacemaker and lrmd are able to deal with upstart > resources via dbus. > However I do not like this way, so please find resource-agent attached, > which is able to manage arbitrary upstart job (just like Anything but > for upstart

Re: [Pacemaker] colocation quandery

2012-02-22 Thread Jean-Francois Malouin
* Florian Haas [20120222 11:57]: > On Wed, Feb 22, 2012 at 5:06 PM, Jean-Francois Malouin > wrote: > > Hi, > > > > I have a question about colocation. > > > > (This is on a tiny 2 nodes virtual test cluster with pacemaker-1.1.6 > > from Debia

Re: [Pacemaker] colocation quandery

2012-02-22 Thread Florian Haas
On Wed, Feb 22, 2012 at 5:06 PM, Jean-Francois Malouin wrote: > Hi, > > I have a question about colocation. > > (This is on a tiny 2 nodes virtual test cluster with pacemaker-1.1.6 > from Debian Squeeze backports) > > I've read the Pacemaker_Explained doc (1.1) and the thread > > http://www.gossam

Re: [Pacemaker] colocation quandery

2012-02-22 Thread Florian Crouzat
Le 22/02/2012 17:06, Jean-Francois Malouin a écrit : can't wrap my head around it so I created a test environment to play around the different scenarios. But... is it possible to use crm to create the colocation as in Example 6.16 in http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacem

[Pacemaker] colocation quandery

2012-02-22 Thread Jean-Francois Malouin
Hi, I have a question about colocation. (This is on a tiny 2 nodes virtual test cluster with pacemaker-1.1.6 from Debian Squeeze backports) I've read the Pacemaker_Explained doc (1.1) and the thread http://www.gossamer-threads.com/lists/linuxha/pacemaker/69686 many times and I can't wrap my he

Re: [Pacemaker] Failed start of a resource after a Debian upgrading

2012-02-22 Thread Michal Vyoral
Hello Dejan, I have solved the problem described below by adding the parameter statusurl="http://127.0.0.1/server-status"; to the apache resource and by replacing this line Listen 10.5.75.83:80 by the line Listen 80 in the file /etc/apache2/ports.conf. So we enabled the Apache to list

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,