Skip to content

proxy job from cf-mysql/33

Github source: 3f30859 or master branch

Properties

cf_mysql

external_host

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

mysql

cluster_ips

Optional, list of nodes. Must have the same number of ips as there are nodes in the cluster

galera_healthcheck
port

Port galera_healthcheck sidecar process listens on

Default
9200
port

Port the mysql server listens on

Default
3306

proxy

api_force_https

Redirect all HTTP requests to the API to HTTPS

Default
true
api_password

Password for Basic Auth used to secure API

api_port

Port for the proxy API to listen on

Default
8080
api_username

Username for Basic Auth used to secure API

Default
proxy
arbitrator_ip

Optional, list of IP addresses for the arbitrator nodes of the MySQL cluster

consul_enabled

Enable discovery of switchboard through consul

Default
false
consul_service_name

If consul_enabled is true, switchboard will register with consul using this name

Default
mysql
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
max_open_files

Configure this number to be twice as large as mysql.max_connections

Default
3000
port

Port for the proxy to listen on

Default
3306
profiling_enabled

When set to true, the switchboard will listen on port 6060 and enable profiling of the process

Default
false
proxy_ips

Optional, list of IP addresses for all proxy jobs

shutdown_delay

If using a load balancer above the proxies, enter your load balancer’s healthy total threshold time here in seconds. E.g., if your LB polls every 30 seconds and requires 3 successful attempts, then set this property to 90 seconds.

Default
0
startup_delay

If using a load balancer above the proxies, enter your load balancer’s unhealthy total threshold time here in seconds. E.g., if your LB polls every 30 seconds, and immediately fails over upon failure, then set this property to 30 seconds.

Default
0

standalone

Standalone Mode: Are you deploying MySQL without a CloudFoundry deployment?

Default
false

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

syslog_aggregator

address

IP address for syslog aggregator

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/post-start (from post-start.erb)
  • 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.