Re: [Pacemaker] Stonith Device APC AP7900

2010-11-02 Thread Rick Cone
Dejan, I tested the AP7900 with the stonith command turning 2 outlets with the same name on and off (about 20 times), and I can't get it to fail. I'm not sure what to think, I guess. Perhaps I'll just use 1 outlet with the node name, with a power splitter to the 2 redundant power supplies to red

Re: [Pacemaker] drbd on heartbeat links

2010-11-02 Thread Lars Ellenberg
On Tue, Nov 02, 2010 at 10:07:17PM +0100, Pavlos Parissis wrote: > On 2 November 2010 16:15, Dan Frincu wrote: > > Hi, > > > > Pavlos Parissis wrote: > >> > >> Hi, > >> > >> I am trying to figure out how I can resolve the following scenario > >> > >> Facts > >> 3 nodes > >> 2 DRBD ms resource > >>

Re: [Pacemaker] drbd on heartbeat links

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 22:07, Pavlos Parissis wrote: > On 2 November 2010 16:15, Dan Frincu wrote: >> Hi, >> >> Pavlos Parissis wrote: >>> >>> Hi, >>> >>> I am trying to figure out how I can resolve the following scenario >>> >>> Facts >>> 3 nodes >>> 2 DRBD ms resource >>> 2 group resource >>> by de

Re: [Pacemaker] drbd on heartbeat links

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 16:15, Dan Frincu wrote: > Hi, > > Pavlos Parissis wrote: >> >> Hi, >> >> I am trying to figure out how I can resolve the following scenario >> >> Facts >> 3 nodes >> 2 DRBD ms resource >> 2 group resource >> by default drbd1/group1 runs on node-01 and drbd2/group2 runs on node2

Re: [Pacemaker] Ordering clones and primitives

2010-11-02 Thread Lars Kellogg-Stedman
> Right now, I don't have a solution for this problem using > clones if you're running pacemaker v1.0.x. I went ahead and created two sets of Route resources. Each one has to go into a separate routing table to prevent conflicts, which complicates things a bit, but it seems to work. If the clust

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] cloned IPaddr2 on 4 nodes

2010-11-02 Thread Vladimir Legeza
Hi everybody, I've fix my problem by inserting followed code to the application consistency checking script. Please let me know whether you found a better solution. PS. Thanks for replies Vladimir ... check_marker(){ # Hardcoded to avoid extra forks. MARKER_COUNT=8 NODE_C

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] drbd on heartbeat links

2010-11-02 Thread Dan Frincu
Dan Frincu wrote: Hi, Pavlos Parissis wrote: Hi, I am trying to figure out how I can resolve the following scenario Facts 3 nodes 2 DRBD ms resource 2 group resource by default drbd1/group1 runs on node-01 and drbd2/group2 runs on node2 drbd1/group1 can only run on node-01 and node-03 drbd

Re: [Pacemaker] drbd on heartbeat links

2010-11-02 Thread Dan Frincu
Hi, Pavlos Parissis wrote: Hi, I am trying to figure out how I can resolve the following scenario Facts 3 nodes 2 DRBD ms resource 2 group resource by default drbd1/group1 runs on node-01 and drbd2/group2 runs on node2 drbd1/group1 can only run on node-01 and node-03 drbd2/group2 can only ru

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

[Pacemaker] drbd on heartbeat links

2010-11-02 Thread Pavlos Parissis
Hi, I am trying to figure out how I can resolve the following scenario Facts 3 nodes 2 DRBD ms resource 2 group resource by default drbd1/group1 runs on node-01 and drbd2/group2 runs on node2 drbd1/group1 can only run on node-01 and node-03 drbd2/group2 can only run on node-02 and node-03 DRBD 

Re: [Pacemaker] Ordering clones and primitives

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 09:57:12AM -0400, Lars Kellogg-Stedman wrote: > > You should set the interleave=true meta attribute for the clones. > > Hope that that would help. You need collocations as well. > > Dejan, > > Thanks for the suggestion. Can you elaborate a little? The documentation

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
On Tue, Nov 02, 2010 at 01:28:09PM +0100, Pavlos Parissis wrote: > On 2 November 2010 13:18, Dejan Muhamedagic wrote: > > > Hi, > > > > On Tue, Nov 02, 2010 at 01:09:02PM +0100, Pavlos Parissis wrote: > > > On 2 November 2010 13:02, Dejan Muhamedagic wrote: > > > [...snip...] > > > > > > > > > >

Re: [Pacemaker] Ordering clones and primitives

