Flussonic Watcher documentation

Contents

Failover

A failover cluster is a group of servers that work together to maintain the overall service stability and exclude any possible downtime of any part of the system. If one of the servers fails, another cluster server takes over its workload. This process is called failover.

In Watcher cluster, in case of a streamer server failure, the camera traffic to this server will automatically redistribute between other cluster servers, also called donors. The video archive becomes unavailable on the streamer server that had a failure. The new video archive will be temporarily recorded on the donor server.

When the connection to the primary server that had an issue is renewed, the traffic is automatically redirected back. Provided that the storage on the primary server wasn’t damaged during the failover, the access to the main video archive will be re-established. However, the temporary video archive will be deleted from the donor server.

Turn on the failover option for each streamer server individually in the Streamer section and change mode in /etc/flussonic/flussonic.conf file on Watcher server:

vsaas {
  mode cluster+failover=30;
  ...
}

Where

  • 30 — how often (in seconds) Watcher checks connection to streamers.

To apply new settings, restart Watcher:

/etc/init.d/flussonic restart