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

2012-01-24 Thread Dejan Muhamedagic
Hi, On Tue, Jan 24, 2012 at 06:31:54PM +0100, Michal Vyoral wrote: > Hello, > we had a cluster of two nodes both running Debian 5.0, each with two resources > IPaddr2 and apache managed by pacemaker 1.0.9.1. After an upgrading of > one node from Debian 5.0 to 6.0 we have a problem to start the > a

Re: [Pacemaker] Error building Pacemaker on OS X Lion

2012-01-24 Thread Dejan Muhamedagic
Hi, On Tue, Jan 24, 2012 at 05:56:14PM +0100, i...@sdips.de wrote: > configure: error: in `/Users/admin/1.1': > configure: error: Unable to support Heartbeat: client libraries not found > See `config.log' for more details > > > Still haven't any solution and this topic doesn't helped me out eith

Re: [Pacemaker] mass deletion of resources

2012-01-24 Thread Dejan Muhamedagic
On Tue, Jan 24, 2012 at 06:00:22PM +0100, Anton Melser wrote: > > I can't see how to list the options available - I'm obviously missing > > that last bit that would enable me to get the answers for myself... > > Actually, is it suicide to try and modify > /var/lib/heartbeat/crm/cib.xml directly an

Re: [Pacemaker] mass deletion of resources

2012-01-24 Thread Dejan Muhamedagic
Hi, On Tue, Jan 24, 2012 at 06:38:17PM +0100, Anton Melser wrote: > >> > I can't see how to list the options available - I'm obviously > >> > missing > >> > that last bit that would enable me to get the answers for myself... > >> > >> Actually, is it suicide to try and modify > >> /var/lib/heartbe

Re: [Pacemaker] Failed actions: ...not installed

2012-01-24 Thread Dejan Muhamedagic
Hi, On Tue, Jan 24, 2012 at 03:57:05PM +, Stallmann, Andreas wrote: > Hi there, > > thanks for all your suggestions. The problem, as we figured out > (with your help!) was (and somehow still is), that the mysql > monitoring with the test_user and test_passwd does not work. If > you omit those

Re: [Pacemaker] Failed actions: ...not installed

2012-01-24 Thread Dejan Muhamedagic
Hi Attila, On Tue, Jan 24, 2012 at 10:03:17AM +0100, Attila Megyeri wrote: > Hi Andreas, > > I would give it a try from shell. > Set all required environment variables, such as (as in your cib) > > export OCF_ROOT=/usr/lib/ocf > export OCF_RESKEY_binary="/usr/bin/mysqld_safe" > export OCF_RESKEY

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

2012-01-24 Thread Dejan Muhamedagic
On Mon, Jan 23, 2012 at 08:25:32PM +, Reid, Mike wrote: > Dejan, > > > Regarding the stability: In my two node cluster testing, unfortunately > multiple times (on each node) when managing multiple IP Ranges via > unique_clone_address, more than one of the IPs failed to create. The > default m

Re: [Pacemaker] Proposed new stonith topology syntax

2012-01-24 Thread Dejan Muhamedagic
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: > > On Mon, Jan 23, 2012 at 08:55:02AM +1100, Andrew Beekhof wrote: > >> On Sat, Jan 21, 2012 at 12:18 AM, Dejan Muhamedagic > >> wrote:

Re: [Pacemaker] Proposed new stonith topology syntax

2012-01-23 Thread Dejan Muhamedagic
On Mon, Jan 23, 2012 at 08:55:02AM +1100, Andrew Beekhof wrote: > On Sat, Jan 21, 2012 at 12:18 AM, Dejan Muhamedagic > wrote: > > On Fri, Jan 20, 2012 at 01:09:56PM +1100, Andrew Beekhof wrote: > >> On Thu, Jan 19, 2012 at 12:15 AM, Dejan Muhamedagic > >> wrote:

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

2012-01-23 Thread Dejan Muhamedagic
Hi, On Mon, Jan 23, 2012 at 08:05:34PM +, Reid, Mike wrote: > FYI, > > > The solution turned out to be related to IPTABLES rules that were added > using this approach. > By adding a custom IPTables "CLUSTERIP" chain, the firewall started > letting everything through :) > > Unfortunately, it

Re: [Pacemaker] Best setup for lots and lots of IPs

2012-01-23 Thread Dejan Muhamedagic
Hi, On Fri, Jan 20, 2012 at 10:24:08PM +0100, Anton Melser wrote: > On 20 January 2012 19:37, gustavo panizzo wrote: > >> b) (based on the use case of 2000 IP's I'd guess you have at least a > >> /21 public subnet available - or even larger - and based on good > >> practice I'd also guess these

Re: [Pacemaker] Proposed new stonith topology syntax

2012-01-20 Thread Dejan Muhamedagic
On Fri, Jan 20, 2012 at 01:09:56PM +1100, Andrew Beekhof wrote: > On Thu, Jan 19, 2012 at 12:15 AM, Dejan Muhamedagic > wrote: > > On Wed, Jan 18, 2012 at 06:58:20PM +1100, Andrew Beekhof wrote: > >> On Wed, Jan 18, 2012 at 6:00 AM, Dejan Muhamedagic > >> wrote:

Re: [Pacemaker] [PATCH] crm shell (configure node) for Heartbeat stack

2012-01-19 Thread Dejan Muhamedagic
t; > Kazunori INOUE > > > (12.01.19 08:23), Dejan Muhamedagic wrote: > >Hi Kazunori-san, > > > >Can you please test the attached patch. I'm not sure if it covers > >all cases, but I believe that it is the right direction. I tested > >it lightly, but I don&

Re: [Pacemaker] [PATCH] crm shell (configure node) for Heartbeat stack

2012-01-18 Thread Dejan Muhamedagic
s, > Kazunori INOUE > > (11.09.22 19:19), Dejan Muhamedagic wrote: > >Hi Kazunori-san, > > > >On Thu, Sep 22, 2011 at 05:50:53PM +0900, Kazunori INOUE wrote: > >>Hi Dejan, > >> > >>(2011/06/21 21:59), Dejan Muhamedagic wrote: > >>>

Re: [Pacemaker] Proposed new stonith topology syntax

2012-01-18 Thread Dejan Muhamedagic
Hi, On Wed, Jan 18, 2012 at 10:08:28AM -0500, Digimer wrote: > On 01/18/2012 08:15 AM, Dejan Muhamedagic wrote: > >>> Is there a possibility to express > >>> fencing nodes simultaneously? > >> > >> No. Its regular boolean shortcut semantics. > &

Re: [Pacemaker] Proposed new stonith topology syntax

2012-01-18 Thread Dejan Muhamedagic
On Wed, Jan 18, 2012 at 06:58:20PM +1100, Andrew Beekhof wrote: > On Wed, Jan 18, 2012 at 6:00 AM, Dejan Muhamedagic > wrote: > > Hello, > > > > On Tue, Jan 03, 2012 at 05:19:14PM +1100, Andrew Beekhof wrote: > >> Does anyone have an opinion on the following s

Re: [Pacemaker] Proposed new stonith topology syntax

2012-01-17 Thread Dejan Muhamedagic
Hello, On Tue, Jan 03, 2012 at 05:19:14PM +1100, Andrew Beekhof wrote: > Does anyone have an opinion on the following schema and example? > I'm not a huge fan of the index field, but nor am I of making it > sensitive to order (like groups). What is wrong with order in XML elements? It seems like

Re: [Pacemaker] [PATCH 0/2] rsyslog/logrotate configuration snippets

2012-01-17 Thread Dejan Muhamedagic
Hi, On Mon, Jan 16, 2012 at 04:15:20PM +1100, Andrew Beekhof wrote: > On Mon, Jan 16, 2012 at 2:42 PM, Florian Haas wrote: > > On Mon, Jan 16, 2012 at 10:59 AM, Andrew Beekhof wrote: > > > >> By "Nuclear", I meant nothing at all from Pacemaker. > > > > Which is not what it does. > > The daemons

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

2012-01-17 Thread Dejan Muhamedagic
Hi, On Mon, Jan 16, 2012 at 07:48:31PM +, Reid, Mike wrote: > Greetings! I am wondering if anyone here might be familiar with managing IP > ranges in Pacemaker? (e.g. via ocf:heartbeat:IPaddr2 and clone / > globally-unique="true"...I am using Pacemaker v1.0.9) > > The reason I ask is becaus

Re: [Pacemaker] [PATCH 0/2] rsyslog/logrotate configuration snippets

2012-01-12 Thread Dejan Muhamedagic
Hi, On Thu, Jan 12, 2012 at 02:22:53PM +0100, Florian Haas wrote: > On Thu, Jan 12, 2012 at 2:15 PM, Vladislav Bogdanov > wrote: > > I marked that message as "Important" and will include into my builds > > even if it does not go upstream. > > > > One question - does it break default hb_report and

Re: [Pacemaker] need cluster-wide variables

2012-01-10 Thread Dejan Muhamedagic
Hi, On Thu, Jan 05, 2012 at 04:59:13AM +, shashi wrote: > > Its not something we had planned, this is the first time anyone has asked. > > I'd be happy to help point someone on your side in the right > > direction, but if I have to do all of it, you might be waiting a > > while. > > > > Can y

Re: [Pacemaker] Remote CRM shell from LCMC

2012-01-09 Thread Dejan Muhamedagic
Hi Rasto, 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

Re: [Pacemaker] Doc: Resource templates

2011-12-14 Thread Dejan Muhamedagic
Hi Tim, On Wed, Dec 14, 2011 at 06:39:46PM +1100, Tim Serong wrote: > On 12/14/2011 02:57 AM, Dejan Muhamedagic wrote: > >On Tue, Dec 13, 2011 at 04:18:33PM +0800, Gao,Yan wrote: > >>On 12/13/11 04:25, Andrew Beekhof wrote: > >>>On Mon, Dec 12, 2011 at 9:20 PM, Gao

Re: [Pacemaker] Doc: Resource templates

2011-12-13 Thread Dejan Muhamedagic
ve provided a new feature "Resource > >>>>>>> templates" since pacemaker-1.1.6. I made a document about it which is > >>>>>>> meant to be included into "Pacemaker_Explained". I borrowed the > >>>>>>>

Re: [Pacemaker] Doc: Resource templates

2011-12-13 Thread Dejan Muhamedagic
rovided a new feature "Resource > >>> templates" since pacemaker-1.1.6. I made a document about it which is > >>> meant to be included into "Pacemaker_Explained". I borrowed the > >>> materials from Tanja Roth , Thomas Schraitle, (-- the document

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

2011-12-13 Thread Dejan Muhamedagic
On Fri, Dec 09, 2011 at 11:38:22AM +0200, Dan Frincu wrote: > Hi, > [...] > > Just tried it out, and when I do :set filetype=pcmk, vim spews at > > me this: > > > > Error detected while processing /usr/share/vim/vim72/syntax/synload.vim: > > line   58: > > E127: Cannot redefine function 3_SynSet:

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

2011-12-05 Thread Dejan Muhamedagic
Hi, On Tue, Nov 22, 2011 at 07:14:24PM +0200, Dan Frincu wrote: > Hi, > > On Tue, Nov 15, 2011 at 11:47 AM, Raoul Bhatia [IPAX] > wrote: > > hi! > > > > On 2011-08-19 16:28, Dan Frincu wrote: > >> > >> Hi, > >> > >> On Thu, Aug 18, 2011 at 5:53 PM, Digimer  wrote: > >>> > >>> On 08/18/2011 10:3

Re: [Pacemaker] lrmd hanging

2011-11-30 Thread Dejan Muhamedagic
Hi, On Wed, Nov 30, 2011 at 11:16:40AM -0200, coredump wrote: > So last night I was supposed to get a cluster running, everything > worked ok on a virtual environment using the same software and by my > experience I only had to install pacemaker and corosync (from the > ubuntu 10.04 ppa) and get i

Re: [Pacemaker] Auto-complete not working after update 1.0.12 crm/pacemaker

2011-11-25 Thread Dejan Muhamedagic
Hi Martin, On Fri, Nov 25, 2011 at 09:32:15AM +0100, Martin Gombac wrote: > Should i submit a bug report? Yes. I'll try to reproduce and fix, but right now a bit overwhelmed with other obligations. Thanks, Dejan > Martin Gombač > ISG d.o.o. > 00386 (0)1 620 75 03 > > On 24/11/11 1:11 PM, Mart

[Pacemaker] crm shell site announcement

2011-11-24 Thread Dejan Muhamedagic
Hello, The crm shell is the Python based command line interface for Pacemaker (/usr/sbin/crm). It has a new site and Mercurial repository: https://savannah.nongnu.org/projects/crmsh/ http://hg.savannah.gnu.org/hgweb/crmsh/ I didn't create any mailing lists, please use linux-ha or linux-ha-dev fo

Re: [Pacemaker] "static" cluster state?

2011-11-21 Thread Dejan Muhamedagic
On Mon, Nov 21, 2011 at 09:29:24AM +1100, Andrew Beekhof wrote: > Run crmadmin -S for the DC. > If you see S_IDLE its done. Please find a custom shell script attached which I sometimes use for cluster testing. Don't know if that fits your needs. Thanks, Dejan > On Fri, Nov 18, 2011 at 9:12 PM,

Re: [Pacemaker] Regarding Stonith RAs

2011-11-16 Thread Dejan Muhamedagic
tup and see what happens between lines 1137 and 1158. Thanks, Dejan > > Thanks and regards > Neha Chatrath > > > -- > > > > > > Date: Wed, 16 Nov 2011 11:12:12 +0100 > > From: Dejan M

Re: [Pacemaker] Regarding Stonith RAs

2011-11-16 Thread Dejan Muhamedagic
ejan > Kindly please suggest. > > Thanks and regards > Neha Chatrath > > Date: Mon, 14 Nov 2011 15:41:43 +0100 > From: Dejan Muhamedagic > To: The Pacemaker cluster resource manager > > > Subject: Re: [Pacemaker] Regarding Stonith RAs > Message-ID:

Re: [Pacemaker] [Problem]A monitor of Master stops when crm command repeat the movement of the resource.

2011-11-14 Thread Dejan Muhamedagic
states of Master/Slave. > > I tested it. > > And the correction solved a problem. > > > > Best Regards, > > Hideo Yamauchi. > > > > --- On Sat, 2011/11/12, Dejan Muhamedagic wrote: > > > > > Hi Hideo-san, > > > > > > O

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

2011-11-14 Thread Dejan Muhamedagic
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: > > On Mon, Nov 7, 2011 at 8:39 AM, Lars Ellenberg > > wrote: > > > On Thu, Nov 03, 2011 at 01:49:46AM +1100, Andrew Beekhof wrote: > > >> On Tue, Oct 18, 2011 at

Re: [Pacemaker] Regarding Stonith RAs

2011-11-14 Thread Dejan Muhamedagic
Hi, On Mon, Nov 14, 2011 at 02:05:49PM +0530, neha chatrath wrote: > Hello, > I am facing issue in configuring a Stonith resource in my system of cluster > with 2 nodes. > Whenever I try to give the following command: > "crm configure primitive app_fence stonith::external/ipmi params hostname= > g

Re: [Pacemaker] [Problem]A monitor of Master stops when crm command repeat the movement of the resource.

2011-11-11 Thread Dejan Muhamedagic
Hi Hideo-san, On Fri, Nov 11, 2011 at 12:03:28PM +0900, renayama19661...@ybb.ne.jp wrote: > Hi All, > > In the first place lrmd does not return the result of the cancellation > request that made pending. > > However, a result of the cancellation is necessary for crmd. > > Will not the followin

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Dejan Muhamedagic
On Thu, Nov 10, 2011 at 04:10:29PM +0100, Andreas Kurz wrote: > On 11/10/2011 03:45 PM, Dejan Muhamedagic wrote: > > Hi, > > > > On Thu, Nov 10, 2011 at 01:01:12PM +0100, Andreas Kurz wrote: > >> On 11/10/2011 12:48 PM, Dmitry Golubev wrote: > >>> Hi

Re: [Pacemaker] Pure-FTPd resource script is wrong (at least on ubuntu and probably debian)

2011-11-10 Thread Dejan Muhamedagic
On Tue, Nov 08, 2011 at 07:24:48PM +0100, Mailing List SVR wrote: > Il 08/11/2011 16:30, Dejan Muhamedagic ha scritto: >> Hi, >> >> On Mon, Nov 07, 2011 at 06:48:22PM +0100, Mailing List SVR wrote: >>> Hi, >>> >>> thanks for your answer >>&

Re: [Pacemaker] Live migration with order constraints

2011-11-10 Thread Dejan Muhamedagic
Hi, On Thu, Nov 10, 2011 at 01:01:12PM +0100, Andreas Kurz wrote: > On 11/10/2011 12:48 PM, Dmitry Golubev wrote: > > Hi, > > > >>> I am trying to make a live migration of virtual machines (custom resource > >>> agent). The idea is to suspend the virtual machine on one node, remount a > >>> files

Re: [Pacemaker] Resources are not started

2011-11-08 Thread Dejan Muhamedagic
Hi, On Tue, Nov 08, 2011 at 04:46:53PM +0200, Matti Linnanvuori wrote: > Andreas Kurz: > > full logs around this restart would be interesting ... you tested all > > your own OCF scripts with ocf-tester and they are sane? > > Yes, I tested all of our own OCF scripts and they seem to work most of

Re: [Pacemaker] Pure-FTPd resource script is wrong (at least on ubuntu and probably debian)

2011-11-08 Thread Dejan Muhamedagic
Hi, On Mon, Nov 07, 2011 at 06:48:22PM +0100, Mailing List SVR wrote: > Hi, > > thanks for your answer > > Il 07/11/2011 18:27, Dejan Muhamedagic ha scritto: >> Hi, >> >> On Sat, Nov 05, 2011 at 10:26:12PM +0100, Mailing List SVR wrote: >>> Hi, >

Re: [Pacemaker] Pure-FTPd resource script is wrong (at least on ubuntu and probably debian)

2011-11-07 Thread Dejan Muhamedagic
Hi, On Sat, Nov 05, 2011 at 10:26:12PM +0100, Mailing List SVR wrote: > Hi, > > the script doesn't create the pid file directory if missing and so None of the resource agents does that. Anyway, it needs to be created just once per node and arguably it should be part of deployment. Note that the

Re: [Pacemaker] location setting with parenthesis

2011-11-07 Thread Dejan Muhamedagic
Hi, On Wed, Nov 02, 2011 at 05:56:20PM +0900, Junko IKEDA wrote: > Hi, > > I read the following "CRM CLI (command line interface) tool" document. > http://www.clusterlabs.org/doc/crm_cli.html#cmdhelp_configure_location > > It seems that parenthesis is available for "colocation" or "order" > conf

Re: [Pacemaker] add resource name after $__SCRIPT_NAME[$$] in .ocf-directories

2011-11-07 Thread Dejan Muhamedagic
Hi, On Wed, Nov 02, 2011 at 01:48:59PM +, Janec, Jozef wrote: > Hello All, > > Is possible configure or modify .ocf-directories file to get lines with: > > Nov 01 12:58:10 node1 SAPInstance[30355]: [30399]: INFO: message > > To: > > Nov 01 12:58:10 node1 SAPInstance[30355][resource_name]:

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

2011-11-07 Thread Dejan Muhamedagic
On Fri, Nov 04, 2011 at 02:32:07PM +0100, Bernd Helber wrote: > > Hi, > > > Hi Dejan, > thanks for the quick Response. > > > On Tue, Nov 01, 2011 at 12:25:54PM +0100, Bernd Helber wrote: > > > Hi List. > > > > > > i use a IPaddr Ressource with local_start_script Value. > > > I'm kind a wondered

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

2011-11-03 Thread Dejan Muhamedagic
Hi, On Tue, Nov 01, 2011 at 12:25:54PM +0100, Bernd Helber wrote: > Hi List. > > i use a IPaddr Ressource with local_start_script Value. > I'm kind a wondered, cause if i trigger thoses scripts, from the Console > it works like a charme. > > If i trigger it from the Cluster to failover, it to th

Re: [Pacemaker] Anybody successful with SBD on Debian?

2011-11-03 Thread Dejan Muhamedagic
Hi, On Fri, Oct 21, 2011 at 11:36:06AM -0500, mark - pacemaker list wrote: > Hello, > > I'm trying to get stonith via SBD working on Debian Squeeze. All of the > components seem to be there, and I've very carefully followed the guide at > http://www.linux-ha.org/wiki/SBD_Fencing . Where things s

Re: [Pacemaker] "crm status" cmd not running through cron job

2011-10-31 Thread Dejan Muhamedagic
Hi, On Sat, Oct 29, 2011 at 02:10:22PM +0200, Tom Tux wrote: > Looks like a environment-(path)-problem. Can you set the same paths in Yes, most probably... > the script as you have as user "root"? > > Do this with "export PATH=$PATH:/usr/sbin." > > Regards, > Tom > > 2011/10/28 ihjaz Moha

Re: [Pacemaker] Cluster goes to (unmanaged) Failed state when both nodes are rebooted together

2011-10-25 Thread Dejan Muhamedagic
Hi, On Tue, Oct 25, 2011 at 07:52:16PM +0530, ihjaz Mohamed wrote: > Hi, > > I've tried moving the corosync startup from S20 to S98 but the issue is still > there. > > Maybe I'll have to remove it from init and write an upstart for corosync. I'm afraid that quorum ignore and no stonith combina

Re: [Pacemaker] stonith_admin problems with Redhat6

2011-10-19 Thread Dejan Muhamedagic
Hi, On Wed, Oct 19, 2011 at 09:48:24AM +0300, sagar.shi...@tieto.com wrote: > Hi, > > Can anyone please share the link for the download, as I am not able to found > the pacemaker version 1.1.7 on Git. The latest Pacemaker release is 1.1.6. Thanks, Dejan > Following is the link for the pacema

Re: [Pacemaker] [PATCH] crm shell: improve sanity check for start/stop interval parameter

2011-10-14 Thread Dejan Muhamedagic
Hi Keisuke-san, On Fri, Oct 14, 2011 at 06:34:10PM +0900, Keisuke MORI wrote: > Hi, > > The recent crm shell does sanity checks for parameters, which is great, > but if you specify interval="0s" in start or stop operation it > complains with this warning: > > WARNING: dummy01: Specified interval

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

2011-10-12 Thread Dejan Muhamedagic
Hi, On Wed, Oct 12, 2011 at 05:28:47PM +0200, Amar Prasovic wrote: > Hello everyone, > > I've found one nginx OCF script online and decided to use it since no > default script is provided. > Here is the script I am using: > > http://pastebin.com/CCApckew You can always get the latest nginx rele

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

2011-10-05 Thread Dejan Muhamedagic
On Fri, Sep 16, 2011 at 05:33:48PM +0200, Lars Ellenberg wrote: > On Fri, Sep 16, 2011 at 05:02:52PM +0200, Dejan Muhamedagic wrote: > > Hi Thilo, > > > > On Fri, Sep 16, 2011 at 04:41:59PM +0200, Thilo Uttendorfer wrote: > > > Hi, > > > > > > I e

Re: [Pacemaker] Dual-Primary DRBD with OCFS2 on SLES 11 SP1

2011-10-03 Thread Dejan Muhamedagic
said that that won't do for vmware. external/vcenter for vmware. Or external/vmware, though people keep complaining that that doesn't work. I haven't used it myself. Thanks, Dejan > Again, this is just for the prototype. > > Cheers, > > Nick. > > On Thu, S

Re: [Pacemaker] Dual-Primary DRBD with OCFS2 on SLES 11 SP1

2011-10-03 Thread Dejan Muhamedagic
o working on the same type of setup as a prototype. > What is the best way to get stonith included for VM setups? Maybe an SSH > stonith? > Again, this is just for the prototype. > > Cheers, > > Nick. > > On Thu, Sep 29, 2011 at 9:28 AM, Dejan Muhamedagic > wrote:

Re: [Pacemaker] 4 servers; different resources on different servers?

2011-10-03 Thread Dejan Muhamedagic
Hi, On Mon, Oct 03, 2011 at 12:47:28PM -0400, Nick Khamis wrote: > Hello Dejan, > > Being new to Pacemaker myself, I found it hard to grasp the config > outside of primitives. > Can you please refer us to documentation that provides us with > explanation regarding > location, colocation, -inf, in

Re: [Pacemaker] Concurrent runs of 'crm configure primitive' interfering

2011-10-03 Thread Dejan Muhamedagic
On Wed, Sep 28, 2011 at 10:52:16AM -0400, Brian J. Murrell wrote: > On 11-09-28 10:20 AM, Dejan Muhamedagic wrote: > > Hi, > > Hi, > > > I'm really not sure. Need to investigate this area more. > > Well, I am experimenting with cibadmin. It's certai

Re: [Pacemaker] 4 servers; different resources on different servers?

2011-10-03 Thread Dejan Muhamedagic
Hi, On Sun, Oct 02, 2011 at 10:20:34AM +0200, Tomasz Chmielewski wrote: > I want to build a cluster of 4 servers (servers A, B, C, D), with > different resources on them (mysql, webserver): > > webservers: A B C D > mysql: A B > > > Is there a way to make Pacemaker/heartbeat to let assign MyS

Re: [Pacemaker] unmanaged a resource

2011-10-03 Thread Dejan Muhamedagic
Hi, On Mon, Oct 03, 2011 at 03:19:54PM +0200, Hugo Deprez wrote: > Dear community, > > I have a cluster with DRBD and apache2 resources. > > I wanted to do some test with apache2, I knew that my test could break > apache2. > Hence I did a > > #crm resource unamange apache2 > > > The resource

Re: [Pacemaker] Master won't get promoted

2011-10-03 Thread Dejan Muhamedagic
ailed node > if the drbd sync connection is down. > > Thanks, > Charles > > On Thu, Sep 29, 2011 at 10:25 AM, Dejan Muhamedagic > wrote: > > > Hi, > > > > On Thu, Sep 29, 2011 at 09:30:55AM -0300, Charles Richard wrote: > > > Here it is attached. &

Re: [Pacemaker] Dual-Primary DRBD with OCFS2 on SLES 11 SP1

2011-09-29 Thread Dejan Muhamedagic
Hi Darren, On Thu, Sep 29, 2011 at 02:15:34PM +0100, darren.mans...@opengi.co.uk wrote: > (Originally sent to DRBD-user, reposted here as it may be more relevant) > > > > > Hello all. > > > > I'm implementing a 2-node cluster using Corosync/Pacemaker/DRBD/OCFS2 > for dual-primary shared F

Re: [Pacemaker] Master won't get promoted

2011-09-29 Thread Dejan Muhamedagic
Hi, On Thu, Sep 29, 2011 at 09:30:55AM -0300, Charles Richard wrote: > Here it is attached. > > I also see the following 2 errors in the node 2 logs which I assume mean the > problem is really that node1 is not getting demoted and I'm not sure why: > > Error 1: > Sep 28 19:53:20 staging2 drbd[85

Re: [Pacemaker] Concurrent runs of 'crm configure primitive' interfering

2011-09-28 Thread Dejan Muhamedagic
Hi, On Wed, Sep 28, 2011 at 09:12:57AM -0400, Brian J. Murrell wrote: > On 11-09-16 11:14 AM, Dejan Muhamedagic wrote: > > On Thu, Sep 08, 2011 at 03:41:42PM +0100, John Spray wrote: > > > >> * Is there another way of adding resources which would be safe wh

Re: [Pacemaker] migration fix for ocf:heartbeat:Xen

2011-09-23 Thread Dejan Muhamedagic
On Tue, Aug 23, 2011 at 03:54:35PM +, Daugherity, Andrew W wrote: > > Message: 7 > > Date: Thu, 11 Aug 2011 21:07:00 + > > From: "Daugherity, Andrew W" > > To: "pacemaker@oss.clusterlabs.org" > > Subject: [Pacemaker] migration fix for ocf:heartbeat:Xen > > Message-ID: <93b5e618-ad19-4993-

Re: [Pacemaker] migration fix for ocf:heartbeat:Xen

2011-09-23 Thread Dejan Muhamedagic
Hi, On Thu, Aug 11, 2011 at 09:07:00PM +, Daugherity, Andrew W wrote: > I have discovered that sometimes when migrating a VM, the migration itself > will succeed, but the migrate_from call on the target node will fail, as > apparently the status hasn't settled down yet. This is more likely

Re: [Pacemaker] Fencing xen-server host

2011-09-22 Thread Dejan Muhamedagic
Hi, On Thu, Sep 22, 2011 at 10:56:57AM +0200, Fiorenza Meini wrote: > Hi there, > I found this: > > http://code.google.com/p/fence-xenserver/wiki/Installation > > I installed on my test cluster system and from command line it works > properly, but I have problem while configuring it as primitive

Re: [Pacemaker] [PATCH] crm shell (configure node) for Heartbeat stack

2011-09-22 Thread Dejan Muhamedagic
Hi Kazunori-san, On Thu, Sep 22, 2011 at 05:50:53PM +0900, Kazunori INOUE wrote: > Hi Dejan, > > (2011/06/21 21:59), Dejan Muhamedagic wrote: >> Hi Kazunori-san, >> >> Apologies for not getting back to you sooner. >> >> On Mon, Jun 06, 2011 at 06:17:3

Re: [Pacemaker] apache service started with different options on failover

2011-09-19 Thread Dejan Muhamedagic
Hi, On Sun, Sep 18, 2011 at 05:29:56PM +0200, Filip Sakáloš wrote: > > Hello there, > > > > I am currently developing a cluster, which main principle is to run some > > resources on one node and another resources on another node. This is quite > > simple to configure, but I have encountered a p

Re: [Pacemaker] postponed execution of operations

2011-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 08, 2011 at 08:04:03PM +0200, Thilo Uttendorfer wrote: > Hello, > > I have sometimes failed resoucres in a heartbeat/pacemaker/drbd cluster. It > seems that it happens randomly. The log > file for such a resource looks like this (I did a grep on "34401" in this > example): > >

Re: [Pacemaker] Concurrent runs of 'crm configure primitive' interfering

2011-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 08, 2011 at 03:41:42PM +0100, John Spray wrote: > Hi, > > I have some scripts which configure resources across a number of nodes > in a cluster. I'm finding that when more than one "crm configure > primitive" invokation is run at the same time, they sometimes > interfere with eac

Re: [Pacemaker] Stonith device external/libvirt

2011-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 15, 2011 at 10:56:52AM +0200, Fiorenza Meini wrote: > Hi there, > I'm trying to configure stonith environment on my test cluster: I have a > xenserver where are running several machines, on the virtual machine I > configured the cluster. > I'm wondering if the device external/

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

2011-09-16 Thread Dejan Muhamedagic
Hi Thilo, On Fri, Sep 16, 2011 at 04:41:59PM +0200, Thilo Uttendorfer wrote: > Hi, > > I experience a lot of "WARN" log entries in several pacemaker cluster setups: > > Sep 16 11:53:21 server01 lrmd: [23946]: WARN: Managed res1:0:monitor process > 26489 exited with return code 8. > > That's be

Re: [Pacemaker] Compile Error on Debian

2011-09-16 Thread Dejan Muhamedagic
ttachments.gnome.org/attachment.cgi?id=158740, today. > > Thanks Guys, > > Nick. > > On Fri, Sep 16, 2011 at 4:43 AM, Dan Frincu wrote: > > Hi, > > > > On Fri, Sep 16, 2011 at 10:56 AM, Dejan Muhamedagic > > wrote: > >> Hi, > >> > &

Re: [Pacemaker] Compile Error on Debian

2011-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 15, 2011 at 06:06:31PM -0400, Nick Khamis wrote: > Hello Everyone, > > Using tip 1.0.7 I get: > > pes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror -MT > pils.lo -MD -MP -MF .deps/pils.Tpo -c pils.c -fPIC -DPIC -o > .libs/pils.o > cc1: warnings being treated as errors

Re: [Pacemaker] The state of the sg_persist RA (SCSI3 reservations)

2011-09-14 Thread Dejan Muhamedagic
Hi, On Thu, Sep 01, 2011 at 02:11:11PM +, Max Williams wrote: > Hi All, > I am wondering if there has been any further testing or development of the > sg_persist RA over the last 6 months? > Link here: > https://github.com/nif/ClusterLabs__resource-agents/commit/d0c46fb35338d28de3e2c20c11d0ad

Re: [Pacemaker] Odd colocation behaviour with master/slave resource

2011-09-14 Thread Dejan Muhamedagic
Hi, On Fri, Aug 26, 2011 at 05:07:13PM -0600, Chris Redekop wrote: > I'm attempting to set up a master/slave database cluster where the master is > R/W and the slave is R/O. The master failure scenario works fine (slave > becomes master, master vip moves over)however when the slave resource >

Re: [Pacemaker] [semi-OT] Novell BugZilla / Xen migration fix

2011-08-30 Thread Dejan Muhamedagic
Hi, On Mon, Aug 29, 2011 at 05:34:16PM +, Daugherity, Andrew W wrote: > I see this in the slessp1-xen-201107 patch info: > * bnc#704160 - crm resource migrate fails with xen machines > > and can't help but wonder if this is related to what I encountered and fixed > a different way (in th

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

2011-08-25 Thread Dejan Muhamedagic
Hi, On Tue, Aug 23, 2011 at 11:15:09AM +0530, rakesh k wrote: > Hi > > I am using Heartbeat(3.0.3) and pacemaker (1.0.9). > > We are facing the following issue. Please find the details. > > we had installed heartbeat and pacemaker,on the uinux BOX(CENT OS operation > system). > > we had create

Re: [Pacemaker] crm load replace issue

2011-08-19 Thread Dejan Muhamedagic
Hi, On Wed, Aug 10, 2011 at 12:43:25PM -0500, Schaefer, Diane E wrote: > Hi, > I have two sets of 2 node clusters, one set up for disaster recovery. I am > attempting to backup my cluster from the production system and load the > definitions into the DR cluster. The systems are named the sam

Re: [Pacemaker] "crm resource restart" does not work on the DC node with crmd-transtion-delay="2s"

2011-08-17 Thread Dejan Muhamedagic
Hi Kazutomo-san, On Tue, Aug 02, 2011 at 06:12:12PM +0900, NAKAHIRA Kazutomo wrote: > Hi, Andrew > > (2011/08/01 12:13), Andrew Beekhof wrote: > >2011/7/27 NAKAHIRA Kazutomo: > >>Hi, all > >> > >>I configured crmd-transition-delay="2s" to address the following problem. > >> > >> http://www.gossa

Re: [Pacemaker] wchih user's path is called from getenv("PATH")/external.c

2011-08-16 Thread Dejan Muhamedagic
Hi, On Mon, Aug 15, 2011 at 06:22:23PM +0900, Junko IKEDA wrote: > Hi, > > I am trying to setup external/ipmi configuration, > and binary path for ipmi is "/tmp/impi", for example. The plugins path is fixed. You cannot have more than one. I'm not sure, but it could be that it's possible to have

Re: [Pacemaker] Patch for bugzilla 2541: Shell should warn if parameter uniqueness is violated

2011-06-29 Thread Dejan Muhamedagic
tonith-ipmi-1,stonith-ipmi-2 violate uniqueness for > > parameter "interface": "lanplus" > > WARNING: Resources stonith-ipmi-1,stonith-ipmi-2 violate uniqueness for > > parameter "userid": "X" > > Do you still want to commit? yes > &

Re: [Pacemaker] Problem with Web Site start

2011-06-28 Thread Dejan Muhamedagic
Hi, On Tue, Jun 28, 2011 at 09:58:47AM +0200, Alfredo Parisi wrote: > Hi at all, tomorrow i've this problem...web site doesn't start and > i've these errors. > Where can I check to resolve it? Thank you. > > > Last updated: Tue Jun 28 09:57:17 2011 > Stack: openais > Current DC: serv

Re: [Pacemaker] IPC Channel is not connected

2011-06-28 Thread Dejan Muhamedagic
some client. Otherwise, your cluster will be in a yo-yo mode. Thanks, Dejan > > Christian > > -Original Message- > From: Dejan Muhamedagic [mailto:deja...@fastmail.fm] > Sent: Montag, 27. Juni 2011 14:44 > To: The Pacemaker cluster resource manager > Subject:

Re: [Pacemaker] IPC Channel is not connected

2011-06-27 Thread Dejan Muhamedagic
Hi, On Mon, Jun 27, 2011 at 08:17:38AM -0400, imnotpc wrote: > On Monday, June 27, 2011 08:08:46 Dejan Muhamedagic wrote: > > Hi, > > > > On Mon, Jun 27, 2011 at 10:42:46AM +0200, Kulovits Christian - OS ITSC > wrote: > > > Hello > > > > > >

Re: [Pacemaker] IPC Channel is not connected

2011-06-27 Thread Dejan Muhamedagic
Hi, On Mon, Jun 27, 2011 at 10:42:46AM +0200, Kulovits Christian - OS ITSC wrote: > Hello > > In the corosync log file i can find many lines like this: > > Jun 27 10:38:41 amosn3 cib: [1842]: WARN: send_ipc_message: IPC Channel to > 414 is not connected > > Any idea what this means? Probably

Re: [Pacemaker] Location score inf doesn't mean 'must'

2011-06-24 Thread Dejan Muhamedagic
On Tue, Jun 21, 2011 at 11:41:56AM +0200, Pawel Warowny wrote: > Dnia Thu, 16 Jun 2011 15:57:21 +0200 > Dejan Muhamedagic napisał(a): > > Hi > > > > Apart of this, why node lolek before starting i-must-start-last > > > resource stopping and starting al

Re: [Pacemaker] stonith xenU

2011-06-24 Thread Dejan Muhamedagic
On Thu, Jun 16, 2011 at 05:55:08PM +0300, Aleksey Mykhailov wrote: > On Thu, Jun 16, 2011 at 5:03 PM, Dejan Muhamedagic wrote: > > > On Thu, Jun 16, 2011 at 03:21:47PM +0300, Aleksey Mykhailov wrote: > > > Hello! > > > > > > I've two node cluster creat

Re: [Pacemaker] Quorum contradiction?

2011-06-22 Thread Dejan Muhamedagic
Hi, On Wed, Jun 22, 2011 at 08:40:23AM -0400, Ciro Iriarte wrote: > Hi, I'm running my first Corosync based cluster and I'm seeing > something odd (maybe I didn't get it right), Pacemaker tells me that > two nodes are present, but corosync gives me 0 votos a no nodes, is > this expected (corosync

Re: [Pacemaker] [PATCH] crm shell (configure node) for Heartbeat stack

2011-06-22 Thread Dejan Muhamedagic
return self.add_op(cli_list) > if obj_type == "node": > +replace_node_id(cli_list) > +obj_id = find_value(head[1],"id") > obj = self.find_object(obj_id) > # make an exception and allow updating nodes >

Re: [Pacemaker] How to tell pacemaker to start exportfs after filesystem resource

2011-06-21 Thread Dejan Muhamedagic
On Tue, Jun 21, 2011 at 08:30:39PM +0200, Pawel Warowny wrote: > Dnia Tue, 21 Jun 2011 16:23:07 +0200 > Dejan Muhamedagic napisał(a): > > Hi > > Sorry to bother in this thread, but: > > > If you need to do so (there's actually start-delay, but it > > s

Re: [Pacemaker] How to tell pacemaker to start exportfs after filesystem resource

2011-06-21 Thread Dejan Muhamedagic
Hi Vladislav, On Tue, Jun 21, 2011 at 05:38:21PM +0300, Vladislav Bogdanov wrote: > 21.06.2011 17:23, Dejan Muhamedagic wrote: > > On Tue, Jun 21, 2011 at 06:10:16PM +0400, Aleksander Malaev wrote: > >> How can I check this? > >> If I don't add this exportfs res

Re: [Pacemaker] How to tell pacemaker to start exportfs after filesystem resource

2011-06-21 Thread Dejan Muhamedagic
e cluster services supporting ocfs2 are not fast enough. At any rate, Filesystem shouldn't start before the filesystem is really mounted. If so, please file a bugzilla for it and attach hb_report of the incident. Thanks, Dejan > 2011/6/21 Dejan Muhamedagic > > > On Tue, Jun 2

Re: [Pacemaker] How to tell pacemaker to start exportfs after filesystem resource

2011-06-21 Thread Dejan Muhamedagic
al. If it's not, then the RA is broken. Thanks, Dejan > 2011/6/21 Dejan Muhamedagic > > > Hi, > > > > On Mon, Jun 20, 2011 at 11:40:04PM +0400, Александр Малаев wrote: > > > Hello, > > > > > > I have configured pacemaker+ocfs2 cluster with s

Re: [Pacemaker] Make resources more important than others

2011-06-21 Thread Dejan Muhamedagic
On Tue, Jun 21, 2011 at 01:54:53PM +0100, Luke Bigum wrote: > On 21/06/11 13:41, Dejan Muhamedagic wrote: >> Hi, >> >> On Thu, Jun 02, 2011 at 08:44:46AM +0100, Luke Bigum wrote: >>> Hi list, >>> >>> I have a conceptual question about making Pacemak

Re: [Pacemaker] Groups

2011-06-21 Thread Dejan Muhamedagic
Hi, On Mon, Jun 20, 2011 at 07:27:29PM +0400, Proskurin Kirill wrote: > Hello all! > > I`m new to pacemakers and have a small question. > I want what my resource will be run on all nodes except some. > > For example we have 10 nodes: node1-10 > I want it running on node1-5 but not on node5-10. > I

Re: [Pacemaker] [PATCH] crm shell (configure node) for Heartbeat stack

2011-06-21 Thread Dejan Muhamedagic
Hi Kazunori-san, Apologies for not getting back to you sooner. On Mon, Jun 06, 2011 at 06:17:31PM +0900, Kazunori INOUE wrote: > Hi, > > (2011/05/27 19:32), Lars Ellenberg wrote: >> >> Oh no. >> Now you have duplicated all nodes, and will always get "unclean" nodes. >> >> Is this some variant of:

Re: [Pacemaker] Make resources more important than others

2011-06-21 Thread Dejan Muhamedagic
Hi, On Thu, Jun 02, 2011 at 08:44:46AM +0100, Luke Bigum wrote: > Hi list, > > I have a conceptual question about making Pacemaker treat some resources > a lot more important than others. I'm afraid the answer is going to come > back "sorry you can't", but I just want to confirm. You were (mo

Re: [Pacemaker] multiple cib in one pacemaker installation

2011-06-21 Thread Dejan Muhamedagic
Hi, On Thu, Jun 02, 2011 at 02:51:24PM +0400, ruslan usifov wrote: > Hello > > Is it possible have multiple cib in one cluster installation. I try to > describe what i want: > > > For example we have multiple undependable resources (as resource i mean here > ip address files system + service (l

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