Re: [Pacemaker] [PATCH] change timeouts, startup behaviour ocf:heartbeat:ManageVE (OpenVZ VE cluster resource)

2013-03-13 Thread Dejan Muhamedagic
On Tue, Mar 12, 2013 at 12:58:44PM +, Tim Small wrote: The attached patch changes the behaviour of the OpenVZ virtual machine cluster resource agent, so that: 1. The default resource stop timeout is greater than the hardcoded Just for the record: where is this hardcoded actually? Is it

Re: [Pacemaker] Problem on creating CIB entry in CRM

2013-03-13 Thread Dejan Muhamedagic
On Wed, Mar 13, 2013 at 10:41:13AM +, Paul Sun wrote: Hi I did not see the post is in the forum. But I found more information on this. Any idea? I am running Centos6.3 x86_64. #crm_shadow -d Segmentation fault (core dumped) Should probably open a bugzilla for this one. Thanks,

Re: [Pacemaker] Problem on creating CIB entry in CRM

2013-03-13 Thread Dejan Muhamedagic
Hi, On Wed, Mar 13, 2013 at 09:43:09AM +, Paul Sun wrote: I have seen some ppl has the problem in the archives, how I can solve this problem? crm(live)# cib new testing INFO: testing shadow CIB created ERROR: testing: no such shadow CIB crm(live)# Are you running this as root?

Re: [Pacemaker] A couple of SendArp resource changes

2013-03-13 Thread Dejan Muhamedagic
9dae34616ef62b98b762a1f821f9e1ee749e6315 Mon Sep 17 00:00:00 2001 From: Dejan Muhamedagic de...@suse.de Date: Wed, 13 Mar 2013 18:19:10 +0100 Subject: [PATCH] Medium: tools: send_arp.libnet: reuse ARP packets --- tools/send_arp.libnet.c | 174 1 file changed, 115 insertions

Re: [Pacemaker] A couple of queries regarding the behaviour of ocf:heartbeat:ManageVE

