From sources

You will need the following Debian packages to be able to compile SureAliveD

  • gcc
  • cmake
  • make
  • glib2-dev
  • libxml2-dev
  • libssl-dev
  • kernel sources (or linux-headers package)

After unpacking surealived-x.y.z.tar.gz you will find these directories:

  • common - directory containing source files used by both surealived and ipvssync
  • doc - documentation
  • examples - surealived xml configuration file examples
  • ipvssync - synchronizer source files
  • libipvs - library (by Wensong Zhang) used by synchronizer to communicate with IPVS
  • surealived - tester's source files

Compilation and installation must be executed from root account:

   # tar xzvf surealived-x.y.z.tar.gz
   # cd surealived-x.y.z
   # cmake .
   # make
   # make install

After installation you will find following binaries in your system:

  • /usr/sbin/ipvssync
  • /usr/bin/surealived

Main configuration file surealived.cfg used by both applications is copied into /etc/surealived.

Furthermore, the following directories are created:

  • /var/log/surealived - log files for tester and synchronizer
  • /var/log/surealived/comm - communication dump files for virtuals with
    debugcomm=''1'' attribute set
  • /var/lib/surealived - dynamic configuration files used by surealived and for ipvssync
  • /var/lib/surealived/diffs - ipvssync differential configuration
  • /var/lib/surealived/stats - reals' tests statistics