Re: [Linux-ha-dev] tools/ccdv

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 11:19:50AM +, David Lee wrote: Someone has reported (on the main linux-ha list) a problem building on Solaris. One of the aspects was tools/ccdv. So I started looking... In tools/Makefile.am the program ccdv seems to get special treatment (which always

Re: [Linux-ha-dev] tools/ccdv

2008-02-29 Thread Lars Marowsky-Bree
On 2008-02-29T11:19:50, David Lee [EMAIL PROTECTED] wrote: So while I'm visiting this, is there any reason not to simplify this right down to the usual 'automake' behaviour? That obscure comment said ...auto-built but not auto-cleaned. Does anyone know why is it necessary to avoid this

Re: [Linux-ha-dev] tools/ccdv

2008-02-29 Thread David Lee
On Fri, 29 Feb 2008, Lars Marowsky-Bree wrote: On 2008-02-29T11:19:50, David Lee [EMAIL PROTECTED] wrote: So while I'm visiting this, is there any reason not to simplify this right down to the usual 'automake' behaviour? That obscure comment said ...auto-built but not auto-cleaned.

Re: [Linux-ha-dev] tools/ccdv

2008-02-29 Thread Lars Marowsky-Bree
On 2008-02-29T15:39:07, David Lee [EMAIL PROTECTED] wrote: But if you can pretty it up and --enable-pretty still works, sure. No, I don't particularly want to get sidetracked into its insides. I was simply wondering why, from the configure/make perspective, it seems to be a special case. I

Re: [Linux-ha-dev] tools/ccdv

2008-02-29 Thread David Lee
On Fri, 29 Feb 2008, Lars Marowsky-Bree wrote: On 2008-02-29T15:39:07, David Lee [EMAIL PROTECTED] wrote: But if you can pretty it up and --enable-pretty still works, sure. No, I don't particularly want to get sidetracked into its insides. I was simply wondering why, from the

RE: [Linux-HA] Automatic Clenaup of certain resources

2008-02-29 Thread Hildebrand, Nils, 232
Hi, [...] But back to the original question: Is there a way to tell Linux-HA to retry a failed resource after a certain amount of time again? [...] The mentioned cluster had also a feature called auto-clear which would clear the faulted-state after some time. I personally

RE: [Linux-HA] ERROR: crm_abort: ha_set_tm_time: Triggered assert atiso8601.c:887

2008-02-29 Thread Junko IKEDA
Hi, I've seen these messages appearing when I connect the hb_gui to the mgmtd: mgmtd[6819]: 2008/02/29_08:03:51 ERROR: crm_abort: ha_set_tm_time: Triggered assert at iso8601.c:887 : rhs-tm_mday 0 || lhs-days == rhs-tm_mday I also found the same error right now! Not only from mgmtd, crmd

Re: [Linux-HA] Re: heartbeat shuts down all VM machines

2008-02-29 Thread rupert
it works now much better, both systems did a reboot (dont know why), and now both VM running on the first server, so how can i get the second server to take back the 2nd VM? On Thu, Feb 28, 2008 at 1:19 PM, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, On Thu, Feb 28, 2008 at 12:11:31PM

Re: [Linux-HA] Stale NFS Handle with Heartbeat V2

2008-02-29 Thread Guy
Looks like it might be exactly the sort of thing I need. Thanks Andreas. On 28/02/2008, Andreas Kurz [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 11:58 AM, Guy [EMAIL PROTECTED] wrote: Hi, I've seen a few howtos that suggest putting /var/lib/nfs on the drbd volume so that each

Re: [Linux-HA] (no subject)

2008-02-29 Thread Dominik Klein
Dominik Klein wrote: Schmidt, Florian wrote: Hello list, I still have problem with my heartbeat-config I want heartbeat to start AFD. I checked the RA for LSB-compatibility and think that it's right now. The log file says, that the bash does not find the command afd. crmd[2725]:

AW: [Linux-HA] (no subject)

2008-02-29 Thread Schmidt, Florian
At first I'm sorry for no subject...forgot -.- The location of the script is /etc/init.d/afdha I tried it also in /etc/ha.d/resource.d/afdha (the author told me to do so, but there was an error in the ha-log, that he does not find afdha in /etc/init.d so I switched it to that place) Cibadmin

RE: [Linux-HA] ERROR: crm_abort: ha_set_tm_time: Triggered assert atiso8601.c:887

2008-02-29 Thread Damon Estep
I am getting it too, after midnight on 2/29 in leap year - looks like a date bug to me :) -Original Message- From: [EMAIL PROTECTED] [mailto:linux-ha- [EMAIL PROTECTED] On Behalf Of Sebastian Reitenbach Sent: Friday, February 29, 2008 12:31 AM To: linux-ha@lists.linux-ha.org

Re: [Linux-HA] (no subject)

2008-02-29 Thread Andreas Kurz
On Fri, Feb 29, 2008 at 11:52 AM, Schmidt, Florian [EMAIL PROTECTED] wrote: Hello list, I still have problem with my heartbeat-config I want heartbeat to start AFD. I checked the RA for LSB-compatibility and think that it's right now. The log file says, that the bash does not find the

AW: [Linux-HA] (no subject)

2008-02-29 Thread Schmidt, Florian
Mit freundlichen Grüßen -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ha.org] Im Auftrag von Dominik Klein Gesendet: Freitag, 29. Februar 2008 12:03 An: General Linux-HA mailing list Betreff: Re: [Linux-HA] (no subject) Schmidt, Florian wrote:

Re: [Linux-HA] (no subject)

2008-02-29 Thread Dominik Klein
Schmidt, Florian wrote: Hello list, I still have problem with my heartbeat-config I want heartbeat to start AFD. I checked the RA for LSB-compatibility and think that it's right now. The log file says, that the bash does not find the command afd. crmd[2725]: 2008/02/29_11:32:00 info:

[Linux-HA] (no subject)

2008-02-29 Thread Schmidt, Florian
Hello list, I still have problem with my heartbeat-config I want heartbeat to start AFD. I checked the RA for LSB-compatibility and think that it's right now. The log file says, that the bash does not find the command afd. crmd[2725]: 2008/02/29_11:32:00 info: do_lrm_rsc_op: Performing

Re: [Linux-HA] (no subject)

2008-02-29 Thread Adrian Chapela
Schmidt, Florian escribió: Hello list, I still have problem with my heartbeat-config I want heartbeat to start AFD. I checked the RA for LSB-compatibility and think that it's right now. The log file says, that the bash does not find the command afd. Hello! Can you post your resource

Re: [Linux-HA] Node doesn't reboot

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 12:34:28AM +0100, [EMAIL PROTECTED] wrote: It will reboot the other node if you have a STONITH device configured. Do you have one? No, I don't. Yes I know, I need a stonith device but I don't have a real one yet. Anyway even without should the node which is

Re: [Linux-HA] Heartbeat dies

2008-02-29 Thread Dejan Muhamedagic
Hi, On Thu, Feb 28, 2008 at 01:53:08PM -0500, Tao Yu wrote: On Thu, Feb 28, 2008 at 5:25 AM, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, On Wed, Feb 27, 2008 at 11:45:10AM -0500, Tao Yu wrote: Running heartbeat 2.1.2 on Centos4.5 The cluster has just two nodes, boxqaha1 and

Re: [Linux-HA] Problems with Year 2007?

2008-02-29 Thread Alex Spengler
On 1/4/07, Andrew Beekhof [EMAIL PROTECTED] wrote: On 1/2/07, Andrew Beekhof [EMAIL PROTECTED] wrote: On 1/1/07, Christian Froemmel [EMAIL PROTECTED] wrote: On Mon, 1 Jan 2007, Marian Neubert wrote: Hello, crm_verify[11179]: 2007/01/01_12:13:26 ERROR:

Re: AW: [Linux-HA] (no subject)

2008-02-29 Thread Adrian Chapela
[snip] su $afduser -c afd -a Try su - $afduser -c afd -a ---^ Hi, well this is what the script was before I changed it.^^ I exacetly erased this - because with them, I was not even able to start afd by hand. Without them I was able. su - is very important to change to another user

RE: [Linux-HA] ERROR: crm_abort: ha_set_tm_time: Triggered assert atiso8601.c:887

2008-02-29 Thread Sebastian Reitenbach
Damon Estep [EMAIL PROTECTED] wrote: I am getting it too, after midnight on 2/29 in leap year - looks like a date bug to me :) that would explain that I haven't seen it before, and hopefully it will be fixed automagically by tomorrow ;) maybe I should create a bug report so that it gets

