[SOLVED] Few questions about LXC

Sep 12, 2015
25
0
41
Hi.

We use Proxmox but we only use the full virtualization KVM. Never used openvz or LXC.

I was trying it out today and i have a few questions:

1 - I see in the webgui options to activate ACLs and Quotas. I know what are ACLs and Quotas, but where do i define them? Command line? In which scenarios is it usefull? In multi user environments, where there are several users per LXC container?

2 - Is there a way to do storage migration in LXC even if it is by command line? I didn't found it in the webgui.

3 - I'm not seeing an image for Ubuntu 16.04 in the template downloads. Will there be one?

4 - I know live migration is not yet implemented and is on the roadmap. Is it something for version 4.3 of Proxmox, even if it is experimental?

Thanks in advance and sorry for my poor english.
 
1 - I see in the webgui options to activate ACLs and Quotas. I know what are ACLs and Quotas, but where do i define them? Command line? In which scenarios is it usefull? In multi user environments, where there are several users per LXC container?

You can initialize the "/aquota.user" and "/aquota.group" files by running

Code:
quotacheck -cmug /
quotaon /

and edit the quotas via the "edquota" command. Refer to the documentation
of the distribution running inside the container for details.

Some web hosting panels use user quotas.

2 - Is there a way to do storage migration in LXC even if it is by command line? I didn't found it in the webgui.

You can use backup/restore.

3 - I'm not seeing an image for Ubuntu 16.04 in the template downloads. Will there be one?

It is already uploaded:

http://download.proxmox.com/images/system/ubuntu-16.04-standard_16.04-1_amd64.tar.gz

Will add that to the list soon.

4 - I know live migration is not yet implemented and is on the roadmap. Is it something for version 4.3 of Proxmox, even if it is experimental?

maybe
 
Thanks.

I will be testing LXC more.

One thing i notice is that creating an LXC container in the local disk of the server and offline migrating that container to another server, the disk is migrated to the local disk of the destination server. Thats nice.

5 - Is it possible, when there is live migration implemented to do also a live storage migration? We have several external storages. Backup and restore is not live (i think). Will there be an option to live storage migration in LXC like there is in KVM?

One thing that i have to test is our backups program inside the machines, that needs a kernel module. It will have to compile on the host, the proxmox server.

Thanks again and sorry for so many questions. :)
 
5 - Is it possible, when there is live migration implemented to do also a live storage migration? We have several external storages. Backup and restore is not live (i think). Will there be an option to live storage migration in LXC like there is in KVM?

No, I do not think we will implement that. The idea is to use shared storage instead.