Hi folks,

AFAICS I have to list all containers to be started at boot
time in /etc/lxc/auto using symlinks pointing to the
config files. Problem: /etc is a local file system.

For a HA solution you usually have some kind of "network"
device/filesystem providing the resources to manage, e.g.
a DRBD or iSCSI partition holding a set of LXC config files
and rootfs directories. In case of a hardware failure you
change the run level on a hot standby host, some init script
mounts the LXC partition, and LXC's init script is supposed
to start the containers for this run level. Unfortunately
the symlinks in /etc/lxc/auto have been lost together with
the old host. Hopefully you see the problem.

Instead of symlinks in /etc/lxc/auto I would suggest to set
the config files to executable as an autostart flag. Thats
very easy to set, test and clear, _and_ it is part of the
filesystem providing the LXC config file.


Just a suggestion, of course.

Regards
Harri



------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to