ocf:varnish — Manage a Varnish instance
OCF_RESKEY_config=string OCF_RESKEY_name=string OCF_RESKEY_pid=string OCF_RESKEY_listen_address=string OCF_RESKEY_mgmt_address=string [OCF_RESKEY_ttl=integer] [OCF_RESKEY_varnish_user=string] [OCF_RESKEY_varnish_group=string] [OCF_RESKEY_backend_type=string] [OCF_RESKEY_backend_size=string] OCF_RESKEY_backend_file=string [OCF_RESKEY_worker_threads=string] [OCF_RESKEY_client_binary=string] varnish [start | stop | monitor | status | meta-data | validate-all]
The Varnish Resource Agent can manage several varnishd instances throughout the cluster. It does so by creating a unique PID file and requires a unique listen address and name for each instance.
The VCL configuration file that varnish should manage, for example "/etc/varnish/default.vcl".
Override the name of the instance that should be given to varnish (defaults to the resource identifier).
Write the process's PID to the specified file. The default will include the specified name, ie.: "/var/run/varnish_production.pid". Unlike what this help message shows. It is most likely not necessary to change this parameter.
Listen on this address:port, for example "192.168.1.1:80"
Provide a management interface, for example "127.0.0.1:2222"
Specifies a hard minimum time to live for cached documents.
Specifies the name of an unprivileged user to which the child process should switch before it starts accepting connections.
Specifies the name of an unprivileged group to which the child process should switch before it starts accepting connections.
Use the specified storage backend. Valid options are 'malloc' for memory and 'file' for a file backend.
Specify the size of the backend. For example "1G".
Specify the backend filename if you use backend_type file. For example /var/lib/varnish/mybackend.bin
Start at least min but no more than max worker threads with the specified idle timeout. Syntax: min[,max[,timeout]] For example: 100,3000,120
This is used to control varnish via a CLI. It's currently only used to check the status of the running child process.