Subject: Re: [vserver] Ocf resource agent
From: Olivier BATARD <obatard@gmail.com>
Date: Tue, 13 Apr 2010 11:44:52 +0200
Tue, 13 Apr 2010 11:44:52 +0200
Thanks, work like a charm :)

2010/4/10 Adrian Reyer <are@lihas.de>

> On Sat, Apr 10, 2010 at 10:09:06AM +0200, Olivier BATARD wrote:
> > I've set up drbd resources and filesystem resource, everything woeks
> fine, failover is nice but now I want to have a resource to start and stop
> vserver ? Does anyone know how to do that ? I've found several script with
> google for heartbeat but doesn't work so much ... especially with the meta
> part.
>
> I wrote myself one a few months ago. Recently I discovered ocf-tester,
> so I took the opportunity and corrected the failed tests and here it is,
> the ocf-tester-approved and hopefully still working
> /usr/lib/ocf/resource.d/lihas/VServer-lihas
>
> Regards,
>        Adrian
> --
> LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
> Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
> Mail: lihas@lihas.de - Web: http://lihas.de
> Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
>


Thanks, work like a charm :)

2010/4/10 Adrian Reyer <are@lihas.de>
On Sat, Apr 10, 2010 at 10:09:06AM +0200, Olivier BATARD wrote:
> I've set up drbd resources and filesystem resource, everything woeks fine, failover is nice but now I want to have a resource to start and stop vserver ? Does anyone know how to do that ? I've found several script with google for heartbeat but doesn't work so much ... especially with the meta part.

I wrote myself one a few months ago. Recently I discovered ocf-tester,
so I took the opportunity and corrected the failed tests and here it is,
the ocf-tester-approved and hopefully still working
/usr/lib/ocf/resource.d/lihas/VServer-lihas

Regards,
       Adrian
--
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas@lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart