Re: [Linux-HA] Scheduling Restart of Service

2008-03-31 Thread Andrew Beekhof
On Mar 30, 2008, at 9:27 PM, Andreas Kurz wrote: On Fri, Mar 28, 2008 at 6:02 PM, Andrew Beekhof <[EMAIL PROTECTED]> wrote: On Mar 28, 2008, at 3:14 PM, Dejan Muhamedagic wrote: Hi, On Fri, Mar 28, 2008 at 12:47:14PM +, David Thompson wrote: Hello: I have been asked to schedule a se

Re: [Linux-HA] Script to H/A enable an LSB service

2008-03-31 Thread Michael Schwartzkopff
Am Montag, 31. März 2008 04:59 schrieb Robert Wipfel: > Hi, > > Does anyone have a script that, for an existing LSB service, > takes arguments like service name, IP address, and file system > mount point, and either generates CIB XML or creates a new > resource group comprising service, IP and file

Re: [Linux-HA] Script to H/A enable an LSB service

2008-03-31 Thread Andrew Beekhof
hi robert! On Mar 31, 2008, at 4:59 AM, Robert Wipfel wrote: Hi, Does anyone have a script that, for an existing LSB service, takes arguments like service name, IP address, and file system mount point, and either generates CIB XML or creates a new resource group comprising service, IP and file

Re: [Linux-HA] sanity-check configs please? getting started guide not working

2008-03-31 Thread Dejan Muhamedagic
Hi, On Fri, Mar 28, 2008 at 02:48:11PM -0400, Eric J. Bowser wrote: > Hello list! > > I've followed through the Getting Started guide for v2 on the linux-ha.org > site, and can't get it to run. Whenever I try starting, it only logs the > following two lines, which don't really help: > heartbea

Re: [Linux-HA] apache ocf resource in clone config

2008-03-31 Thread Dejan Muhamedagic
Hi, On Sat, Mar 29, 2008 at 10:24:51PM +0100, www.tiri.li high availability wrote: > Hello list, > > When trying to start this resource the message > > crmd: [1643]: info: do_lrm_rsc_op: Performing op=R_httpd:0_start_0 > key=31:16:ef45528d-4c06-43a7-a2ed-20498544cfa8) > apache[14613]: [14622]:

Re: [Linux-HA] apache ocf resource in clone config

