Re: [Linux-HA] Heartbeat resources.

2008-01-21 Thread Andrew Beekhof
On Jan 17, 2008, at 2:39 PM, Sylvain MALAVIEILLE wrote: I'am testing heartbeat 2.1.2 (using crm) and I have some questions about resources. My questions : 1) I can see in traces (/var/log/ha-debug) lines like that : pengine[6084]: 2008/01/15_13:42:00 notice: StartRsc: anaisrh4-1

Re: [Linux-HA] Supervise but don't stop a resource

2008-01-21 Thread Andrew Beekhof
Setting is_managed=False for the resource should do that for you. On Jan 19, 2008, at 6:46 AM, Thomas Glanzmann wrote: Hello, is it possible with linux-ha to supervice (monitor) a resource and start it when it failed, but do not stop it when heartbeat is stopped? I am thinking about the sys

Re: [Linux-HA] Supervise but don't stop a resource

2008-01-21 Thread Dejan Muhamedagic
Hi, On Sat, Jan 19, 2008 at 06:46:13AM +0100, Thomas Glanzmann wrote: > Hello, > is it possible with linux-ha to supervice (monitor) a resource and start > it when it failed, but do not stop it when heartbeat is stopped? No, unless you set the resources to the unmanaged mode before stopping the H

Re: [Linux-HA] OCF test script (ocf-tester)

2008-01-21 Thread Andrew Beekhof
On Jan 19, 2008, at 7:42 PM, [EMAIL PROTECTED] wrote: Color me stupid, but I cannot figure out how to use the ocf-tester script. I am attempting to write an OCF compliant script for nagios. I have followed the documentation here: http://linux-ha.org/OCFResourceAgent and I have written i

Re: [Linux-HA] Heartbeat resources.

2008-01-21 Thread Sylvain MALAVIEILLE
Thanks for your answers. My feeling is that heartbeat seams to be an insteresting cluster software, but I am asking me some questions about resources and failover capabilities. My constatation is that start and stop orders are not respected in the traces. Is it normal ? correct - ordering

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Sebastian Reitenbach
Hi, Sebastian Reitenbach <[EMAIL PROTECTED]>,General Linux-HA mailing list wrote: > Hi, > Andrew Beekhof <[EMAIL PROTECTED]> wrote: > > > > On Jan 10, 2008, at 6:16 PM, Sebastian Reitenbach wrote: > > > > > Hi, > > > > > > on the download area, there are the pointers to the suse build > >

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Dejan Muhamedagic
Hi, On Mon, Jan 21, 2008 at 12:52:37PM +0100, Sebastian Reitenbach wrote: > Hi, > > Sebastian Reitenbach <[EMAIL PROTECTED]>,General Linux-HA > mailing list wrote: > > Hi, > > Andrew Beekhof <[EMAIL PROTECTED]> wrote: > > > > > > On Jan 10, 2008, at 6:16 PM, Sebastian Reitenbach wrote: > > >

[Linux-HA] HOWTO: Build a high available iscsi Target using heartbeat, drbd and ietd for ESX Server 3.5

2008-01-21 Thread Thomas Glanzmann
Hello, I just setup a high available iscsi target for an ESX 3.5 server. I can switch the target between my two hosts without any problems on the ESX 3.5 server side with the exception of a reconnect and a hang in the virtual machine running on iscsi stoage for ca. 1 second (worst case) sometimes I

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Sebastian Reitenbach
Hi, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote: > Hi, > > On Mon, Jan 21, 2008 at 12:52:37PM +0100, Sebastian Reitenbach wrote: > > Hi, > > > > Sebastian Reitenbach <[EMAIL PROTECTED]>,General Linux-HA > > mailing list wrote: > > > Hi, > > > Andrew Beekhof <[EMAIL PROTECTED]> wrote: > > >

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Andrew Beekhof
On Jan 21, 2008, at 12:52 PM, Sebastian Reitenbach wrote: Hi, Sebastian Reitenbach <[EMAIL PROTECTED]>,General Linux-HA mailing list wrote: Hi, Andrew Beekhof <[EMAIL PROTECTED]> wrote: On Jan 10, 2008, at 6:16 PM, Sebastian Reitenbach wrote: Hi, on the download area, there are the poin

Re: [Linux-HA] Heartbeat resources.

