Skip to end of metadata
Go to start of metadata
One of the authors of Wackamole recommends it's successor, vippy

Wackamole is an application which manages a bunch of IPs which should be accessible from outside all the time.

Given a set of machines and a IPs, wackamole will ensure that if any machine goes down, other machine will take up its IP almost instantly and outside world will see no impact.
It tries to balance the number of IPs across the number of machines available.
Wackamole uses Spread network messaging system.

It's a good alternative to VRRP which has some flaws.

Pros :

  • very easy to setup
  • works very well
  • ip switch very fast
  • lightweight solution
  • doesn't require vrrp or anything from the hypervisor

Cons :

  • none so far

Lets start configuring it. I am using two zones.
The concept can be extended to as many zones/VM/KVM as you want.

Step 1 : Here's my example configuration :

Step 2 : Install wackamole with pkgin (spread will come as a dependency) on both zones.

Step3 : Do these 2 parts on the first server.

Edit /opt/local/etc/wackamole.conf and put this :

Edit /opt/local/etc/spread.conf and put this :

Step4 : Start spread then wackamole on the first server.
You'll see a second network interface (net1:1 in my case, net0:1 if you only have one nic) on the first server with your virtual ip.

Step5 : Copy the 2 files above on the second server and start spread then wackamole.

All done.
If your first server goes down or is unplugged from the network, your virtual ip will automatically be switched to the second server.

(credits go to Aditya Patawari from

ha ha Delete
high high Delete
availability availability Delete
wackamole wackamole Delete
virtual virtual Delete
ip ip Delete
vrrp vrrp Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.