[Linux-HA] new 'recovery' ressource state ?

2012-08-30 Thread Joe Bill
I was wondering if it would be possible to introduce a new resource state, in addition to those already existing in the OCF specifications (like 0: no error, 1:succes), to indicate a resource is in a "busy" or in a "(in) transition", or in a "recovery" or "healing" or "autofix"  state, typicall

[Linux-HA] ha.cf: to compress or not to compress ...

2010-01-08 Thread Joe Bill
Jolly New Year to all ! Taken from Florian's excellent and once direly needed Heartbeat v3 user guide at: http://people.linbit.com/~florian/heartbeat-users-guide/re-hacf.html it tells us that ... "compression: The compression directive sets which compression method will be used when

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-30 Thread Joe Bill
On Thu, Nov 19, 2009 at 12:33:09PM +0100, Tomasz Chmielewski wrote: > > When one PostgreSQL server fails, the setup will still work fine. When > the failed PostgreSQL instance is back, the data should be first > "synchronized" from the running PostgreSQL server to a server which was > failed a whil

[Linux-HA] (no subject)

2009-11-30 Thread Joe Bill
On Thu, Nov 19, 2009 at 12:33:09PM +0100, Tomasz Chmielewski wrote: > > When one PostgreSQL server fails, the setup will still work fine. When > the failed PostgreSQL instance is back, the data should be first > "synchronized" from the running PostgreSQL server to a server which was > failed a whi

[Linux-HA] Re: Re: Re: Re: Stopping the Heartbeat daemon does not stop the DRBD Daemon

2009-04-03 Thread Joe Bill
dk wrote: >> Now I'm the one confused. >> What are these processes that show up when I ps -ef ? >> >> root..25621..0..2008..?00:00:00 [drbd7_worker] >> root.175581..0..2008..?00:00:00 [drbd7_receiver] >> root.246471..0.Jan02..?00:00:27 [drbd7_asender] >> >> Doe

[Linux-HA] Re: Re: Re: Stopping the Heartbeat daemon does not stop the DRBD Daemon

2009-04-03 Thread Joe Bill
dk wrote: > Joe Bill wrote: > >> - The DRBD daemons provide the communication interface >> for each network volume and are therefor an integral >> part of the volume management. Without the DRBD daemons, >>you (manually) and Heartbeat (automagically) could not >&

[Linux-HA] Re: Stopping the Heartbeat daemon does not stop the DRBD Daemon

2009-04-03 Thread Joe Bill
> Stopping the Heartbeat daemon (service heartbeat stop) > does not stop the DRBD daemon even if it is one of > the resources. - Heartbeat and DRBD are 2 different products/packages - Like most services, DRBD doesn't need Heartbeat to run. You can set up and run DRBD volumes without Heartbea

Re: [Linux-HA] Re: Sample NFS ocf resource script

2009-02-09 Thread Joe Bill
--- On Fri, 2/6/09, wrote: > I have four node in setup lvm/filesystem resource works > fine i.e it fails over back and forth without problem > I am trying to configure now nfs resourece but I don't > see any nfs RC script in /usr/lib/ocf/resource.d/heartbeat dir. > I can't find any on google e

Re: [Linux-HA] Re: new crm commands (a proposal)

2009-01-27 Thread Joe Bill
--- On Fri, 1/9/09, Dejan Muhamedagic wrote: > > >2. Shorter specification of boolean variables > > > > Seems more cosmetic to me but have no reason to oppose. > > Again strongly support *both* syntaxes. > > > > "not globally-unique" : NOK > > > > "!globally-unique" : OK, preferred over ab

Re: [Linux-HA] Re: Running OpenLDAP and MySQL w/Linux HA

2009-01-14 Thread Joe Bill
--- On Fri, 1/9/09, Dejan Muhamedagic wrote: >On Thu, Jan 08, 2009 at 06:07:08AM -0800, Joe Bill wrote: >> >> - the "master/slave, promote/demote" is not a universal >> multi-state model and appears, to me at least, to poorly >> represent instance re

[Linux-HA] Re: new crm commands (a proposal)

2009-01-08 Thread Joe Bill
On Wed, Jan 7, 2009 at 14:49, Dejan Muhamedagic wrote: > Most of you are probably back from holidays, so now may be good > time to give you some food for thought. Happy to oblige. >1. Detach monitor operations from primitives >old (one statement): ... >new (three statements): Why the "params"

