*bump*

On 07/27/2009 02:46 PM, Raoul Bhatia [IPAX] wrote:
> hi,
> 
> i'm reposting the postfix ocf ra as i feel that my works are complete.
> 
> dejan posted some comments in his last email which i will address:
> 
>>> i'm now checking more indepth for:
>>>> 1. empty queue_directory
>>
>> For monitor? Why?
> 
> because then something is broken. i reworked this part now
> and am checking if the directory exists, "[ -d ... ]" return <> 0, at
> least on my linux box using bash.
> 
>>> 2. pidfile
>>> 3. "postfix status"
>>> 4. postqueue ... | grep 'Mail system is down'
>>> 5. fuser -v $queue
>>>
>>> is this ok? feel free to remove some checks
>>
>> It should be enough just to check for the process. First using
>> pidfile and if that doesn't work then with fuser.
> 
> i do not know enough about fuser to know if this is available on all
> systems. after going through all comments i received, especially the
> ones from lars ellenberg, i compiled this set of checks.
> 
> cheers,
> raoul
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________________
> 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/


-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bha...@ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            off...@ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
_______________________________________________________
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/

Reply via email to