The Ansible meetup ended ! That was really nice for my first one. I had really great feedbacks and liked the questions when ended. More than that I met nice people after the meetup and could have interresting discussions :-). I’m really happy about it. For those who would like to review the slides, you can find them here: http://nousmotards.github.io/ansible-meetup-0915/ If you want to watch the video: http://www.infoq.com/fr/presentations/reseau-social-motard or view the PDF version here:
You may know that I really like LXC and the major problem when you want to use that solution in production is: how do you monitor memory and CPU? Regarding the CPU side, I do not have an easy answer for the moment :-(. However regarding the memory, I’ve made a Nagios/Naemon check which will check the memory (RAM) and SWAP of a container. Here is how to use it:
I’m using for my own servers LXC for about a year now. I’m still fed up about bugs introduced by the beta version of LXC (0.8b) present in Debian Wheezy. As now LXC project has released a stable version, I’ve looked at the Debian backports, but didn’t have any chance to find a newer version on it :-(. However, a version 1.0.4 exist on Debian Jessie. I took the Debian sources and recompiled them on Wheezy (available here).
I wanted to find a way to properly view resources (memory/CPU/IO) usages or configuration. For that I need to use cgroups. But the problem are on free, top, htop or common any tools, as they do not get the real informations of the container. We’re in fact waiting on a lot of work on the kernel side or systemd side. More information’s can be found here. Another solution that permit to bind a socks inside containers exists called CGManager, however classical tools doesn’t use it to get informations.
I recently migrated this server to a new one. New hardware, better performance, less power consumption etc…Thanks Online. I’m already using LXC on my home server and see the benefits for 8 months ago. That’s why I decided to migrate this server to LXC as well. The difference here is that I wanted to migrate my VM from KVM. All my KVM VM are on Debian Wheezy so that was pretty easy.
I’ve recently updated my LXC role for ansible. You can get it like that: ansible-galaxy install deimosfr.lxc Here is the change log: + Adding new parameters for dnsmasq and interfaces + Adding new prequesite to avoid unwanted modules to load in the latest kernel versions = Corrected networking configuration issue = Templates do not create @[email protected] folder anymore It works perfectly on my new Dedibox :-)
I’ve heard of Docker a year ago, started to play with it for some months and really start using it a few days ago. At first, I thought it was more complex than expected and finally I saw how simple it is and how many time I’ve lost because I didn’t used it. Docker is an open-source engine that automates the deployment of any application as a lightweight, portable, self-sufficient container that will run virtually anywhere.
- OLDER POSTS
- page 1 of 2