Re: [Pacemaker] CRM CLI guide gone?

2012-09-13 Thread Dejan Muhamedagic
On Mon, Sep 10, 2012 at 06:26:34PM +0200, Andreas Ntaflos wrote: > On 10/09/12 00:15, Andrew Beekhof wrote: > > On Fri, Sep 7, 2012 at 6:49 AM, Andreas Ntaflos > > wrote: > >> It seems the CRM CLI guide formally found under > >> > >> http://www.clusterlabs.org/doc/crm_cli.html > >> > >> is gone (

Re: [Pacemaker] How to add primitive resource to an already existing Group using crm

2012-09-13 Thread Dejan Muhamedagic
d. If you receive > this e-mail in error, please notify the sender by phone or email immediately > and delete it! > > > From: Dejan Muhamedagic [deja...@fastmail.fm] > Sent: Wednesday, September 12, 2012 3:41 PM > To: The Pacemaker cluster re

Re: [Pacemaker] How to add primitive resource to an already existing Group using crm

2012-09-12 Thread Dejan Muhamedagic
Hi, On Wed, Sep 12, 2012 at 12:15:34PM +0300, Dan Frincu wrote: > Hi, > > On Wed, Sep 12, 2012 at 11:56 AM, Kashif Jawed Siddiqui > wrote: > > Hi, > > > > > > > > I would like to know is there a way to add new primitive resource to an > > already existing group. > > > > > > > > I know cr

Re: [Pacemaker] CRM CLI guide gone?

2012-09-11 Thread Dejan Muhamedagic
On Tue, Sep 11, 2012 at 02:17:56PM +0200, Andreas Ntaflos wrote: > On 11/09/12 13:48, Dejan Muhamedagic wrote: > >> Is it perhaps <http://savannah.nongnu.org/projects/crmsh/>? > > > > Yes. > > Ok, great to know, thanks! > > > I'm a bit lo

Re: [Pacemaker] CRM CLI guide gone?

2012-09-11 Thread Dejan Muhamedagic
Hi, On Mon, Sep 10, 2012 at 06:26:34PM +0200, Andreas Ntaflos wrote: > On 10/09/12 00:15, Andrew Beekhof wrote: > > On Fri, Sep 7, 2012 at 6:49 AM, Andreas Ntaflos > > wrote: > >> It seems the CRM CLI guide formally found under > >> > >> http://www.clusterlabs.org/doc/crm_cli.html > >> > >> is g

Re: [Pacemaker] ordering such that at least one resource started

2012-09-11 Thread Dejan Muhamedagic
Hi, On Tue, Sep 11, 2012 at 05:57:41PM +1000, Andrew Beekhof wrote: > The feature will be released for the first time in 1.1.8 > The shell might not support it yet, you might need to use the xml until then The shell is up to date now. This would be the syntax: order dc_then_exch 0: [ dc1 dc2 ] e

Re: [Pacemaker] Change Hostname

2012-09-06 Thread Dejan Muhamedagic
On Thu, Sep 06, 2012 at 02:06:19PM +0300, Dan Frincu wrote: > Hi, > > On Thu, Sep 6, 2012 at 1:58 PM, Dan Frincu wrote: > > Hi, > > > > On Thu, Sep 6, 2012 at 1:35 PM, Thorsten Rehm > > wrote: > >> Hi everyone, > >> > >> nobody has an idea? > >> Have I missed something in the documentation? > >

Re: [Pacemaker] Pacemaker 1.1.6 order possible bug ?

2012-09-05 Thread Dejan Muhamedagic
Hi, On Wed, Sep 05, 2012 at 03:09:15PM +0200, Tomáš Vavřička wrote: > On 09/05/2012 11:44 AM, Dejan Muhamedagic wrote: >> On Wed, Sep 05, 2012 at 07:51:35AM +1000, Andrew Beekhof wrote: >>> On Mon, Sep 3, 2012 at 3:41 PM, Tomáš Vavřička wrote: >>>> Hello, >>&

Re: [Pacemaker] Pacemaker 1.1.6 order possible bug ?

2012-09-05 Thread Dejan Muhamedagic
On Wed, Sep 05, 2012 at 07:51:35AM +1000, Andrew Beekhof wrote: > On Mon, Sep 3, 2012 at 3:41 PM, Tomáš Vavřička wrote: > > Hello, > > > > Sorry If I send same question twice, but message did not appeared on mailing > > list. > > > > I have a problem with orders in pacemaker 1.1.6 and corosync 1.4

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Dejan Muhamedagic
Hi, On Fri, Aug 31, 2012 at 03:10:16PM +0100, Owen Le Blanc wrote: > On Fri, Aug 31, 2012 at 03:18:03PM +0200, Lars Marowsky-Bree wrote: > > But you're not setting the same values. > > Actually, I am, but I'm having trouble selecting the right texts from my logs. > For the interactive given befor

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Dejan Muhamedagic
On Fri, Aug 31, 2012 at 10:04:02AM +0100, Owen Le Blanc wrote: > On Thu, Aug 30, 2012 at 04:46:27PM +0200, Dejan Muhamedagic wrote: > > Perhaps too many quotes. Did you try: > > > > export hostlist="client1" > > hypervisor_uri="xen+ssh://clie...@server

Re: [Pacemaker] A bug in stonith external/libvirt?

2012-08-30 Thread Dejan Muhamedagic
On Thu, Aug 30, 2012 at 03:27:11PM +0100, Dr A V Le Blanc wrote: > On Thu, Aug 30, 2012 at 03:23:20PM +0200, Dejan Muhamedagic wrote: > > On Thu, Aug 30, 2012 at 02:02:07PM +0100, Owen Le Blanc wrote: > > > I seem to have a problem with the stonith external/libvirt script, > &

