MASTERH..._SWITCH(1p)

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

πŸ’– MASTERH..._SWITCH(1p) πŸ’–

okay bestie, pull up a chair, grab a lil snack πŸ“ β€” this is masterha_master_switch, a lil user-contributed Perl situation, and she is the girl when it comes to moving your MySQL master over to one of the other slaves. no cap.


✨ NAME ✨

masterha_master_switch β€” Switching MySQL master server to one of other slave servers πŸ‘‘

literally the whole vibe: master's out, one of the slaves is stepping up, main character energy fr fr πŸ’…

🌸 SYNOPSIS 🌸

here's the group chat receipts, copy-paste exactly bestie, don't freestyle:

For master failover πŸ’€

# For master failover

masterha_master_switch --master_state=dead
--global_conf=/etc/masterha_default.cnf
--conf=/usr/local/masterha/conf/app1.cnf --dead_master_host=host1

For online master switch πŸ¦‹

# For online master switch

masterha_master_switch --master_state=alive
--global_conf=/etc/masterha_default.cnf
--conf=/usr/local/masterha/conf/app1.cnf

and if you want the full lore, go read the online reference, it's all there:

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

πŸŽ€ DESCRIPTION πŸŽ€

ngl, this section is short and she knows it. for the deets, the page just points you at the online reference:

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

that's it. that's the whole section. iconic minimalism honestly πŸ™ˆβœ¨


and that's the tea, bestie 🫢 this lil page came to you courtesy of perl v5.36.0, dated 2023-10-03, filed under MASTERH..._SWITCH(1p) β€” go slay some failovers, you got this πŸ’œπŸ”₯

πŸ“¦ where this page comes from