2013-03-11 Thread Dejan Muhamedagic
Hi, On Sat, Mar 09, 2013 at 05:29:11PM +, Tim Small wrote: Hi, It looks to me like ocf:heartbeat:ManageVE might do the wrong thing in a couple of places, so I'd thought I'd check. The resource agent manages openvz containers (i.e. lightweight virtual machines AKA VEs, think

Re: [Pacemaker] [Problem][crmsh]The designation of the 'ordered' attribute becomes the error.

2013-03-08 Thread Dejan Muhamedagic
be possible to backport it to 1.0: changeset: 789:916d1b15edc3 user:Dejan Muhamedagic de...@hello-penguin.com date:Thu Aug 16 17:01:24 2012 +0200 summary: Medium: cibconfig: drop attributes set to default on cib import Is there a right method to appoint an attribute

Re: [Pacemaker] [Problem][crmsh]The designation of the 'ordered' attribute becomes the error.

2013-03-06 Thread Dejan Muhamedagic
://bugs.clusterlabs.org From 1f6ed514c8e53c79835aaaf26d152f2d840126f0 Mon Sep 17 00:00:00 2001 From: Dejan Muhamedagic de...@suse.de Date: Wed, 6 Mar 2013 11:57:54 +0100 Subject: [PATCH] Low: shell: add group meta attributes --- shell/modules/cibconfig.py | 2 ++ shell/modules/vars.py.in | 1 + 2 files changed

Re: [Pacemaker] Correct order of meta/params in crm

2013-03-04 Thread Dejan Muhamedagic
Hi, On Sat, Mar 02, 2013 at 08:19:23AM -0500, David Coulson wrote: Running Pacemaker 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14 I noticed we have inconsistent ordering of meta/params in our configuration - For some resources, meta comes before params, in some cases after. In the

Re: [Pacemaker] racing crm commands... last write wins?

2013-03-04 Thread Dejan Muhamedagic
On Thu, Feb 28, 2013 at 07:34:41PM +0100, Lars Marowsky-Bree wrote: On 2013-02-28T17:51:03, Dejan Muhamedagic deja...@fastmail.fm wrote: crmsh used to make modifications in chunks, which was a bit complex due to element dependencies, but it worked if I can recall correctly. Then it got

Re: [Pacemaker] racing crm commands... last write wins?

2013-02-28 Thread Dejan Muhamedagic
On Thu, Feb 28, 2013 at 11:03:02AM +0100, Lars Marowsky-Bree wrote: On 2013-02-25T12:20:13, Brian J. Murrell br...@interlinx.bc.ca wrote: Perhaps there's a way to improve this. Well, the CIB is shared resource. Shared resources need to be locked against these sort of racy updates.

Re: [Pacemaker] debian 6 crm commit problem

2013-02-28 Thread Dejan Muhamedagic
Hi, On Thu, Feb 28, 2013 at 02:06:15PM +0100, hugo holzer wrote: Hi I try to add a lsb resource to my running corosync config. crm configure crm(live)configure# primitive slapd lsb:slapd crm(live)configure# commit --norc: no such option: noprofile ERROR: creating tmp shadow

Re: [Pacemaker] racing crm commands... last write wins?

2013-02-27 Thread Dejan Muhamedagic
On Mon, Feb 25, 2013 at 12:20:13PM -0500, Brian J. Murrell wrote: On 13-02-25 10:30 AM, Dejan Muhamedagic wrote: Before doing replace, crmsh queries the CIB and checks if the epoch was modified in the meantime. But doesn't take out a lock of any sort to prevent an update

Re: [Pacemaker] Dependency Trees

2013-02-25 Thread Dejan Muhamedagic
On Fri, Feb 22, 2013 at 11:39:52AM +1100, Andrew Beekhof wrote: On Fri, Feb 22, 2013 at 1:40 AM, Donald Stahl d...@blacksun.org wrote: No. [quote] If you say colocate A with B and there is nowhere B is allowed to run, then A wont be allowed to run either. But once the cluster has

Re: [Pacemaker] racing crm commands... last write wins?

2013-02-25 Thread Dejan Muhamedagic
On Fri, Feb 22, 2013 at 11:48:58AM +1100, Andrew Beekhof wrote: On Fri, Feb 22, 2013 at 5:18 AM, Brian J. Murrell br...@interlinx.bc.ca wrote: I wonder what happens in the case of two racing crm commands that want to update the CIB (with non-overlapping/conflicting data). Is there any

Re: [Pacemaker] Is crm_gui available under RHEL6?

2013-02-14 Thread Dejan Muhamedagic
On Thu, Feb 14, 2013 at 10:46:40AM +0100, Rasto Levrinc wrote: On Thu, Feb 14, 2013 at 12:20 AM, Ron Kerry rke...@sgi.com wrote: I am not sure if this is an appropriate question for a community forum since it is a RHEL specific question. However, I cannot think of a better forum to use (as

Re: [Pacemaker] Stopping only / last stonith resource ... cluster will continue to function ?

2013-02-03 Thread Dejan Muhamedagic
Hi, On Mon, Feb 04, 2013 at 05:50:59PM +1300, David Morton wrote: Afternoon, We're replacing a production cluster (2 node) with a new completely separate 2 node cluster later this week. I've removed one node already to make way (physically) for the new machines, so everything is working

Re: [Pacemaker] CIB verification failure with any change via crmsh

2013-01-24 Thread Dejan Muhamedagic
On Thu, Jan 24, 2013 at 09:04:14AM +0100, Jacek Konieczny wrote: Hi, On Wed, 23 Jan 2013 18:52:20 +0100 Dejan Muhamedagic deja...@fastmail.fm wrote: nodes node id=35956928 uname=sipc2n2 Note sure if id can start with a digit. Corosync node id's are always digits-only

Re: [Pacemaker] CIB verification failure with any change via crmsh

2013-01-24 Thread Dejan Muhamedagic
On Thu, Jan 24, 2013 at 09:10:33AM +0100, Jacek Konieczny wrote: On Thu, 24 Jan 2013 09:04:14 +0100 Jacek Konieczny jaj...@jajcus.net wrote: I should probably upgrade my CIB somehow Indeed. 'cibadmin --upgrade --force' solved my problem. Thanks for all the hints. crm(live)configure# help

Re: [Pacemaker] CIB verification failure with any change via crmsh

2013-01-23 Thread Dejan Muhamedagic
Hi, On Wed, Jan 23, 2013 at 04:31:20PM +0100, Jacek Konieczny wrote: Hi, I have recently upgraded Pacemaker on one of my clusters from 1.0.something to 1.1.8 and installed crmsh to manage it as I used to. crmsh mostly works for me, until I try to change the configuration with 'crm

Re: [Pacemaker] Howto recover from unclan (online)

2013-01-16 Thread Dejan Muhamedagic
Hi, On Tue, Jan 15, 2013 at 08:28:29PM +0100, Michael Schwartzkopff wrote: Hi, any good advice from the following state of a cluster: unclean (online) state and lots of errors of the resources on one node and a shutdown second node? On the first node all resources running happily and

Re: [Pacemaker] ocf:heartbeat:anything issue with samba

2013-01-16 Thread Dejan Muhamedagic
Hi, On Wed, Jan 16, 2013 at 11:24:35AM +0100, joël LABBY wrote: Hi ! I'm trying to install for the first time a 2 nodes master/slave cluster with drbd. I've installed ipaddr2; apache; drbd ressources on pacemaker without any issue, but i've got a problem with smbd. The smbd process

Re: [Pacemaker] Howto recover from unclan (online)

2013-01-16 Thread Dejan Muhamedagic
On Wed, Jan 16, 2013 at 03:30:06PM +0100, Michael Schwartzkopff wrote: Am Mittwoch, 16. Januar 2013, 14:05:13 schrieb Kashif Jawed Siddiqui: Hi Dejan/Andrew Can you list down the possible scenarios in which the Node state changes to online (UNCLEAN). I have encountered

Re: [Pacemaker] crm shell binaries

2013-01-09 Thread Dejan Muhamedagic
On Wed, Jan 09, 2013 at 11:14:17AM +0200, Dan Frincu wrote: @Dejan, @LMB Could you guys post binaries of crmsh for RedHat, Debian? https://savannah.nongnu.org/projects/crmsh/ Take a look at the latest news item. For the lazy:

Re: [Pacemaker] Oracle instance problem

2013-01-09 Thread Dejan Muhamedagic
Hi, On Wed, Jan 09, 2013 at 03:38:08PM +0530, Sucheta wrote: Hi, Following is the oracle instance startup problem. I am able to successfully start oracle listener using LCMC. However when i tried to start oracle instance the start process seems to continue for ever and ever. The database

Re: [Pacemaker] Oracle instance problem

2013-01-09 Thread Dejan Muhamedagic
tries to take care of that too. See the ipcrm parameter and the dumpinstipc command. Thanks, Dejan 2013/1/9 Dejan Muhamedagic deja...@fastmail.fm Hi, On Wed, Jan 09, 2013 at 03:38:08PM +0530, Sucheta wrote: Hi, Following is the oracle instance startup problem. I am able

Re: [Pacemaker] timed out / exec error

2012-12-20 Thread Dejan Muhamedagic
Hi, On Tue, Dec 18, 2012 at 10:58:18AM +, James Harper wrote: For the following failure: Failed actions: p_lvm_iscsi:0_monitor_1 (node=bitvs6, call=57, rc=-2, status=Timed Out): unknown exec error Is this the ra itself returning a Timed Out error, or is it the cluster

Re: [Pacemaker] timed out / exec error

2012-12-20 Thread Dejan Muhamedagic
On Thu, Dec 20, 2012 at 11:43:20AM +, James Harper wrote: Hi, On Tue, Dec 18, 2012 at 10:58:18AM +, James Harper wrote: For the following failure: Failed actions: p_lvm_iscsi:0_monitor_1 (node=bitvs6, call=57, rc=-2, status=Timed Out): unknown exec error

Re: [Pacemaker] crm shell

2012-12-20 Thread Dejan Muhamedagic
Hi, On Tue, Dec 18, 2012 at 02:19:18PM -0500, Jay Janssen wrote: Having learned pretty much everything I know about pacemaker (which isn't a lot) using the crm shell, I am dismayed to find it isn't included in pacemaker 1.1.8. Since when is it a good development practice to deprecate

Re: [Pacemaker] Moving multi-state resources

2012-12-12 Thread Dejan Muhamedagic
Hi, On Wed, Dec 12, 2012 at 03:50:01PM +0530, pavan tc wrote: Hi, My requirement was to do some administration on one of the nodes where a 2-node multi-state resource was running. To effect a resource instance stoppage on one of the nodes, I added a resource constraint as below: crm

Re: [Pacemaker] Nodes appear UNCLEAN (offline) during Pacemaker upgrade to 1.1.7

2012-11-29 Thread Dejan Muhamedagic
Hi, On Thu, Nov 29, 2012 at 11:24:08AM +1100, Andrew Beekhof wrote: On Mon, Nov 26, 2012 at 5:48 PM, Parshvi parshvi...@gmail.com wrote: I am using the old resource-agents version: 1.0.4 (I didn't find the rpms for latest version on clusterlabs. Can u suggest as to where I can find the

Re: [Pacemaker] Changed IP Address; Filesystem Won't Start

2012-11-29 Thread Dejan Muhamedagic
Hi, On Thu, Nov 22, 2012 at 10:45:23AM -0600, Art Zemon wrote: After much gnashing of teeth and bashing of head, I finally hit upon crm resource cleanup cl_fs_share That did it and everything immediately started running. Here is my configuration: primitive p_drbd_share

Re: [Pacemaker] orphaned resources

2012-11-15 Thread Dejan Muhamedagic
On Wed, Nov 14, 2012 at 07:45:33PM +0100, Vladimir Elisseev wrote: Thanks! I've tried crm resource cleanup fs_movies, but it didn't work, while your command did the trick. What is the difference? None at all :) Almost all crm resource command just invoke crm_resource. Thanks, Dejan However,

Re: [Pacemaker] Stonith external/vmware

2012-11-15 Thread Dejan Muhamedagic
Hi, On Thu, Nov 15, 2012 at 03:52:00PM +0100, Denny Schierz wrote: hi, Am 13.11.2012 um 12:45 schrieb Dejan Muhamedagic deja...@fastmail.fm: stonith -t external/vmware -p esxserver -T reset sqlnode02 it takes more time, than I thought ... primitive sqlnode-stonith stonith:external

Re: [Pacemaker] orphaned resources

2012-11-15 Thread Dejan Muhamedagic
is actually being executed. Thanks, Dejan Regards, Vladimir. On Thu, 2012-11-15 at 09:26 +0100, Dejan Muhamedagic wrote: On Wed, Nov 14, 2012 at 07:45:33PM +0100, Vladimir Elisseev wrote: Thanks! I've tried crm resource cleanup fs_movies, but it didn't work, while your command did the trick

Re: [Pacemaker] Stonith external/vmware

2012-11-15 Thread Dejan Muhamedagic
On Thu, Nov 15, 2012 at 06:33:14PM +0100, Denny Schierz wrote: hi, Am 15.11.2012 um 17:02 schrieb Dejan Muhamedagic deja...@fastmail.fm: Hmm, perhaps another case of this bug: http://marc.info/?l=linux-ha-devm=135298603602508w=2 nope, these lines doesn't exist: http://hg.linux

Re: [Pacemaker] Enable remote monitoring

2012-11-13 Thread Dejan Muhamedagic
On Mon, Nov 12, 2012 at 10:25:22PM +0100, Arnold Krille wrote: On Monday 12 November 2012 10:50:57 Dejan Muhamedagic wrote: Hi Arnold, On Sun, Nov 11, 2012 at 07:37:29PM +0100, Arnold Krille wrote: On Sun, 11 Nov 2012 18:37:04 +0100 Dejan Muhamedagic deja...@fastmail.fm wrote

Re: [Pacemaker] Stonith external/vmware

2012-11-13 Thread Dejan Muhamedagic
On Mon, Nov 12, 2012 at 03:41:19PM +0100, Denny Schierz wrote: hi, the external/vmware STONITH works, if I try it from the shell: stonith -t external/vmware -p esxserver -T reset sqlnode02 but, I don't get the syntax for for crm itself: crm(live)configure# configure primitive

Re: [Pacemaker] Enable remote monitoring

2012-11-12 Thread Dejan Muhamedagic
Hi Arnold, On Sun, Nov 11, 2012 at 07:37:29PM +0100, Arnold Krille wrote: On Sun, 11 Nov 2012 18:37:04 +0100 Dejan Muhamedagic deja...@fastmail.fm wrote: On Fri, Nov 09, 2012 at 05:22:08PM +0100, Lars Marowsky-Bree wrote: On 2012-11-09T14:06:29, Dejan Muhamedagic deja...@fastmail.fm

Re: [Pacemaker] Enable remote monitoring

2012-11-11 Thread Dejan Muhamedagic
On Fri, Nov 09, 2012 at 05:22:08PM +0100, Lars Marowsky-Bree wrote: On 2012-11-09T14:06:29, Dejan Muhamedagic deja...@fastmail.fm wrote: Uh? How should this be handled by the RA? Can you elaborate? For instance, using expect to wait for the login prompt on the console

Re: [Pacemaker] Enable remote monitoring

2012-11-11 Thread Dejan Muhamedagic
Hi David, On Fri, Nov 09, 2012 at 05:06:32PM -0500, David Vossel wrote: [...] Lars, Not Lars, but I hope I can give some answers here. Does the order in which the members of the container start monitoring matter? Do the members need to be serialized or anything, or can we just start the

Re: [Pacemaker] Enable remote monitoring

2012-11-11 Thread Dejan Muhamedagic
On Sat, Nov 10, 2012 at 08:39:42AM +1100, Andrew Beekhof wrote: On Fri, Nov 9, 2012 at 10:25 PM, Lars Marowsky-Bree l...@suse.com wrote: On 2012-11-09T11:04:15, Andrew Beekhof and...@beekhof.net wrote: So I was just explaining the problem and context to David... his comment was aren't

Re: [Pacemaker] Enable remote monitoring

2012-11-09 Thread Dejan Muhamedagic
On Fri, Nov 09, 2012 at 12:16:15PM +0100, Lars Marowsky-Bree wrote: On 2012-11-08T13:22:34, Dejan Muhamedagic deja...@fastmail.fm wrote: Uh? How should this be handled by the RA? Can you elaborate? For instance, using expect to wait for the login prompt on the console. Or, if that's

Re: [Pacemaker] stonith device

2012-11-09 Thread Dejan Muhamedagic
Hi, On Fri, Nov 09, 2012 at 06:09:18PM +0700, Soni Maula Harriz wrote: dear forum, i use centos 6.3 and configure 2 server with pacemaker and corosync (installation via yum) [root@daksa02 ~]# pacemakerd --version Pacemaker 1.1.7-6.el6 Written by Andrew Beekhof [root@daksa02 ~]#

Re: [Pacemaker] Enable remote monitoring

2012-11-08 Thread Dejan Muhamedagic
Hi, On Thu, Nov 08, 2012 at 09:18:16AM +0100, Lars Marowsky-Bree wrote: On 2012-11-08T14:24:40, Gao,Yan y...@suse.com wrote: What do you propose the XML should look like? Should be like: ... op id=vm-monitor-30 name=monitor class=nagios type=ftp interval=30s

Re: [Pacemaker] killproc not found? o2cb shutdown via resource agent

2012-11-08 Thread Dejan Muhamedagic
Hi, On Thu, Nov 08, 2012 at 08:23:53PM +1100, Tim Serong wrote: On 11/08/2012 07:56 PM, Andrew Beekhof wrote: On Thu, Nov 8, 2012 at 5:16 PM, Tim Serong tser...@suse.com wrote: On 11/08/2012 12:11 PM, Andrew Beekhof wrote: On Thu, Nov 8, 2012 at 9:59 AM, Matthew O'Connor m...@ecsorl.com

Re: [Pacemaker] Enable remote monitoring

2012-11-08 Thread Dejan Muhamedagic
On Thu, Nov 08, 2012 at 12:10:24PM +0100, Lars Marowsky-Bree wrote: On 2012-11-08T11:54:04, Dejan Muhamedagic deja...@fastmail.fm wrote: Downside, that I have just realized - resources which depend on this one, and might want to depend on a service the container provides

Re: [Pacemaker] Pacemaker Digest, Vol 59, Issue 59

2012-10-30 Thread Dejan Muhamedagic
is ok, then it should work. Do you use the user option in crm? Do you run crm as the same user as you tried lrmadmin? Thanks, Dejan Many Thanks Vishal Message: 1 Date: Tue, 23 Oct 2012 13:48:24 +0200 From: Dejan Muhamedagic deja...@fastmail.fm To: The Pacemaker cluster resource

Re: [Pacemaker] Pacemaker Digest, Vol 59, Issue 57

2012-10-23 Thread Dejan Muhamedagic
Hi, On Tue, Oct 23, 2012 at 10:18:36AM +0530, vishal kumar wrote: Hello Florian, Thanks for the help. I tried with crm ra meta sshd lsb but it gave me the same meta-data error. The problem is while trying to add a lsb resource from crm shell, like httpd as i am using rhel it gives the

Re: [Pacemaker] Crm configure Error In Centos 5.4

2012-10-23 Thread Dejan Muhamedagic
Hi, On Mon, Oct 15, 2012 at 01:17:47PM +0530, Vinoth Narasimhan wrote: Hi Guys, I just installed the latest heartbeat,pacemaker and corosync as per the guidelines from the below link http://www.clusterlabs.org/wiki/Install#READ_ME_FIRST I am able to successfully configure the heartbeat

Re: [Pacemaker] external/ssh stonith and repeated reboots

2012-10-23 Thread Dejan Muhamedagic
Hi, On Tue, Oct 16, 2012 at 03:00:08PM +1100, Andrew Beekhof wrote: On Sun, Oct 14, 2012 at 5:04 PM, James Harper james.har...@bendigoit.com.au wrote: I'm using external/ssh in my test cluster (a bunch of vm's), and for some reason the cluster has tried to terminate it but failed, like:

Re: [Pacemaker] [Linux-ha-dev] A patch for stonith external/libvirt

2012-10-22 Thread Dejan Muhamedagic
. The script supports the reboot method, but it still power cycles by default. Cheers, Dejan Regards Holger On Thu, Oct 11, 2012 at 4:46 PM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi Owen, On Wed, Oct 10, 2012 at 10:07:41AM +0100, Owen Le Blanc wrote: I attach a patch

Re: [Pacemaker] setting up NFS resources on systemd based Linux distributions

2012-10-22 Thread Dejan Muhamedagic
Hi, On Tue, Oct 16, 2012 at 07:59:26AM -0700, Lonni J Friedman wrote: On Mon, Oct 15, 2012 at 8:51 PM, Andrew Beekhof and...@beekhof.net wrote: On Tue, Oct 16, 2012 at 2:50 PM, Andrew Beekhof and...@beekhof.net wrote: On Tue, Oct 16, 2012 at 9:24 AM, Lonni J Friedman netll...@gmail.com

Re: [Pacemaker] lvm ra timeouts and vgdisplay hang

2012-10-22 Thread Dejan Muhamedagic
Hi, On Wed, Oct 17, 2012 at 11:35:43AM +, James Harper wrote: I've been having a problem with the lvm ra when used in conjunction with clvm when a node dies (eg when I destroy the vm to test this particular scenario) clvm re-organises itself just fine, and comes good well within the lvm

Re: [Pacemaker] centos 6 fence_apc parameter error

2012-10-11 Thread Dejan Muhamedagic
On Wed, Oct 10, 2012 at 09:45:46AM -0500, Michael Brennen wrote: On Wed, 10 Oct 2012, Dejan Muhamedagic wrote: Hi, On Tue, Oct 09, 2012 at 06:47:30PM -0500, Michael Brennen wrote: Hello all, I have built a two node apache/mysql cluster, with drbd syncing the two. I am using the centos

Re: [Pacemaker] centos 6 fence_apc parameter error

2012-10-11 Thread Dejan Muhamedagic
Hi Rasto, On Thu, Oct 11, 2012 at 11:31:10AM +0200, Rasto Levrinc wrote: On Thu, Oct 11, 2012 at 10:29 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: On Wed, Oct 10, 2012 at 09:45:46AM -0500, Michael Brennen wrote: On Wed, 10 Oct 2012, Dejan Muhamedagic wrote

Re: [Pacemaker] A patch for stonith external/libvirt

2012-10-11 Thread Dejan Muhamedagic
Hi Owen, On Wed, Oct 10, 2012 at 10:07:41AM +0100, Owen Le Blanc wrote: I attach a patch for the stonith agent external/libvirt. This agent was failing on our machines because for rebooting machines it tried to stop and then start them, which doesn't work on our system, while rebooting them

Re: [Pacemaker] centos 6 fence_apc parameter error

2012-10-10 Thread Dejan Muhamedagic
Hi, On Tue, Oct 09, 2012 at 06:47:30PM -0500, Michael Brennen wrote: Hello all, I have built a two node apache/mysql cluster, with drbd syncing the two. I am using the centos 6 corosync, pacemaker, and fence-agents packages. (I tried the clusterlabs 1.1.8 pacemaker with the pcs shell,

Re: [Pacemaker] bug in monitor timeout?

2012-10-04 Thread Dejan Muhamedagic
Hi, On Wed, Oct 03, 2012 at 10:07:06PM +, James Harper wrote: It seems like everytime I modify a resource, things start timing out. Just now I changed the location of where a ping resource could run and this happened: Oct 4 07:07:07 bitvs5 lrmd: [3681]: WARN: perform_ra_op: the

Re: [Pacemaker] crmsh resource update issue

2012-10-04 Thread Dejan Muhamedagic
: [Pacemaker] crmsh resource update issue On Thu, Oct 4, 2012 at 2:22 PM, Dejan Muhamedagic deja...@fastmail.fm wrote: On Wed, Oct 03, 2012 at 09:17:17PM +0300, Vladislav Bogdanov wrote: 03.10.2012 20:11, Dejan Muhamedagic wrote: On Wed, Oct 03, 2012 at 11:57

Re: [Pacemaker] crm shell issues

2012-10-03 Thread Dejan Muhamedagic
On Tue, Sep 18, 2012 at 04:21:46PM +0200, Dejan Muhamedagic wrote: Hi, On Fri, Sep 14, 2012 at 02:54:56PM +0300, Borislav Borisov wrote: Hi all, Dejan, I am struggling to get the latest crmsh version (812:b58a3398bf11) to work with the latest pacemaker version () and so far I've

Re: [Pacemaker] crmsh resource update issue

2012-10-03 Thread Dejan Muhamedagic
On Wed, Oct 03, 2012 at 09:21:41AM +0300, Vladislav Bogdanov wrote: 03.10.2012 08:57, Vladislav Bogdanov wrote: 03.10.2012 01:53, Andrew Beekhof wrote: ... Do you mean get the LSB and/or systemd metadata from the new lrmd? That should work already. Is there an utility which

Re: [Pacemaker] crmsh resource update issue

2012-10-03 Thread Dejan Muhamedagic
On Wed, Oct 03, 2012 at 11:57:47AM +0300, Vladislav Bogdanov wrote: 03.10.2012 11:48, Dejan Muhamedagic wrote: On Wed, Oct 03, 2012 at 09:21:41AM +0300, Vladislav Bogdanov wrote: 03.10.2012 08:57, Vladislav Bogdanov wrote: 03.10.2012 01:53, Andrew Beekhof wrote: ... Do you mean get

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Dejan Muhamedagic
Hi, On Tue, Oct 02, 2012 at 09:52:39AM +0100, Colin McCormack wrote: Hi again, OK. This seems to be a deficiency in lrmd which got fixed later. But there was a workaround in crm shell for almost two years (iirc since pacemaker v1.1.5). What was this workaround - sorry for such low-level

Re: [Pacemaker] crmsh resource update issue

2012-10-02 Thread Dejan Muhamedagic
Hi, On Tue, Oct 02, 2012 at 03:41:32PM +0300, Vladislav Bogdanov wrote: Hi Dejan, 28.09.2012 14:07, Dejan Muhamedagic wrote: ... OK. Silly me. Sorry for the non-vi users ;-) Thanks for the patch! Dejan One more patch to fix lrmadmin disfunction with 1.1.8. But this fixes

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-02 Thread Dejan Muhamedagic
On Tue, Oct 02, 2012 at 01:12:51PM +0100, Colin McCormack wrote: Hi Dejan, I see that's some kind of workaround in pacemaker code - but how do i Right. You'd need to patch the code. Since it's python, you can also patch the installed version. affect a workaround? But i need a workaround from

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-10-01 Thread Dejan Muhamedagic
On Fri, Sep 28, 2012 at 04:51:36PM +0100, Colin McCormack wrote: Hi Dejan - thanks for taking the time to respond again Hangs? Wasn't it in the first message that cibadmin is not available? If it hangs, then you should check the process list (pstree) to see what the shell is doing at the

Re: [Pacemaker] monitor interval too short

2012-10-01 Thread Dejan Muhamedagic
Hi, On Sat, Sep 29, 2012 at 02:10:26PM +, James Harper wrote: I have a xen resource with op's configured like: op stop interval=0 timeout=300s \ op migrate_from interval=0 timeout=300s \ op migrate_to interval=0 timeout=300s \ op monitor interval=10s

Re: [Pacemaker] emergency pppoe connection

2012-10-01 Thread Dejan Muhamedagic
Hi, On Sun, Sep 30, 2012 at 05:52:58AM +, James Harper wrote: rule ping_gw eq 0 and (#uname eq bitvs5 or #uname eq bitvs6) and it tells me it doesn't like and and or in the same expression (or I think that's what it's telling me) any suggestions? I think I've figured

Re: [Pacemaker] emergency pppoe connection

2012-10-01 Thread Dejan Muhamedagic
On Mon, Oct 01, 2012 at 10:43:38AM +, James Harper wrote: Hi, On Sun, Sep 30, 2012 at 05:52:58AM +, James Harper wrote: rule ping_gw eq 0 and (#uname eq bitvs5 or #uname eq bitvs6) and it tells me it doesn't like and and or in the same expression (or I think

Re: [Pacemaker] fencing when stonith-enabled=false

2012-10-01 Thread Dejan Muhamedagic
Hi, On Mon, Oct 01, 2012 at 11:30:19AM +, James Harper wrote: I am trying to configure stonith. ipmilan was a complete disaster as it kept passing port 623 as the hostname, Interesting, so now I'm trying external/ipmi. but anyway external/ipmi is preferred and better supported. The

Re: [Pacemaker] Reload implemention for RA

2012-10-01 Thread Dejan Muhamedagic
Hi, On Mon, Oct 01, 2012 at 03:12:51PM +0200, Jan Horníček wrote: Thank you for suggestions. Finally I managed to rewrite the script, so it's capable of reloading. But I have one question. Why, when I remove the first parameter definition (parameter name=status) in metadata section of

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-28 Thread Dejan Muhamedagic
Hi, On Thu, Sep 27, 2012 at 04:40:15PM +0200, Lars Marowsky-Bree wrote: On 2012-09-27T14:57:08, Colin McCormack colin.mccorm...@openet.com wrote: I installed pacemaker/corosync as root (details below): Pacemaker version 1.0.12, release 1.el5.centos, x86_64 Corosync version 1.2.7, release

Re: [Pacemaker] Can't issue 'crm configure' commands under privileged user

2012-09-28 Thread Dejan Muhamedagic
Hi, On Fri, Sep 28, 2012 at 09:51:05AM +0100, Colin McCormack wrote: Hi Lars, This doesn't allow the user to configure the cluster, but runs all commands from crm as this user (even if running as root). I'm not sure this is very well tested. When i then run commands like crm configure

Re: [Pacemaker] crmsh resource update issue

2012-09-28 Thread Dejan Muhamedagic
On Fri, Sep 28, 2012 at 01:53:52PM +0300, Vladislav Bogdanov wrote: 27.09.2012 20:03, Dejan Muhamedagic wrote: On Thu, Sep 27, 2012 at 05:02:24PM +0200, Dejan Muhamedagic wrote: Hi Vladimir, On Thu, Sep 27, 2012 at 10:22:43AM +0300, Vladislav Bogdanov wrote: Hi Dejan, list, It looks

Re: [Pacemaker] crmsh resource update issue

2012-09-27 Thread Dejan Muhamedagic
Hi Vladimir, On Thu, Sep 27, 2012 at 10:22:43AM +0300, Vladislav Bogdanov wrote: Hi Dejan, list, It looks like shell 1.2.0 (I use b58a3398bf11621fe7811380f00245dac52d34c6 with patch you sent recently) incorrectly replaces the whole cib with just resources section, so all node state

Re: [Pacemaker] crmsh resource update issue

2012-09-27 Thread Dejan Muhamedagic
On Thu, Sep 27, 2012 at 05:02:24PM +0200, Dejan Muhamedagic wrote: Hi Vladimir, On Thu, Sep 27, 2012 at 10:22:43AM +0300, Vladislav Bogdanov wrote: Hi Dejan, list, It looks like shell 1.2.0 (I use b58a3398bf11621fe7811380f00245dac52d34c6 with patch you sent recently) incorrectly

Re: [Pacemaker] lrmd hangs on shutdown

2012-09-26 Thread Dejan Muhamedagic
Hi, On Mon, Sep 24, 2012 at 10:06:51PM +0400, Nikita Borzykh wrote: Hi, I'm trying to use corosync (git tag 2.0.1) and pacemaker (git tag 1.7.1) on debian squeeze. My problem is similar to (http://oss.clusterlabs.org/pipermail/pacemaker / 2011-November/012339.html), when I shutdown pacemakerd

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

2012-09-19 Thread Dejan Muhamedagic
. 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: Monday, August 13, 2012 8:21 PM To: The Pacemaker cluster resource manager Subject: Re

Re: [Pacemaker] crm shell issues

2012-09-18 Thread Dejan Muhamedagic
Hi, On Fri, Sep 14, 2012 at 02:54:56PM +0300, Borislav Borisov wrote: Hi all, Dejan, I am struggling to get the latest crmsh version (812:b58a3398bf11) to work with the latest pacemaker version () and so far I've encountered couple of issues. There's quite a bit of new code in v1.1.8

Re: [Pacemaker] crm shell and corosync2 node id

2012-09-18 Thread Dejan Muhamedagic
On Thu, Sep 13, 2012 at 09:14:07PM +0300, Vladislav Bogdanov wrote: 13.09.2012 15:42, Dejan Muhamedagic wrote: Hi again, On Thu, Sep 13, 2012 at 02:57:54PM +0300, Vladislav Bogdanov wrote: Hi Dejan, all, current crm shell (b58a3398bf11) can not parse node 'id' attribute when

Re: [Pacemaker] correct way to deploy a CLVM configuration with pacemaker

2012-09-18 Thread Dejan Muhamedagic
Hi, On Fri, Sep 14, 2012 at 04:41:55PM +0200, Alberto Menichetti wrote: Hi all, I'm trying to deploy a CLVM configuration; my VGs will be active on only 1 node at time and I won't use a clustered fs but ext3. I configured clvmd and dlm in this way: primitive cluster-dlm

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

2012-09-13 Thread Dejan Muhamedagic
it! From: Dejan Muhamedagic [deja...@fastmail.fm] Sent: Wednesday, September 12, 2012 3:41 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] How to add primitive resource to analready existing Group using crm Hi, On Wed

Re: [Pacemaker] crm shell and corosync2 node id

2012-09-13 Thread Dejan Muhamedagic
Hi again, On Thu, Sep 13, 2012 at 02:57:54PM +0300, Vladislav Bogdanov wrote: Hi Dejan, all, current crm shell (b58a3398bf11) can not parse node 'id' attribute when running on corosync 2: # crm configure show |grep xml INFO: object 1074005258 cannot be represented in the CLI notation

Re: [Pacemaker] crm shell and corosync2 node id

2012-09-13 Thread Dejan Muhamedagic
On Thu, Sep 13, 2012 at 04:15:10PM +0300, Vladislav Bogdanov wrote: 13.09.2012 15:37, Dejan Muhamedagic wrote: Hi, On Thu, Sep 13, 2012 at 02:57:54PM +0300, Vladislav Bogdanov wrote: Hi Dejan, all, current crm shell (b58a3398bf11) can not parse node 'id' attribute when running

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 kashi...@huawei.com wrote: Hi, I would like to know is there a way to add new primitive resource to an already existing group. I know crm

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 ]

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 d...@pseudoterminal.org wrote: It seems the CRM CLI guide formally found under http://www.clusterlabs.org/doc/crm_cli.html

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 low on html, sorry about that. But something will be posted soon. At any

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 df.clus...@gmail.com wrote: Hi, On Thu, Sep 6, 2012 at 1:35 PM, Thorsten Rehm thorsten.r...@gmail.com wrote: Hi everyone, nobody has an idea? Have I missed something in

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 vavri...@ttc.cz 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

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 vavri...@ttc.cz wrote: Hello, Sorry If I send same question

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...@server1.mc.man.ac.uk/usr/bin/virsh?keyfile=/root/.ssh/id_dsa

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

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, which behaves as I show

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-resources,

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 version of

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-5ubuntu4.1 package (as found ubuntu 12.04

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

2012-08-16 Thread Dejan Muhamedagic
clusters. It was fixed earlier this year: changeset: 738:5a2b1011a8c3 user:Dejan Muhamedagic de...@hello-penguin.com 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 or install the new

Re: [Pacemaker] new RA: http_ping

2012-08-16 Thread Dejan Muhamedagic
agent. Heavily repurposed. # # Nginx RA lists these authors: # Alan Robertson # Dejan Muhamedagic # # Support:linux...@lists.linux-ha.org # # License:GNU General Public License (GPL) # # Copyright: # Some parts (C) 2012 Broadnet AS # Some other

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