Re: [Pacemaker] A bug in stonith external/libvirt?

2012-08-30 Thread Dejan Muhamedagic
Hi, On Thu, Aug 30, 2012 at 02:02:07PM +0100, Owen Le Blanc wrote: > I seem to have a problem with the stonith external/libvirt script, > which behaves as I show in the attachment. This might be a problem > with quoting in the scripts, and a similar difficulty was reported > earlier, with the sug

Re: [Pacemaker] [Spam] Re: Apparent error passing stonith resource parameters (external/libvirt)

2012-08-29 Thread Dejan Muhamedagic
On Tue, Aug 28, 2012 at 02:28:59PM -0400, Nathan Bird wrote: > On 08/27/2012 05:46 AM, Dejan Muhamedagic wrote: > >Hi, > > > >On Fri, Aug 24, 2012 at 11:25:19AM -0400, Nathan Bird wrote: > >>On 08/24/2012 10:47 AM, Nathan Bird wrote: > >>>I'm tryi

Re: [Pacemaker] Apparent error passing stonith resource parameters (external/libvirt)

2012-08-27 Thread Dejan Muhamedagic
Hi, On Fri, Aug 24, 2012 at 11:25:19AM -0400, Nathan Bird wrote: > On 08/24/2012 10:47 AM, Nathan Bird wrote: > >I'm trying to setup an external/libvirt stonith fencing > >thingiemadoodle but ran into an error > > > >My pacemaker configuration is (read back out it looks the same): > > > >primitive

Re: [Pacemaker] Issues with HA cluster for mysqld

2012-08-24 Thread Dejan Muhamedagic
Hi, On Thu, Aug 23, 2012 at 04:47:11PM -0400, David Parker wrote: > > On 08/23/2012 04:19 PM, Jake Smith wrote: > >>Okay, I think I've almost got this. I updated my Pacemaker config > >>and > >>made a few changes. I put the MysqlIP and mysqld primitives into a > >>resource group called "mysqld-

Re: [Pacemaker] new RA: http_ping

2012-08-17 Thread Dejan Muhamedagic
On Fri, Aug 17, 2012 at 11:58:41AM +, Nicolai Langfeldt wrote: > On 2012-08-16 15:01, Dejan Muhamedagic wrote: > >> Didn't. Looked at the ping/pingd and nginx RAs. Grepped and googled a > >> bit. http-mon.sh isn't in the Ubuntu resource-agents 1:3.9.2-5u

Re: [Pacemaker] mysql cluster resource agent failed to start

2012-08-17 Thread Dejan Muhamedagic
Hi, On Fri, Aug 17, 2012 at 03:03:04PM +, josef.m...@lfstad.bayern.de wrote: > Hi, > > thank you for helping me. The "start-delay" option did not work, but I think > I have a solution which works for the weekend. I have replaced the resource > agent for mysql from Ubuntu 12.04 with the vers

Re: [Pacemaker] new RA: http_ping

2012-08-16 Thread Dejan Muhamedagic
On Thu, Aug 16, 2012 at 11:53:45AM +, Nicolai Langfeldt wrote: > On 2012-08-16 11:14, Dejan Muhamedagic wrote: > > Hi, > > > > On Wed, Aug 15, 2012 at 12:53:33PM +, Nicolai Langfeldt wrote: > >> Hi, > >> > >> I've written a new

Re: [Pacemaker] new RA: http_ping

2012-08-16 Thread Dejan Muhamedagic
> # > # Author: Nicolai Langfeldt, Broadnet AS > # > # Started out as nginx agent. Heavily repurposed. > # > # Nginx RA lists these authors: > # Alan Robertson > # Dejan Muhamedagic > > # > # Support:linux...@lists.linux-ha.org > #

Re: [Pacemaker] 'crm configure verify' says my node(s) don't exist, everything else says they do

2012-08-16 Thread Dejan Muhamedagic
. That's most often the case with Heartbeat clusters. It was fixed earlier this year: changeset: 738:5a2b1011a8c3 user:Dejan Muhamedagic date:Wed Mar 07 15:10:41 2012 +0100 summary: Low: cibconf: use uname instead of id when listing nodes (cl#5043) You can apply the patch o

Re: [Pacemaker] Debugging pacemaker state transitions

2012-08-14 Thread Dejan Muhamedagic
On Tue, Aug 14, 2012 at 08:30:22AM -0400, Sutherland, Rob wrote: > We're running SLES 11 SP1 so we're running pacemaker-1.1.5. Once you upgrade to SP2, you'll find the new features ready for use. > By the way, I am aware of the hb_report tool. It's a start but I haven't > found it to be particula

Re: [Pacemaker] Debugging pacemaker state transitions

2012-08-14 Thread Dejan Muhamedagic
Hi, On Mon, Aug 13, 2012 at 04:20:23PM -0400, Sutherland, Rob wrote: > Whenever something goes wrong with one of our systems I find myself > asking the same questions: > > > > - in which state was pacemaker? > > - what transition is being attempted? > > - why? > > - did it succeed? > > >

Re: [Pacemaker] IPaddr2 RA update - clusterIP -> cluster-match?

2012-08-14 Thread Dejan Muhamedagic
Hi, On Mon, Aug 13, 2012 at 12:52:41PM -0400, Jake Smith wrote: > Dejan, > > Regarding your comment to another post: > > > Do you think you have anything to contribute? There's currently > > an effort going on to update the IPaddr2: > > https://github.com/ClusterLabs/resource-agents/pull/97. >

