Bind mariadb to private iface
We dont need to bind any internal services to 0.0.0.0 Change-Id: I94d52f2165f1d5b2c50e7f0cd2b12688f4f1246e
This commit is contained in:
parent
9c2bea461e
commit
de038a82a7
|
@ -1,5 +1,4 @@
|
||||||
configs:
|
configs:
|
||||||
db_max_timeout: 60
|
db_max_timeout: 60
|
||||||
db_root_password: password
|
db_root_password: password
|
||||||
mariadb_addr: 0.0.0.0
|
|
||||||
mariadb_port: 3306
|
mariadb_port: 3306
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[mysqld]
|
[mysqld]
|
||||||
bind-address = {{ mariadb_addr }}
|
bind-address = {{ network_topology["private"]["address"] }}
|
||||||
port = {{ mariadb_port }}
|
port = {{ mariadb_port }}
|
||||||
|
|
||||||
datadir=/var/lib/mysql/
|
datadir=/var/lib/mysql/
|
||||||
|
@ -18,10 +18,6 @@ wsrep_node_name="HOSTNAME"
|
||||||
wsrep_sst_method=xtrabackup-v2
|
wsrep_sst_method=xtrabackup-v2
|
||||||
wsrep_sst_auth=mysql:password
|
wsrep_sst_auth=mysql:password
|
||||||
wsrep_slave_threads=4
|
wsrep_slave_threads=4
|
||||||
#wsrep_cluster_address=gcomm://IPADDR
|
|
||||||
#wsrep_provider_options=gmcast.listen_addr=tcp://IPADDR
|
|
||||||
#wsrep_node_address=IPADDR
|
|
||||||
#wsrep_sst_receive_address=IPADDR
|
|
||||||
|
|
||||||
[server]
|
[server]
|
||||||
pid-file=/var/lib/mysql/mariadb.pid
|
pid-file=/var/lib/mysql/mariadb.pid
|
||||||
|
|
Loading…
Reference in New Issue