KB: Brekz Hosting - Fail-over testen¶
Stop replicatie en zet de Replica op read-only¶
-- Pauzeer replicatie
STOP REPLICA;
-- Optioneel: noteer positie voor later
SHOW REPLICA STATUS\G
-- Schakel read-only tijdelijk uit voor specifieke operaties
SET GLOBAL read_only = 0;
SET GLOBAL super_read_only = 0;
-- Doe je werk...
-- Zet read-only terug
SET GLOBAL read_only = 1;
SET GLOBAL super_read_only = 1;
-- Herstart replicatie
START REPLICA;
ToDo¶
- FL10SQL001 Replica herstarten in read-only modus