Re: [Pacemaker] Critical: Monitor operation of IPaddr2 timing out, taking more than 60s. Fails to recover.

2012-08-13 Thread Dejan Muhamedagic
Hi, On Fri, Aug 10, 2012 at 05:44:47AM +, Parshvi wrote: > T > Mario Penners writes: > > > > > Hi Parshvi, > > > > just a quick-shot and without analyzing your mail in detail: find > > attached an edited version of the IPaddr2 RA. > > > > I was trying to use the original script a while ag

Re: [Pacemaker] Critical: Monitor operation of IPaddr2 timing out, taking more than 60s. Fails to recover.

2012-08-13 Thread Dejan Muhamedagic
Hi Mario, On Thu, Aug 09, 2012 at 10:52:39AM -0300, Mario Penners wrote: > Hi Parshvi, > > just a quick-shot and without analyzing your mail in detail: find > attached an edited version of the IPaddr2 RA. > > I was trying to use the original script a while agho, and basically > nothing worked: I

Re: [Pacemaker] how to delete a virtualdomain when it is running?

2012-08-13 Thread Dejan Muhamedagic
Hi, On Thu, Aug 09, 2012 at 06:50:45PM +0800, cherish wrote: > I have a virtual machine ,VM_TEST,running in node h10_150.I want to delete it > from the cluster, and let it run in the node h10_150(Now ,the virtual machine > is not belong to the cluster ,it is a Stand-alone virtual machine ), but

Re: [Pacemaker] lxc resource fixes

2012-08-13 Thread Dejan Muhamedagic
Hi, On Mon, Jul 23, 2012 at 09:42:10PM +0200, Marcus Osdoba wrote: > Dear mailinglist, > > I am using lxc in a pacemaker clustered environment. > I have noted, that the current version in git is not capable to work > with 0.7.5 correctly. > > The lxc-ps command changed in 0.7.5, too. So I have a

Re: [Pacemaker] Trouble with ocf:Squid resource agent

2012-08-13 Thread Dejan Muhamedagic
Hi, On Mon, Jul 30, 2012 at 12:09:10PM -0400, Jake Smith wrote: > > - Original Message - > > From: "Julien Cornuwel" > > To: pacemaker@oss.clusterlabs.org > > Sent: Wednesday, July 25, 2012 5:51:28 AM > > Subject: Re: [Pacemaker] Trouble with ocf:Squid resource agent > > > > Oops! Spoke

Re: [Pacemaker] filesystem script block when umount a failed storage

2012-08-08 Thread Dejan Muhamedagic
Hi, On Thu, Aug 02, 2012 at 01:36:05AM +0800, Mia Lueng wrote: > Hi all: > When I disconnect the connection between the server and a IBM > DS3512 SAS storage, and ocf script blocked when umount the partition. > So the resource relocation is failed. How to resolve this problem? > thanks >

Re: [Pacemaker] Recent CRM-Documentation?

2012-07-19 Thread Dejan Muhamedagic
Hi, On Wed, Jul 18, 2012 at 07:49:03AM +, Stallmann, Andreas wrote: > Hi! > > I read here, that the crm documentation currently online is not very recent > any more. > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained > does not cover crm at all but instead explai

Re: [Pacemaker] [patch] Seeking suggestions for cluster configuration of HA iSCSI target and initiators]

2012-07-17 Thread Dejan Muhamedagic
Hi, On Mon, Jul 16, 2012 at 03:20:35PM -0400, Phil Frost wrote: > On 07/16/2012 01:34 PM, Phil Frost wrote: > >I've been doing some study of the iscsi RA since my first post, > >and it seems to me now that the "failure" in the monitor action > >isn't actually in the monitor action at all. Rather,

Re: [Pacemaker] Query regarding configuring STONITH device

2012-07-05 Thread Dejan Muhamedagic
On Mon, Jul 02, 2012 at 10:42:54PM +0530, sachin garg wrote: > Hi, > > > On Mon, Jul 02, 2012 at 05:49:38PM +0530, sachin garg wrote: > > Hi, > > > > I am using IPMI plugin for configuring STONITH with heartbeat cluster. > > If a resource fails on one node then the other node STONITHs that node.

Re: [Pacemaker] Confusing semantics of colocation sets (stopping resource stops others in colocation / order sets)

