Skip to content

cf-mysql-broker job from cf-mysql/24

Github source: 3a438bdb 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 a route for the broker with the router in cf-release via NATS. By registering the broker with Cloud Foundry using this route, and using the router for load balancing, the broker can be horizontally scaled. Domain is typically the same as system domain in cf-release.

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 used by the broker and bound applications to reach the service

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 used by the broker and bound applications to reach the service

Default
3306

nats

machines

IP of each NATS cluster member.

password

Password for broker to register a route with NATS

port

IP port of Cloud Foundry NATS server

user

Username for broker to register a route with 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/healthcheck.sh (from healthcheck.sh.erb)
  • bin/quota-enforcer_ctl (from quota-enforcer_ctl.erb)
  • bin/quota_enforcer_config.yml (from quota_enforcer_config.yml.erb)
  • bin/route-registrar_ctl (from route-registrar_ctl.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.