[Linux-ha-dev] An OCF RA for syslog-ng

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Mar 19 02:30:05 MDT 2009


Hi Takenaka-san,

Many thanks for the contribution. I will take a look at it and
probably get back to you with comments.

Cheers,

Dejan

On Thu, Mar 19, 2009 at 01:27:19PM +0900, Takenaka Kazuhiro wrote:
> Hello All,
> 
> I made an OCF RA for syslog-ng and attached it to this message.
> 
> I confirmed that it can work with no problem in the following cases.
> 
> * Creating a resource instance
>   - This RA can invoke a new syslog-ng process as an OCF resource
>     with starting Heartbeat. This works independently of the system
>     syslog-ng process.
>    "system process" means that it's managed by RC script.
> 
> * Terminating a resource instance
>   - This RA can revoke a working syslog-ng process as an OCF resource
>     with stopping Heartbeat. This works independently of the system
>     syslog-ng process.
> 
> * Failing over a resource instance at its start failure
>   - When the syslog-ng command returns a error status due to a wrong
>     syslog-ng configuration file, this RA can exit with an error status.
>     Then a resource instance restarts on the SBY node.
> 
> * Failing over a resource instance at its monitor failure
>   - When a syslog-ng of a working resource instance disappears,
>     this RA returns an error status as a result of its monitor action.
>     Then a resource instance restarts on the SBY node.
> 
> * Relocation
>   - If the crm_resource command is performed to relocate a working
>     syslog-ng resource, this RA can respond the request.
> 
> These tests were carried out under the following enviroment.
> 
> 2 node cluster(ACT/SBY) with
>   Redhat 5.2(i386)
>   heartbeat 2.1.4
>   syslog-ng 2.1.3
> 
> I appreciate any comments.
> 
> Best reagard.
> -- 
> Takenaka Kazuhiro <takenaka.kazuhiro at oss.ntt.co.jp>


More information about the Linux-HA-Dev mailing list