Re: [Linux-ha-dev] Patch to OCF Route

2008-07-31 Thread Poul Petersen
- I can't wrap my head around why you want to disregard the return value of create_route_spec when invoking route_status and being configured with ${OCF_RESKEY_object} = rule. Can you explain please? I assume you're talking about this block? --- route_status() {

Re: [Linux-HA] constraints or groups

2008-07-31 Thread Dominik Klein
Maddin HA wrote: Hi folks, we have a small discussion at our workplace where we talk about using a lot of constraints (coloc's, orders) or simply using groups for combined resources. Now I wanna ask the ha-geeks :) What is in your opinion the better way? Groups or constraints? Cheers

Re: [Linux-HA] Xendomains

2008-07-31 Thread Michael Schwartzkopff
Am Donnerstag, 31. Juli 2008 07:45 schrieb devi thapa: Hi Michael, I am using heartbeat 2.0.8 . The respective cib.xml is Plese use 2.1.3 or pacemaker. 2.0.8 is buggy. Did you set crm on in ha.cf? -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer

[Linux-HA] Stonith modules for APC and Xen

2008-07-31 Thread Pekka Kuronen
Hi all, I'm new to this list and want to introduce myself. I'm a 36 year old IT guy, spent most of his natural existence with computers and GYM (not very fitting?), last 13 years with Linux and 5 years with identity management along with some ISP / random stuff like hight availability :)Yes

Re: [Linux-HA] Exactly how broken is the heartbeat apache OCF resource agent?

2008-07-31 Thread Nick
Dejan Muhamedagic ha scritto: Hi, On Wed, Jul 30, 2008 at 05:56:03PM +0200, Nick wrote: Dejan Muhamedagic ha scritto: Hi, On Wed, Jul 30, 2008 at 10:07:58AM +0200, Nick wrote: Not to blame heartbeat, it seems that with apache 2 (2.2 and above especially) that the way apache runs has

[Linux-HA] Annoying problem using the GUI: OCF RA missing

2008-07-31 Thread Michael Schwartzkopff
Hi, sometimes I start the GUI and want to add new resources the GUI does not display any OCF resources. So I have to close the GUI and start again. I did not find anything enlighting with google that would help me solving the problem. Could anybody give me a hint to get rid of that problem?

[Linux-HA] xendomain

2008-07-31 Thread devi thapa
yeah, i have set crm on I think you didnt go through my attachments. I have sent ha.cf file. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems

Re: [Linux-HA] Stonith modules for APC and Xen

2008-07-31 Thread Pekka Kuronen
Please do not use the Xen STONITH module, I had to take it offline since it does not work as intended. Sorry for the inconvenience. Pekka Pekka Kuronen wrote: Hi all, I'm new to this list and want to introduce myself. I'm a 36 year old IT guy, spent most of his natural existence with

[Linux-HA] xendomains

2008-07-31 Thread devi thapa
I forgot to mention this in my earlier mail. I am using 2.1.3 ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems

Re: [Linux-HA] xendomain

2008-07-31 Thread Michael Schwartzkopff
Am Donnerstag, 31. Juli 2008 10:44 schrieb devi thapa: yeah, i have set crm on I think you didnt go through my attachments. I have sent ha.cf file. ha.cf is irrelevant here. Your CIB shows only one resource (IPaddr_172_25_149_246), no sign of any xen resources. -- Dr. Michael Schwartzkopff

Re: [Linux-HA] resources don't migrate when node is declared dead?!?

2008-07-31 Thread Navatala
From: Jean-Francois Malouin[EMAIL PROTECTED] To:linux-ha@lists.linux-ha.org Date: 30/07/08 20:39 Subject: Re: [Linux-HA] resources don't migrate when node is declared dead?!? * ZiLioN ZilLioN [EMAIL PROTECTED] [20080729 19:03]: Date: Tue, 29 Jul 2008 17:27:38 -0400 From: [EMAIL

Re: [Linux-HA] Annoying problem using the GUI: OCF RA missing

2008-07-31 Thread Yan Gao
Hi Michael, On Thu, 2008-07-31 at 10:42 +0200, Michael Schwartzkopff wrote: Hi, sometimes I start the GUI and want to add new resources the GUI does not display any OCF resources. So I have to close the GUI and start again. When you meet the problem, can you get anything returned with the

Re: [Linux-HA] Annoying problem using the GUI: OCF RA missing

2008-07-31 Thread Michael Schwartzkopff
Am Donnerstag, 31. Juli 2008 12:15 schrieb Yan Gao: Hi Michael, On Thu, 2008-07-31 at 10:42 +0200, Michael Schwartzkopff wrote: Hi, sometimes I start the GUI and want to add new resources the GUI does not display any OCF resources. So I have to close the GUI and start again. When you

Re: [Linux-HA] resource keep restarting on standby node

2008-07-31 Thread Andreas Kurz
2008/7/31 jijun gao [EMAIL PROTECTED]: hi, I have two nodes, and when I start service heartbeat only on standby node, the resource keep on restarting itself, I don't know what is happening. * below is the resource infomation:* [EMAIL PROTECTED] ~]# cibadmin -Q -o resources resources

[Linux-HA] xendomains

2008-07-31 Thread devi thapa
here is the cib.xml ?xml version=15.0 ? cib admin_epoch=0 epoch=0 num_updates=0 configuration crm_config cluster_property_set id=cib-bootstrap-options attributes nvpair

Re: [Linux-HA] xendomains

2008-07-31 Thread Michael Schwartzkopff
Am Donnerstag, 31. Juli 2008 13:50 schrieb devi thapa: here is the cib.xml (...) /primitive primitive class=heartbeat id=xendomains_2 provider=heartbeat type=xendomains (...) /primitive Why do you

Re: [Linux-HA] xendomains

2008-07-31 Thread Michael Schwartzkopff
Am Donnerstag, 31. Juli 2008 13:50 schrieb devi thapa: here is the cib.xml (...) By the way: Why do you need a IPaddr resouce at all? The xen domain does have its own IP address. What service do you want to offer under the address 172.25.149.246? Please also consider using the OCF compatible

Re: [Linux-HA] samba lsb script

2008-07-31 Thread Nick
Schmidt, Florian ha scritto: Hi list, Samba is part of my linux-ha and drbd setup. Because I want to store the config files at a central place, I put them onto a DRBD-device. Problem is: when heartbeat starts it first triggers a monitor operation of all resources. Because samba cannot find

Re: [Linux-HA] samba lsb script

2008-07-31 Thread Serge Dubrouski
On Thu, Jul 31, 2008 at 7:24 AM, Schmidt, Florian [EMAIL PROTECTED] wrote: Hi list, Samba is part of my linux-ha and drbd setup. Because I want to store the config files at a central place, I put them onto a DRBD-device. Problem is: when heartbeat starts it first triggers a monitor

[Linux-HA] Run script on active node

2008-07-31 Thread Chris Willard
Hello All, I am setting up my first linux-ha system and have a question. I want to use duplicity to create regular off-site backups by using it with cron. Is there a way to check if the node is the active one so I can put the script on both nodes but it will only run on one? Thanks, Chris.

AW: [Linux-HA] samba lsb script

2008-07-31 Thread Schmidt, Florian
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ha.org] Im Auftrag von Serge Dubrouski Gesendet: Donnerstag, 31. Juli 2008 16:21 An: General Linux-HA mailing list Betreff: Re: [Linux-HA] samba lsb script On Thu, Jul 31, 2008 at 7:24 AM, Schmidt,

