Skip to content

cf-mysql-broker job from cf-mysql/16

Github source: 245cedc0 or master branch

Properties

auth_password

Broker’s basic auth password

auth_username

Broker’s basic auth username

cc_api_uri

URL of the CloudFoundry Cloud Controller

cookie_secret

A unique secret key, used to sign sessions

external_host

Host used to register the broker. Domain is often the same as system domain.

max_user_connections_default

number of user connections to allow in a plan if not specified

Default
40

mysql_node

admin_password

Password for the admin MySQL account

admin_username

Username for the admin MySQL account

Default
root

gcache_size

Cache size used by galera (maximum amount of data possible in an IST), in MB

Default
512

host

Host (DNS) or IP address of the MySQL server or the proxy if using one

ib_log_file_size

Size of the ib_log_file used by innodb, in MB

Default
1024

persistent_disk

Size of the persistent disk allocated to the MySQL node for storage

port

Port of the MySQL server

Default
3306

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)

networks

broker_network

Name of the network the broker will get its IP address from

services

Services and plans offered by the broker

skip_ssl_validation

Determines whether dashboard verifies SSL certificates when communicating with Cloud Controller and UAA

Default
false

ssl_enabled

Determines use of https in dashboard url and in callback uri for calls to UAA

Default
true

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/cf-mysql-broker/ directory (learn more).

  • bin/cf-mysql-broker_ctl (from cf-mysql-broker_ctl.erb)
  • bin/cf-mysql-quota-enforcer_ctl (from cf-mysql-quota-enforcer_ctl.erb)
  • bin/healthcheck.sh (from healthcheck.sh.erb)
  • bin/route-registrar_ctl (from route-registrar_ctl.erb)
  • config/00-validation (from 00-validation.erb)
  • config/database.yml (from database.yml.erb)
  • config/registrar_settings.yml (from registrar_settings.yml.erb)
  • config/settings.yml (from settings.yml.erb)
  • config/syslog_forwarder.conf (from syslog_forwarder.conf.erb)
  • config/unicorn.conf.rb (from unicorn.conf.rb.erb)

Packages

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