[Linux-HA] Re: Running OpenLDAP and MySQL w/Linux HA

2009-01-08 Thread Joe Bill
On Thu, Nov 20, 2008 at 08:32:52AM -0700, Ryan Kish wrote: >> - Both nodes have a two ldap configurations, one for running as the >> master, one for running as the slave. I had to write a couple of OCF >> scripts for each service (master and slave). On 2008-11-20, Dejan Muhamedagic wrote: >

[Linux-HA] need to buy cheap USB stonith device

2008-07-16 Thread Joe Bill
> I need a pair of simple USB-controlled 110v-power devices. http://www.serialcontrols.com//Prod_Details/R4Box-USB.html ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http:/

[Linux-HA] Re: Lost log messages with a centralized syslog-ng setup

2008-06-30 Thread Joe Bill
>The full set of options I'm using now is: >options { long_hostnames(off); sync(0); perm(0640); stats(3600); >check_hostname(no); dns_cache(yes); dns_cache_size(100); >log_fifo_size(4096); keep_hostname(yes); chain_hostnames(no); }; Very nice. Thank you. ! __

[Linux-HA] Re: Dude heartbeat , shared disk and mysql

2008-06-13 Thread Joe Bill
>> I put the mysql datadir in /u/mysql and is ok. >> but what about mysql.log, mysql.sock and mysql.pid ? >> they must be in the shared disk or each node have >> their own copy in /var/lib/mysq ? > They should _not_ be on the shared disk. Some of > them, such as mysql.pid, may even be used to > ch

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

2008-05-30 Thread Joe Bill
> we run "probes" on new cluster nodes... > to make sure no service can ever be running twice >> In other words, before starting a resource on a >> node, for the first time after it's reboot, can >> we assume HB always calls a "MONITOR" or a >> "STOP" to certify no sub-resources used by that >> r

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

2008-05-29 Thread Joe Bill
All is clear, now. I shall now assume a RA undertaking a "STOP" or "START" operation should itself perform a thorough evaluation of a resource's state before AND after doing anything that might affect the state of the resource. This resource's state evaluation would involve similar if not exactly

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

2008-05-29 Thread Joe Bill
>> I would have thought it to be HB's job >> to call those level 0 checks after a >> resource state changing operation. > ... So there are a number of reasons why > its a good idea for RAs to do this. I understand. It's just that following what Alan wrote a year ago: http://www.gossamer-threa

[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

[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

[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] Re: is there a drbd-0.8 rpm for opensuse 10.2 ?

2007-07-10 Thread Joe Bill
Check out the files in the zip below to cook your own. http://www.geocities.com/pica1dilly/mkdrbd.zip Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/ _

[Linux-HA] Re: How do you make Heartbeat invoke a RA with 'reload' command ?

2007-06-18 Thread Joe Bill
>> What user operation exactly triggers Heartbeat v2 to >> shortly after invoke a OCF RA to perform a "Reload" >> operation, duefully implemented and advertised in the >> RA ? Hello Mr. Beekhof, Can you please confirm if I got this all right and dandy ? > you need >= 2.0.8 Ok. > the RA needs to

[Linux-HA] How do you make Heartbeat invoke a RA with 'reload' command ?

2007-06-15 Thread Joe Bill
Hello all you beautiful "High-Availability" seekers out there. Need a little documentation: What user operation exactly triggers Heartbeat v2 to shortly after invoke a OCF RA to perform a "Reload" operation, duefully implemented and advertised in the RA ? Also, is there a delay parameter to tell

[Linux-HA] Linux-HA OCF RA documentation error ?

2007-06-06 Thread Joe Bill
Hello to all my wonderful friends at Linux-HA, how are you all today ? Can anyone confirm the following to be a mistake: At http://linux-ha.org/OCFResourceAgent "Writing your own OCF Resource Agent:" "Actions: Normal OCF Resource Agents are required to have these actions: ... . status - test if

[Linux-HA] Re: Linux-HA Digest, Vol 42, Issue 96

2007-05-28 Thread Joe Bill
>Date: Mon, 28 May 2007 16:26:39 -0300 >From: [EMAIL PROTECTED] >Subject: [Linux-HA] Help with DRBD + Linux-HA >To: General Linux-HA mailing list > >The problem I'm having is: if the primary node >s0580crmdb2pr1 is fenced or turned off or have no >network communication for a while (for a >mainte