RE: [Linux-HA] ERROR: crm_abort: ha_set_tm_time: Triggered assertatiso8601.c:887

2008-02-29 Thread Stephan Berlet
On CentOS 4.5 with heartbeat 2.1.3-3: # date Fr Feb 29 13:21:42 CET 2008 # crm_verify -L crm_verify[23102]: 2008/02/29_13:19:25 ERROR: crm_abort: ha_set_tm_time: Triggered assert at iso8601.c:879 : rhs-tm_mday 0 || lhs-days == rhs-tm_mday Damon Estep wrote: I am getting it too, after

Re: [Linux-HA] ERROR: crm_abort: ha_set_tm_time: Triggered assert atiso8601.c:887

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 04:55:40PM +0900, Junko IKEDA wrote: Hi, I've seen these messages appearing when I connect the hb_gui to the mgmtd: mgmtd[6819]: 2008/02/29_08:03:51 ERROR: crm_abort: ha_set_tm_time: Triggered assert at iso8601.c:887 : rhs-tm_mday 0 || lhs-days ==

Re: [Linux-HA] ERROR: crm_abort: ha_set_tm_time: Triggered assert atiso8601.c:887

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 01:34:38PM +0100, Sebastian Reitenbach wrote: Damon Estep [EMAIL PROTECTED] wrote: I am getting it too, after midnight on 2/29 in leap year - looks like a date bug to me :) that would explain that I haven't seen it before, and hopefully it will be fixed

