Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-09 Thread Dejan Muhamedagic
On Mon, Nov 08, 2010 at 10:48:13PM +0100, Dejan Muhamedagic wrote: > On Thu, Nov 04, 2010 at 10:50:53AM +0100, Eberhard Kuemmerle wrote: > > On 3 Nov 2010 19:21, Dejan Muhamedagic wrote: > > >> There are still some strange entries in /var/log/messages, but the > > >> STONITH action is performed cor

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-08 Thread Dejan Muhamedagic
On Thu, Nov 04, 2010 at 10:50:53AM +0100, Eberhard Kuemmerle wrote: > On 3 Nov 2010 19:21, Dejan Muhamedagic wrote: > >> There are still some strange entries in /var/log/messages, but the > >> STONITH action is performed correctly! > >> > >> Just for your information, here are the messages: > >> >

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-04 Thread Eberhard Kuemmerle
On 3 Nov 2010 19:21, Dejan Muhamedagic wrote: >> There are still some strange entries in /var/log/messages, but the >> STONITH action is performed correctly! >> >> Just for your information, here are the messages: >> >> Nov 3 16:41:50 node2 pengine: [5327]: WARN: stage6: Scheduling Node >> node1 f

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-03 Thread Dejan Muhamedagic
Hi, On Wed, Nov 03, 2010 at 05:08:50PM +0100, Eberhard Kuemmerle wrote: > On 3 Nov 2010 11:06, Dejan Muhamedagic wrote: > > On Tue, Nov 02, 2010 at 06:45:08PM +0100, Dejan Muhamedagic wrote: > > > >> On Tue, Nov 02, 2010 at 04:26:40PM +0100, Eberhard Kuemmerle wrote: > >> > >>> On 2 Nov 2010 16:15

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-03 Thread Eberhard Kuemmerle
On 3 Nov 2010 11:06, Dejan Muhamedagic wrote: > On Tue, Nov 02, 2010 at 06:45:08PM +0100, Dejan Muhamedagic wrote: > >> On Tue, Nov 02, 2010 at 04:26:40PM +0100, Eberhard Kuemmerle wrote: >> >>> On 2 Nov 2010 16:15 02.11.2010 16:18, Eberhard Kuemmerle wrote: >>> Hi, here is what you reque

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-03 Thread Dejan Muhamedagic
On Tue, Nov 02, 2010 at 06:45:08PM +0100, Dejan Muhamedagic wrote: > On Tue, Nov 02, 2010 at 04:26:40PM +0100, Eberhard Kuemmerle wrote: > > On 2 Nov 2010 16:15 02.11.2010 16:18, Eberhard Kuemmerle wrote: > > > Hi, > > > here is what you requested: > > > > > > TEST 1: > > > stonith -t rcd_serial -p

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-02 Thread Dejan Muhamedagic
On Tue, Nov 02, 2010 at 04:26:40PM +0100, Eberhard Kuemmerle wrote: > On 2 Nov 2010 16:15 02.11.2010 16:18, Eberhard Kuemmerle wrote: > > Hi, > > here is what you requested: > > > > TEST 1: > > stonith -t rcd_serial -p "test /dev/ttyS0 rts 2000" test > > ** (process:2928): DEBUG: rcd_serial_set_con

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-02 Thread Eberhard Kuemmerle
On 2 Nov 2010 16:15 02.11.2010 16:18, Eberhard Kuemmerle wrote: > Hi, > here is what you requested: > > TEST 1: > stonith -t rcd_serial -p "test /dev/ttyS0 rts 2000" test > ** (process:2928): DEBUG: rcd_serial_set_config:called > Alarm clock > # echo $? > 142 > > TEST 2: > stonith -t rcd_serial hos

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-02 Thread Eberhard Kuemmerle
On 2 Nov 2010 10:59, Dejan Muhamedagic wrote: > >> Then, I said 'kill -9 ' on node2, and stonith on node1 >> really initiated a REBOOT of node2! >> >> BUT in /var/log/messages of node1, stonith-ng thinks that the operation >> failed: >> >> Oct 29 16:06:55 node1 stonith-ng: [31449]: WARN: parse_hos

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-02 Thread Dejan Muhamedagic
On Fri, Oct 29, 2010 at 04:52:43PM +0200, Eberhard Kuemmerle wrote: > On 29 Oct 2010 14:43, Dejan Muhamedagic wrote: > >> stonith -t rcd_serial -p "test /dev/ttyS0 rts 2000" test > >> ** (process:21181): DEBUG: rcd_serial_set_config:called > >> Alarm clock > >> ==> RESET WORKS! > >> > >> stonith -t

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-29 Thread Eberhard Kuemmerle
On 29 Oct 2010 14:43, Dejan Muhamedagic wrote: >> stonith -t rcd_serial -p "test /dev/ttyS0 rts 2000" test >> ** (process:21181): DEBUG: rcd_serial_set_config:called >> Alarm clock >> ==> RESET WORKS! >> >> stonith -t rcd_serial hostlist="node1 node2" ttydev="/dev/ttyS0" >> dtr\|rts="rts" msduratio

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-29 Thread Dejan Muhamedagic
On Fri, Oct 29, 2010 at 02:04:38PM +0200, Eberhard Kuemmerle wrote: > On > > 28 Oct 2010 16:58, Dejan Muhamedagic wrote: > > > > >> Despite that, I tried a stonith reset with that config and the modified > >> rcd_serial.so, but it failed: > >> > >> Oct 28 10:58:56 node1 stonith-ng: [5224]: WARN:

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-29 Thread Eberhard Kuemmerle
On 28 Oct 2010 16:58, Dejan Muhamedagic wrote: > >> Despite that, I tried a stonith reset with that config and the modified >> rcd_serial.so, but it failed: >> >> Oct 28 10:58:56 node1 stonith-ng: [5224]: WARN: parse_host_line: Could >> not parse (0 2): ** (process:24232): DEBUG: rcd_serial_set_c

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-28 Thread Dejan Muhamedagic
Hi, On Thu, Oct 28, 2010 at 03:19:07PM +0200, Eberhard Kuemmerle wrote: > On 27 Oct 2010 11:52, Dejan Muhamedagic wrote: > > Hi, > > > > On Tue, Oct 26, 2010 at 09:33:17AM +0200, Eberhard Kuemmerle wrote: > >> Hi, > >> > >> I try to configure stonith and get an error message that I don't > >> und

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-28 Thread Eberhard Kuemmerle
On 27 Oct 2010 11:52, Dejan Muhamedagic wrote: > Hi, > > On Tue, Oct 26, 2010 at 09:33:17AM +0200, Eberhard Kuemmerle wrote: >> Hi, >> >> I try to configure stonith and get an error message that I don't understand: >> >> crm(live)# configure primitive stonith-P stonith::rcd_serial params >> hostlis

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-27 Thread Dejan Muhamedagic
Hi, On Tue, Oct 26, 2010 at 09:33:17AM +0200, Eberhard Kuemmerle wrote: > Hi, > > I try to configure stonith and get an error message that I don't understand: > > crm(live)# configure primitive stonith-P stonith::rcd_serial params > hostlist="node1 node2" ttydev="/dev/ttyS0" msduration="2000" >

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-27 Thread Andrew Beekhof
On Wed, Oct 27, 2010 at 11:29 AM, Eberhard Kuemmerle wrote: > You mean the '-' in stonith-P ? yes > That is not the problem, see: Have a look at the line with "Type ID doesn't allow value" Notice anything about the value? > > crm(live)# configure primitive stonithP stonith::rcd_serial params

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-27 Thread Eberhard Kuemmerle
You mean the '-' in stonith-P ? That is not the problem, see: crm(live)# configure primitive stonithP stonith::rcd_serial params hostlist="node1 node2" ttydev="/dev/ttyS0" msduration="2000" dtr|rts="rts" element nvpair: Relax-NG validity error : Type ID doesn't allow value 'stonithP-instance_attri

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-10-27 Thread Andrew Beekhof
I don't think IDs can contain - characters. Try using underscores as your separator instead. On Tue, Oct 26, 2010 at 9:33 AM, Eberhard Kuemmerle wrote: > Hi, > > I try to configure stonith and get an error message that I don't understand: > > crm(live)# configure primitive stonith-P stonith::rcd_

[Pacemaker] Problem with configuring stonith rcd_serial

2010-10-26 Thread Eberhard Kuemmerle
Hi, I try to configure stonith and get an error message that I don't understand: crm(live)# configure primitive stonith-P stonith::rcd_serial params hostlist="node1 node2" ttydev="/dev/ttyS0" msduration="2000" dtr|rts="rts" op monitor interval="60s" element nvpair: Relax-NG validity error : Type