Re: [Linux-ha-dev] no failover after stonith

2005-11-13 Thread Andrew Beekhof
On 11/9/05, Peter Kruse [EMAIL PROTECTED] wrote: Hello, Andrew Beekhof wrote: will look into this.. looks like todays (yesterdays?) checkins solved this issue. They were related to stonithd AFAICS. from what i saw the CRM didnt think the stonith had passed - i was going to ask for your

Re: [Linux-ha-dev] problems with migrating resources with crm_resource

2005-11-24 Thread Andrew Beekhof
On 11/22/05, Joachim Banzhaf [EMAIL PROTECTED] wrote: Am Dienstag, 22. November 2005 03:29 schrieb Andrew Beekhof: On 11/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have a problem with migrating resources. The config is the same as with my earlier postings: I

Re: [Linux-ha-dev] Trouble with Clones

2005-12-12 Thread Andrew Beekhof
ledge"___Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.orghttp://lists.linux-ha.org/mailman/listinfo/linux-ha-devHome Page: http://linux-ha.org/ -- Andrew Beekhof "If it weren't for my horse, I wouldn't have spent that year in college"

Re: [Linux-ha-dev] problem with some RA (output: cat: write error: Broken pipe)

2006-01-13 Thread Andrew Beekhof
On 1/12/06, Francis Montagnac [EMAIL PROTECTED] wrote: Hi, I think that the father of this bash script (lrm?) is setting the action of SIGPIPE to SIG_IGN, and then cat itself notice that and resets it to a function printing that on stderr. You can reproduce that reliably with the following

Re: [Linux-ha-dev] An issue about CIM control.

2006-01-16 Thread Andrew Beekhof
On 1/16/06, James Pan [EMAIL PROTECTED] wrote: Hi, For the moment, in the CIM model, the cluster is represented by the HA_Cluster class, Most attributes of this class is the heartbeat config options. I am thinking how to bootstrap heartbeat in a cluster. This may be done by creating a

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: heartbeat by andrew from

2006-01-16 Thread Andrew Beekhof
CTS testers please note this commit. In order to run the same tests as you used to, you need to specify: enable_config_writes off in ha.cf Also note the use of the words the current implementation related to the CIB and PE logging. We may change this to write to disk at some point in the

Re: [Linux-ha-dev] Solaris cl_status finally arrives

2006-01-19 Thread Andrew Beekhof
On Jan 19, 2006, at 6:23 PM, David Lee wrote: On Thu, 19 Jan 2006, Andrew Beekhof wrote: BSC passes fine - I have no objections. BSC (presumably BasicSanityCheck): what platform? (Your earlier email was about OSX). Yeah, OSX. I'll be running it on sles9 (x86) shortly. Heartbeat 2

Re: [Linux-ha-dev] Solaris cl_status finally arrives

2006-01-19 Thread Andrew Beekhof
On Jan 19, 2006, at 11:22 PM, David Lee wrote: On Thu, 19 Jan 2006, Andrew Beekhof wrote: On Jan 19, 2006, at 6:23 PM, David Lee wrote: Thanks, Andrew. Your work is appreciated! No probs, I'm actually hoping this may have helped some intra-program IPC weirdness I've been seeing on OSX

Re: [Linux-ha-dev] improved cvs usage description

2006-01-20 Thread Andrew Beekhof
On 1/20/06, Joachim Banzhaf [EMAIL PROTECTED] wrote: Hi webadmin, would you mind changing the website and wiki cvs pages to add the -d switch to cvs update command from For example, one can do a cvs co linux-ha, and got a copy of the workspace. Once a copy is obtained, one can do a cvs

Re: [Linux-ha-dev] Tracking 2.0.3 release

2006-01-21 Thread Andrew Beekhof
On 1/21/06, Peter Kruse [EMAIL PROTECTED] wrote: Good morning, Lars Marowsky-Bree wrote: On 2006-01-20T12:37:10, Peter Kruse [EMAIL PROTECTED] wrote: OK, this we'll eventually provide again. (ipfail) except that ipfail relies on an external address, but I don't understand why the

Re: [Linux-ha-dev] Tracking 2.0.3 release

2006-01-21 Thread Andrew Beekhof
On Jan 21, 2006, at 5:56 PM, Lars Marowsky-Bree wrote: On 2006-01-21T11:38:18, Andrew Beekhof [EMAIL PROTECTED] wrote: One thing to keep in mind is that if we stop monitoring a resource when its not managed then the resources that sit on top of it may be adversely affected since they now

Re: [Linux-ha-dev] Tracking 2.0.3 release