2010-11-02 Thread Lars Kellogg-Stedman
> You should set the interleave=true meta attribute for the clones. > Hope that that would help. You need collocations as well. Dejan, Thanks for the suggestion. Can you elaborate a little? The documentation for the interleave option says: Changes the behavior of ordering constraints (betwee

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 13:18, Dejan Muhamedagic wrote: > Hi, > > On Tue, Nov 02, 2010 at 01:09:02PM +0100, Pavlos Parissis wrote: > > On 2 November 2010 13:02, Dejan Muhamedagic wrote: > > [...snip...] > > > > > > > > > > Definitely not. If you do the monitor action from the command > > > > > line d

Re: [Pacemaker] Ordering clones and primitives

2010-11-02 Thread Dejan Muhamedagic
Hi, On Sat, Oct 30, 2010 at 01:55:33PM -0400, Lars Kellogg-Stedman wrote: > I have a two node cluster that hosts two virtual ips on the same network: > >  primitive proxy_0_ip ocf:heartbeat:IPaddr \ >    params ip="10.10.10.20" cidr_netmask="255.255.255.0" nic="eth3" >  primitive proxy_1_ip ocf:h

Re: [Pacemaker] IP Power 9258HP with external/ippower9258

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 13:13, Dejan Muhamedagic wrote: > Hi, > > On Sat, Oct 30, 2010 at 04:31:38PM +0200, Pavlos Parissis wrote: > > On 30 October 2010 16:03, Pavlos Parissis > wrote: > > > Hi, > > > > > > Does anyone know if the fencing agent ippower9258 works with IP Power > > > 9258HP PDU? > > >

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 01:09:02PM +0100, Pavlos Parissis wrote: > On 2 November 2010 13:02, Dejan Muhamedagic wrote: > [...snip...] > > > > > > > Definitely not. If you do the monitor action from the command > > > > line does that also return the unexpected exit code: > > > > > > > > > > fr

Re: [Pacemaker] IP Power 9258HP with external/ippower9258

2010-11-02 Thread Dejan Muhamedagic
Hi, On Sat, Oct 30, 2010 at 04:31:38PM +0200, Pavlos Parissis wrote: > On 30 October 2010 16:03, Pavlos Parissis wrote: > > Hi, > > > > Does anyone know if the fencing agent ippower9258 works with IP Power > > 9258HP PDU? > > The readme file of the fencing agent mentions the following > > > >  Es

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 13:02, Dejan Muhamedagic wrote: [...snip...] > > > > Definitely not. If you do the monitor action from the command > > > line does that also return the unexpected exit code: > > > > > > > from the code I pasted you can see it returned 1. > > There is a difference. stonith-ng (s

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 12:58, Dejan Muhamedagic wrote: [...snip...] > > > Do you know under which conditions pacemaker initiates multiple > connections > > to a fencing device? > > There are no specific conditions. It can happen by chance because > individual clone instances run independently. > >

Re: [Pacemaker] clones with regular resources

2010-11-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 29, 2010 at 01:51:18PM -0700, Alan Jones wrote: > I'm trying to configure a simple resource that depends on a local clone. > The configuration is below. > For those familiar with the Veritas Cluster Server, I'm trying to get > something like permanent resources. > Unfortunately, th

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 12:13:43PM +0100, Pavlos Parissis wrote: > On 2 November 2010 11:22, Dejan Muhamedagic wrote: > > > Hi, > > > > On Fri, Oct 29, 2010 at 08:37:04AM +0200, Pavlos Parissis wrote: > > > Hi, > > > > > > I wanted to check what happens when the monitor of a fencing agents >

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 12:10:37PM +0100, Pavlos Parissis wrote: > On 2 November 2010 11:04, Dejan Muhamedagic wrote: > > > Hi, > > > > On Tue, Nov 02, 2010 at 08:08:32AM +0100, Pavlos Parissis wrote: > > > On 1 November 2010 15:01, Rick Cone > > wrote: > > > > > > > Dejan, > > > > > > > >

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 11:22, Dejan Muhamedagic wrote: > Hi, > > On Fri, Oct 29, 2010 at 08:37:04AM +0200, Pavlos Parissis wrote: > > Hi, > > > > I wanted to check what happens when the monitor of a fencing agents > > fails, thus I disconnected the PDU from network, reduced the monitor > > interval a

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-02 Thread Pavlos Parissis
On 2 November 2010 11:04, Dejan Muhamedagic wrote: > Hi, > > On Tue, Nov 02, 2010 at 08:08:32AM +0100, Pavlos Parissis wrote: > > On 1 November 2010 15:01, Rick Cone > wrote: > > > > > Dejan, > > > > > > Below I had: > > > > > > primitive res_stonith stonith:apcmastersnmp \ > > > params

Re: [Pacemaker] PE ignores monitor failure of stonith:external/rackpdu

2010-11-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 29, 2010 at 08:37:04AM +0200, Pavlos Parissis wrote: > Hi, > > I wanted to check what happens when the monitor of a fencing agents > fails, thus I disconnected the PDU from network, reduced the monitor > interval and put debug statements on the fencing script. > > here is the deb

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-02 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 08:08:32AM +0100, Pavlos Parissis wrote: > On 1 November 2010 15:01, Rick Cone wrote: > > > Dejan, > > > > Below I had: > > > > primitive res_stonith stonith:apcmastersnmp \ > > params ipaddr="192.1.1.109" port="161" community="sps" \ > > op start inte

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] Stonith Device APC AP7900

2010-11-02 Thread Pavlos Parissis
On 1 November 2010 15:01, Rick Cone wrote: > Dejan, > > Below I had: > > primitive res_stonith stonith:apcmastersnmp \ > params ipaddr="192.1.1.109" port="161" community="sps" \ > op start interval="0" timeout="60s" \ > op monitor interval="60s" timeout="60s" \ >