Skip to content

cf-mysql-broker job from cf-mysql/26

Github source: b2ebb913 or master branch

Properties

cf

api_url

URL of the CloudFoundry Cloud Controller

skip_ssl_validation

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

Default
false

cf_mysql

broker

auth_password

Broker’s basic auth password

auth_username

Broker’s basic auth username

cookie_secret

A unique secret key, used to sign sessions

max_user_connections_default

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

Default
40
services

Services and plans offered by the broker

Example
|+
  plans:
  - name: 100mb
    id: REPLACE-WITH-A-UNIQUE-GUID
    description: Shared MySQL Server
    max_storage_mb: 100
    max_user_connections: 20
  - name: 1gb
    id: REPLACE-WITH-A-UNIQUE-GUID
    description: Shared MySQL Server
    max_storage_mb: 1000
    max_user_connections: 40
ssl_enabled

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

Default
true

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.

host

Host (DNS) or IP address used by the broker and bound applications to reach the service

mysql

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
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)

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.