Re: [Linux-HA] Re: Re: Heartbeat and RA monitor functions

2008-05-28 Thread Dominik Klein
Optionally, what does HB do when it receives a status=2 after calling a RA MONITOR operation ? /usr/lib/ocf/resource.d/heartbeat/.ocf-returncodes: OCF_SUCCESS=0 OCF_ERR_GENERIC=1 OCF_ERR_ARGS=2 OCF_ERR_UNIMPLEMENTED=3 OCF_ERR_PERM=4 OCF_ERR_INSTALLED=5 OCF_ERR_CONFIGURED=6 OCF_NOT_RUNNING=7 OCF

Re: [Linux-HA] Re: Re: Heartbeat and RA monitor functions

2008-05-28 Thread Andrew Beekhof
On Wed, May 28, 2008 at 5:26 PM, Joe Bill <[EMAIL PROTECTED]> wrote: > >> It is also advisable that it accurately report >> the service's true state after a start operation >> and mandatory for a stop. >> This is easily done by calling a level 0 check >> in a loop at the end of both functions. > >

Re: [Linux-HA] hb_gui in SLES 10 SP2

2008-05-28 Thread Yan Gao
On Wed, 2008-05-28 at 15:36 +0200, Sander van Vugt wrote: > > > > > >> ^ The guys from NTT and Novell China submitted quite a few patches which > >> have improved the GUI significantly. > >> > > > > And they have been doing a really great job! > > > > > Agreed, worked with the new GUI

Re: [Linux-HA] hb_gui in SLES 10 SP2

2008-05-28 Thread Yan Gao
On Wed, 2008-05-28 at 14:17 +0200, Andrew Beekhof wrote: > On May 28, 2008, at 12:48 PM, Sander van Vugt wrote: > > > Hi List, > > > > I noticed some nice improvements in the hb_gui in SLES10 SP2. In the > > past however, I've learned not to trust the hb_gui. Is it to be > > trusted again now

[Linux-HA] Re: Re: Heartbeat and RA monitor functions

2008-05-28 Thread Joe Bill
> It is also advisable that it accurately report > the service's true state after a start operation > and mandatory for a stop. > This is easily done by calling a level 0 check > in a loop at the end of both functions. Sure, but HB's business being calling RAs to perform all those STARTs and STOP

Re: [Linux-HA] Re: Re: Heartbeat and RA monitor functions

2008-05-28 Thread Dejan Muhamedagic
Hi, On Wed, May 28, 2008 at 07:51:53AM -0700, Joe Bill wrote: > >> It suggests that the RA implementation of the > 'START' > >> and 'STOP' operations, should include the code as > to > >> perform, before exiting, ALL the tests that are > >> carried out at ALL implemented check-levels of > >> monit

Re: [Linux-HA] Re: Re: Heartbeat and RA monitor functions

2008-05-28 Thread Andrew Beekhof
On Wed, May 28, 2008 at 4:51 PM, Joe Bill <[EMAIL PROTECTED]> wrote: >>> It suggests that the RA implementation of the > 'START' >>> and 'STOP' operations, should include the code as > to >>> perform, before exiting, ALL the tests that are >>> carried out at ALL implemented check-levels of >>> moni

[Linux-HA] Re: Re: Heartbeat and RA monitor functions

2008-05-28 Thread Joe Bill
>> It suggests that the RA implementation of the 'START' >> and 'STOP' operations, should include the code as to >> perform, before exiting, ALL the tests that are >> carried out at ALL implemented check-levels of >> monitoring, as to reliably return a resource's >> status, > It just relies on the

Re: [Linux-HA] heartbeat from SLES10 SP2

2008-05-28 Thread Andrew Beekhof
On May 28, 2008, at 10:57 AM, Ciro Iriarte wrote: 2008/5/28 Andrew Beekhof <[EMAIL PROTECTED]>: On Tue, May 27, 2008 at 5:16 PM, Ciro Iriarte <[EMAIL PROTECTED]> wrote: Hi, i'm having general issues with a SLES10 SP2 installation (update) and I'm looking forward to do a clean installation

Re: [Linux-HA] hb_gui in SLES 10 SP2

2008-05-28 Thread Sander van Vugt
^ The guys from NTT and Novell China submitted quite a few patches which have improved the GUI significantly. And they have been doing a really great job! Agreed, worked with the new GUI for the entire day and didn't see any problems. :-) ___

Re: [Linux-HA] hb_gui in SLES 10 SP2

2008-05-28 Thread Dejan Muhamedagic
Hi, On Wed, May 28, 2008 at 02:17:28PM +0200, Andrew Beekhof wrote: > > On May 28, 2008, at 12:48 PM, Sander van Vugt wrote: > >> Hi List, >> >> I noticed some nice improvements in the hb_gui in SLES10 SP2. In the past >> however, I've learned not to trust the hb_gui. Is it to be trusted again >

Re: [Linux-HA] heartbeat from SLES10 SP2

2008-05-28 Thread Ciro Iriarte
2008/5/28 Andrew Beekhof <[EMAIL PROTECTED]>: > On Tue, May 27, 2008 at 5:16 PM, Ciro Iriarte <[EMAIL PROTECTED]> wrote: >> Hi, i'm having general issues with a SLES10 SP2 installation (update) >> and I'm looking forward to do a clean installation and use the >> included packages where possible. Cu

Re: [Linux-HA] hb_gui in SLES 10 SP2

2008-05-28 Thread Andrew Beekhof
On May 28, 2008, at 12:48 PM, Sander van Vugt wrote: Hi List, I noticed some nice improvements in the hb_gui in SLES10 SP2. In the past however, I've learned not to trust the hb_gui. Is it to be trusted again now, or should I still use cibadmin with xml files? I'm told we can trust it ag

