[Pacemaker] Call for review of undocumented parameters in resource agent meta data

2015-02-11 Thread Lars Ellenberg
On Fri, Jan 30, 2015 at 09:52:49PM +0100, Dejan Muhamedagic wrote: Hello, We've tagged today (Jan 30) a new stable resource-agents release (3.9.6) in the upstream repository. Big thanks go to all contributors! Needless to say, without you this release would not be possible. Big thanks to

[Pacemaker] Announcing the Heartbeat 3.0.6 Release

2015-02-10 Thread Lars Ellenberg
deployments using Heartbeat, upgrading to this Heartbeat version is strongly recommended. Thanks, Lars Ellenberg signature.asc Description: Digital signature ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-09 Thread Lars Ellenberg
that ^^^ in the real world using a real pen. Lars -- : Lars Ellenberg : http://www.LINBIT.com | Your Way to High Availability : DRBD, Linux-HA and Pacemaker support and consulting DRBD® and LINBIT® are registered trademarks of LINBIT, Austria

[Pacemaker] Patches: RFC before pull request

2014-12-09 Thread Lars Ellenberg
Andrew, All, Please have a look at the patches I queued up here: https://github.com/lge/pacemaker/commits/for-beekhof Most (not all) are specific for the heartbeat cluster stack. Thanks, Lars A few comments here: - This effectively changes crm_mon output, but also changes

Re: [Pacemaker] How to avoid CRM sending stop when ha.cf gets 2nd node configured

2014-11-10 Thread Lars Ellenberg
, and once you are satisfied with the new cluster, you take it out of maintenance mode again? At least that is one of the intended use cases for maintenance mode. -- : Lars Ellenberg : http://www.LINBIT.com | Your Way to High Availability : DRBD, Linux-HA and Pacemaker support and consulting DRBD

Re: [Pacemaker] [ha-wg-technical] [Linux-HA] [ha-wg] [RFC] Organizing HA Summit 2015

2014-11-05 Thread Lars Ellenberg
On Sat, Nov 01, 2014 at 01:19:35AM -0400, Digimer wrote: All the cool kids will be there. You want to be a cool kid, right? Well, no. ;-) But I'll still be there, and a few other Linbit'ers as well. Fabio, let us know what we could do to help make it happen. Lars On 01/11/14

Re: [Pacemaker] can we update an attribute with cmpxchg atomic compare and exchange semantics?

