Hi Christoph,

On 2011-05-26 15:14, Christoph Mitasch wrote:
> Hello,
> 
> I just ported the ManageVE Resource Agent for OpenVZ to work with LXC
> System Containers. The result is ManageLXC, you can find it enclosed.
> 
> There are 2 parameters required:
> - ctname: name of the container
> - lxcconf: absolute path to container configuration
> 
> The resource agent tries to make use of the lxc-ctrlaltdel command
> supplied by Tobias Gruetzmacher to cleanly shutdown a container. The
> script should reside in /usr/bin.
> http://www.mail-archive.com/lxc-devel@lists.sourceforge.net/msg00881.html
> If lxc-ctrlaltdel is missing or fails to execute, the RA uses lxc-stop
> in addition.
> 
> The RA does not support migration at the moment, since the LXC
> Checkpoint/Restore feature is not in mainline so far.

Googling for "ocf lxc" could have highlighted that such a resource agent
is already in review, contributed by Darren Thompson.

https://github.com/fghaas/resource-agents/tree/lxc

At this point I'd much prefer you contribute to the existing version,
rather than roll a new one.

Cheers,
Florian

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to