[Pacemaker] Stonith / Fencing

2011-09-28 Thread Fiorenza Meini
Hi there, I'm working on stonith on my test cluster. It has, to me, a strange behaviour: when the condition to fence the other node happens, is it normal that both primary/secondary node fences the other one? I thought that the primary should fence the secondary, as it is the master at drbd

Re: [Pacemaker] pacemaker/dlm problems

2011-09-28 Thread Vladislav Bogdanov
Hi, 27.09.2011 10:56, Andrew Beekhof wrote: [snip] All the more reason to start using the stonith api directly. I was playing around list night with the dlm_controld.pcmk code: https://github.com/beekhof/dlm/commit/9f890a36f6844c2a0567aea0a0e29cc47b01b787 Doesn't seem to apply to 3.0.17,

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 when run concurrently? cibadmin. But

Re: [Pacemaker] [Partially SOLVED] pacemaker/dlm problems

2011-09-28 Thread Vladislav Bogdanov
Hi Andrew, All the more reason to start using the stonith api directly. I was playing around list night with the dlm_controld.pcmk code: https://github.com/beekhof/dlm/commit/9f890a36f6844c2a0567aea0a0e29cc47b01b787 Doesn't seem to apply to 3.0.17, so I rebased that commit against it

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

2011-09-28 Thread Brian J. Murrell
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 certainly not as nice and shiny as crm shell though. :-) cibadmin talks to the cib (the process) and cib should allow only one

Re: [Pacemaker] Reloading a resource after a failover

2011-09-28 Thread Trevor Hemsley
Max Williams wrote: Hi, I have a pair of clustered DNS servers with a virtual IP (VIP) configured. The problem is that when the VIP fails over, named on the new host of the VIP will not listen on port 53/UDP of the VIP until it is reloaded (I think this is because this daemon uses UDP, not

Re: [Pacemaker] Reloading a resource after a failover

2011-09-28 Thread Rainer Weikusat
Max Williams max.willi...@betfair.com writes: I have a pair of clustered DNS servers with a virtual IP (VIP) configured. The problem is that when the VIP fails over, named on the new host of the VIP will not listen on port 53/UDP of the VIP until it is reloaded (I think this is because this

Re: [Pacemaker] Reloading a resource after a failover

2011-09-28 Thread Serge Dubrouski
Put bind itself under pacemaker control. You can use LSB RA or OCF RA that I recently created. On Sep 28, 2011 10:46 AM, Max Williams max.willi...@betfair.com wrote: Hi, I have a pair of clustered DNS servers with a virtual IP (VIP) configured. The problem is that when the VIP fails over, named

[Pacemaker] Configuring Pacemaker DRBD

2011-09-28 Thread Cliff Massey
I'm trying to configure Pacemaker to manage a drbd resource on a two-node RHEL 6 cluster by the following guide: http://www.clusterlabs.org/wiki/DRBD_HowTo_1.0 drbd is 8.04 and works outside of Pacemaker. My configuration is very simple: primitive convirt_drbd ocf:linbit:drbd \

Re: [Pacemaker] When a disk becomes to the full, memory leak happens in pengine of the DC.

2011-09-28 Thread Yuusuke IIDA
Hi, Andrew Thank you for a reply. I understood that it was not a problem of pacemaker. I spend it for the capacity of the disk carefully. Thanks, Yuusuke (2011/09/26 16:20), Andrew Beekhof wrote: This looks like a libbz2 bug to me. We're cleaning up the string we're writing out and calling

Re: [Pacemaker] Can't failover Master/Slave with group(primitive x3) setting

2011-09-28 Thread Andrew Beekhof
On Tue, Sep 27, 2011 at 2:31 PM, Junko IKEDA tsukishima...@gmail.com wrote: Hi, Which version did you check? Pacemaker 1.0.11. I meant of 1.1 since you said: Pacemaker 1.1 shows the same behavior. The latest from git seems to work fine: Current cluster status: Online: [ bl460g1n13

Re: [Pacemaker] resource moving unnecessarily due to ping race condition

2011-09-28 Thread Andrew Beekhof
On Tue, Sep 27, 2011 at 10:40 PM, Brad Johnson bjohn...@ecessa.com wrote: The patch alone does not give an advantage to the active node. But remember I said we are using an fping resource agent we wrote that varies the dampening based on which node it is running on and whether the score is

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

2011-09-28 Thread Andrew Beekhof
On Wed, Sep 28, 2011 at 11:12 PM, Brian J. Murrell br...@interlinx.bc.ca 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 when run concurrently? cibadmin. But