Re: [Pacemaker] added a function to show crm_mon a ticket.

2012-03-20 Thread Yuusuke Iida
Hi, Andrew I understood it. I make it again after waiting for the change of the status section. Thanks, Yuusuke (2012/03/21 11:17), Andrew Beekhof wrote: We might want to hold off on this, Yan is thinking about some changes to the status section which would impact this. On Wed, Mar 21, 2012 a

Re: [Pacemaker] added a function to show crm_mon a ticket.

2012-03-20 Thread Andrew Beekhof
We might want to hold off on this, Yan is thinking about some changes to the status section which would impact this. On Wed, Mar 21, 2012 at 1:13 PM, Yuusuke Iida wrote: > Hi, Andrew > > I increased a function to display the information of the ticket in crm_mon. > > How to use is as follows. > A

[Pacemaker] added a function to show crm_mon a ticket.

2012-03-20 Thread Yuusuke Iida
Hi, Andrew I increased a function to display the information of the ticket in crm_mon. How to use is as follows. A short option: -c A long option: --show-tickets Example of the indication # crm_mon -c1 Last updated: Mon Mar 19 14:36:25 2012 Last change: Mon Mar 19 13:52:43 2012 via

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

2012-03-20 Thread Andrew Beekhof
On Wed, Mar 21, 2012 at 8:46 AM, Lars Ellenberg wrote: > On Sun, Mar 18, 2012 at 11:53:11PM +, Roman Sidler wrote: >> Hi all >> No, we have no crossover cable between the nodes. >> The 2 nodes are linked by a switched network, and this works really fine >> except >> the mentioned case. >> >>

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

2012-03-20 Thread Lars Ellenberg
On Sun, Mar 18, 2012 at 11:53:11PM +, Roman Sidler wrote: > Hi all > No, we have no crossover cable between the nodes. > The 2 nodes are linked by a switched network, and this works really fine > except > the mentioned case. > > It's rather easy to reproduce. > 1. Activate a 2-node cluster

Re: [Pacemaker] fence_legacy, stonith and apcmastersnmp

2012-03-20 Thread Andrew Beekhof
2012/3/5 Kadlecsik József : > On Mon, 5 Mar 2012, Andrew Beekhof wrote: > >> 2012/3/2 Kadlecsik József : >> > On Fri, 2 Mar 2012, Andrew Beekhof wrote: >> > >> >> 2012/3/2 Kadlecsik József : >> >> > >> >> > After upgrading to pacemaker 1.1.6, cluster-glue 1.0.8 on Debian, our >> >> > working apcmas

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

2012-03-20 Thread Andreas Kurz
On 03/20/2012 04:14 PM, Mathias Nestler wrote: > Hi Dejan, > > On 20.03.2012, at 15:25, Dejan Muhamedagic wrote: > >> Hi, >> >> On Tue, Mar 20, 2012 at 08:52:39AM +0100, Mathias Nestler wrote: >>> On 19.03.2012, at 20:26, Florian Haas wrote: >>> On Mon, Mar 19, 2012 at 8:14 PM, Mathias Nestl

[Pacemaker] Resource Agent ethmonitor

2012-03-20 Thread Fiorenza Meini
Hi there, has anybody configured successfully the RA specified in the object of the message? I got this error: if_eth0_monitor_0 (node=fw1, call=2297, rc=-2, status=Timed Out): unknown exec error The RA definition in CIB is: primitive if_eth0 ocf:heartbeat:ethmonitor \ params interf

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

2012-03-20 Thread Mathias Nestler
Hi Dejan, On 20.03.2012, at 15:25, Dejan Muhamedagic wrote: > Hi, > > On Tue, Mar 20, 2012 at 08:52:39AM +0100, Mathias Nestler wrote: >> On 19.03.2012, at 20:26, Florian Haas wrote: >> >>> On Mon, Mar 19, 2012 at 8:14 PM, Mathias Nestler >>> wrote: Hi everyone, I am trying to

Re: [Pacemaker] Using shadow configurations noninteractively

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

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

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

Re: [Pacemaker] How can I preview the shadow configuration?

2012-03-20 Thread Florian Haas
On Tue, Mar 20, 2012 at 11:15 AM, Rasto Levrinc wrote: > 2012/3/20 Mars gu : >> Hi, >>     I want to excute the command ,the problem occurred: >> >> [root@h10_148 ~]# ptest >> -bash: ptest: command not found >> >> How can I preview the shadow configuration? > > ptest has been replaced by crm_simul

Re: [Pacemaker] Migration atomicity

2012-03-20 Thread Lars Marowsky-Bree
On 2012-03-20T11:42:08, Andrew Beekhof wrote: > > I'm observing a little bit unintuitive behavior of migration logic when > > transition is aborted (due to CIB change) in the middle of the resource > > migration. > > > > That is: > > 1. nodea: migrate_to nodeb > > 2. transition abort > > 3. nodeb

Re: [Pacemaker] How can I preview the shadow configuration?

2012-03-20 Thread Rasto Levrinc
On Tue, Mar 20, 2012 at 11:20 AM, Lars Marowsky-Bree wrote: > On 2012-03-20T11:15:53, Rasto Levrinc wrote: > >> ptest has been replaced by crm_simulate. Also -L option in crm_simulate can >> crash, so don't use that, also there can be wrong option in crm shell, so >> you may see weird XML errors.

Re: [Pacemaker] How can I preview the shadow configuration?

2012-03-20 Thread Lars Marowsky-Bree
On 2012-03-20T11:15:53, Rasto Levrinc wrote: > ptest has been replaced by crm_simulate. Also -L option in crm_simulate can > crash, so don't use that, also there can be wrong option in crm shell, so > you may see weird XML errors. What's up with the latter? Is there a bug report? Regards,

Re: [Pacemaker] How can I preview the shadow configuration?

2012-03-20 Thread Rasto Levrinc
2012/3/20 Mars gu : > Hi, >     I want to excute the command ,the problem occurred: > > [root@h10_148 ~]# ptest > -bash: ptest: command not found > > How can I preview the shadow configuration? ptest has been replaced by crm_simulate. Also -L option in crm_simulate can crash, so don't use that, al

[Pacemaker] How can I preview the shadow configuration?

2012-03-20 Thread Mars gu
Hi, I want to excute the command ,the problem occurred: [root@h10_148 ~]# ptest -bash: ptest: command not found How can I preview the shadow configuration? [root@h10_148 ~]# rpm -q pacemaker pacemaker-1.1.5-8.el6.x86_64 Thanks. ___ Pacemake

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

2012-03-20 Thread Mathias Nestler
On 19.03.2012, at 20:26, Florian Haas wrote: > On Mon, Mar 19, 2012 at 8:14 PM, Mathias Nestler > wrote: >> Hi everyone, >> >> I am trying to setup an active/passive (2 nodes) Linux-HA cluster with >> corosync and pacemaker to hold a PostgreSQL-Database up and running. It >> works via DRBD and