Re: [Linux-HA] Re: Re: Re: Error comiling Heartbeat 2.1.3

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 10:07:09AM +0100, Ilkan Akcakaya wrote: Hi Dejan and all others, I compiled and installed Heartbeat 2.1.3 successfully. I configured the haresources-files to bring up an ipadress, than drbd (0.7) and finally mount filesystem. haresources: debian2 192.168.1.1

Re: AW: [Linux-HA] (no subject)

2008-02-29 Thread Dominik Klein
Hello, I wrote the following lines on top of the script code: export PATH=$PATH:/home/afdha export AFD_WORK_DIR=/usr/afd AFD needs one environment-variable named AFD_WORK_DIR to know, where to work I also did chown afdha:501 /usr/afd and chown /home/afdha How far does this work, because

Re: [Linux-HA] Script to calculate scores to allow a defined number of resource failures before failover

2008-02-29 Thread Dominik Klein
Some cosmetic changes. Thanks to wschlich. Regards Dominik calc_linux_ha_scores.sh Description: Bourne shell script ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also:

AW: AW: [Linux-HA] (no subject)

2008-02-29 Thread Schmidt, Florian
Mit freundlichen Grüßen Hello, I wrote the following lines on top of the script code: export PATH=$PATH:/home/afdha export AFD_WORK_DIR=/usr/afd AFD needs one environment-variable named AFD_WORK_DIR to know, where to work I also did chown afdha:501 /usr/afd and chown

Re: [Linux-HA] Node Priority

2008-02-29 Thread Michael Schwartzkopff
Am Freitag, 29. Februar 2008 16:00 schrieb Carlos Alexandre de Souza da Silva: (...) When heartbeat is started(on both nodes) my node called pgslave gets promoted to DC and that cannot happen, my node pgmaster should always be the active part of the service and also this node needs to always

Re: [Linux-HA] Node doesn't reboot

2008-02-29 Thread b52
Hi, On Fri, Feb 29, 2008 at 12:34:28AM +0100, [EMAIL PROTECTED] wrote: It will reboot the other node if you have a STONITH device configured. Do you have one? No, I don't. Yes I know, I need a stonith device but I don't have a real one yet. Anyway even without should the node which is

[Linux-HA] Question of Service Monitoring in HAv2