2014-09-30 Thread Lars Ellenberg
On Tue, Sep 30, 2014 at 01:51:21PM +1000, Andrew Beekhof wrote: On 30 Sep 2014, at 6:22 am, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Wed, Sep 10, 2014 at 11:50:58AM +0200, Lars Ellenberg wrote: Hi Andrew (and others). For a certain use case (yes, I'm talking about DRBD

Re: [Pacemaker] can we update an attribute with cmpxchg atomic compare and exchange semantics?

2014-09-29 Thread Lars Ellenberg
On Wed, Sep 10, 2014 at 11:50:58AM +0200, Lars Ellenberg wrote: Hi Andrew (and others). For a certain use case (yes, I'm talking about DRBD peer-fencing on loss of replication link), it would be nice to be able to say: update some_attribute=some_attribute+1 where some_attribute = 0

[Pacemaker] can we update an attribute with cmpxchg atomic compare and exchange semantics?

2014-09-10 Thread Lars Ellenberg
Hi Andrew (and others). For a certain use case (yes, I'm talking about DRBD peer-fencing on loss of replication link), it would be nice to be able to say: update some_attribute=some_attribute+1 where some_attribute = 0 delete some_attribute where some_attribute=0 Ok, that's not the

Re: [Pacemaker] Configuration recommandations for (very?) large cluster

2014-08-13 Thread Lars Ellenberg
); + } + } + if (our_dc_prio == 0) + return I_ELECTION; +else + return I_NODE_JOIN; } else if (strcmp(op, CRM_OP_JOIN_REQUEST) == 0) { return I_JOIN_REQUEST; -- : Lars Ellenberg

Re: [Pacemaker] Multiple node loadbalancing

2014-07-30 Thread Lars Ellenberg
find the information would be appreciated. Use pacemaker. Whether you want heartbeat or corosync as the communication an membership layer is up to you. For new installations and recent OS releases, pacemaker + corosync is generally the recommended way. -- : Lars Ellenberg : LINBIT | Your Way

Re: [Pacemaker] [DRBD-user] DRBD active/passive on Pacemaker+CMAN cluster unexpectedly performs STONITH when promoting

2014-07-07 Thread Lars Ellenberg
there. Lars -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. __ please don't Cc me, but send to list -- I'm subscribed

Re: [Pacemaker] [DRBD-user] DRBD active/passive on Pacemaker+CMAN cluster unexpectedly performs STONITH when promoting

2014-07-04 Thread Lars Ellenberg
for your attention. Kind regards, Giuseppe Ragusa ___ drbd-user mailing list drbd-u...@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user -- : Lars Ellenberg : LINBIT | Your Way

Re: [Pacemaker] Not unmoving colocated resources can provoke DRBD split-brain

2014-06-12 Thread Lars Ellenberg
on the DRBD level. You may want to use the adjust-master-score parameter of the DRBD resource agent as well, to avoid pacemaker attempting to promote an only Consistent DRBD, which will usually fail anyways. See description there. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA

Re: [Pacemaker] DRBD primary/primary + Pacemaker goes into split brain after crm node standby/online

2014-06-12 Thread Lars Ellenberg
-changes; after-sb-1pri discard-secondary; after-sb-2pri disconnect; } on testvm1 { address 192.168.1.201:7788; } on testvm2 { address 192.168.1.202:7788; } syncer { rate 100M; al-extents 3389; } } -- : Lars Ellenberg : LINBIT | Your Way to High Availability

Re: [Pacemaker] drbd + lvm

2014-06-12 Thread Lars Ellenberg
, it is unrelated here. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org

Re: [Pacemaker] no-quorum-policy = demote?

2014-04-11 Thread Lars Ellenberg
sleep 3*T (+ time to demote) only then actually promote. That way, you are reasonably sure that, before you actually promote, the former master had a chance to notice quorum loss and demote. But you really should look into booth, or proper fencing. -- : Lars Ellenberg : LINBIT

Re: [Pacemaker] Colocation constraint to External Managed Resource

2013-10-11 Thread Lars Ellenberg
it looks like a bug for me. crm_mon reflects what is in the cib. If no-one re-populates the cib with the current state of the world, what it shows will be stale. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT

Re: [Pacemaker] [Linux-HA] Probably a regression of the linbit drbd agent between pacemaker 1.1.8 and 1.1.10

2013-09-10 Thread Lars Ellenberg
candidates are intended for. You'd only have to confirm that it works for you now. Respectively, that it still does not, in which case you better report that now than after the release, right? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Pacemaker] [Linux-HA] Probably a regression of the linbit drbd agent between pacemaker 1.1.8 and 1.1.10

2013-09-09 Thread Lars Ellenberg
On Mon, Sep 09, 2013 at 02:42:45PM +1000, Andrew Beekhof wrote: On 06/09/2013, at 5:51 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Tue, Aug 27, 2013 at 06:51:45AM +0200, Andreas Mock wrote: Hi Andrew, as this is a real showstopper at the moment I invested some other

Re: [Pacemaker] [Linux-HA] Probably a regression of the linbit drbd agent between pacemaker 1.1.8 and 1.1.10

2013-09-06 Thread Lars Ellenberg
://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 -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Pacemaker] ha_logd and logfile rotation

2013-08-07 Thread Lars Ellenberg
, upgrade. If it still does not do that, complain again ;-) -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. ___ Pacemaker

Re: [Pacemaker] Multi-node resource dependency

2013-07-19 Thread Lars Ellenberg
is #uname ... so using color the resources only need to run on nodes with the same value for the node-attribute color. Lars -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks

Re: [Pacemaker] crond on both nodes (active/passive) but some jobs on active only

