MASTERH...NF_HOST(1p)

πŸ“¦
version 0.58 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– 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