Balance overhaul

I’m teaching myself puppet and trying to wrap a module around the TCP load balancer called “balance”. I decided to redo the init script I put together a while back and update my github repo for it. Along with the init script is a file that goes in /etc/sysconfig along with a sample config that should go in /etc/balance.d

I am using the rpm version (since puppet really seems to prefer that over source building). Check EPEL for it.

The new device naming convention aka eth0 is now p2p1

You may or may not have run into this yet. I’ve only seen it a few times and while I understand the reasoning behind it, it plays hell with kickstart (since you have to know the interface name and assume it’s eth0). The behavior can be disabled, apparently through a boot parameter:


I’ll test it when I run across a machine that does this to see if it can be handled gracefully in kickstart.

Kickstart without DHCP

Occasionally, you have to kickstart a host and you don’t have a DHCP server available on the network. To setup the network far enough to load a kickstart remotely (via http) change the boot configuration to:

linux text ip= netmask= gateway= dns= ks=

Alter the above to suit your environment, keeping in mind that the network specified will only be used long enough to retrieve the kickstart. Your template can redefine the values.

DHCP server configuration

This is a bare minimum guide to setup a DHCP server.

1. Install the dhcp package:

yum install dhcp

2. Replace the /etc/dhcpd.conf with the following:

ddns-update-style interim;
ignore client-updates;

subnet netmask {

option routers;
option subnet-mask;

option domain-name "";
option domain-name-servers;

option time-offset -18000; # Eastern Standard Time

range dynamic-bootp;
default-lease-time 21600;
max-lease-time 43200;

3. Alter the values as needed.
4. Set the server to start on boot:

/sbin/chkconfig dhcpd on

5. Start the server:

/sbin/service dhcpd start

6. Review /var/log/messages for any errors.

Make sure you have port 67/udp open if you are using a host-based firewall.