masterha_conf_host(1) Adding new host entry to, or removing existing host entry from a config file

SYNOPSIS

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.

DESCRIPTION

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