Quantcast
Channel: Nickebo.net » fifo
Viewing all articles
Browse latest Browse all 2

Clustered FiFo nodes

$
0
0

I want to start out by mentioning that this is HIGHLY experimental, try it at your own risk. FiFo has a neat feature for clustering so that your FiFo system keeps functioning even if you lose a node. The data in the cluster is distributed over all the nodes, this means you need two functioning nodes at all times, a good idea is to run this with at least four nodes so that you can lose two nodes.

Installing a new node

Start by installing a new node, follow http://project-fifo.net/display/PF/Installation+Guide and finish step four (4) in the dev part of the guide. Do this for all nodes you want to add (and make sure the first node uses the same version).

Joining the cluster

Run the following commands to join Sniffle, Snarl and Howl to the cluster:

/opt/local/sniffle/bin/sniffle-admin join sniffle@[IP of first node]
/opt/local/snarl/bin/snarl-admin join snarl@[IP of first node]
/opt/local/howl/bin/howl-admin join howl@[IP of first node]

Hopefully it’ll look like this:

[root@fifo2 ~]# /opt/local/sniffle/bin/sniffle-admin member_status
================================= Membership ==================================
Status     Ring    Pending    Node
-------------------------------------------------------------------------------
valid      50.0%      --      'sniffle@172.16.0.11'
valid      50.0%      --      'sniffle@172.16.0.16'
-------------------------------------------------------------------------------
Valid:2 / Leaving:0 / Exiting:0 / Joining:0 / Down:0

Repeat this for the rest of the nodes.

Viewing all articles
Browse latest Browse all 2

Trending Articles