Archive for 2012

Virtual IP addresses with ucarp, for high-availability

If you're interested in high-availability you typically want to use some kind of load-balancer, to divide traffic between a pool of machines. A simpler approach can be to have a pair of hosts each of which is prepared to take over a single virtual IP address - this is what ucarp allows you to do.

How to setup Postgresql 9.1 Streaming Replication Debian Squeeze

This is a short HOWTO on setting up a backported Postgresql 9.1 database with streaming replication on Debian Squeeze.

Isolating sudo messages from syslog

sudo is an essential tool in an environment where there are multiple server and system administrators. By default sudo will log to syslog, and it is very straight-forward to isolate the logging to a local file which can be useful.

How to convert a Wheezy (or newer) system to btrfs

Newer GRUBs can handle a /boot partition which is btrfs, so you need not have a separate /boot partition formatted as ext3/4.

How to set up dynamic DNS (DDNS) on WD My Book Live

Western Digital's My Book Live runs on Debian Lenny. It is a pretty nice NAS missing one critical feature for which many people ask on-line: The ability to sit behind a home LAN router and update a dynamic DNS entry as many routers can do.

Past Years