Skip to content

proxy job from cf-mysql/18

Github source: 21b65b45 or master branch

Properties

cluster_ips

List of nodes. Must have the same number of ips as there are nodes in the cluster

external_host

Domain of the route registered for the UI via NATS (with the router in cf-release)

nats

machines

IP of each NATS cluster member.

password

Password to register a route via NATS

port

IP port of Cloud Foundry NATS server

user

Username to register a route via NATS

network_name

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

proxy

api_password

Password for Basic Auth used to secure API

api_port

Port for the proxy API to listen on

Default
80

api_username

Username for Basic Auth used to secure API

health_port

Port for checking the health of the proxy process

Default
1936

healthcheck_timeout_millis

Timeout (milliseconds) before assuming a backend is unhealthy

Default
5000

port

Port for the proxy to listen on

Default
3306

syslog_aggregator

address

IP address for syslog aggregator

all

Define whether forwarders should also send non-mysql syslog activity to the 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/proxy/ directory (learn more).

  • bin/route-registrar_ctl (from route-registrar_ctl.erb)
  • bin/switchboard_ctl (from switchboard_ctl.erb)
  • config/route-registrar.yml (from route-registrar.yml.erb)
  • config/switchboard.yml (from switchboard.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.