2012-07-02 Thread Dejan Muhamedagic
Hi, On Mon, Jun 18, 2012 at 11:02:32AM -0400, Jake Smith wrote: > > - Original Message - > > From: "Phil Frost" > > To: pacemaker@oss.clusterlabs.org > > Sent: Monday, June 18, 2012 10:39:24 AM > > Subject: Re: [Pacemaker] Confusing semantics of colocation sets (stopping > > resource st

Re: [Pacemaker] Batch pacemaker configuration

2012-07-02 Thread Dejan Muhamedagic
that. > what is better? is the cibadmin too invasive? crm uses cibadmin in the background, but it is easier on users. Thanks, Dejan > On 06/08/2012 03:05 AM, Dejan Muhamedagic wrote: >> Hi, >> >> On Thu, Jun 07, 2012 at 12:01:16PM -0700, Matteo Bignotti wrote: >>> Hi

Re: [Pacemaker] Query regarding configuring STONITH device

2012-07-02 Thread Dejan Muhamedagic
Hi, On Mon, Jul 02, 2012 at 05:49:38PM +0530, sachin garg wrote: > Hi, > > I am using IPMI plugin for configuring STONITH with heartbeat cluster. > If a resource fails on one node then the other node STONITHs that node. But > when the failed node comes back after the reboot, the STONITH device it

Re: [Pacemaker] newb - stonith not working - require others to stonith node

2012-07-02 Thread Dejan Muhamedagic
Hi, On Fri, Jun 29, 2012 at 08:43:24AM -0700, Brett Lee wrote: > Hi - > > > Am new to pacemaker and now have a shiny new configuration that will not > stonith.  This is a test system using KVM and external/libvirt - all VMs are > running CentOS 5. > > Am (really) hoping someone might be will

Re: [Pacemaker] newb - stonith not working - require others to stonith node

2012-07-02 Thread Dejan Muhamedagic
Hi, On Fri, Jun 29, 2012 at 12:41:01PM -0700, Brett Lee wrote: > Hello -Am thinking that this is progress. > > Have made some updates, but still getting the same result ("require others to > stonith node st15-mds1"). > > > Referencing this link for the updates made: > http://www.hastexo.com/re

Re: [Pacemaker] Cannot start VirtualDomain resource after restart

2012-06-28 Thread Dejan Muhamedagic
Hi, On Thu, Jun 21, 2012 at 09:32:22AM +0200, Kadlecsik József wrote: > On Thu, 21 Jun 2012, Andrew Beekhof wrote: > > > Ah, I see you subsequently got some good advice from Phil. Glad to hear > > your problem is resolved. In general, when you run into "why isn't > > resource X starting? or st

Re: [Pacemaker] Restart clone service on only one node

2012-06-28 Thread Dejan Muhamedagic
Hi, On Mon, Jun 25, 2012 at 07:51:10AM -0400, David Coulson wrote: > I've a couple of cloned resources which need to be restarted one at > a time as part of a batch process. > > If I do a 'crm -w resource restart cl-whatever', it restarts the > whole lot at once. I can do a 'service appname stop'

Re: [Pacemaker] Batch pacemaker configuration

2012-06-08 Thread Dejan Muhamedagic
Hi, On Thu, Jun 07, 2012 at 12:01:16PM -0700, Matteo Bignotti wrote: > Hi guys, > > I'm trying to configure in batch pacemaker, so far what I am doing > in orders is > > # Flushing the old configuration > cibadmin -E --force You should use crm configure erase for this. Note that it doesn't dele

Re: [Pacemaker] Announce: pcs / pcs-gui (Pacemaker/Corosync Configuration System)

2012-06-04 Thread Dejan Muhamedagic
Hi, On Mon, Jun 04, 2012 at 11:21:57AM +1000, Andrew Beekhof wrote: > On Sat, Jun 2, 2012 at 12:56 AM, Florian Haas wrote: [...] Since Lars MB already replied to most of in between... > > Assuming that this effort means you're planning to kick the existing > > crm shell out of Fedora, I think t

Re: [Pacemaker] "crm site" always output a warning

2012-05-25 Thread Dejan Muhamedagic
Hi, On Fri, May 25, 2012 at 05:57:42PM +0800, Jiaju Zhang wrote: > Hi Yuichi, > > On Fri, 2012-05-25 at 17:52 +0900, Yuichi SEINO wrote: > > Hi Jiaju, > > > > I found a problem. Regardless of whether a ticket exist, > > A following message is output when we execute "crm site ticket [time|show]"

Re: [Pacemaker] Is synchronizing rmtab needed?

2012-05-21 Thread Dejan Muhamedagic
On Mon, May 21, 2012 at 02:19:58PM +0200, Christoph Bartoschek wrote: > Dejan Muhamedagic wrote: > > > Hi, > > > > On Mon, May 21, 2012 at 01:36:56AM +0200, Christoph Bartoschek wrote: > >> Hi, > >> > >> we currently have the

Re: [Pacemaker] Is synchronizing rmtab needed?

2012-05-21 Thread Dejan Muhamedagic
Hi, On Mon, May 21, 2012 at 01:36:56AM +0200, Christoph Bartoschek wrote: > Hi, > > we currently have the problem that when the NFS server is highly used the > heartbeat:exportfs monitor script fails with a timeout because it cannot > write the rmtab to the exported filesystem within the given

Re: [Pacemaker] Custom RA is not starting

2012-05-18 Thread Dejan Muhamedagic
Hi, On Fri, May 18, 2012 at 08:32:23PM +0530, S, MOHAMED (MOHAMED)** CTR ** wrote: > Hi, > > I am trying pacemaker 1.1.6 + Corosync 1.4.2 to plan a migration from > pacemaker1.0 + heartbeat3.0.0 > > I have a custom resource agent "QIPdAgent" which register with id as "qipd" > When I add that as

[Pacemaker] slapd wrong dn quoting (was: how to enable verbose logging for failed)

2012-05-18 Thread Dejan Muhamedagic
Hi, On Thu, May 17, 2012 at 01:05:30PM +0400, Igor Zinovik wrote: > 2012/5/17 Jake Smith : > > > > - Original Message - > >> From: "Andrew Beekhof" > >> To: "The Pacemaker cluster resource manager" > >> > >> Sent: Tuesday, May 15, 2012 7:59:47 PM > >> Subject: Re: [Pacemaker] how to ena

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-15 Thread Dejan Muhamedagic
; away. > > I have been experiencing this issue on Fedora16 as well as Centos6.2. > Both distributions were the 32bits versions installed from a live CD. > > Cheers, > > Guillaume. > > > > On 14 May 2012 16:26, Dejan Muhamedagic wrote: > > On Fri, May

Re: [Pacemaker] pacemaker strange behaviour

2012-05-14 Thread Dejan Muhamedagic
Hi, On Fri, May 11, 2012 at 06:05:27PM +0300, Spiros Ioannou wrote: > Hello all, > Corosync/pacemaker with 3 nodes(vserver1, vserver2, vserver3), 28 resources > defined, with quorum, stonith (via ipmi/ilo). > Most of the time all these work correctly but when we shutdown servers and > try to resta

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-14 Thread Dejan Muhamedagic
ed. Thanks, Dejan > Cheers, > > Guillaume. > > > > > On 11 May 2012 15:38, Dejan Muhamedagic wrote: > > Hi, > > > > On Fri, May 11, 2012 at 03:14:16PM +0100, Guillaume Belrose wrote: > >> Hi all, > >> > >> I am using Pacemaker on

Re: [Pacemaker] Why monitor fails in my RA

2012-05-14 Thread Dejan Muhamedagic
On Mon, May 14, 2012 at 01:01:48PM +0200, Greg wrote: > W dniu 05/09/12 13:57, Dejan Muhamedagic pisze: >> Hi, >> >> On Wed, Apr 25, 2012 at 10:41:05PM +0200, Greg wrote: >>> >>> Hi, >>> >>> I try to write redis resources agent working in m

Re: [Pacemaker] Pacemaker is not able to read new shadow CIB.

2012-05-11 Thread Dejan Muhamedagic
Hi, On Fri, May 11, 2012 at 03:14:16PM +0100, Guillaume Belrose wrote: > Hi all, > > I am using Pacemaker on Fedora16 and going through the steps as described in > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_configure_the_cluster_for_drbd.html > > The operation

Re: [Pacemaker] Question about crmsh

2012-05-11 Thread Dejan Muhamedagic
> * http://bugs.clusterlabs.org/describecomponents.cgi?product=Pacemaker > - under the Shell component. Either would do. Cheers, Dejan > > Best regards, > Kazunori INOUE > > (12.05.09 20:16), Dejan Muhamedagic wrote: > >Hi, > > > >On Mon, May 07, 2012 at 06:5

Re: [Pacemaker] Starting the services on a single surviving node

2012-05-09 Thread Dejan Muhamedagic
On Wed, May 09, 2012 at 03:15:52PM +0200, Christoph Bartoschek wrote: > Dejan Muhamedagic wrote: > > > Hi, > > > > On Tue, May 08, 2012 at 09:53:53PM +0200, Christoph Bartoschek wrote: > >> emmanuel segura wrote: > >> > >> > why do you sp

Re: [Pacemaker] Make pacemaker retry failed resources

2012-05-09 Thread Dejan Muhamedagic
Hi, On Wed, May 09, 2012 at 03:23:43PM +, Gareth Davis wrote: > Hi, > > This actually cross posted from > http://serverfault.com/questions/387425/make-pacemaker-retry-failed-resourc > es > > I would like to get pacemaker to retry starting my resource > > primitive Imq ocf:example:imq

Re: [Pacemaker] Why monitor fails in my RA

2012-05-09 Thread Dejan Muhamedagic
Hi, On Wed, Apr 25, 2012 at 10:41:05PM +0200, Greg wrote: > > Hi, > > I try to write redis resources agent working in master-slave. My Are you aware of a pull request for one redis resource agent: https://github.com/ClusterLabs/resource-agents/pull/37 It's been there a while, blocked mainly b

Re: [Pacemaker] LVM restarts after SLES upgrade

2012-05-09 Thread Dejan Muhamedagic
Hi, On Thu, Apr 26, 2012 at 12:46:35PM +0200, Andreas Kurz wrote: > On 04/25/2012 11:00 AM, Frank Meier wrote: > > Am 24.04.2012 17:53, schrieb pacemaker-requ...@oss.clusterlabs.org: > > > >> Message: 2 > >> Date: Tue, 24 Apr 2012 15:58:53 + > >> From: "Daugherity, Andrew W" > >> To: "" > >

Re: [Pacemaker] Question about crmsh

2012-05-09 Thread Dejan Muhamedagic
Hi, On Mon, May 07, 2012 at 06:52:20PM +0900, Kazunori INOUE wrote: > Hello, > > We are checking the feature of Pacemaker-1.1. > Since fencing topology(*) is a new feature, we pay attention and use it. > * https://github.com/ClusterLabs/pacemaker/blob/master/xml/fencing.rng > > So when is 'fenci

Re: [Pacemaker] Starting the services on a single surviving node

2012-05-09 Thread Dejan Muhamedagic
Hi, On Tue, May 08, 2012 at 09:53:53PM +0200, Christoph Bartoschek wrote: > emmanuel segura wrote: > > > why do you spesify twice resource_stickiness in your cluster config? > > > > can you show all your cluster config? > > > > use pastebin :-) > > I do not know why it is twice there. One is

