Skip to content

haproxy job from cf-mysql/15

Github source: cf08de5c or master branch

Properties

external_domain

The CF system domain for creating a url

haproxy

ssl_pem

SSL certificate (PEM file)

haproxy_mysql_user

A user for HAProxy health check

haproxy_stats_password

Password for the HA Proxy stats interface

mysql_ips

IPs of all MySQL nodes

nats

machines

IP of each NATS cluster member

password

Password for broker to connect to NATS

port

IP port of Cloud Foundry NATS server

user

Username for broker to connect to NATS

network_name

The name of the network (needed for the syslog aggregator)

request_timeout_in_seconds

Server and client timeouts in seconds

Default
300

syslog_aggregator

address

IP address for syslog aggregator

all

Define whether forwarders should send all their syslog data to our aggregator.

Default
false

port

TCP port of syslog aggregator

transport

Transport to be used when forwarding logs (tcp|udp|relp).

Default
tcp

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/haproxy/ directory (learn more).

  • bin/haproxy_ctl (from haproxy_ctl)
  • bin/route-registrar_ctl (from route-registrar_ctl.erb)
  • config/cert.pem (from cert.pem.erb)
  • config/haproxy.config (from haproxy.config.erb)
  • config/registrar_settings.yml (from registrar_settings.yml.erb)
  • config/syslog_forwarder.conf (from syslog_forwarder.conf.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.