2013-07-05 Thread Lars Ellenberg
this is done best within pacemaker ? is clone for me ? thanks in advance andreas -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria

Re: [Pacemaker] drbd on passive node not started

2013-07-03 Thread Lars Ellenberg
can have a look into logs ? The logs you provide clearly show that pacemaker *did* start DRBD, and successfully. Wrong timeframe? Lars -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered

Re: [Pacemaker] Monitor and standby

2013-07-03 Thread Lars Ellenberg
and pacemaker disagree about the meaning of standby? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. ___ Pacemaker

Re: [Pacemaker] Monitor and standby

2013-07-03 Thread Lars Ellenberg
On Wed, Jul 03, 2013 at 12:56:35PM +0200, Denis Witt wrote: On Wed, 3 Jul 2013 12:35:34 +0200 Lars Ellenberg lars.ellenb...@linbit.com wrote: Maybe you and pacemaker disagree about the meaning of standby? Hi Lars, obviously, yes. My understanding was that a standby node just adds

Re: [Pacemaker] Fixed! - Re: Problem with dual-PDU fencing node with redundant PSUs

2013-06-29 Thread Lars Ellenberg
that. But not having that fallback fencing method does not introduce a SPOF. Both mainboard (or kernel or resource stop failure or whatever) and BMC would have to fail at the same time for the cluster to block... -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support

Re: [Pacemaker] owership of created symlink

2013-06-04 Thread Lars Ellenberg
/ chmod on /mnt/mirror/var/mail/. Also make sure the uid/gid is the same on all nodes. but old problem euid=5xx egid=8 (mail) can not create lock file /var/mail/.lock please help. andreas -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Pacemaker] crm subshell 1.2.4 incompatible to pacemaker 1.1.9?

2013-05-15 Thread Lars Ellenberg
On Wed, May 15, 2013 at 03:34:14PM +0200, Dejan Muhamedagic wrote: On Tue, May 14, 2013 at 10:03:59PM +0200, Lars Ellenberg wrote: On Tue, May 14, 2013 at 09:59:50PM +0200, Lars Ellenberg wrote: On Mon, May 13, 2013 at 01:53:11PM +0200, Michael Schwartzkopff wrote: Hi, crm tells

Re: [Pacemaker] crm subshell 1.2.4 incompatible to pacemaker 1.1.9?

2013-05-14 Thread Lars Ellenberg
it is supposed to be a node name otherwise? Then the error would become ERROR: unknown node name: node1 Which is probably more useful most of the time. Dejan? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Pacemaker] crm subshell 1.2.4 incompatible to pacemaker 1.1.9?

2013-05-14 Thread Lars Ellenberg
On Tue, May 14, 2013 at 09:59:50PM +0200, Lars Ellenberg wrote: On Mon, May 13, 2013 at 01:53:11PM +0200, Michael Schwartzkopff wrote: Hi, crm tells me it is version 1.2.4 pacemaker tell me it is verison 1.1.9 So it should work since incompatibilities are resolved in crm higher

Re: [Pacemaker] Exchanging data between resource agent instances

2013-03-19 Thread Lars Ellenberg
blockdev --getsize64 device_name The problem is, when I'm using DRBD, that blockdev fails on slave device. Well, then use awk '/ drbd0$/ { print $3 * 1024 }' /proc/partitions No? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Pacemaker] Exchanging data between resource agent instances

2013-03-18 Thread Lars Ellenberg
. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http

Re: [Pacemaker] Pacemaker DRBD as Physical Volume on Encrypted RAID1

2013-03-06 Thread Lars Ellenberg
/???; address xx.xx.xx.xx:7789; meta-disk internal; I.e., what goes in the disk /dev/?;? Would it be disk /dev/md2_crypt;? Yes. And can we do our setup on an existing Encrypted RAID1 setup Yes. (if we do pvcreate on drbd1, we get errors)? Huh? -- : Lars Ellenberg : LINBIT | Your Way to High

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

2013-02-08 Thread Lars Ellenberg
. Please use resource-agents v3.9.5. Lars -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. ___ Pacemaker mailing

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