Re: [Pacemaker] crm node online NODE-2 hangs

2012-05-09 Thread Dejan Muhamedagic
Hi, On Mon, May 07, 2012 at 04:58:52PM -0700, Steve Davidson wrote: > From NODE-2 I run: > crm node online NODE-2 > > It hangs, actually I got a timeout with this error: > > Error setting standby=off ... Remote node did not respond > > crm_mon from NODE-2 identifies NODE-2 as OFFLINE (with no r

Re: [Pacemaker] slapd resource agent does not accept multiple values in 'services' parameters

2012-05-09 Thread Dejan Muhamedagic
Hi, On Thu, May 03, 2012 at 05:08:11PM +0400, Igor Zinovik wrote: > Hello. > > I'm trying to deploy pacemaker active/passive cluster for openldap > with slapd resource agent from: > https://github.com/jhohm/resource-agents/blob/master/heartbeat/slapd Why this RA and not the one in the resource

Re: [Pacemaker] Periodically appear non-existent nodes

2012-04-18 Thread Dejan Muhamedagic
Hi, On Tue, Apr 17, 2012 at 03:55:21PM +0400, Proskurin Kirill wrote: > On 04/17/2012 03:46 PM, ruslan usifov wrote: >> 2012/4/17 Andreas Kurz mailto:andr...@hastexo.com>> >> >> On 04/14/2012 11:14 PM, ruslan usifov wrote: >> > Hello >> > >> > I remove 2 nodes from cluster, with

Re: [Pacemaker] IPaddr local_start_script" fails or wrong usage?

2012-04-16 Thread Dejan Muhamedagic
fi > > > I have tested it in my environment (Centos 6.2, Pacemaker 1.1.6) and it > works. OK. The same code is upstream, but inserted elsewhere, i.e. where it used to be in the first place before it got, probably erroneously, removed. You can also check the github.com version. Thanks, Dejan

Re: [Pacemaker] Using Cluster Test Suite (CTS) with "debug: on" in corosync.conf failed

2012-04-16 Thread Dejan Muhamedagic
Hi, On Fri, Apr 13, 2012 at 03:26:02PM +0200, Timo Schäpe wrote: > Am 10.04.2012 23:43, schrieb Andrew Beekhof: > > On Tue, Apr 10, 2012 at 11:05 PM, Timo Schäpe wrote: > >> Hi, > >> for whom it may interest, here's something that cost me a whole day of > >> work: > >> > >> I used CTS to test my

Re: [Pacemaker] Pacemaker won't see radiusd is started

2012-04-06 Thread Dejan Muhamedagic
Hi, On Fri, Apr 06, 2012 at 11:48:18AM +0200, Julien Cornuwel wrote: > Hi, > > I have a working cluster on which I decided to go further and manage > the radius process with corosync instead of just the IPaddr. > And there comes the troubles... > The radius server is actually started and the moni

Re: [Pacemaker] configuring ocf:heartbeat:conntrackd

2012-03-30 Thread Dejan Muhamedagic
Hi, On Thu, Mar 22, 2012 at 12:32:44PM +0100, Kevin COUSIN wrote: > Hello, > > I try to use the ocf:heartbeat:conntrackd resource on a CentOS 6 two nodes > cluster. I don't understant how works the conntrackd resource, I configured > it as explained in documentation, and start a conntrackd dae

Re: [Pacemaker] Using shadow configurations noninteractively

2012-03-30 Thread Dejan Muhamedagic
On Wed, Mar 21, 2012 at 12:21:55PM -0400, Phillip Frost wrote: > On Mar 19, 2012, at 4:30 PM, Florian Haas wrote: > > On Mon, Mar 19, 2012 at 9:00 PM, Phil Frost > > wrote: > >> On Mar 19, 2012, at 15:22 , Florian Haas wrote: > >>> On Mon, Mar 19, 2012 at 8:00 PM, Phil Frost > >>> wrote: >

Re: [Pacemaker] How to setup STONITH in a 2-node active/passive linux HA pacemaker cluster?

2012-03-21 Thread Dejan Muhamedagic
On Tue, Mar 20, 2012 at 06:22:34PM +0100, Andreas Kurz wrote: > On 03/20/2012 04:14 PM, Mathias Nestler wrote: > > Hi Dejan, > > > > On 20.03.2012, at 15:25, Dejan Muhamedagic wrote: > > > >> Hi, > >> > >> On Tue, Mar 20, 2012 at 08:52:39AM

Re: [Pacemaker] Using shadow configurations noninteractively

2012-03-20 Thread Dejan Muhamedagic
Hi, On Mon, Mar 19, 2012 at 09:30:45PM +0100, Florian Haas wrote: > On Mon, Mar 19, 2012 at 9:00 PM, Phil Frost wrote: > > On Mar 19, 2012, at 15:22 , Florian Haas wrote: > >> On Mon, Mar 19, 2012 at 8:00 PM, Phil Frost > >> wrote: > >>> I'm attempting to automate my cluster configuration with

Re: [Pacemaker] How to setup STONITH in a 2-node active/passive linux HA pacemaker cluster?

2012-03-20 Thread Dejan Muhamedagic
Hi, On Tue, Mar 20, 2012 at 08:52:39AM +0100, Mathias Nestler wrote: > On 19.03.2012, at 20:26, Florian Haas wrote: > > > On Mon, Mar 19, 2012 at 8:14 PM, Mathias Nestler > > wrote: > >> Hi everyone, > >> > >> I am trying to setup an active/passive (2 nodes) Linux-HA cluster with > >> corosync

Re: [Pacemaker] How to stop a resource?

2012-03-19 Thread Dejan Muhamedagic
Hi, On Mon, Mar 19, 2012 at 09:27:30AM +, Tim Ward wrote: > > From: Lars Marowsky-Bree [mailto:l...@suse.com] > > > > > > crm has a synchronous mode nowadays too. > > > > > How do I use that? - I haven't noticed it in any of the > > documentation that I've found. > > > > crm -w > > > > ma

Re: [Pacemaker] unbound resource agent

2012-03-15 Thread Dejan Muhamedagic
Hi, On Wed, Mar 14, 2012 at 10:35:01PM +0100, Arnold Krille wrote: > On Wednesday 14 March 2012 17:52:21 Dejan Muhamedagic wrote: > > On Wed, Mar 14, 2012 at 02:48:11PM +0100, Benjamin Kiessling wrote: > > > Hi, > > > > > > On 2012.03.14 14:

Re: [Pacemaker] unbound resource agent

2012-03-14 Thread Dejan Muhamedagic
On Wed, Mar 14, 2012 at 02:48:11PM +0100, Benjamin Kiessling wrote: > Hi, > > On 2012.03.14 14:24:10 +0100, Dejan Muhamedagic wrote: > > > dnsCache_start_0 (node=router1, call=56, rc=-2, status=Timed Out): > > > unknown exec error > > > dnsCache_monitor_1000

Re: [Pacemaker] unbound resource agent

2012-03-14 Thread Dejan Muhamedagic
Hi, On Wed, Mar 14, 2012 at 01:37:39PM +0100, Benjamin Kiessling wrote: > Hi, > > I've written a resource agent for the unbound DNS server, based on the > named resource agent. It is available at [0]. Unfortunately there seems > to be a bug I can't figure out. The failcounters seem to increase ov

Re: [Pacemaker] getting started - crm hangs when adding resources, even "crm ra classes" hangs

2012-03-14 Thread Dejan Muhamedagic
Hi, On Tue, Mar 13, 2012 at 05:59:35PM -0400, Phillip Frost wrote: > On Mar 13, 2012, at 2:21 PM, Jake Smith wrote: > > >> From: "Phillip Frost" > >> Subject: [Pacemaker] getting started - crm hangs when adding resources, > >> even "crm ra classes" hangs > >> > >> more interestingly, even "

Re: [Pacemaker] Surprisingly fast start of resources on cluster failover.

2012-03-07 Thread Dejan Muhamedagic
Hi, On Tue, Mar 06, 2012 at 01:49:11PM +0100, Florian Crouzat wrote: > Hi, > > On a two nodes active/passive cluster, I placed a location constraint of > 50 for #uname node1. As soon as applied, things moved from node2 to > node1: right. > I have a lsb init script defined as a resource: > > $

Re: [Pacemaker] Can Master/Slave resource transit from Master to Stopped directly ?

2012-03-06 Thread Dejan Muhamedagic
Hi, On Tue, Mar 06, 2012 at 01:15:45PM +0900, Takatoshi MATSUO wrote: > Hi > > I want Pacemaker to transit from Master to Stopped directly on demote > without failcount > for managing PostgreSQL streaming replication. > Can Pacemaker do this ? What the RA should do on demote is, well, demote an

Re: [Pacemaker] STONITH: Avocent PDU ?

2012-03-05 Thread Dejan Muhamedagic
Hi, On Wed, Feb 29, 2012 at 10:58:06AM +0100, Pascal Bleser wrote: > Does anyone have experience with using an Avocent (formerly known as > Cyclades) APDU with STONITH ? > http://www.avocent.de/Products/Category/Power_Distribution_Units/PM1000_2000_3000_PDUs.aspx#tab=details_tab_6 > > I would be

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: > >> > >

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] Conntrackd ocf resource

