Varnish Administration Console

Varnish Agent

Latest is 6.1.0

Installation

It is a requirement that Varnish agent has to be installed on the same server as Varnish Cache itself. This is mandatory for establishing the communication between VAC and Varnish Cache through the RESTful interface provided by Varnish-agent.

Varnish-agent utilizes both Varnish CLI and Varnish API directly as the key mechanism for accessing the internals of Varnish Cache. Therefore it is recommended that the following parameters are set on Varnish to mitigate large amounts of redundant CLI traffic being written to syslog. See below

syslog_cli_traffic=off

The previously mentioned parameters can be changed through VAC or via Varnish startup script.

The pre-made packages for the Varnish-agent are available in the Varnish Plus Software repository.

With your welcome letter you should have gotten a document describing how to set up the repository. Once the repository is set up you can follow the instruction below on how to install Varnish-agent. If you have issues with your repository credentials, reach out to support@varnish-software.com.

Debian / Ubuntu install

The Varnish-agent installation will require access to the Varnish Plus Software repository.

After this repository has been added, install the varnish-agent by running:

apt-get update
apt-get install varnish-agent
update-rc.d varnish-agent defaults

Varnish-agent is now installed and can be configured.

Red Hat Enterprise Linux install

The Varnish-agent installation will require access to the Varnish Plus Software repository.

Please note that Varnish-agent has dependencies in the EPEL repository. To set this up run

# install the EPEL repository, needed by some dependencies
yum install epel-release
yum install varnish-agent

Varnish agent is now installed and can be configured as described here.