2006-01-23 Thread Andrew Beekhof
On Jan 23, 2006, at 2:38 PM, Lars Marowsky-Bree wrote: On 2006-01-21T18:47:48, Andrew Beekhof [EMAIL PROTECTED] wrote: Not really. If you cast your mind back, the original purpose for managed/ unmanaged was so that we could depend on things that were outside the CRM's control. So

Re: [Linux-ha-dev] Configuration model

2006-01-23 Thread Andrew Beekhof
racing with crmd itself? Probably I'm missing something, I'd appreciate any pointers. Thanks in advance. You can modify the CIB at runtime with the cibadmin tool You *really* shouldn't be modifying the on disk version. see: http://linux-ha.org/v2/AdminTools -- Andrew Beekhof And I'd find

Re: [Linux-ha-dev] Configuration model

2006-01-24 Thread Andrew Beekhof
On Jan 24, 2006, at 10:28 AM, Balazs Scheidler wrote: On Mon, 2006-01-23 at 22:36 +0100, Andrew Beekhof wrote: On Jan 23, 2006, at 10:01 PM, Balazs Scheidler wrote: You can modify the CIB at runtime with the cibadmin tool You *really* shouldn't be modifying the on disk version. see: http

Re: [Linux-ha-dev] Configuration model

2006-01-24 Thread Andrew Beekhof
On 1/24/06, Francis Montagnac [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: Assuming s/crmadmin/cibadmin/ , then yes. Or -U if you're just modifying existing attributes or adding new ones. (Saves you repeating everything). In 2.0.3/CVS you can also pipe the XML to cibadmin on stdin

Re: [Linux-ha-dev] Configuration model

2006-01-24 Thread Andrew Beekhof
On Jan 24, 2006, at 11:01 PM, Lars Marowsky-Bree wrote: On 2006-01-24T17:23:39, Andrew Beekhof [EMAIL PROTECTED] wrote: # cibadmin -Q | grep transition_idle_timeout nvpair id=transition_idle_timeout name=transition_idle_timeout value=120s/ # cibadmin -Q | sed

Re: [Linux-ha-dev] Configuration model

2006-01-26 Thread Andrew Beekhof
I thought i'd fixed it, but now I know I have. Latest CVS will work. On 1/26/06, Andrew Beekhof [EMAIL PROTECTED] wrote: On Jan 26, 2006, at 9:32 AM, Francis Montagnac wrote: Well he IS sending in the full parent nodes. ahh, i didnt notice the grep wasnt in the second command Sorry

[Linux-ha-dev] Management Daemon

2006-01-26 Thread Andrew Beekhof
to see private PE structures copied into the daemon's code. If you need access to something ASK. Andrew -- Andrew Beekhof I'd find myself if I knew where myself left me - MGF ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux

Re: [Linux-ha-dev] Management Daemon

2006-01-26 Thread Andrew Beekhof
On 1/26/06, Andrew Beekhof [EMAIL PROTECTED] wrote: The management daemon appears to assume that all calls are synchronous. They can be but by default they are not. This is bad because as long as the CIB is running, the management daemon will think that all calls succeed

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: heartbeat by andrew from

2006-01-26 Thread Andrew Beekhof
On 1/26/06, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: CTS testers please note this commit. In order to run the same tests as you used to, you need to specify: enable_config_writes off in ha.cf Why is this an ha.cf option. It's clearly a CIB option - so I would

Re: [Linux-ha-dev] cluster test suite

2006-01-26 Thread Andrew Beekhof
On 1/26/06, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: On Jan 19, 2006, at 7:00 PM, Lars Marowsky-Bree wrote: On 2006-01-19T10:12:28, Nate Reed [EMAIL PROTECTED] wrote: Hi, I'm curious how the CTS is being used today. I heard it's mainly a tool for Linux-HA

Re: [Linux-ha-dev] findif.c bug fix

2006-01-26 Thread Andrew Beekhof
On 1/26/06, David Lee [EMAIL PROTECTED] wrote: On Thu, 26 Jan 2006, Alan Robertson wrote: Andrew Beekhof wrote: [...] If its Solaris specific, I say do what you gotta do (but perhaps #ifdef it out for everyone else). I disagree. ifdefs just clutter the code, and the string

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: heartbeat by andrew from

2006-01-26 Thread Andrew Beekhof
On 1/26/06, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: On 1/26/06, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: CTS testers please note this commit. In order to run the same tests as you used to, you need to specify: enable_config_writes off

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: heartbeat by andrew from

2006-01-27 Thread Andrew Beekhof
On Jan 27, 2006, at 3:23 PM, Alan Robertson wrote: Andrew Beekhof wrote: On 1/26/06, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: On 1/26/06, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: CTS testers please note this commit. In order to run the same tests

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-02-02 Thread Andrew Beekhof
, it just complained a little along the way. -- Andrew Beekhof No means no, and no means yes, and everything in between and all the rest - TISM ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev

Re: [Linux-ha-dev] Re: [Linux-HA] CIB Disk Write Options - Feedback Requested

2006-02-14 Thread Andrew Beekhof
On 2/14/06, Francis Montagnac [EMAIL PROTECTED] wrote: This makes it sound like you still use the options though... No I don't use them any more. I'm not sure I see the link between the -U option being fixed (sorry about that) and it being ok to write the CIB to the disk. To phrase it

Re: [Linux-ha-dev] new cts option: --resource-class

2006-02-27 Thread Andrew Beekhof
On 2/27/06, James Pan [EMAIL PROTECTED] wrote: a new option --resource-class was added to meet the requirement of bug #1097, Supported values are ocf and heartbeat, the default value will be ocf if this option is omitted. Is this for the code that generates the CIB configuration?

Re: [Linux-ha-dev] Error in debian package build

2006-03-07 Thread Andrew Beekhof
On 3/2/06, Peter Kruse [EMAIL PROTECTED] wrote: Hello, while trying to dpkg-buildpackage this error appears: dh_movefiles: debian/tmp/usr/lib/libcib.so.1.0.0 not found (supposed to put it in heartbeat-2) dh_movefiles: debian/tmp/usr/lib/libcrmcommon.so.1.0.0 not found (supposed to put it

Re: [Linux-ha-dev] return code 139

2006-03-07 Thread Andrew Beekhof
On 3/1/06, David Lee [EMAIL PROTECTED] wrote: On Wed, 1 Mar 2006, mkinikoglu wrote: i setup linux-ha to two solaris boxes. (5.9 sparc). when i start heartbeat i got these errors, what does it mean return code 139? The meanings of such code, and the use of crmd are not my particular

Re: [Linux-ha-dev] Ask for the requirement of improving CCM

2006-03-07 Thread Andrew Beekhof
Isnt there a revised OCF standard for the membership API? Perhaps we should be implementing this rather than patching the current implementation (especially in a way that it would no longer conform to the existing standard). On 3/7/06, Huang Zhen [EMAIL PROTECTED] wrote: Hi, all There are

Re: [Linux-ha-dev] Ask for the requirement of improving CCM

2006-03-07 Thread Andrew Beekhof
On 3/7/06, Lars Marowsky-Bree [EMAIL PROTECTED] wrote: On 2006-03-07T18:13:24, Andrew Beekhof [EMAIL PROTECTED] wrote: Isnt there a revised OCF standard for the membership API? Perhaps we should be implementing this rather than patching the current implementation (especially in a way

Re: [Linux-ha-dev] Removing openssl-devel dependency from heartbeat.spec.in? (was Re: [Linux-ha-cvs] Linux-HA CVS: linux-ha by xunsun from)

2006-03-09 Thread Andrew Beekhof
On 3/9/06, Xun Sun [EMAIL PROTECTED] wrote: Hi, Now that we don't depend on openssl functionality, it seems that the BuildPrereq of openssl-devel in heartbeat.spec.in should be removed. Any objections to doing so? none here - the replacement works work me --- heartbeat.spec.in 27 Feb

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: cts by panjiam from

2006-03-28 Thread Andrew Beekhof
On Mar 28, 2006, at 3:00 PM, Lars Marowsky-Bree wrote: On 2006-03-28T14:04:30, Andrew Beekhof [EMAIL PROTECTED] wrote: i guess thats a good idea. though its safe to call it anyway. the setting just wont get used. its available in cvs for those that care. look for $OCF_RESKEY_crm_role

[Linux-ha-dev] BadNews

2006-03-28 Thread Andrew Beekhof
]: ERROR: stonithRA plugin: now donnot take the provider into account. -- Andrew Beekhof Ooo Ahhh, Glenn McRath - TISM ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by lars from

2006-03-29 Thread Andrew Beekhof
On 3/29/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : lars Host: Project : linux-ha Module : crm Dir : linux-ha/crm/pengine/testcases Modified Files: master-6.xml did you run the regression tests after

Re: [Linux-ha-dev] request for comments on CIM model for clone resource.

2006-03-29 Thread Andrew Beekhof
On 3/29/06, James Pan [EMAIL PROTECTED] wrote: Need to clarify the role of the clone (or master-slave) resource. Is it a resource container like resource group or an attribute of the according primitive resource? the dtd clearly defines what a clone is. what you call it is up to you. This

Re: [Linux-ha-dev] CIB bloated with id= tags

2006-03-30 Thread Andrew Beekhof
On Mar 30, 2006, at 2:27 PM, Lars Marowsky-Bree wrote: On 2006-03-30T10:46:41, Andrew Beekhof [EMAIL PROTECTED] wrote: Well, after a reboot, just run through them - the first time you assign one, that might be a while (is_used(id)) {id++} which might run as far as 20 iterations or so

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by andrew from

2006-03-31 Thread Andrew Beekhof
,v 1.61 2006/03/18 17:23:48 andrew Exp $ */ +/* $Id: xml.c,v 1.62 2006/03/31 11:50:24 andrew Exp $ */ /* * Copyright (C) 2004 Andrew Beekhof [EMAIL PROTECTED] * @@ -36,6 +36,9 @@ #include crm/crm.h #include crm/msg_xml.h #include crm/common/xml.h + +#include clplumbing/md5.h

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-04-03 Thread Andrew Beekhof
,v 1.105 2006/03/09 21:36:38 andrew Exp $ */ +/* $Id: pengine.c,v 1.106 2006/04/03 09:51:56 andrew Exp $ */ /* * Copyright (C) 2004 Andrew Beekhof [EMAIL PROTECTED] * @@ -41,9 +41,18 @@ gboolean was_config_warning = FALSE; unsigned int pengine_input_loglevel = LOG_INFO; +#define

Re: [Linux-ha-dev] request for comments on CIM model for clone resource.

2006-04-03 Thread Andrew Beekhof
. During the creation, incomplete resource may exist, but only in the CIM layer. and this information will be cached, managed and only used by the CIM Providers. Does this bother your? Yes, but instead of arguing about it I'll work on enforcing the DTD instead. Andrew Beekhof wrote: On 3/29

Re: [Linux-ha-dev] help with cibadmin syntax

2006-04-03 Thread Andrew Beekhof
On 4/3/06, Diego Leider [EMAIL PROTECTED] wrote: Hi, I try to add a resource to the cib.xml file like this: [EMAIL PROTECTED] ~]# cibadmin -C -o resource -X 'primitive class=lsb id=apache_id type=apache/' Call cib_create failed (-25): The update was empty null I latterly copied the

Re: [Linux-ha-dev] help with starting apache

2006-04-04 Thread Andrew Beekhof
eg 51314CH, AlmereThe Netherlandscib.xmlmessages___Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.orghttp://lists.linux-ha.org/mailman/listinfo/linux-ha-devHome Page: http://linux-ha.org/ -- Andrew Beekhof "No means no, a

Re: [Linux-ha-dev] help with starting apache

2006-04-04 Thread Andrew Beekhof
On 4/4/06, Andrew Beekhof [EMAIL PROTECTED] wrote: On Apr 4, 2006, at 12:12 PM, Diego Leider wrote: Hi, I want to do something as simple as starting the apache webserver on one of the machines running heartbeat. When i run the command crm_resource -V -W -r WebServerApache i get

Re: [Linux-ha-dev] help with starting apache

2006-04-04 Thread Andrew Beekhof
On 4/4/06, Diego Leider [EMAIL PROTECTED] wrote: I specified use_logd in ha.cf. I attached /var/log/messages from one of the machines. Is this what you mean? On Tue, 2006-04-04 at 13:30 +0200, Andrew Beekhof wrote: On 4/4/06, Diego Leider [EMAIL PROTECTED] wrote: I changed type=Apache

Re: [Linux-ha-dev] Latest Head Build Fails.

2006-04-09 Thread Andrew Beekhof
On 4/8/06, Robert Heinzmann [EMAIL PROTECTED] wrote: Hi, I fixed the problem, by changing DIST_SOURCES = to DIST_SOURCES = crm.dtd crm-1.0.dtd only crm-1.0.dtd should be required right? I also copied the crm files, so that both are available (crm.dtd and crm-1.0.dtd). 2) During Build

Re: [Linux-ha-dev] Latest Head Build Fails.

2006-04-09 Thread Andrew Beekhof
On Apr 10, 2006, at 12:11 AM, Robert Heinzmann wrote: only crm-1.0.dtd should be required right? Thats right, I tested it again. all changes have been added to CVS (i even did an rpm install myself and there were no complaints :) -- Andrew Beekhof I'd find myself if I knew where

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: linux-ha by andrew from

2006-04-10 Thread Andrew Beekhof
On 4/10/06, Alan Robertson [EMAIL PROTECTED] wrote: Xun Sun wrote: On 3/9/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Aren't we trying to remove our dependency on openssl? I believe the above AC_CHECK_HEADERS(openssl/md5.h) is

Re: [Linux-ha-dev] Batch operations

2006-04-10 Thread Andrew Beekhof
On 4/6/06, Alan Robertson [EMAIL PROTECTED] wrote: Huang Zhen wrote: The GUI client and CIM need management library to implement batch operation. It means that user can add a set of operations but not need do it actually, then commit all these operations in one command. To do this we

Re: [Linux-ha-dev] Batch operations

2006-04-11 Thread Andrew Beekhof
On Apr 11, 2006, at 12:03 PM, Lars Marowsky-Bree wrote: On 2006-04-11T08:57:00, Andrew Beekhof [EMAIL PROTECTED] wrote: and what about node attribute changes for things like ipfail? they don't have to go in the status section. Non-persistent temporary node attributes however should go

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: tools by zhenh from

2006-04-12 Thread Andrew Beekhof
On 4/12/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : zhenh Host: Project : linux-ha Module : tools Dir : linux-ha/tools Modified Files: haresources2cib.py.in Log Message: generate the cib in the final

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from

2006-04-18 Thread Andrew Beekhof
On 4/14/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : zhenh Host: Project : linux-ha Module : mgmt Dir : linux-ha/mgmt/client Modified Files: haclient.zh_CN.po Log Message: show the Master/Slave status

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: tools by zhenh from

2006-04-18 Thread Andrew Beekhof
On Apr 18, 2006, at 12:08 PM, David Lee wrote: On Wed, 12 Apr 2006, Andrew Beekhof wrote: On 4/12/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : zhenh Host: Project : linux-ha Module : tools Dir : linux-ha/tools

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: tools by zhenh from

2006-04-18 Thread Andrew Beekhof
On Apr 18, 2006, at 1:09 PM, David Lee wrote: On Tue, 18 Apr 2006, Andrew Beekhof wrote: On Apr 18, 2006, at 12:08 PM, David Lee wrote: On Wed, 12 Apr 2006, Andrew Beekhof wrote: [...] config_file = /etc/ha.d/ha.cf + target_file = /var/lib/heartbeat/crm/cib.xml

Re: [Linux-ha-dev] OCF specification and heartbeat

2006-04-19 Thread Andrew Beekhof
On 4/19/06, Robert Heinzmann [EMAIL PROTECTED] wrote: Hello, I just read the specification for OCF resource agents (http://www.opencf.org/cgi-bin/viewcvs.cgi/specs/ra/resource-agent-api.txt?rev=HEAD) and I'm a little bit confused. The SPEC states, that the resource agents are located under

Re: [Linux-ha-dev] core dump (abort) in crmd: untracked process (HEAD)

2006-04-20 Thread Andrew Beekhof
On 4/20/06, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hello, Running CTS with HEAD hanged the cluster after crmd dumped core (abort). It happened after 53 tests with this curious message: Apr 19 17:48:01 BadNews: Apr 19 17:42:48 sapcl01 crmd: [17937]: ERROR:

Re: [Linux-ha-dev] core dump (abort) in crmd: untracked process (HEAD)

2006-04-20 Thread Andrew Beekhof
On 4/20/06, Andrew Beekhof [EMAIL PROTECTED] wrote: On 4/20/06, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hello, Running CTS with HEAD hanged the cluster after crmd dumped core (abort). It happened after 53 tests with this curious message: Apr 19 17:48:01 BadNews: Apr 19 17:42:48

Re: [Linux-ha-dev] ERROR: Message hist queue is filling up

2006-04-21 Thread Andrew Beekhof
ago (2006-04-19 16:08). I recently got rid of a bunch of really horrible scripts that used to test basic CRM sanity... now we leverage CTS in local-only mode. Which is good because its picking up new problems. What the error is about I dont know. -- Andrew Beekhof No means no, and no means yes

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lrm by andrew from

2006-04-24 Thread Andrew Beekhof
On Apr 24, 2006, at 10:03 AM, Lars Marowsky-Bree wrote: On 2006-04-24T09:50:52, Andrew Beekhof [EMAIL PROTECTED] wrote: Sure. The best reason is that if the user has asked for multiple concurrent monitor operations, we need to know that all of them are running. Previously the LRM would have

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: resources by andrew from

2006-04-24 Thread Andrew Beekhof
]; then : ${OCF_CHECK_LEVEL:=$OCF_RESKEY_OCF_CHECK_LEVEL} + else + OCF_CHECK_LEVEL=0 fi You sure you don't mean -n instead of -z? i have no idea what i mean :) -- Andrew Beekhof Would the last person to leave please turn out the enlightenment? - TISM

Re: [Linux-ha-dev] naming conventions for using - or _

2006-04-24 Thread Andrew Beekhof
the exact syntax with no apparent meaning behind it... the use of _ vs. - is basically described as i started off with _ and got sick of pressing shift too plus i think - looks nicer. newer options tend to use - and older ones _ We're trying to keep you on your toes. ;-) -- Andrew

Re: [Linux-ha-dev] naming conventions for using - or _

2006-04-25 Thread Andrew Beekhof
On 4/24/06, Lars Marowsky-Bree [EMAIL PROTECTED] wrote: On 2006-04-24T20:53:50, Andrew Beekhof [EMAIL PROTECTED] wrote: nvpair id=cib-bootstrap-options-default_resource_stickiness ... Well, in this case it's at least completely irrelevant. The id doesn't matter here, it matters

Re: [Linux-ha-dev] Re: [Linux-HA] Announcing! Release 2.0.5 of Linux-HA is now available!

2006-04-26 Thread Andrew Beekhof
: http://linux-ha.org/ -- Andrew Beekhof Eating fruit is mean and vicious... keep your hands off Golden Delicious - TISM ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http

Re: [Linux-ha-dev] Additional problems with building using Ports based Autotools

2006-04-29 Thread Andrew Beekhof
On 4/28/06, Matthew Soffen [EMAIL PROTECTED] wrote: I'm trying to get my system here to run using only the tools from ports ( to make life easier for people who only use the ports ). When Autoconf ( v 2.59 ) is installed on FreeBSD from ports, its named autoconf259 .I am running it with

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: linux-ha by msoffen from

2006-05-02 Thread Andrew Beekhof
I see you removed the section that allowed it to work on Darwin... -if [ $arch = Darwin ] I'm not particularly happy at this point On 4/28/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : msoffen Host: Module : linux-ha Dir

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: linux-ha by msoffen from

2006-05-02 Thread Andrew Beekhof
On May 2, 2006, at 9:36 PM, Alan Robertson wrote: Andrew Beekhof wrote: I see you removed the section that allowed it to work on Darwin... -if [ $arch = Darwin ] I'm not particularly happy at this point It looks to me like he replaced the darwinism with a more general check

[Linux-ha-dev] Timely Reminder: Asking questions

2006-05-02 Thread Andrew Beekhof
a good idea to briefly summarize the problem before launching into a series of input/outputs. Remember we haven't been agonizing over the situation for as long as you have and need the extra context :-) Happy Heartbeating, Andrew -- Andrew Beekhof If it weren't for my horse, I wouldn't have

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: linux-ha by msoffen from

2006-05-02 Thread Andrew Beekhof
of the command   if [ "$arch" != "Linux" -a "$arch" != "Darwin" ]; then      return 0;  fi Matt On Tue, 2006-05-02 at 21:42 +0200, Andrew Beekhof wrote: On May 2, 2006, at 9:36 PM, Alan Robertson wrote: Andrew Beekhof wrote: I see you removed the section that allow

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: linux-ha by msoffen from

2006-05-02 Thread Andrew Beekhof
understand how what you have helps because later on you have:  if $cmd /dev/null 21  thenso you still run the "which" part anyway.  Matt On Tue, 2006-05-02 at 22:22 +0200, Andrew Beekhof wrote: On May 2, 2006, at 10:15 PM, Matthew Soffen wrote: The ch

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-05-08 Thread Andrew Beekhof
1.84 +++ complex.c 8 May 2006 07:36:01 - 1.85 @@ -1,4 +1,4 @@ -/* $Id: complex.c,v 1.84 2006/05/05 13:08:49 andrew Exp $ */ +/* $Id: complex.c,v 1.85 2006/05/08 07:36:01 andrew Exp $ */ /* * Copyright (C) 2004 Andrew Beekhof [EMAIL PROTECTED] * @@ -296,15 +296,7

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-05-08 Thread Andrew Beekhof
On May 8, 2006, at 2:44 PM, Lars Marowsky-Bree wrote: On 2006-05-08T14:16:15, Andrew Beekhof [EMAIL PROTECTED] wrote: Good point. we also need to find a way to have it ignore the order things appear in... thats going to be a major PITA You mean within the CIB? Well, the order is defined

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-05-08 Thread Andrew Beekhof
for you? I tried to email you directly but it bounced. On Mon, 2006-05-08 at 15:00 +0200, Andrew Beekhof wrote: On May 8, 2006, at 2:44 PM, Lars Marowsky-Bree wrote: On 2006-05-08T14:16:15, Andrew Beekhof [EMAIL PROTECTED] wrote: Good point. we also need to find a way to have it ignore

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-05-08 Thread Andrew Beekhof
d:string"   minOccurs="0"/     xsd:element name="Pager"   type="xsd:string"   minOccurs="0"/     /xsd:sequence     /xsd:complexType         xsd:complexType name="MeterReaderType"     xsd:sequence     xsd:elemen

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-05-08 Thread Andrew Beekhof
;/     /xsd:sequence     xsd:attribute name="cib-last_written" type="xsd:string" use="required"/     xsd:attribute name="admin_epoch"    type="xsd:string" use="required"/   Matt On Mon, 2006-05-08 at 17:43 +0200, Andrew Beekhof w

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-05-08 Thread Andrew Beekhof
On May 8, 2006, at 8:04 PM, Matthew Soffen wrote: Andrew, What parts should fail ?well is has two "nodes" sections despite maxOccurs="1" :-) Matt On Mon, 2006-05-08 at 18:58 +0200, Andrew Beekhof wrote: so as far as i can tell, the attached files _should_ fail

Re: [Linux-ha-dev] What happened to rsc_state?

2006-05-10 Thread Andrew Beekhof
On 5/9/06, Peter Kruse [EMAIL PROTECTED] wrote: Hi, Andrew Beekhof wrote: if you want a list of failed resources: crm_mon -1 | grep failed if you just want the lrm_rsc_op's that failed, look for rc_code != 0 rc_code != 7 (where 7 is LSB for Safely Stopped) in the result of cibadmin -Ql

Re: [Linux-ha-dev] What happened to rsc_state?

2006-05-11 Thread Andrew Beekhof
On 5/10/06, Peter Kruse [EMAIL PROTECTED] wrote: Hi, Andrew Beekhof wrote: On 5/9/06, Peter Kruse [EMAIL PROTECTED] wrote: although cibadmin -Ql -o status does not show the failed resource anymore. How can I recover from this situation? cib contents? Oh, thanks for reminding me (I

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from

2006-05-11 Thread Andrew Beekhof
On 5/9/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : sunjd Host: Project : linux-ha Module : lib Dir : linux-ha/lib/plugins/lrm Modified Files: raexecocf.c Log Message: Bug 1222 fixing - a silly bug ok, I know

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-05-20 Thread Andrew Beekhof
On May 20, 2006, at 12:26 PM, Lars Marowsky-Bree wrote:On 2006-05-20T11:24:37, Andrew Beekhof [EMAIL PROTECTED] wrote: properties take precedence over instance_parameters which takeprecedence over a parent's properties and instance_parameters Ok. Second, I don't think these _should_ be instance

Re: [Linux-ha-dev] Meta configuration namespace

2006-05-21 Thread Andrew Beekhof
On May 21, 2006, at 3:47 PM, Lars Marowsky-Bree wrote:On 2006-05-21T13:45:10, Andrew Beekhof [EMAIL PROTECTED] wrote: Another question... should things like an operation's interval/ timeout also show up in the meta namespace or the regular one?Momentarily ignoring issues of compatibility, I think

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-05-21 Thread Andrew Beekhof
On May 21, 2006, at 4:12 PM, Lars Marowsky-Bree wrote:On 2006-05-21T16:04:24, Andrew Beekhof [EMAIL PROTECTED] wrote: Though still, how would the RA inform the tools about description defaults for this? this is where i'm a bit lost... these aren't RA parameters so in  theory there's nothing

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: resources by lars from

2006-05-26 Thread Andrew Beekhof
On May 26, 2006, at 12:45 PM, Lars Marowsky-Bree wrote:On 2006-05-26T09:02:35, Andrew Beekhof [EMAIL PROTECTED] wrote: notify: post for stopnotify active: xen-4 xen-3 xen-1notify stop: xen-2notify start: xen-4 xen-3 xen-2 xen-1 do you have an example of this?  nothing i have shows this behavior

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by davidlee from

2006-05-28 Thread Andrew Beekhof
26 May 2006 08:46:07 - 1.53 @@ -1,4 +1,4 @@ -/* $Id: utils.c,v 1.52 2006/05/22 08:31:53 andrew Exp $ */ +/* $Id: utils.c,v 1.53 2006/05/26 08:46:07 davidlee Exp $ */ /* * Copyright (C) 2004 Andrew Beekhof [EMAIL PROTECTED] * @@ -1121,6 +1121,7 @@ XML_LRM_ATTR_OP_DIGEST

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: linux-ha by davidlee from

2006-05-28 Thread Andrew Beekhof
On 5/25/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : davidlee Host: Module : linux-ha Dir : linux-ha Modified Files: bootstrap Log Message: Stricter Bourne-shell compliance

[Linux-ha-dev] MAXMSG too small

2006-05-29 Thread Andrew Beekhof
a "couple" of time with larger buffers).Alan, can you please take a look at the use of MAXMSG in the IPC layer which is really not my area of expertise (especially the HBcomm plugins) and verify that my assessment is correct (and possibly get someone to look at fixing it). -- Andrew Beek

Re: [Linux-ha-dev] MAXMSG too small

2006-05-29 Thread Andrew Beekhof
On 5/29/06, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: Running CTS on 6 nodes has shown MAXMSG to be too small - the PE cannot send its transition graph and the cluster stalls indefinitely. So, that means the CIB is 256K compressed? Or is it 256K uncompressed? its

Re: [Linux-ha-dev] MAXMSG too small

2006-05-29 Thread Andrew Beekhof
On 5/29/06, Lars Marowsky-Bree [EMAIL PROTECTED] wrote: On 2006-05-29T06:44:05, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: Running CTS on 6 nodes has shown MAXMSG to be too small - the PE cannot send its transition graph and the cluster stalls indefinitely. So

Re: [Linux-ha-dev] MAXMSG too small

2006-05-29 Thread Andrew Beekhof
On 5/29/06, Andrew Beekhof [EMAIL PROTECTED] wrote: On 5/29/06, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: Running CTS on 6 nodes has shown MAXMSG to be too small - the PE cannot send its transition graph and the cluster stalls indefinitely. So, that means the CIB

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: linux-ha by zhenh from

2006-05-30 Thread Andrew Beekhof
On 5/30/06, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: On 5/29/06, Alan Robertson [EMAIL PROTECTED] wrote: Lars Marowsky-Bree wrote: On 2006-05-29T12:11:07, Alan Robertson [EMAIL PROTECTED] wrote: I didn't know until just a day or two ago that it broke anything

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by lars from

2006-05-30 Thread Andrew Beekhof
lmb, i think this change should be in a separate patch, not in cvs. On 5/30/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : lars Host: Project : linux-ha Module : crm Dir : linux-ha/crm Modified Files: crm-1.0.dtd

Re: [Linux-ha-dev] MAXMSG too small

2006-06-01 Thread Andrew Beekhof
dence than does knowledge"___Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.orghttp://lists.linux-ha.org/mailman/listinfo/linux-ha-devHome Page: http://linux-ha.org/ -- Andrew Beekhof "Would the last person to leave please turn out the enlight

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Andrew Beekhof
a set of functions.  It describes what data is required and how it should be organized.  Pretending it can be ignored is like pretending that the contents of the mgmtd messages you pass back and forth don't matter. -- Andrew Beekhof "Would the last person to leave please turn out the enlighte

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Andrew Beekhof
- A Novell Business -- Charles Darwin"Ignorance more frequently begets confidence than does knowledge"___Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.orghttp://lists.linux-ha.org/mailman/listinfo/linux-ha-devHome Page: http://linux-ha.org/ -- An

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-06-08 Thread Andrew Beekhof
it did).  -- Andrew Beekhof "Would the last person to leave please turn out the enlightenment?" - TISM ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-06-08 Thread Andrew Beekhof
On Jun 8, 2006, at 4:25 PM, Lars Marowsky-Bree wrote:On 2006-06-08T15:58:44, Andrew Beekhof [EMAIL PROTECTED] wrote: That may be a silly observation, but if you're only shifting codearound, why does this affect the testcases? not silly at all dear chap...it changes the oder actions are created

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Andrew Beekhof
On Jun 8, 2006, at 4:13 PM, Lars Marowsky-Bree wrote:On 2006-06-08T14:14:35, Andrew Beekhof [EMAIL PROTECTED] wrote: Andrew, I think this was also made too easy to slip in by DTDvalidation not always having been available, much less being thedefault. So really the CRM should have seg-faulted

Re: [Linux-ha-dev] pingd ocf ra patch

2006-06-13 Thread Andrew Beekhof
On 6/12/06, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, Tried to make pingd work. I had to change the pingd OCF RA a bit (mostly typos), hence the patch. Looks good, I applied it just then. Thanks! Notes: . The default PID file path points to a directory owned by root. However, it

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by lars from

2006-06-13 Thread Andrew Beekhof
On 6/12/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : lars Host: Project : linux-ha Module : crm Dir : linux-ha/crm Modified Files: crm-1.0.dtd Log Message: Work-around bug #1287: GUI currently requires empty

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by lars from

2006-06-13 Thread Andrew Beekhof
On Jun 13, 2006, at 12:34 PM, Lars Marowsky-Bree wrote:On 2006-06-13T09:52:24, Andrew Beekhof [EMAIL PROTECTED] wrote: Log Message:Work-around bug #1287: GUI currently requires empty groups to beallowed. The GUI may like to use empty groups, but it does not *require* them.And I thought we agreed

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-06-19 Thread Andrew Beekhof
zhenh, you might need to update the GUI to reflect this. On 6/19/06, linux-ha-cvs@lists.linux-ha.org linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committal Author : andrew Host: Project : linux-ha Module : crm Dir : linux-ha/crm Modified Files: crm-1.0.dtd Log

[Linux-ha-dev] Re: What are invalid configurations?

2006-06-28 Thread Andrew Beekhof
On 6/28/06, Huang Zhen [EMAIL PROTECTED] wrote: Andrew, You made several mistakes here, I would like to point out them. MISTAKE 1 : Empty group is invalid configuration Current crm-1.0.dtd shows : !ELEMENT group (meta_attributes*, instance_attributes*, primitive*) So it's your code wrong

  1   2   3   4   5   6   >