2008-01-21 Thread Andrew Beekhof
On Jan 21, 2008, at 11:01 AM, Sylvain MALAVIEILLE wrote: Thanks for your answers. My feeling is that heartbeat seams to be an insteresting cluster software, but I am asking me some questions about resources and failover capabilities. My constatation is that start and stop orders are not

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Sebastian Reitenbach
Hi, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > > On Jan 21, 2008, at 12:52 PM, Sebastian Reitenbach wrote: > > > Hi, > > > > Sebastian Reitenbach <[EMAIL PROTECTED]>,General Linux-HA > > mailing list wrote: > >> Hi, > >> Andrew Beekhof <[EMAIL PROTECTED]> wrote: > >>> > >>> On Jan 10, 2008, at

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Manfred Hollstein
On Mon, 21 Jan 2008, 14:06:53 +0100, Andrew Beekhof wrote: > [...] > One thing I like about .deb is that you can recommend other packages > to install. > This would have alerted to you that something was missing - alas there > is no such mechanism for rpm. Hmm, isn't this what the "Recommends:

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Christopher Barry
On Mon, 2008-01-21 at 13:38 +0100, Sebastian Reitenbach wrote: > > > I installed these rpm packets: > > > heartbeat-2.1.3-3.1.x86_64.rpm > > > heartbeat-ldirectord-2.1.3-3.1.x86_64.rpm > > > heartbeat-common-2.1.3-3.1.x86_64.rpm > > > heartbeat-resources-2.1.3-3.1.x86_64.rpm > > > > > >

Re: Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Sebastian Reitenbach
"matilda matilda" <[EMAIL PROTECTED]> wrote: > >>> "Sebastian Reitenbach" <[EMAIL PROTECTED]> 21.01.2008 15:21 >>> > > yes, that helped, I installed both rpm's, but now, when I want to start the > > hb_gui, I get the following error: > > > >Traceback (most recent call last): > > File "/usr/bin

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Andrew Beekhof
On Jan 21, 2008, at 2:56 PM, Manfred Hollstein wrote: On Mon, 21 Jan 2008, 14:06:53 +0100, Andrew Beekhof wrote: [...] One thing I like about .deb is that you can recommend other packages to install. This would have alerted to you that something was missing - alas there is no such mechanism

Re: Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread matilda matilda
>>> "Sebastian Reitenbach" <[EMAIL PROTECTED]> 21.01.2008 15:21 >>> > yes, that helped, I installed both rpm's, but now, when I want to start the > hb_gui, I get the following error: > >Traceback (most recent call last): > File "/usr/bin/hb_gui", line 35, in ? >from pymgmt import * >ImportErr

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Andrew Beekhof
On Jan 21, 2008, at 3:52 PM, matilda matilda wrote: "Sebastian Reitenbach" <[EMAIL PROTECTED]> 21.01.2008 15:21 >>> yes, that helped, I installed both rpm's, but now, when I want to start the hb_gui, I get the following error: Traceback (most recent call last): File "/usr/bin/hb_gui", line

Re: [Linux-HA] OCF test script (ocf-tester)

2008-01-21 Thread [EMAIL PROTECTED]
OK, I will look at that. I am running the ocf-tester script correctly though? -JPH Andrew Beekhof wrote: On Jan 19, 2008, at 7:42 PM, [EMAIL PROTECTED] wrote: Color me stupid, but I cannot figure out how to use the ocf-tester script. I am attempting to write an OCF compliant script for

Re: [Linux-HA] OCF test script (ocf-tester)

2008-01-21 Thread Andrew Beekhof
On Jan 21, 2008, at 6:16 PM, [EMAIL PROTECTED] wrote: OK, I will look at that. I am running the ocf-tester script correctly though? looks like it -JPH Andrew Beekhof wrote: On Jan 19, 2008, at 7:42 PM, [EMAIL PROTECTED] wrote: Color me stupid, but I cannot figure out how to use the

Re: [Linux-HA] log output confusion

2008-01-21 Thread Lars Marowsky-Bree
On 2008-01-21T15:37:17, DAIKI MATSUDA <[EMAIL PROTECTED]> wrote: > Hi, All. > > I encountered odd behaviour for log output. I wrote the config in > ha.cf following > logfile /var/log/ha-log > debugfile /var/log/ha-debug > #logfacility local0 > ... > But, the logs are written to system log file. I

Re: [Linux-HA] 2.1.3 suse rpm's?

