mysql job from cf-mysql/15
Github source:
cf08de5c
or
master branch
Properties¶
admin_password
¶
Password for the MySQL server admin user
admin_username
¶
Username for the MySQL server admin user
- Default
root
cluster_ips
¶
List of nodes. Must have the same number of ips as there are nodes in the cluster
gcache_size
¶
Cache size used by galera (maximum amount of data possible in an IST), in MB
- Default
512
haproxy_ips
¶
List of haproxy node ip addresses
haproxy_mysql_user
¶
A user for HAProxy health check
ib_log_file_size
¶
Size of the ib_log_file used by innodb, in MB
- Default
1024
innodb_buffer_pool_size
¶
The size in bytes of the memory buffer InnoDB uses to cache data and indexes of its tables
max_connections
¶
Maximum total number of database connections for the node
- Default
1500
network_name
¶
The name of the network (needed for the syslog aggregator)
port
¶
Port the mysql server should bind to
- Default
3306
seeded_databases
¶
Set of databases to seed
- Default
{}
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/mysql/
directory
(learn more).
bin/galera-healthcheck_ctl
(fromgalera-healthcheck_ctl.erb
)bin/gra-log-purger.sh
(fromgra-log-purger.sh.erb
)bin/gra-log-purger_ctl
(fromgra-log-purger_ctl.erb
)bin/mariadb_ctl
(frommariadb_ctl.erb
)bin/mysql_database_seed.sh
(frommysql_database_seed.sh.erb
)config/mariadb_init
(frommariadb_init.erb
)config/my.cnf
(frommy.cnf.erb
)config/syslog_forwarder.conf
(fromsyslog_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.