ads' corner

Ansible and LXC Containers

LXC is one of many available containerization solutions for Linux. Ansible has basic support for LXC integrated, which is fine if you do not intend to do much inside of the container (aka: fire & forget). My goal however is to start a full flavored container, and manage this container with Ansible as well. That’s where things get a bit tricky, and looking around I couldn’t find much documentation how to do this.

This posting describes my approach.


Execute a required reboot, with Ansible (Debian/Ubuntu)

After updating Linux packages, it sometimes is required to reboot the host. Debian and Ubuntu provide this information by the presence of a special file: /var/run/reboot-required. Ansible makes it easy to reboot a host, but there are a few aspects which need attention.


Configuring "locales" in Debian and Ubuntu, using Ansible

Missing locale settings will result in error messages like:


Autostart XEN Domains

When using XEN you can start virtual machines using xm create. However after rebooting the host machine, the virtual machines are not started automatically. This minor problem is easy to solve. Let’s say the configuration for the virtual machine is in /etc/xen/pluto.cfg:


Probleme in der Wolke (aka: Backup in the Cloud)

Als langjähriger Palm-Anwender hat es mich sehr gefreut, vor einiger Zeit die Ankündigungen zum Palm Pre zu lesen. Ein neues Gerät, die Optik sah gut aus und außerdem sollte ein Linux drunter laufen. Was will man mehr?


Brandenburger Linux-Infotag 2009

Kurzfristig hatten meine Frau und ich uns gestern abend entschieden, doch zum Brandenburger Linux-Infotag zu fahren. Aufgrund diverser Vorfälle in den letzten Wochen war bis gestern unklar, ob wir überhaupt dorthin fahren können. Letzten Endes hat das aber doch gut geklappt.


Chemnitzer Linuxtage 2009 - Eindrücke und Berichte

Die Chemnitzer Linuxtage 2009 sind vorbei und es war wie jedes Jahr ein sehr spannendes und informatives Wochenende. Die Besucherzahlen haben das letzte Jahr noch überboten, die Orga hat zum Ende der Veranstaltung eine Zahl von 2600 Teilnehmern (2200 letztes Jahr) genannt. Das Vortragsprogramm war abwechselungsreich und für jeden etwas dabei. Am Samstag hatte ich Zeit für einen Vortrag über trac und Subversion, danach einen Vortrag über git. Am Abend gab es für die Aussteller und Vortragenden wieder eine Party mit einem super Buffet.


PostgreSQL auf den Chemnitzer Linuxtagen

Das Aussteller-, Vortrags- und Workshop Programm für die Chemnitzer Linuxtage am 14. und 15. März 2009 ist jetzt verfügbar.

PostgreSQL wird einen Stand haben, um mit interessierten Anwendern ins Gespräch zu kommen sowie Fragen zu beantworten.


Linuxday 2007 visit in Berlin

I’m just back from my one-day trip to the Linuxday 2007, this year in Berlin. The German PG User Group was not present with a booth. My trip was (among other things) to decide, if we will have a booth next year.


Linuxtag in Chemnitz with a PostgreSQL booth

The German PostgreSQL Usergroup (website here) will have a booth at the Linuxday in Chemnitz.