2012-02-20 Thread Dejan Muhamedagic
Hi, On Mon, Feb 20, 2012 at 12:16:25PM +0100, Kevin COUSIN wrote: > Hello, > > I try to configure the ocf:heartbeat:conntrackd resource with Pacemaker and > Corosync on a CentOS 6.2 server. I configure as explained in the man page, > but it failed with this errors : > > Master/Slave Set: ms_C

Re: [Pacemaker] Trouble setting up IP failover with ping resource

2012-02-17 Thread Dejan Muhamedagic
Hi, On Thu, Feb 16, 2012 at 07:57:14PM -0800, Anlu Wang wrote: > I have three machines named anlutest1, anlutest2, and anlutest3 that I'm > trying to get IP failover working on. I'm using heartbeat for the messaging > layer, and everything works great when a machine goes down. But I also > would l

Re: [Pacemaker] cluster failover under load

2012-02-17 Thread Dejan Muhamedagic
Hi, On Fri, Feb 17, 2012 at 10:37:39AM +0100, fatcha...@gmx.de wrote: > Hi, > > we are using a pacemaker 1.0.5-4.7 with heartbeat 3.0.0-33.10 > and a drbd device on a CentOS 5.7 webserver-cluster. When the > active node gets under heavy load, the cluster sometimes starts > to failover. What does

