Hi,

I'm wondering if anybody is using LXC in a high availability cluster.

I tried to use it in a Pacemaker Cluster together with DRBD.

In theory there would be the VirtualDomain Resource Agent supporting
libvirt. But since my libvirt experience together with LXC was not
promising, I think the best option is to use lxc-tools.

It worked for me when using the lxc init script (/etc/init.d/lxc) for
active/passive configurations.

As far as I found out only /etc/lxc/ and corresponding lxc rootfs dirs
have to be shared. /var/lib/lxc should not be necessary, because lxc
init script doesn't use lxc-create/lxc-destroy.

Anything else to take care of when moving LXC containers around machines?

For active/active and more advanced configurations an OCF Resource Agent
for LXC would be nice. It could be similar to the ManageVE RA for OpenVZ:
http://hg.linux-ha.org/agents/raw-file/tip/heartbeat/ManageVE

Regards,
Christoph

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to