2013-02-08 Thread Lars Ellenberg
On Fri, Feb 08, 2013 at 11:21:15AM +0100, Lars Ellenberg wrote: On Mon, Aug 13, 2012 at 02:07:46PM +0200, Dejan Muhamedagic wrote: Appologies, I did not look at the date of the Post. For some reason it appeart as first unread, and I assumed it was recent. D'oh. :-) Please use resource-agents

Re: [Pacemaker] unable to load drbd module

2012-09-17 Thread Lars Ellenberg
yourself against matching kernel headers. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. ___ Pacemaker mailing list

Re: [Pacemaker] drbd under pacemaker - always get split brain

2012-07-12 Thread Lars Ellenberg
: fencing resource-and-stonith, crm-fence-peer.sh + stonith_admin, add stonith, maybe add a third node so you don't need to ignore quorum, ... And all will be well. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Pacemaker] drbd under pacemaker - always get split brain

2012-07-12 Thread Lars Ellenberg
divergence. Not suprisingly, that is exactly what you get. Fix your Problem. See above; hint: fencing resource-and-stonith, crm-fence-peer.sh + stonith_admin, add stonith, maybe add a third node so you don't need to ignore quorum, ... And all will be well. -- : Lars Ellenberg

Re: [Pacemaker] Two slave nodes, neither will promote to Master

2012-07-03 Thread Lars Ellenberg
. Of course you have to configure, enable, test and use stonith. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http

Re: [Pacemaker] Why Did Pacemaker Restart this VirtualDomain Resource?

2012-06-19 Thread Lars Ellenberg
On Tue, Jun 19, 2012 at 11:12:46AM -0500, Andrew Martin wrote: Hi Emmanuel, Thanks for the idea. I looked through the rest of the log and these return code 8 errors on the ocf:linbit:drbd resources are occurring at other intervals (e.g. today) when the VirtualDomain resource is

Re: [Pacemaker] Why Did Pacemaker Restart this VirtualDomain Resource?

2012-06-19 Thread Lars Ellenberg
) ... Jun 14 15:43:32 vmhost1 attrd: [3855]: notice: attrd_trigger_update: Sending flush op to all hosts for: p_ping (2000) Jun 14 15:43:32 vmhost1 attrd: [3855]: notice: attrd_perform_update: Sent update 165: p_ping=2000 And there it is back on 2000 again ... Lars -- : Lars

Re: [Pacemaker] Changing name/location of resource script

2012-06-12 Thread Lars Ellenberg
, but have not been able to find an easy way to make the change on the command line. crm configure edit, then :%s/// ... but wait ... crm configure help filter careful, that one is a bit tricky to get right. Any suggestions? Thanks, Walter. -- : Lars Ellenberg : LINBIT | Your Way to High

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

2012-06-08 Thread Lars Ellenberg
On Wed, Jun 06, 2012 at 07:22:47PM +0200, Rasto Levrinc wrote: On Wed, Jun 6, 2012 at 4:45 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Tue, Jun 05, 2012 at 05:15:04PM +0200, Rasto Levrinc wrote: On Tue, Jun 5, 2012 at 1:27 PM, Lars Marowsky-Bree l...@suse.com wrote: On 2012-06

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

2012-06-06 Thread Lars Ellenberg
On Tue, Jun 05, 2012 at 05:15:04PM +0200, Rasto Levrinc wrote: On Tue, Jun 5, 2012 at 1:27 PM, Lars Marowsky-Bree l...@suse.com wrote: On 2012-06-05T09:43:09, Andrew Beekhof and...@beekhof.net wrote: Every argument made so far applies equally to HAWK and the Linbit GUI, yet there was no

Re: [Pacemaker] [RFC] [Patch] DC node preferences (dc-priority)

2012-05-25 Thread Lars Ellenberg
On Fri, May 25, 2012 at 10:50:25AM +1000, Andrew Beekhof wrote: On Fri, May 25, 2012 at 10:04 AM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Sun, May 06, 2012 at 09:45:09PM +1000, Andrew Beekhof wrote: On Thu, May 3, 2012 at 5:38 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote

Re: [Pacemaker] Debug message granularity

2012-05-25 Thread Lars Ellenberg
On Wed, May 23, 2012 at 08:37:44AM +1000, Andrew Beekhof wrote: On Tue, May 22, 2012 at 9:51 PM, Ron Kerry rke...@sgi.com wrote: On 5/22/12 3:33 AM, Andrew Beekhof wrote: and I see nothing in  pacemaker itself that gives me any separate controls over its logging  verbosity. Which

Re: [Pacemaker] [RFC] [Patch] DC node preferences (dc-priority)

2012-05-25 Thread Lars Ellenberg
On Fri, May 25, 2012 at 11:15:32AM +0200, Florian Haas wrote: On Fri, May 25, 2012 at 10:45 AM, Lars Ellenberg lars.ellenb...@linbit.com wrote: Sorry, sent to early. That would not catch the case of cluster partitions joining, only the pacemaker startup with fully connected cluster

Re: [Pacemaker] [RFC] [Patch] DC node preferences (dc-priority)

2012-05-25 Thread Lars Ellenberg
On Fri, May 25, 2012 at 09:05:54PM +1000, Andrew Beekhof wrote: On Fri, May 25, 2012 at 7:48 PM, Florian Haas flor...@hastexo.com wrote: On Fri, May 25, 2012 at 11:38 AM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Fri, May 25, 2012 at 11:15:32AM +0200, Florian Haas wrote: On Fri

[Pacemaker] Adding a new node in standby.

2012-05-25 Thread Lars Ellenberg
for me. Not that I do that very often, but I did, and it worked. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http

Re: [Pacemaker] DRBD LVM EXT4 NFS performance

2012-05-24 Thread Lars Ellenberg
of NFS filling up the page cache until it hits the vm.dirty_ratio and then having a ton of stuff to write to disk, which the local I/O subsystem can't cope with. Sounds reasonable but shouldn't the I/O subsystem be capable to write anything away that arrives? Christoph -- : Lars

Re: [Pacemaker] [RFC] [Patch] DC node preferences (dc-priority)

2012-05-24 Thread Lars Ellenberg
On Sun, May 06, 2012 at 09:45:09PM +1000, Andrew Beekhof wrote: On Thu, May 3, 2012 at 5:38 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: People sometimes think they have a use case for influencing which node will be the DC. Agreed :-) Sometimes it is latency (certain cli

[Pacemaker] [RFC] [Patch] DC node preferences (dc-priority)

2012-05-03 Thread Lars Ellenberg
*syslog; const char *logfile; const char *use_logd; + const char *dc_prio; }; extern struct pcmk_env_s pcmk_env; -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks

Re: [Pacemaker] ERROR: te_graph_trigger: Transition failed: terminated pacemaker's problem or mine?

2012-04-30 Thread Lars Ellenberg
On Mon, Apr 30, 2012 at 01:00:11PM +1000, Andrew Beekhof wrote: On Sat, Apr 28, 2012 at 5:40 AM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Fri, Apr 27, 2012 at 11:31:23AM +0100, Tim Small wrote: Hi, I'm trying to get to the bottom of a problem I'm seeing with a cluster

Re: [Pacemaker] ERROR: te_graph_trigger: Transition failed: terminated pacemaker's problem or mine?

2012-04-27 Thread Lars Ellenberg
: essex02-DRBD: default timeout 20s for stop is smaller than the advised 100 WARNING: essex03-DRBD: default timeout 20s for stop is smaller than the advised 100 -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT

Re: [Pacemaker] Sporadic problems of rejoin after split brain situation

2012-03-20 Thread Lars Ellenberg
Bugs: http://bugs.clusterlabs.org -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. ___ Pacemaker mailing list

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

2012-03-07 Thread Lars Ellenberg
or in which release. Lars -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. ___ Pacemaker mailing list: Pacemaker

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

2012-03-07 Thread Lars Ellenberg
started by you from commandline? Did you compare the results? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria

Re: [Pacemaker] Failing to move around IPaddr2 resource

2012-02-24 Thread Lars Ellenberg
://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 -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Pacemaker] Where is MAXMSG defined?

2012-02-07 Thread Lars Ellenberg
be in glue, include/clplumbing/ipc.h But be careful, when fiddling with it. What are you trying to solve, btw? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list

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

2012-02-07 Thread Lars Ellenberg
-it-should-be-slave * or force master role off from all but one node, note the double negation in this one: location you-name-it resource-id \ rule $role=Master -inf: \ #uname ne node-where-it-should-be-master Cheers, Lars --- : Lars Ellenberg

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

2012-02-07 Thread Lars Ellenberg
migrate does, otherwise. After migration, you obviously need to unmigrate, i.e. delete that constraint again. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria

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

2012-02-02 Thread Lars Ellenberg
On Thu, Feb 02, 2012 at 08:28:16PM +1100, Andrew Beekhof wrote: On Tue, Jan 31, 2012 at 9:52 PM, Dejan Muhamedagic deja...@fastmail.fm wrote: 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

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

2012-02-01 Thread Lars Ellenberg
. But for normal ophans, you actually want them to be stopped. No, pacemaker needs some additional smarts to recognize that there actually are no orphans, maybe by first relabling, and only then checking for instance label clone-max. Did you file a bugzilla? Has that made progress? -- : Lars

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

2012-01-31 Thread Lars Ellenberg
are using SLES, why not complain there, and have them add it for you? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http

Re: [Pacemaker] How to flush the arp cache of a router?

2012-01-31 Thread Lars Ellenberg
with calls to arping will do, as I described in this thread: http://www.gossamer-threads.com/lists/linuxha/pacemaker/58444 -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker

Re: [Pacemaker] [Problem] The attrd does not sometimes stop.

2012-01-16 Thread Lars Ellenberg
to if (trig-trigger) *timeout = 0; return trig-trigger; Glue (and heartbeat) code base is not that, let's say, involved, because someone had been paranoid. But because someone had been paranoid for a reason ;-) Cheers, -- : Lars Ellenberg : LINBIT | Your Way to High Availability

Re: [Pacemaker] [Problem] The attrd does not sometimes stop.

2012-01-16 Thread Lars Ellenberg
On Mon, Jan 16, 2012 at 11:42:32PM +1100, Andrew Beekhof wrote: http://developer.gnome.org/glib/2.30/glib-The-Main-Event-Loop.html#GSourceFuncs iiuc, mainloop does something similar to (oversimplified):        timeout = -1; /* infinity */        for s in all GSource                

Re: [Pacemaker] [Question] About the rotation of the pe-file.

2012-01-14 Thread Lars Ellenberg
want it to be between [0, max-1], obviously that should be        while(max 0 sequence = max) {                sequence -= max;        } Though I wonder why not simply: if (max == 0) return; if (sequence max) sequence = 0; -- : Lars Ellenberg

Re: [Pacemaker] [Problem] The attrd does not sometimes stop.

2012-01-14 Thread Lars Ellenberg
the hook, though. That is still possible, both for blocking send and blocking receive, so that should probably be fixed as well, somehow. I'm not sure how likely this stuck in blocking IPC is, though. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Pacemaker] [Problem] The attrd does not sometimes stop.

2011-12-29 Thread Lars Ellenberg
environment. To Alan: Will you try a patch? Best Regards, Hideo Yamauchi. --- On Tue, 2011/11/15, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Mon, Nov 14, 2011 at 01:17:37PM +0100, Lars Ellenberg wrote: On Mon, Nov 14, 2011 at 11:58:09AM +1100, Andrew Beekhof wrote

Re: [Pacemaker] Remote CRM shell from LCMC

2011-12-28 Thread Lars Ellenberg
On Wed, Dec 28, 2011 at 12:57:33AM +0100, Rasto Levrinc wrote: Hi, this being a slow news day, There is this great new feature in LCMC, but probably completely useless. :) The LCMC used to show for testing purposes the CRM shell configuration, but people started to use it, so I left it

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

2011-12-16 Thread Lars Ellenberg
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 -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support

Re: [Pacemaker] [Linux-HA] Antw: Re: Q: unmanaged MD-RAID auto-recovery

2011-11-25 Thread Lars Ellenberg
On Fri, Nov 25, 2011 at 01:54:33PM +0100, Florian Haas wrote: On 11/25/11 13:29, Lars Ellenberg wrote: From the log snippet it's not entirely clear whether that's a recurring monitor (interval == whatever you configured, or 20 if default), or a probe (interval == 0). A recurring monitor

Re: [Pacemaker] Syntax highlighting in vim for crm configure edit

2011-11-22 Thread Lars Ellenberg
. I'll just throw it at you, feel free to ignore, or reuse (parts) of it. Cheers, Lars -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com Vim syntax file Language: pacemaker-crm configuration style (http

Re: [Pacemaker] IPv6addr failure loopback interface

2011-11-17 Thread Lars Ellenberg
) IPv6addrLO_meta ;; start) IPv6addrLO_start ;; stop) IPv6addrLO_stop ;; monitor) IPv6addrLO_monitor ;; validate-all) IPv6addrLO_validate ;; *) ocf_log err $0 was called with unsupported arguments: exit $OCF_ERR_UNIMPLEMENTED ;; esac Cheers, -- : Lars Ellenberg : LINBIT | Your

Re: [Pacemaker] [Drbd-dev] crm_attribute --quiet (was Fwd: [Linux-HA] Should This Worry Me?)

2011-11-14 Thread Lars Ellenberg
. As it is accepted for a larger range of crm_attribute versions, I'll keep it for now. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list: Pacemaker

Re: [Pacemaker] Newcomer's question - API?

2011-11-07 Thread Lars Ellenberg
of it in recreating it. You know, there are effectively no more than two entities you need to talk to, if you wanted the LCMC under some non-GPL licence. Which is Rasto, and LINBIT. Just a thought... -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Pacemaker] [Problem] The attrd does not sometimes stop.

2011-11-06 Thread Lars Ellenberg
for the next mainloop iteration. If a (non-fatal) signal is delivered every few seconds, then the goto loop will never timeout. Please someone check this for plausibility ;-) -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Pacemaker] location setting with parenthesis

2011-11-03 Thread Lars Ellenberg
-prmMySQL:1 gt 0 I may be missing something obvious, but why not a colocation constraint between msDRBD and prmMySQL? something like colocation asdf -inf: msDRBD:Master prmMySQL:Master -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Pacemaker] location setting with parenthesis

2011-11-03 Thread Lars Ellenberg
On Thu, Nov 03, 2011 at 09:30:45PM +0100, Andreas Kurz wrote: On 11/03/2011 12:38 PM, Lars Ellenberg wrote: On Thu, Nov 03, 2011 at 07:23:01PM +0900, 池田 淳子 wrote: Hi, location rsc_location-1 msDRBD \ rule role=master -inf: \ (defined master-prmMySQL:0 and master-prmMySQL:0 gt 0

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-13 Thread Lars Ellenberg
On Wed, Oct 12, 2011 at 08:08:21PM -0400, Yves Trudeau wrote: What about referring to the git repository here: http://www.clusterlabs.org/wiki/Get_Pacemaker#Building_from_Source http://www.clusterlabs.org/mwiki/index.php?title=Installdiff=1287oldid=1282 Lars

Re: [Pacemaker] Postgres RA won't start

2011-10-13 Thread Lars Ellenberg
errors. If understand you log right the problem is in line 647 of the RA which is: [ $1 == validate-all ] exit $rc == != = Make that [ $1 = validate-all ] exit $rc -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Pacemaker] Postgres RA won't start

2011-10-13 Thread Lars Ellenberg
On Thu, Oct 13, 2011 at 06:35:27AM -0600, Serge Dubrouski wrote: On Thu, Oct 13, 2011 at 4:29 AM, Lars Ellenberg lars.ellenb...@linbit.comwrote: On Wed, Oct 12, 2011 at 07:41:20PM -0600, Serge Dubrouski wrote: On Wed, Oct 12, 2011 at 9:20 AM, Amar Prasovic a...@linux.org.ba wrote