Re: [Linux-HA] gmake[2]: *** [ccmlib_memapi.lo] Error 1 - solaris 10 sparc

2008-05-28 Thread Jan Chaloupecky
Hello, Thanks David this actually solved all the build problems ! I will now do some tests on Solaris 10. Regards, Jan C. On Tue, May 27, 2008 at 12:53 PM, David Lee <[EMAIL PROTECTED]> wrote: > On Mon, 26 May 2008, Jan Chaloupecky wrote: > >> After some failed attempts to make HA run on Solaris

Re: Antwort: Re: [Linux-HA] Question to stonith and external/ibmrsa

2008-05-28 Thread Dejan Muhamedagic
Hi, On Wed, May 28, 2008 at 01:41:07PM +0200, Andreas Reschke wrote: > Hi Dejan, > it doesn't work for me: > bgstsapgtsls1:~ # /etc/init.d/heartbeat start > Starting High-Availability services2008/05/28_12:05:47 INFO: Resource is > stopped > heartbeat[18617]: 2008/05/28_12:05:47 ERROR: Invalid S

Antwort: Re: [Linux-HA] Question to stonith and external/ibmrsa

2008-05-28 Thread Andreas Reschke
Hi Dejan, it doesn't work for me: bgstsapgtsls1:~ # /etc/init.d/heartbeat start Starting High-Availability services2008/05/28_12:05:47 INFO: Resource is stopped heartbeat[18617]: 2008/05/28_12:05:47 ERROR: Invalid Stonith configuration parameter [ bgstsapgtsls2 10.20.12.24 root password] heartbe

Re: [Linux-HA] list of STONITH devices supported

2008-05-28 Thread Werner Fischer
On a fresh SLES10 SP2 this gives you (I also added rpm -qa for heartbeat so you can see the version): testserver:~ # stonith -L apcmaster apcmastersnmp apcsmart baytech bladehpi cyclades drac3 external/ibmrsa external/ibmrsa-telnet external/ipmi external/rackpdu external/riloe external/ssh externa

[Linux-HA] hb_gui in SLES 10 SP2

2008-05-28 Thread Sander van Vugt
Hi List, I noticed some nice improvements in the hb_gui in SLES10 SP2. In the past however, I've learned not to trust the hb_gui. Is it to be trusted again now, or should I still use cibadmin with xml files? Thanks, Sander ___ Linux-HA mailing list

Re: [Linux-HA] crm_resource warn "here i am - 3"

2008-05-28 Thread Andrew Beekhof
On Wed, May 28, 2008 at 10:48 AM, Junko IKEDA <[EMAIL PROTECTED]> wrote: > Hi, > > It's not such a big problem, > Just out of curiosity. > > If crm_resource is called, I can see the following message in > /var/log/messages. > > May 28 17:16:16 prec370d crm_resource: [11279]: info: Invoked: crm_reso

Re: [Linux-HA] Re: Heartbeat and RA monitor functions

2008-05-28 Thread Andrew Beekhof
On Wed, May 28, 2008 at 11:02 AM, Joe Bill <[EMAIL PROTECTED]> wrote: >>> I also assume that HB performs a 'monitor >>> check-level 0' *after* a successful "start" >>> or "stop". >>> Is this correct ? > >> No. If the RA exits with success (0) the action's >> considered to have been successful. (Hmm

Re: [Linux-HA] list of STONITH devices supported

2008-05-28 Thread Dejan Muhamedagic
Hi, On Wed, May 28, 2008 at 11:08:37AM +0100, Joao Ferreira wrote: > Hello all, > > where can I find a list of STONITH devices supported by heartbeat ? You can try stonith -L. Thanks, Dejan > > thank you. > > joao > > > > -- > This message has been scanned for viruses and > dangerous co

Re: [Linux-HA] Re: Heartbeat and RA monitor functions

2008-05-28 Thread Dejan Muhamedagic
Hi, On Wed, May 28, 2008 at 02:02:44AM -0700, Joe Bill wrote: > >> I also assume that HB performs a 'monitor > >> check-level 0' *after* a successful "start" > >> or "stop". > >> Is this correct ? > > > No. If the RA exits with success (0) the action's > > considered to have been successful. (Hmm

[Linux-HA] list of STONITH devices supported

2008-05-28 Thread Joao Ferreira
Hello all, where can I find a list of STONITH devices supported by heartbeat ? thank you. joao -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Linux-HA mailing list Linux-HA@lists

Re: [Linux-HA] Question to stonith and external/ibmrsa

2008-05-28 Thread Dejan Muhamedagic
Hi, On Wed, May 28, 2008 at 08:32:51AM +0200, Andreas Reschke wrote: > Hello, > I've created a HA-Cluster with 2 IBM 3650 with RSA-Adapter and SuSE Linux > Enterprise 10 SP1 (64Bit). When the slave-server take over the service > (SAP), he must poweroff the master-server over the RSA-Adapter with

[Linux-HA] Re: Heartbeat and RA monitor functions

2008-05-28 Thread Joe Bill
>> I also assume that HB performs a 'monitor >> check-level 0' *after* a successful "start" >> or "stop". >> Is this correct ? > No. If the RA exits with success (0) the action's > considered to have been successful. (Hmm, how does > that sound :) Ugh ! Terrible, really ( ;-) ) ! It suggests tha

[Linux-HA] crm_resource warn "here i am - 3"

2008-05-28 Thread Junko IKEDA
Hi, It's not such a big problem, Just out of curiosity. If crm_resource is called, I can see the following message in /var/log/messages. May 28 17:16:16 prec370d crm_resource: [11279]: info: Invoked: crm_resource -L May 28 17:16:16 prec370d crm_resource: [11279]: WARN: main: here i am - 3 Loggi