4 ms·
Does LXD provide any type of cluster management behavior? As in if I have two host machines and a dozen containers and host A goes down, is it possible to confi
by IgorPartola 11y ago
Does LXD provide any type of cluster management behavior? As in if I have two host machines and a dozen containers and host A goes down, is it possible to configure a live migration of the latest known state from host A to host B using LXD alone? Or do I need something built on top of it to do that?
- nnutter 11y agoI think that's Juju's role. They have a beta LXD driver for Juju. https://jujucharms.com/docs/master/config-LXD https://jujucharms.com/docs/master/config-LXD
- wmf 11y agoThere's an OpenStack driver for LXD.
- tyingq 11y agoLXD and any sort of cluster seem incompatible at the moment. LXD, for example, stores all the LXC config info in a local sqlite database. When you launch a container, it turns the sqlite stored info into an LXC config file, and spawns LXC. You can control remote instances of the LXD daemon, but there's no syncing back and forth from Host1-LXD1 to Host1-LXD2...they operate separately. You can migrate a container from one host to the other, but it's pushing everything (config/image/etc) when you ask it to migrate. So, it's not clustered itself, and it keeps the important info somewhere that's hard to cluster. It would be interesting if they would replace the local sqlite store with something similar to etcd. That still leaves the issue of the disk images though. Proxmox does cluster LXC, so there's that option.