DOKK / manpages / debian 12 / mha4mysql-manager / masterha_conf_host.1p.en
MASTERHA_CONF_HOST(1p) User Contributed Perl Documentation MASTERHA_CONF_HOST(1p)

masterha_conf_host - Adding new host entry to, or removing existing host entry from a config file

masterha_conf_host --command=add --conf=/etc/conf/masterha/app1.cnf --hostname=db101

 The following lines will be added to the conf file.
 [server_db101]
 hostname=db101

masterha_conf_host --command=add --conf=/etc/conf/masterha/app1.cnf --hostname=db101 --block=100 --params="no_master=1;ignore_fail=1"

 The following lines will be added to the conf file.
 [server_100]
 hostname=db101
 no_master=1
 ignore_fail=1

masterha_conf_host --command=delete --conf=/etc/conf/masterha/app1.cnf --block=server100

 Then entire block [server100] will be removed.

See online reference (http://code.google.com/p/mysql-master-ha/wiki/masterha_conf_host) for details.

See online reference (http://code.google.com/p/mysql-master-ha/wiki/masterha_conf_host) for details.

2021-01-08 perl v5.32.0