2008-01-21 Thread Andrew Beekhof
On Jan 21, 2008, at 5:09 PM, Andrew Beekhof wrote: On Jan 21, 2008, at 3:52 PM, matilda matilda wrote: "Sebastian Reitenbach" <[EMAIL PROTECTED]> 21.01.2008 15:21 >>> yes, that helped, I installed both rpm's, but now, when I want to start the hb_gui, I get the following error: Traceback

Re: [Linux-HA] HOWTO: Build a high available iscsi Target using heartbeat, drbd and ietd for ESX Server 3.5

2008-01-21 Thread Dejan Muhamedagic
Hi, On Mon, Jan 21, 2008 at 01:43:26PM +0100, Thomas Glanzmann wrote: > Hello, > I just setup a high available iscsi target for an ESX 3.5 server. I can > switch the target between my two hosts without any problems on the ESX > 3.5 server side with the exception of a reconnect and a hang in the >

[Linux-HA] HP iLO2 Stonith

2008-01-21 Thread Bryan Manzeck
Hello, I am having a heck of a time settting up stonith on a new 3 node cluster with my HP iLO2 cards. I found this link on your listserv http://lists.community.tummy.com/pipermail/linux-ha/2006-May/019474.html I tried to use this and the xml cibcreate give me an error: does not conform to t

Re: [Linux-HA] HP iLO2 Stonith

2008-01-21 Thread Johan Hoeke
Bryan Manzeck wrote: > Hello, > I am having a heck of a time settting up stonith on a new 3 node cluster with > my HP iLO2 cards. I found this link on your listserv > http://lists.community.tummy.com/pipermail/linux-ha/2006-May/019474.html > I tried to use this and the xml cibcreate give me an

Re: [Linux-HA] HOWTO: Build a high available iscsi Target using heartbeat, drbd and ietd for ESX Server 3.5

2008-01-21 Thread Trent Lloyd
Hi Thomas, I just did a very similar thing, except in my case I am using shared storage (MD3000 - SAS) and theres a bit more fun to that part of it (multipath, stonith, etc) - also I setup heartbeat in v1 mode not CRM mode. I plan to post a walkthrough at some point in the future (I also

Re: [Linux-HA] log output confusion

2008-01-21 Thread DAIKI MATSUDA
Thanks for replying. But inspite of setting yes/no for use_logd directive, the log is written to system log file. Is it feature to always write log to system log file? Regards MATSUDA, Daiki 2008/1/22, Lars Marowsky-Bree <[EMAIL PROTECTED]>: > On 2008-01-21T15:37:17, DAIKI MATSUDA <[EMAIL PROTEC

Re: [Linux-HA] HOWTO: Build a high available iscsi Target using heartbeat, drbd and ietd for ESX Server 3.5

2008-01-21 Thread Thomas Glanzmann
Hello Dejan, > Nice effort. Thanks for sharing it. Perhaps you'd like to put > this into the wiki.linux-ha.org. If you do, don't forget to > pepper the doc with "YMMV." I am going to do that. > 1. cib is a bit too lean. There are no attributes set for the ietd > resource. Well I have that defau

Re: [Linux-HA] HOWTO: Build a high available iscsi Target using heartbeat, drbd and ietd for ESX Server 3.5

2008-01-21 Thread Thomas Glanzmann
Trent, > I just did a very similar thing, except in my case I am using shared > storage (MD3000 - SAS) and theres a bit more fun to that part of it > (multipath, stonith, etc) - also I setup heartbeat in v1 mode not CRM > mode. nice, I neve had a MD3000 on my hands. > I plan to post a walkth

Re: [Linux-HA] OCF test script (ocf-tester)

2008-01-21 Thread Thomas Glanzmann
Hello Jeff, > Please find attached the Nagios OCF script I wrote. thank you for sharing. > monitor_nagios(){ > case ${NAGIOSRUNNING} in > yes) > if [ -f ${OCF_RESKEY_pid} ]; then > echo "${0} MONITOR: running" > exit 0 > fi > ;; > no) > if

[Linux-HA] simple newbie question

2008-01-21 Thread chris barry
Hi everyone, Just getting into heartbeat. I've read a bunch, and have stumbled through a basic gui setup that's working, but I want to really master this. Can I infer that essentially INFINITY=always and -INFINITY=never ? Also, where is my config as an XML file? I can't seem to find it now that