Re: [Lxc-users] LXC + VirtualBox = Frozen Host

2012-11-18 Thread Derek Simkowiak
Be sure you are not also running KVM, VMware, or any other VM software. At this writing, only one virtualization platform can run at a time. LXC is not a virtualization platform (because it doesn't run multiple kernels on one CPU). So your VirtualBox freeze-ups are probably not

Re: [Lxc-users] Backing Up A Container

2012-05-06 Thread Derek Simkowiak
I have been using Rsnapshot (which is a thin wrapper around rsync). I run Rsnapshot on the host, and thus, back up all my LXC containers at once. More about my rsnapshot setup can be found here: http://derek.simkowiak.net/backing-up-multiple-servers-with-rsnapshot/ Thanks, Derek

Re: [Lxc-users] Hardware Requirements

2012-04-13 Thread Derek Simkowiak
You have not provided enough information to do a scientific analysis. How many users is not very many? What kind of web-apps will they be using under Plone? How much database and/or file access will there be? Generally speaking, I would suggest more RAM. It's cheap and can have

Re: [Lxc-users] Routing question

2012-01-15 Thread Derek Simkowiak
/lxc.network.ipv4=x.x.x.x/24/ 'da hell? On 01/15/2012 03:36 PM, Barbara Nowak wrote: Hi, I want to try configure couple VM on 2 hosts. I need to had access from LAN and WAN port (eth1 and eth0). My config each VM is: lxc.network.type=macvlan lxc.network.link=eth0 lxc.network.flags=up

Re: [Lxc-users] Failed to setup networking within container

2012-01-03 Thread Derek Simkowiak
/ As a quick test, try setting it to this and see if it works: lxc.network.hwaddr = 00:24:1d:2f:e6:6f (I simply made a trivial change to the last two parts, just to resolve the conflict with your physical device.) Thanks, Derek Simkowiak On 01/03/2012 02:58 PM, Vedran Furač wrote: Hi all, I'm

Re: [Lxc-users] Container size minialisation

2011-12-17 Thread Derek Simkowiak
I have had good luck with ext4 on multi-terabyte systems the last 3 years or so. These systems run regular rsync (using rsnapshot) with no filesystem problems. I also have a ~30 TB system with xfs, no problems. (I switched to ext4 when I read benchmarks showing that it was on par with

Re: [Lxc-users] Long freeze of server shell when stopping container

2011-12-17 Thread Derek Simkowiak
Is there an official LXC F.A.Q.? This question appears several times per week. Please see: http://osdir.com/ml/lxc-chroot-linux-containers/2011-12/msg00029.html --Derek On 12/17/2011 03:24 PM, DTK wrote: Why is it that my server shell (ssh) freezes for about 5 minutes when I

Re: [Lxc-users] Container size minialisation

2011-12-12 Thread Derek Simkowiak
configuration for a shared filesystem with my container creation script. It is disabled by default, but you can read through the configuration to get an idea. You can download it from here: http://derek.simkowiak.net/lxc-ubuntu-x/ Thanks, Derek Simkowiak On 12/12/2011 09:47 AM, István Király

Re: [Lxc-users] seeing a network pause when starting and stopping LXCs - how do I stop this?

2011-12-11 Thread Derek Simkowiak
When there are only one bridge on the system or the bridges are not connected together, this option is pointless and we can set the delay to '0'. That makes the port to be enabled instantaneously, hence the container can access the network immediately after the start. As previously posted,

Re: [Lxc-users] [PATCH] Cgroup cleanups: play more nicely with others, and support nesting

2011-12-09 Thread Derek Simkowiak
Serge, Could you please elaborate on this comment? (Of course, the containers must be on a different subnet) Do you mean a TCP/IP subnet? If so, why does this limitation exist? I would like to use nested LXC containers for reselling CPU, disk, and network at a data

Re: [Lxc-users] seeing a network pause when starting and stopping LXCs - how do I stop this?

2011-12-07 Thread Derek Simkowiak
is to use the workaround linked above, or else to manually apply the patch and compile it yourself. Cheers, Derek Simkowiak http://derek.simkowiak.net On 12/07/2011 03:38 PM, Joseph Heck wrote: I've been seeing a pause in the whole networking stack when starting and stopping LXC - it seems

Re: [Lxc-users] lxc.cap.drop

2011-10-26 Thread Derek Simkowiak
. # - OpenSSH needs sys_resource, so it is not dropped. # lxc.cap.drop=sys_admin audit_control audit_write fsetid ipc_lock ipc_owner lease linux_immutable mac_admin mac_override mknod setfcap setpcap sys_boot sys_module sys_nice sys_pacct sys_ptrace sys_rawio sys_tty_config sys_time Thanks, Derek

Re: [Lxc-users] Bug discussion: implementing high virtual device MAC addresses

2011-10-24 Thread Derek Simkowiak
On 10/18/2011 04:31 PM, Derek Simkowiak wrote: There is a behavior in the Linux kernel which can cause a bridge device to change MAC address, thus causing a network blackout of several seconds (while everybody ARPs the new MAC address flushes the old one). This happens when bridging

Re: [Lxc-users] Bug discussion: implementing high virtual device MAC addresses

2011-10-24 Thread Derek Simkowiak
to fix. Thank You, Derek Simkowiak On 10/24/2011 11:41 AM, Francois-Xavier Bourlet wrote: Hi, Here we are using lxc intensively with bridges. Since we don't use STP, the downtime for each a mac@ change is unnoticeable. In fact, we discovered it when reading this mailinglist. After some test I can

[Lxc-users] Graceful shutdowns: current best practices?

2011-10-18 Thread Derek Simkowiak
would kindly post their own best practices, I could create a new lxc-shutdown command and an init script that uses it. Thank You, Derek Simkowiak P.S. The last major discussion I found about this was from ~two years ago: http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00040.html

[Lxc-users] Bug discussion: implementing high virtual device MAC addresses

2011-10-18 Thread Derek Simkowiak
by the kernel. However, I'm new to the LXC source and would like some input and analysis from a more seasoned contributor. I would be happy to test and maybe even contribute a patch, but I'd like some feedback first. Thank You, Derek Simkowiak

Re: [Lxc-users] shutting down CentOS6 container

2011-10-17 Thread Derek Simkowiak
/I tried the python script, it just works fine./ Q1: How does the kill -INT init method affect running processes, especially MySQL and other databases that may need to shutdown gracefully to avoid data corruption? I believe that the child processes (incl. mysqld, apache, etc.)

Re: [Lxc-users] Fwd: RE: Price Request For lxc.org

2011-10-11 Thread Derek Simkowiak
in this bug is, like your script, simply working around that fact. Thank You, Derek Simkowiak de...@simkowiak.net On 10/11/2011 06:08 AM, Brian K. White wrote: That's a pretty substantial reduction. Add it to the possible wish list along with the MAC address prefix. Sadly I never finished

Re: [Lxc-users] possible to create/run lxc containers inside an lxc container?

2011-10-01 Thread Derek Simkowiak
/What is the usecase?/ Here's mine: Commercially selling raw CPU, RAM, and disk resources (in a data center) to resellers. If they could use LXC (within my LXC to them) then they could add their own container-based services to their customers, as a VAR. Thanks, Derek Simkowiak http