2008-02-29 Thread Milind Talekar
Hello All I had a query about the service monitoring in HA v2, I was wondering if i can configure it in such a way that if a service fails , heartbeat should try to restart it say n number of times before it fences the system Appreciate your replies Milind

Re: [Linux-HA] Question of Service Monitoring in HAv2

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 08:41:02PM +0530, Milind Talekar wrote: Hello All I had a query about the service monitoring in HA v2, I was wondering if i can configure it in such a way that if a service fails , heartbeat should try to restart it say n number of times before

Re: [Linux-HA] Question of Service Monitoring in HAv2

2008-02-29 Thread Serge Dubrouski
http://www.linux-ha.org/v2/faq/forced_failover?highlight=%28faq%29 Unfortunately as far as I know it's broken in 2.1.3. On Fri, Feb 29, 2008 at 8:11 AM, Milind Talekar [EMAIL PROTECTED] wrote: Hello All I had a query about the service monitoring in HA v2, I was wondering if i

Re: [Linux-HA] Question of Service Monitoring in HAv2

2008-02-29 Thread Dominik Klein
I had a query about the service monitoring in HA v2, I was wondering if i can configure it in such a way that if a service fails , heartbeat should try to restart it say n number of times before it fences the system It will (by default) only fence the system, if stop fails. If

[Linux-HA] Node Priority

2008-02-29 Thread Carlos Alexandre de Souza da Silva
I have 2 nodes on my setup running na active/passive configuration with postgresql, drbd and drbdlinks. When heartbeat is started(on both nodes) my node called pgslave gets promoted to DC and that cannot happen, my node pgmaster should always be the active part of the service and also this

RES: [Linux-HA] Problems Starting Postgres LSB-Compliant

2008-02-29 Thread Carlos Alexandre de Souza da Silva
Serge, Thanks a lot for your feedback my problem is solved now :) -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Serge Dubrouski Enviada em: quinta-feira, 28 de fevereiro de 2008 16:15 Para: General Linux-HA mailing list Assunto: Re: [Linux-HA] Problems

Re: [Linux-HA] Node Priority

2008-02-29 Thread Dominik Klein
When heartbeat is started(on both nodes) my node called pgslave gets promoted to DC and that cannot happen, my node pgmaster should always be the active part of the service and also this node needs to always try to get promoted to DC when he have the chance(pgslave gotta spend minimal time being

Re: AW: AW: [Linux-HA] (no subject)

2008-02-29 Thread Dominik Klein
Schmidt, Florian wrote: Mit freundlichen Grüßen Hello, I wrote the following lines on top of the script code: export PATH=$PATH:/home/afdha export AFD_WORK_DIR=/usr/afd AFD needs one environment-variable named AFD_WORK_DIR to know, where to work I also did chown afdha:501 /usr/afd

[Linux-HA] Config, problem or missconfiguration ?

2008-02-29 Thread Adrian Chapela
Hello, I attached my newest config. This config has a clone resource, a master/slave resource and a normal resource. I have two nodes (debian and semsor10) and I have serious problems to understand why happens some situations. I think this is a normal situation: Node: semsor10

Re: [Linux-HA] Question of Service Monitoring in HAv2

2008-02-29 Thread Serge Dubrouski
On Fri, Feb 29, 2008 at 10:03 AM, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, On Fri, Feb 29, 2008 at 08:36:59AM -0700, Serge Dubrouski wrote: http://www.linux-ha.org/v2/faq/forced_failover?highlight=%28faq%29 Unfortunately as far as I know it's broken in 2.1.3. Is there a

Re: [Linux-HA] Question of Service Monitoring in HAv2

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 09:17:47PM +0530, Milind Talekar wrote: On Friday 29 February 2008, Serge Dubrouski wrote: http://www.linux-ha.org/v2/faq/forced_failover?highlight=%28faq%29 Unfortunately as far as I know it's broken in 2.1.3. On Fri, Feb 29, 2008 at 8:11 AM, Milind Talekar

Re: [Linux-HA] Config, problem or missconfiguration ?

2008-02-29 Thread Dejan Muhamedagic
Him On Fri, Feb 29, 2008 at 04:59:51PM +0100, Adrian Chapela wrote: Hello, I attached my newest config. Which version do you run? Apparently, Andrew improved multistate resources in 2.1.3. Thanks, Dejan This config has a clone resource, a master/slave resource and a normal resource. I

Re: [Linux-HA] ERROR: crm_abort: ha_set_tm_time: Triggered assertatiso8601.c:887

2008-02-29 Thread Sebastian Reitenbach
Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, On Fri, Feb 29, 2008 at 01:34:38PM +0100, Sebastian Reitenbach wrote: Damon Estep [EMAIL PROTECTED] wrote: I am getting it too, after midnight on 2/29 in leap year - looks like a date bug to me :) that would explain that I haven't

