I'm in the process of evaluating Promox with LXC as a replacement for our Citrix Xen environment. As much as I like the openness of Promox I'm little bit frustrated with the use of LXC. But maybe that's just due to my lack of experience. So I would love to hear from the LXC power users in this forum how to do it right.
I'm in particular interested in the following tasks:
1. Migrating Linux VMs from XEN, ESXi and physical installations: Are there any best practice solutions?
I tried creating a new container and simply rsyncing the VM over the new one. But the containers won't start afterwards.
I also tried attaching a new disk to a container and rsyncing the old server into the new disk. I changed /etc/fstab and attached the new disk as the root device to a new container but it won't boot either.
2. Creating clones of existing container installations for new ones.
3. Backing up LXC disks and restoring them. I'm using ZFS for all disks and I tried to backup a container by sending a snapshot (zfs send) to an offsite backup server. After restoring the Snapshot the container would not boot any more. Any idea? I'm aware that Promox has a backup feature built in, but to my knowledge incremental backups are not supported. With ZFS snapshots (using zetaback) I could run incremental snapshots. That works for KVM-based VMs by the way.
As you can see I'm pretty lost here. Are there any good LXC (proxmox specific) tutorials on how to handle the above tasks?
I'm in particular interested in the following tasks:
1. Migrating Linux VMs from XEN, ESXi and physical installations: Are there any best practice solutions?
I tried creating a new container and simply rsyncing the VM over the new one. But the containers won't start afterwards.
I also tried attaching a new disk to a container and rsyncing the old server into the new disk. I changed /etc/fstab and attached the new disk as the root device to a new container but it won't boot either.
2. Creating clones of existing container installations for new ones.
3. Backing up LXC disks and restoring them. I'm using ZFS for all disks and I tried to backup a container by sending a snapshot (zfs send) to an offsite backup server. After restoring the Snapshot the container would not boot any more. Any idea? I'm aware that Promox has a backup feature built in, but to my knowledge incremental backups are not supported. With ZFS snapshots (using zetaback) I could run incremental snapshots. That works for KVM-based VMs by the way.
As you can see I'm pretty lost here. Are there any good LXC (proxmox specific) tutorials on how to handle the above tasks?