Live? No. There is no live migration of LXC containers with Proxmox, on any storage. Any LXC container migration requires the container to shutdown and restart.
However, by putting the disk images on NFS/Gluster, that shutdown/migrate/restart only takes 5 seconds or so, even on my...
For Proxmox LXC container storage on glusterfs, I use NFS-Ganesha and configure the storage in Proxmox as NFS. I installed NFS-Ganesha on the gluster servers holding the volumes with the LXC disk images. It works very well.
Thanks for the helpful description of how to set it up.
When I add a gluster volume to the Proxmox storage, Proxmox always wants to create its content subdirectories, like at least "images".
Is there any way to have Proxmox mount the storage without creating its subdirectories on it? Thanks!
Sure, I get your point. But I'm just another Proxmox user, using some pretty sophisticated software for free. I can't fix Proxmox for you. Good luck and hope you find a solution you are happy with! :)
I solved it for myself by doing the mount inside the container, treating it like a VM. I just added a small script in rc.local to do the mount command.
In my case it was a Glusterfs mount, and it works fine.
I haven't tried it for NFS or Ceph, but I expect that if Glusterfs worked, they...
I was able to migrate a container by editing the container configuration file. I commented out the mount points, migrated, then uncommented them.
Log into current PVE host machine as root
Edit container file /etc/pve/lxc/100.conf using vi or another editor (use the correct number for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.