Archive for March, 2011

Gentoo, Pacemaker, and Apache

March 22, 2011

I’ve been playing around with creating HA Load Balancing Proxy servers with Apache on top of Pacemaker today.

Since Gentoo does it’s configuration a little differently than most distributions, this hit a hurdle.

Gentoo puts some Apache command line options in a file /etc/conf.d/apache2 these decide the vohosts that start and other “-D” values. Without these apache will fail to start.

As Pacemaker doesn’t know about this file, or these values, apache was failing to spawn, and I was getting an error.

Simply copying the -D values, into the HTTPOPTS variable in the /usr/lib/ocf/resource.d/heartbeat/apache file fixed the problem:


Now I have two load balancers, running in an active/passive configuration…


The Journey to IPv6 – Part One – The Request

March 9, 2011

Hopefully this will be the first in a series of posts exploring the testing and implementation of IPv6 in the network I administer. My ultimate goal is to have our public facing web servers dual stack, and accessible by both IPv4 and IPv6.

For the moment, I have a request in to our ISP for a /56 block which should be actioned in the next couple of days.

Wish me luck!