Re: [Pacemaker] resource agents package linage

2012-02-12 Thread Dejan Muhamedagic
On Fri, Feb 10, 2012 at 10:54:39PM +1100, Andrew Beekhof wrote: > On Fri, Feb 10, 2012 at 2:00 AM, Dejan Muhamedagic > wrote: > > Hi, > > > > On Mon, Feb 06, 2012 at 10:06:42AM +1100, Andrew Beekhof wrote: > >> On Sat, Feb 4, 2012 at 8:37 AM, Larry Brigman >

Re: [Pacemaker] heartbeat/nfsserver: is_bound function no longer works with current linux kernel

2012-02-09 Thread Dejan Muhamedagic
Hi, On Thu, Feb 09, 2012 at 01:41:33PM +0100, Eberhard Kuemmerle wrote: > Hi, > > my nfsserver resource is configured like that: > > primitive nfs ocf:heartbeat:nfsserver \ > params nfs_shared_infodir="/server/nfs_infodir" > > With older kernels, the bind mount produced by ocf:heartbeat:nf

Re: [Pacemaker] resource agents package linage

2012-02-09 Thread Dejan Muhamedagic
Hi, On Mon, Feb 06, 2012 at 10:06:42AM +1100, Andrew Beekhof wrote: > On Sat, Feb 4, 2012 at 8:37 AM, Larry Brigman wrote: > > I'm looking at the packages from clusterlabs.org > > and the RHEL6 package for > > resource-agents and find that there is a numbering conflict. > > Clusterlabs Pacemaker