Re: [Pacemaker] nginx OCF script - strange syslog output

2011-10-12 Thread Lars Ellenberg
://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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker -- : Lars Ellenberg : LINBIT | Your Way to High Availability

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Lars Ellenberg
: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Lars Ellenberg
On Thu, Oct 13, 2011 at 01:21:46AM +0200, Lars Ellenberg wrote: On Wed, Oct 12, 2011 at 05:09:45PM -0400, Yves Trudeau wrote: Hi Florian, On 11-10-12 04:09 PM, Florian Haas wrote: On 2011-10-12 21:46, Yves Trudeau wrote: Hi Florian, sure, let me state the requirements. If those

Re: [Pacemaker] primary does not run alone

2011-10-11 Thread Lars Ellenberg
(2011/10/08 7:14), Lars Ellenberg wrote: On Fri, Oct 07, 2011 at 11:29:57PM +0200, Andreas Kurz wrote: Hello, On 10/07/2011 04:51 AM, H.Nakai wrote: Hi, I'm from Japan, in trouble. In the case blow, server which was primary sometimes do not run drbd/heartbeat. Server

Re: [Pacemaker] primary does not run alone

2011-10-07 Thread Lars Ellenberg
the agent script, grab it there: http://git.drbd.org/drbd-8.3.git/?a=blob_plain;f=scripts/drbd.ocf -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list: Pacemaker

Re: [Pacemaker] concurrent uses of cibadmin: Signon to CIB failed: connection failed

2011-10-03 Thread Lars Ellenberg
something wrong or is this a bug? I'm using pacemaker 1.0.10-1.4.el5 for what it's worth. Cheers, b. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list

Re: [Pacemaker] Trouble with ordering

2011-09-30 Thread Lars Ellenberg
happens before something. Is that correct? Or am I missing a configuration option? Thanks, Gerald -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list: Pacemaker

Re: [Pacemaker] OCF exit code 8 triggers WARN message

2011-09-16 Thread Lars Ellenberg
... As lrmd is not the sole users of that proctrack interface, and not everything lrmd does is a monitor operation, can we add an other loglevel flag there, e.g. PT_LOG_OCF_MONITOR, and base degradation of log level for expected exit codes on that? -- : Lars Ellenberg : LINBIT | Your Way to High

Re: [Pacemaker] Strange DRBD error in cluster operation

2011-09-05 Thread Lars Ellenberg
that at the time of the monitor, it is not there? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman

Re: [Pacemaker] Unable to execute crm(heartbeat/pacemaker) commands

2011-08-25 Thread Lars Ellenberg
Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http

Re: [Pacemaker] Unable to execute crm(heartbeat/pacemaker) commands

2011-08-25 Thread Lars Ellenberg
On Thu, Aug 25, 2011 at 11:05:32AM +0200, Lars Ellenberg wrote: My guess is that the shell prompt is hanging. Why? Because you end the last part of the input with backslash. Which of course causes shell to wait for yet an other line. And if you don't type that line (or an additional

Re: [Pacemaker] compression with heartbeat doesn't seem to work

2011-08-23 Thread Lars Ellenberg
in that case, or reducing the number of your services/clones. 4) Would more information be useful in diagnosing the problem? I don't think so. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered

Re: [Pacemaker] Not seeing VIF/VIP on pacemaker system

2011-07-28 Thread Lars Ellenberg
need to label them, i.e. add the parameter iflabel to your primitive. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria

Re: [Pacemaker] Cluster with DRBD : split brain

2011-07-26 Thread Lars Ellenberg
replication link had issues, but the cluster communication was down as well, it becomes a bit more complex. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria

Re: [Pacemaker] Location issue: how to force only one specific location, and only as Slave

2011-07-05 Thread Lars Ellenberg
else ;-) -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http

  1   2   3   >