Re: [Linux-HA] samba lsb script

2008-07-31 Thread Serge Dubrouski
On Thu, Jul 31, 2008 at 10:43 AM, Schmidt, Florian [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ha.org] Im Auftrag von Serge Dubrouski Gesendet: Donnerstag, 31. Juli 2008 16:21 An: General Linux-HA mailing list Betreff: Re:

Re: [Linux-HA] samba lsb script

2008-07-31 Thread Serge Dubrouski
On Thu, Jul 31, 2008 at 10:48 AM, Serge Dubrouski [EMAIL PROTECTED] wrote: On Thu, Jul 31, 2008 at 10:43 AM, Schmidt, Florian [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ha.org] Im Auftrag von Serge Dubrouski Gesendet:

[Linux-HA] STONITH with 1.x configs

2008-07-31 Thread Brock Palen
We are trying to setup stonith with heartbeat 2.1.3 but are using 1.x type configs. Our ha.cf has: On mds2 stonith_host mds1.engin.umich.edu external/ipmi /etc/ha.d/ipmi-mds1.cfg On mds1 stonith_host mds2.engin.umich.edu external/ipmi /etc/ha.d/ipmi-mds2.cfg When I start up heartbeat

AW: [Linux-HA] samba lsb script

2008-07-31 Thread Schmidt, Florian
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ha.org] Im Auftrag von Serge Dubrouski Gesendet: Donnerstag, 31. Juli 2008 18:55 An: General Linux-HA mailing list Betreff: Re: [Linux-HA] samba lsb script On Thu, Jul 31, 2008 at 10:48 AM, Serge Dubrouski

Re: [Linux-HA] samba lsb script

2008-07-31 Thread Serge Dubrouski
On Thu, Jul 31, 2008 at 11:41 AM, Schmidt, Florian [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ha.org] Im Auftrag von Serge Dubrouski Gesendet: Donnerstag, 31. Juli 2008 18:55 An: General Linux-HA mailing list Betreff: Re:

Re: [Linux-HA] Run script on active node

2008-07-31 Thread Iain Miller
Chris, If you have an IP resource, run a script on both boxes, check for the IP, if it exists do the backup, if it doesn't exist don't do the backup. You could also use any other resource that you know is on the active node - DRBD for example. HTH's, Iain. 2008/7/31 Chris Willard [EMAIL

Re: [Linux-HA] Run script on active node

2008-07-31 Thread Chris Willard
On Thu, 31 Jul 2008, Iain Miller wrote: Chris, If you have an IP resource, run a script on both boxes, check for the IP, if it exists do the backup, if it doesn't exist don't do the backup. You could also use any other resource that you know is on the active node - DRBD for example.

[Linux-HA] Resources starting twice

2008-07-31 Thread Angel Rengifo Cancino
Hi people: I'm a newbie in heartbeat and I don't speak English very well yet. I'm getting started with two virtual machines (vmware) running Centos 5.2 and heartbeat 2.1.3. I'm working on heartbeat 1.x style without crm and stonith configuration, and managing httpd and squid services. I don't

[Linux-HA] external/ipmi problems

2008-07-31 Thread Brock Palen
I have made some luck getting STONITH to work but still running into a problem I can not figure out how to debug. In the ha.cf on each host I have: stonith_host mds2.engin.umich.edu external/ipmi mds2.engin.umich.edu mds2-m.engin.umich.edu root PASSWORD stonith_host mds1.engin.umich.edu

Re: [Linux-HA] Resources starting twice

2008-07-31 Thread Navatala
Hi Angel, I have to ask the question, if you are new to heartbeat why start with outdated versions, go straight to version 2, forget version 1. just my opinion. From: Angel Rengifo Cancino[EMAIL PROTECTED] To:linux-ha@lists.linux-ha.org Date: 31/07/08 21:54 Subject: [Linux-HA] Resources

Re: [Linux-HA] Resources starting twice

2008-07-31 Thread Angel Rengifo Cancino
Yep, it's because I'm first trying to understand very well heartbeat 1.x before learning 2.x style. Using haresources it seems easier for my simple requirements. I'm just trying to troubleshoot two servers already installed with heartbeat style. They aren't working correctly and even worst

Re: [Linux-HA] Resource Stop/Start on a node when a new node enters the cluster

2008-07-31 Thread Randy Evans
Not to drag this out, but is it safe to assume this is expected behavior? As I said earlier in this thread, I also see this behavior using 2.1.3 and I assumed I had missed some setting/configuration because it seemed counter-intuitive the cluster would simply restart the resources on the same

Re: [Linux-HA] samba lsb script

2008-07-31 Thread Thibaut Perrin
Why don't you put the samba and drbd resources in a resource group, as the samba will always be launched AFTER the drbd resource and filesystem ? On Thu, Jul 31, 2008 at 3:24 PM, Schmidt, Florian [EMAIL PROTECTED] wrote: Hi list, Samba is part of my linux-ha and drbd setup. Because I want

Re: [Linux-HA] resource keep restarting on standby node

2008-07-31 Thread jijun gao
hi, Andreas very short interval and timeout *Jul 31 16:24:37 node2 last message repeated 9 times Jul 31 16:24:37 node2 setroubleshoot: SELinux is preventing ifconfig (ifconfig_t) read write to socket:[136168] (initrc_t). For complete SELinux messages. run sealert -l

Re: [Linux-HA] Resources starting twice

2008-07-31 Thread Michael Alger
On Thu, Jul 31, 2008 at 04:44:31PM -0500, Angel Rengifo Cancino wrote: I can't understand why httpd and squid are starting again after they're already started previously. Is there something wrong with my configuration? This problems is causing hearbeat to give up due to failure of squid. If