Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-20 Thread Dejan Muhamedagic
On Fri, Apr 20, 2007 at 10:25:04AM -0400, Bjorn Oglefjorn wrote: If it seems counter intuitive, think of it like this: * test-1_DRAC is the DRAC installed in the chassis of test-1.domainwhich has an address of test-1.drac.domain No, actually it's not counter intuitive. Then look here:

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-19 Thread Dejan Muhamedagic
On Tue, Apr 17, 2007 at 03:55:07PM -0400, Bjorn Oglefjorn wrote: Alan, what is the list operation? The node names are always FQDNs and always match. Do they? From your CIB: primitive id=test-1_DRAC class=stonith type=external/drac4 provider=heartbeat operations op

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-09 Thread Bjorn Oglefjorn
Any ideas? --BO On 4/4/07, Bjorn Oglefjorn [EMAIL PROTECTED] wrote: I do not know what op_result=2 means. I can only say that the drac4 RA will never have exit code 2. I am sure that the drac4 RA works as expected in all use cases and also when called via the stonith command from the command

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-09 Thread Bjorn Oglefjorn
I quickly put together a STONITH plugin for testing this. It conforms to the heartbeat spec and always lies to heartbeat returning success no matter what. With this plugin in place I'm still getting this error: Apr 9 15:40:47 test-2 stonithd: [8791]: info: Failed to STONITH the node

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-04 Thread Dejan Muhamedagic
On Tue, Apr 03, 2007 at 03:38:44PM -0400, Bjorn Oglefjorn wrote: Maybe I have too much logging now. Here is the log from test-1 with the debugging information removed. I've also trimmed it from where heartbeat notices the node is dead until STONITH fails the second time. I hope this is a

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-04 Thread Dejan Muhamedagic
On Tue, Apr 03, 2007 at 03:52:37PM -0400, Bjorn Oglefjorn wrote: Sorry Alan, I realize that this post is getting quite long. Here is a run down of where I am currently. STONITH is failing and I'm still not sure why. Me neither. There's nothing in the logs apart from: Mar 30 09:38:20 test-1

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-02 Thread Bjorn Oglefjorn
Thanks Alan. That makes more sense now. --BO On 3/30/07, Alan Robertson [EMAIL PROTECTED] wrote: Bjorn Oglefjorn wrote: I took a look at the apache RA, but it makes a lot of assumptions about the environment which are mostly untrue in Red Hat. How can I configure this RA short of making

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-02 Thread Bjorn Oglefjorn
Any ideas as to what's going wrong here? --BO On 3/30/07, Bjorn Oglefjorn [EMAIL PROTECTED] wrote: I've made the OCF apache RA work by editing the script's parameters for now. This is just testing anyway. Attached are my configs and a tar ball of the logs from the two nodes in question. The

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-03-30 Thread Dejan Muhamedagic
On Fri, Mar 30, 2007 at 09:22:44AM -0400, Bjorn Oglefjorn wrote: I took a look at the apache RA, but it makes a lot of assumptions about the environment which are mostly untrue in Red Hat. How can I configure this RA short of making changes to the script? Can I set environmental variables? I

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-03-30 Thread Bjorn Oglefjorn
Correct. I am running CentOS 4.4 and httpd-2.0.52-28.ent.centos4. The default location for httpd.conf is in /etc/httpd/conf/http.conf for this package. The script looks at /etc/httpd/httpd.conf and fails when it doesn't find it. Also, the default LISTEN directive in the apache config does NOT