High Availability mesh networking with cjdns

From Wiki
Jump to: navigation, search

To set up an HA mesh node you will first need to install heartbeat.


After that is done you will need to set up cjdns.


To make heartbeat manage the cjdns service you will need an init script.

wget -O /etc/init.d/cjdns http://www.watters.ws/rpms/cjdns/cjdns.init
chmod 755 /etc/init.d/cjdns

Puppet can also manage this. The script needs to be installed on every heartbeat node.

Add the service to /etc/ha.d/haresources file. For example:

lclient1.watters.ws nfs nfslock cjdns

Start heartbeat to get services online.

service heartbeat start