MASTERH...NF_HOST(1p)
π MASTERH...NF_HOST(1p) π
okay bestie, we're looking at masterha_conf_host from the User Contributed Perl Documentation β yes, that's the manual page name, MASTERH...NF_HOST(1p), it's giving truncated-but-iconic, we move π
β¨ NAME β¨
masterha_conf_host β adding a new host entry to, or removing an existing host entry from, a config file π
πΈ SYNOPSIS πΈ
okay so first one, adding a host, super simple:
masterha_conf_host --command=add --conf=/etc/conf/masterha/app1.cnf --hostname=db101
and the following lines will be added to the conf file:
[server_db101]
hostname=db101
next, adding with a --block and some --params because we're extra:
masterha_conf_host --command=add --conf=/etc/conf/masterha/app1.cnf --hostname=db101 --block=100 --params="no_master=1;ignore_fail=1"
and the following lines will be added to the conf file:
[server_100]
hostname=db101
no_master=1
ignore_fail=1
and then the delete era, the villain arc π:
masterha_conf_host --command=delete --conf=/etc/conf/masterha/app1.cnf --block=server100
then the entire block [server100] will be removed. poof. gone. no notes. π
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.
and that's literally the whole page bestie, no gatekeeping here π«Ά β this was perl v5.36.0, dated 2023-10-03, from MASTERH...NF_HOST(1p). slay, go touch some config files πβ¨π
π¦ where this page comes from
- debian trixie: mha4mysql-manager 0.58-2 Β· GPL-2.0-or-later
- ubuntu noble: mha4mysql-manager 0.58-2 Β· GPL-2.0-or-later
- ubuntu questing: mha4mysql-manager 0.58-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms