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
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users