Re: [Linux-HA] Question of Service Monitoring in HAv2

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 08:36:59AM -0700, Serge Dubrouski wrote: http://www.linux-ha.org/v2/faq/forced_failover?highlight=%28faq%29 Unfortunately as far as I know it's broken in 2.1.3. Is there a bugzilla for that? Thanks, Dejan On Fri, Feb 29, 2008 at 8:11 AM, Milind Talekar [EMAIL

Re: [Linux-HA] Config, problem or missconfiguration ?

2008-02-29 Thread Adrian Chapela
Dejan Muhamedagic escribió: Him On Fri, Feb 29, 2008 at 04:59:51PM +0100, Adrian Chapela wrote: Hello, I attached my newest config. Which version do you run? Apparently, Andrew improved multistate resources in 2.1.3. Yes I know and I am running 2.1.3 to do tests and in another

Re: [Linux-HA] Re: heartbeat shuts down all VM machines

2008-02-29 Thread rupert
I did some google about the ucast errors, but not much info came arround. What can be the cause of this? I rebooted and/or restarted the machines but always on both machines the log fills with the following Feb 29 16:17:15 xen-B1 heartbeat: [2974]: ERROR: write failure on ucast eth0.: No such

RES: [Linux-HA] Node Priority

2008-02-29 Thread Carlos Alexandre de Souza da Silva
Because one of the nodes is a very powerfull server and the other nodes is on a more modest configuration so I would want to use the best machine all the time possible. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Michael Schwartzkopff Enviada em:

Re: RES: [Linux-HA] Node Priority

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 04:20:29PM -0300, Carlos Alexandre de Souza da Silva wrote: Because one of the nodes is a very powerfull server and the other nodes is on a more modest configuration so I would want to use the best machine all the time possible. The DC location and the resources'

Re: [Linux-HA] Question of Service Monitoring in HAv2

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 10:14:55AM -0700, Serge Dubrouski wrote: On Fri, Feb 29, 2008 at 10:03 AM, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, On Fri, Feb 29, 2008 at 08:36:59AM -0700, Serge Dubrouski wrote: http://www.linux-ha.org/v2/faq/forced_failover?highlight=%28faq%29

Re: [Linux-HA] Config, problem or missconfiguration ?

2008-02-29 Thread Dejan Muhamedagic
Hi, On Fri, Feb 29, 2008 at 06:20:58PM +0100, Adrian Chapela wrote: Dejan Muhamedagic escribi?: Him On Fri, Feb 29, 2008 at 04:59:51PM +0100, Adrian Chapela wrote: Hello, I attached my newest config. Which version do you run? Apparently, Andrew improved multistate resources in

[Linux-HA] Likelyhood of success with only single ethernet connection?

2008-02-29 Thread Ed Wildgoose
I'm renting some cheap boxes from a provider that won't offer anything except a standard bundle. This includes a single network card + net connection and nothing else. How sensible is it to attempt a DRBD setup using two of these boxes? What ways might it actually go split brain if I put

Re: [Linux-HA] Config, problem or missconfiguration ?

2008-02-29 Thread Adrián Chapela
Dejan Muhamedagic escribió: Hi, On Fri, Feb 29, 2008 at 06:20:58PM +0100, Adrian Chapela wrote: Dejan Muhamedagic escribi?: Him On Fri, Feb 29, 2008 at 04:59:51PM +0100, Adrian Chapela wrote: Hello, I attached my newest config. Which version do you run?