/varnish-hive

:honeybee: Varnish cache replication.

Primary LanguageCBSD 2-Clause "Simplified" LicenseBSD-2-Clause

varnish-hive License

  1. Overview
  2. Description
  3. Requirements
  4. Setup
  5. Usage
  6. Limitations
  7. Contributors
  8. Author Information
  9. Miscellaneous

Overview

Description of varnish-hive

domain.tld

Description

Replicate varnish cache between all the active varnishes present in the configuration file.

Requirements

varnish 4.1.7 (no, varnish 4.1.1 won't work).

Setup

From source

./autogen.sh
./configure
make
sudo make install

Create varnish-user

utils/create_user.sh

Create .deb package

bash utils/deb_packager.sh

You will find the .deb package in varnish-hive parent folder

Usage

Configuration

/etc/varnish/varnishhive.ini configuration file format:

See etc/varnish/varnishhive.ini

Daemon options

sudo service varnish-hive start

VCL modifications

...
include "/etc/varnish/varnishhive.vcl";
...
sub vcl_recv {
...
	call varnishhive_vcl_recv;
...
}

Limitations

Works only with varnish > 4.1.3

Authors Information

jambon69 lgiesen@vente-privee.com

dave david.sebaoun@epitech.eu

sams sfarhane@vente-privee.com

sxbri sabdellatif@vente-privee.com

Alain ROMEYER aromeyer@vente-privee.com

(guidance) poolpOrg gchehade@vente-privee.com

Development

Please read carefully [CONTRIBUTING] (https://raw.githubusercontent.com/vente-privee/varnish-hive/master/CONTRIBUTING) before making a merge request.

Miscellaneous

    ╚⊙ ⊙╝
  ╚═(███)═╝
 ╚═(███)═╝
╚═(███)═╝
 ╚═(███)═╝
  ╚═(███)═╝
   ╚═(███)═╝