[Pacemaker] ManageLXC Resource Agent

Christoph Mitasch cmitasch at thomas-krenn.com
Thu May 26 13:14:43 UTC 2011


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.

Regards,
Christoph
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ManageLXC
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110526/01420305/attachment-0003.ksh>


More information about the Pacemaker mailing list