2008-03-31 Thread Andrew Beekhof
On Sat, Mar 29, 2008 at 10:24 PM, www.tiri.li high availability <[EMAIL PROTECTED]> wrote: > Hello list, > > When trying to start this resource the message > > crmd: [1643]: info: do_lrm_rsc_op: Performing op=R_httpd:0_start_0 > key=31:16:ef45528d-4c06-43a7-a2ed-20498544cfa8) > apache[14613]: [

Re: [Linux-HA] apache ocf resource in clone config

2008-03-31 Thread Andrew Beekhof
On Mon, Mar 31, 2008 at 8:56 AM, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote: > Hi, > > > On Sat, Mar 29, 2008 at 10:24:51PM +0100, www.tiri.li high availability > wrote: > > Hello list, > > > > When trying to start this resource the message > > > > crmd: [1643]: info: do_lrm_rsc_op: Perform

Re: [Linux-HA] heartbeat 2.1.2 apache ocf resource incorrect ?

2008-03-31 Thread Dejan Muhamedagic
Hi, On Sun, Mar 30, 2008 at 01:48:07PM +0200, www.tiri.li high availability wrote: > Hello list, > > I have following configuration: > > 4 node cluster with 2 virtual IP Adresses and ldirectord running very well. > But now i tried to get 2 apache services (with httpd-vip1.conf and > httpd-vip2

[Linux-HA] crm_resource now giving error in ha_set_tm_time

2008-03-31 Thread Doug Knight
All, As of this morning, I am now seeing an error generated by every execution of crm_resource. I am running HA version 2.0.8 on Linux RHEL5. No changes have been made, in fact the first occurrence was from a cronjob that runs every morning. If this is fixed in a later version please let me know.

Re: [Linux-HA] crm_resource now giving error in ha_set_tm_time

2008-03-31 Thread Dejan Muhamedagic
Hi, On Mon, Mar 31, 2008 at 08:05:14AM -0400, Doug Knight wrote: > All, > As of this morning, I am now seeing an error generated by every > execution of crm_resource. I am running HA version 2.0.8 on Linux RHEL5. > No changes have been made, in fact the first occurrence was from a > cronjob that r

[Linux-HA] HEARTBEAT + DRBD - Not working as intended

2008-03-31 Thread Carlos Alexandre de Souza da Silva
Greetings, Something is very wrong with my drbd. Whenever my master machine goes down and it comes back, I get something like this when the service is started and the node is promoted by heartbeat. [EMAIL PROTECTED] ~]# cat /proc/drbd version: 8.0.11 (api:86/proto:86) GIT-hash: b3fe2bdfd3

Re: [Linux-HA] HA maintenance mode

2008-03-31 Thread Danny Sternkopf
Hi, this not exactly that what I'am looking for. I guess you mean 'is-managed-default' which can be set to false and will lead to unmanaged resources. So if I shutdown HA or even the node those resources will not be stopped properly. I don't see an option to specify the behavior for the stan

Re: [Linux-HA] HEARTBEAT + DRBD - Not working as intended

2008-03-31 Thread Andreas Kurz
On Mon, Mar 31, 2008 at 2:25 PM, Carlos Alexandre de Souza da Silva <[EMAIL PROTECTED]> wrote: > Greetings, > > > > Something is very wrong with my drbd. Whenever my master machine goes > down and it comes back, I get something like this when the service is > started and the node is promoted by

Re: [Linux-HA] sanity-check configs please? getting started guide not working

2008-03-31 Thread Eric J. Bowser
On Fri, Mar 28, 2008 at 02:48:11PM -0400, Eric J. Bowser wrote: Here is my /etc/had/ha.cf: use_logdoff logfile /var/log/ha-log debugfile /var/log/ha-debug keepalive 1 deadtime5 initdead60 udpport 694 ping192.168.42.8 bcast

Re: [Linux-HA] HA maintenance mode

2008-03-31 Thread Dominik Klein
I don't see an option to specify the behavior for the stand-by mode in the manual. I just wanna prevent HA from moving resources to other nodes for maintenance purpose. So basically, you want to stop all resources at once, don't you? Here's a feature request: http://developerbugs.linux-founda

Re: [Linux-HA] sanity-check configs please? getting started guide not working

2008-03-31 Thread Johan Hoeke
Eric J. Bowser wrote: >> On Fri, Mar 28, 2008 at 02:48:11PM -0400, Eric J. Bowser wrote: >>> Here is my /etc/had/ha.cf: >>> use_logdoff >>> logfile /var/log/ha-log >>> debugfile /var/log/ha-debug >>> keepalive 1 >>> deadtime5 >>> initdead60 >>> udpport

[Linux-HA] 2.1.3 build error in Fedora 4

2008-03-31 Thread Eric J. Bowser
Hello all, I have a fully patched Fedora 4 system, and am trying to build heartbeat-2.1.3. I first installed dependencies through yum: yum install python-devel pam-devel gnutls-devel swig libnet-devel \ glib2-devel e2fsprogs-devel The unpacked the tar, ran configure as follows: ./ConfigureMe c

Re: [Linux-HA] 2.1.3 build error in Fedora 4

2008-03-31 Thread Dejan Muhamedagic
Hi, On Mon, Mar 31, 2008 at 11:57:58AM -0400, Eric J. Bowser wrote: > Hello all, > > I have a fully patched Fedora 4 system, and am trying to build > heartbeat-2.1.3. > > I first installed dependencies through yum: > yum install python-devel pam-devel gnutls-devel swig libnet-devel \ > glib2-de

Re: [Linux-HA] 2.1.3 build error in Fedora 4

2008-03-31 Thread Eric J. Bowser
Dejan Muhamedagic wrote: You need libxml2 development installed. I'm not sure which package is that for your platform. Thanks, Dejan Thanks again Dejan. That got me farther, but now make is failing later on: Compiling xml.c: [ERROR] gcc

Re: [Linux-HA] 2.1.3 build error in Fedora 4

2008-03-31 Thread Eric J. Bowser
Eric J. Bowser wrote: Compiling xml.c: [ERROR] gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../libltdl -I../../../libltdl -I../../../linux-ha -I../../../linux-ha

Re: [Linux-HA] Script to H/A enable an LSB service

2008-03-31 Thread Robert Wipfel
>>> On Mon, Mar 31, 2008 at 1:00 AM, in message <[EMAIL PROTECTED]>, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > hi robert! Hi Andrew > On Mar 31, 2008, at 4:59 AM, Robert Wipfel wrote: > >> Hi, >> >> Does anyone have a script that, for an existing LSB service, >> takes arguments like service

[Linux-HA] HEARTBEAT + DRBD - Not working as intended

2008-03-31 Thread Carlos Alexandre de Souza da Silva
Greetings, Something is very wrong with my drbd. Whenever my master machine goes down and it comes back, I get something like this when the service is started and the node is promoted by heartbeat. [EMAIL PROTECTED] ~]# cat /proc/drbd version: 8.0.11 (api:86/proto:86) GIT-hash: b3fe2bdfd3

Re: [Linux-HA] 2.1.3 build error in Fedora 4

2008-03-31 Thread Adrian Chapela
Eric J. Bowser escribió: Dejan Muhamedagic wrote: You need libxml2 development installed. I'm not sure which package is that for your platform. Thanks, Dejan Thanks again Dejan. That got me farther, but now make is failing later on: Compiling xml.c:

Re: [Linux-HA] 2.1.3 build error in Fedora 4

2008-03-31 Thread Matthew Soffen
Afternoon All, If this is the case than we probably need to do a check for libxml2 and for bzip when running the configure command and flag it if they aren't there. Its possible its there (I don't have the code checked out at the moment). Matt On Mon, 2008-03-31 at 12:22 -0400, Eric J. Bowser

[Linux-HA] Problem about hb_addnode and hb_delnode

2008-03-31 Thread ??
Hello, Today, I create three virtual machine (Guest OS = redhat enterprise 4u4) with vmware workstation 6 on winxp. Then, I install heartbeat-2.1.3 on each vm by src packet. each guest os hava two ethernet card(eth0 and eth1), which was used as heartbeat medium. "crm on" was added to the endpoi