Re: [Pacemaker] Proper way to migrate multistate resource?

2012-02-09 Thread Dejan Muhamedagic
Hi, On Tue, Feb 07, 2012 at 01:54:44PM +0100, Lars Ellenberg wrote: > On Mon, Feb 06, 2012 at 04:48:26PM -0800, Chet Burgess wrote: > > Greetings, > > > > I'm some what new to pacemaker and have been playing around with a > > number of configurations in a lab. Most recently I've been testing a >

Re: [Pacemaker] [Linux-HA]I revised resource-agents of tomcat.

2012-02-09 Thread Dejan Muhamedagic
Hi Brett, On Thu, Feb 09, 2012 at 09:31:48AM +, Brett Delle Grazie wrote: > Hi Dejan / Tomo, > > Apologies for the long delay in response but I've been scratching my > head as to some of the patches > caused me some concern. > > Specifically: > 1) Patch #2 from the first link > (http://www.g

Re: [Pacemaker] Bug in heartbeat/Filesystem OCF script

2012-01-31 Thread Dejan Muhamedagic
Hi, On Tue, Jan 31, 2012 at 12:08:10PM +0100, Eberhard Kuemmerle wrote: > Hi, > > in the OCF script heartbeat/Filesystem I found the line: > > FAST_STOP={$OCF_RESKEY_fast_stop:="yes"} > > Please change it to > > FAST_STOP=${OCF_RESKEY_fast_stop:="yes"} > > Then it works as expected ;-) >

Re: [Pacemaker] How to start resources in a Resource Group in parallel

2012-01-31 Thread Dejan Muhamedagic
Hi, On Tue, Jan 31, 2012 at 10:29:14AM +, Kashif Jawed Siddiqui wrote: > Hi Andrew, > > It is the LRMD_MAX_CHILDREN limit which by default is 4. > > I see in forums that this parameter is tunable by adding > /etc/sysconfig/pacemaker > with the following line as con

Re: [Pacemaker] Proposed new stonith topology syntax

2012-01-26 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 11:24:43AM +1100, Andrew Beekhof wrote: > On Wed, Jan 25, 2012 at 2:22 AM, Dejan Muhamedagic > wrote: > > On Tue, Jan 24, 2012 at 03:11:31PM +1100, Andrew Beekhof wrote: > >> On Tue, Jan 24, 2012 at 7:20 AM, Dejan Muhamedagic > >> wrote: [.

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-26 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 07:22:44PM +0100, Anton Melser wrote: > >> I actually did 1 to 3 (with both configure primitive and configure > >> clone) which worked successfully, and then launched the following. > >> Both FW1 and FW2 are up, and it seems to be distributing the IPs > >> between the two. T

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-25 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 06:34:18PM +0100, Anton Melser wrote: > On 25 January 2012 17:43, Dejan Muhamedagic wrote: > > On Wed, Jan 25, 2012 at 04:40:38PM +0100, Anton Melser wrote: > >> >> # primitive ClusterIP.144.1 ocf:heartbeat:IPaddr2 params > >> &g

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

2012-01-25 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 04:35:39PM +0100, Michal Vyoral wrote: > Hi Dejan, > > On Tue, Jan 24, 2012 at 11:52:20PM +0100, Dejan Muhamedagic wrote: > > Hi, > > > > On Tue, Jan 24, 2012 at 06:31:54PM +0100, Michal Vyoral wrote: > > > Hello, > > > we h

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-25 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 04:40:38PM +0100, Anton Melser wrote: > >> # primitive ClusterIP.144.1 ocf:heartbeat:IPaddr2 params > >> ip="10.144.1.1" cidr_netmask="32" clusterip_hash="sourceip" op monitor > >> interval="120s" > >> # clone CloneIP ClusterIP.144.1 meta globally-unique="true" clone-max="8"

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-25 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 03:24:09PM +0100, Anton Melser wrote: > > Let's try that again with something useful! > > > > I'm not an expert on it but... > > > > unique_clone_address: > > If true, add the clone ID to the supplied value of ip to create a unique > > address to manage (optional, boolean,

Re: [Pacemaker] HA Cluster Connected over VPN

2012-01-25 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 01:09:43AM +0100, Arnold Krille wrote: > On Tuesday 24 January 2012 23:55:57 Dejan Muhamedagic wrote: > > On Tue, Jan 24, 2012 at 09:51:49PM +0100, Arnold Krille wrote: > > > Using the same subnet for two communication-rings will disturb corosync > >

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-24 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 12:00:11AM +0100, Dejan Muhamedagic wrote: > On Tue, Jan 24, 2012 at 09:34:55PM +, Reid, Mike wrote: > > You would think so :) I waited 2-3x the monitor interval in hopes the > > Failed resources would eventually be setup, but that was not the case. &g

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-24 Thread Dejan Muhamedagic
On Tue, Jan 24, 2012 at 09:34:55PM +, Reid, Mike wrote: > You would think so :) I waited 2-3x the monitor interval in hopes the > Failed resources would eventually be setup, but that was not the case. monitor does only monitor, no recovery. > To > Dejan's point, I could have checked the logs

Re: [Pacemaker] HA Cluster Connected over VPN

2012-01-24 Thread Dejan Muhamedagic
On Tue, Jan 24, 2012 at 09:51:49PM +0100, Arnold Krille wrote: > On Tuesday 24 January 2012 09:47:18 M Siddiqui wrote: > > I have a situation where two cluster nodes are connected over the VPN; each > > node > > is configured with two interfaces to provide ring redundancy for corosync: > > NODE1: >

<    1   2   3   4   5   6   7   8   9   10   >