Skip to content

A durable queue with a centralized master node

License

Notifications You must be signed in to change notification settings

labcrypto/fence

Repository files navigation

Fence - A durable queue

Installation

Linux (Debian-based distributions)

Install abettor-c, abettor-cc and hottentot from following links:

LabCryptoOrg/abettor-c

LabCryptoOrg/abettor-cc

LabCryptoOrg/hottentot

Read READMEs carefully for installation instructions.

Then, clone fence source code from github.

 $ git clone https://github.com/LabCryptoOrg/fence

Compile and install sources.

 $ cd fence
 $ mkdir -p build
 $ cd build
 $ cmake ..
 $ make
 $ sudo make install

Copy master.conf to /usr/bin for master node configuration.

 $ cd fence
 $ sudo cp src/master/master.conf /usr/bin

Copy slave.conf to /usr/bin for slave node configuration.

 $ cd fence
 $ sudo cp src/slave/slave.conf /usr/bin

Make workig directories.

 $ sudo mkdir -p /opt/org/labcrypto/fence/master/work
 $ sudo mkdir -p /opt/org/labcrypto/fence/slave/work

Start master and slave nodes.

 $ sudo fence-master
 $ sudo fence-slave

Developers

Kamran Amini (kam.cpp@gmail.com)