LUCENT GRID
SQL Lab ยท Replication and High Availability (Hard)
Initialising...
๐Ÿ–ฅ๏ธ
SQL Terminal
๐Ÿ“š
Reference
๐Ÿ“Œ OBJECTIVES โ€” NO HINTS
โ—‹Configure primary: enable binlog, set server-id
โ—‹Create replication user with REPLICATION SLAVE
โ—‹Take consistent backup with FLUSH TABLES WITH READ LOCK
โ—‹Point replica: CHANGE MASTER TO ...
โ—‹START REPLICA and verify with SHOW REPLICA STATUS
โ—‹Simulate and recover from replication break
โ—‹Implement read routing: SELECT on replica
0 / 7 complete
SQL TERMINAL โ€” REPLICATION AND HIGH AVAILABILITY (HARD)
MySQL 8.0 โ€” Lab environment loaded Replication and High Availability (Hard) โ€” Hard tier ยท No syntax hints provided โš  This lab tests independent problem-solving. Reference window available. โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
mysql>
COMMAND REFERENCE
AVAILABLE COMMANDS
  • SHOW MASTER STATUS;
  • CREATE USER 'repl'@'%' IDENTIFIED BY 'password'; GRANT REPLICATION SLAVE ON *.* TO 'repl'@'%';
  • FLUSH TABLES WITH READ LOCK; SHOW MASTER STATUS;
  • CHANGE MASTER TO MASTER_HOST='primary', MASTER_USER='repl', MASTER_LOG_FILE='binlog.000001', MASTER_LOG_POS=157;
  • START REPLICA; SHOW REPLICA STATUS\G
  • SET GLOBAL SQL_REPLICA_SKIP_COUNTER=1; START REPLICA;
  • SELECT Seconds_Behind_Source FROM performance_schema.replication_applier_status;
Type keywords from the command list. The terminal will recognise your intent even if the exact syntax differs.
โ˜ฐ BRIEF
๐Ÿ–ฅ Terminal
๐Ÿ“š Reference
MISSION BRIEF

MISSION BRIEFING

REPLICATION โ€” OMNIBANK SYSTEMS ยท HARD โญโญโญ

SCENARIO

OmniBank needs a read replica to offload reporting queries from the primary. You must configure binlog-based replication, set up a replica server, verify replication lag, handle a replication break caused by a schema change, and implement a read/write routing strategy.

OBJECTIVES

  • Configure primary: enable binlog, set server-id
  • Create replication user with REPLICATION SLAVE
  • Take consistent backup with FLUSH TABLES WITH READ LOCK
  • Point replica: CHANGE MASTER TO ...
  • START REPLICA and verify with SHOW REPLICA STATUS
  • Simulate and recover from replication break
  • Implement read routing: SELECT on replica

HARD MODE RULES

No step-by-step guidance. Use the Reference window for command syntax only. You must determine the approach, the correct columns and order, and verify your own results.

Display Mode
LAB COMPLETE
๐Ÿ†
MISSION ACCOMPLISHED
Replication and High Availability (Hard)
โšก
+175 XP
EXPERIENCE EARNED
โฌ† LEVEL UP โ€” Level
โ†’ Return to Labs