This document provides an overview of MySQL high availability and replication solutions. It discusses InnoDB Cluster, which allows MySQL to provide high availability and scaling features through MySQL Group Replication, MySQL Shell, and MySQL Router. It also covers MySQL InnoDB ReplicaSet, which provides an easy way to set up MySQL replication with MySQL Router. Additionally, it provides background information on MySQL replication, how it works, and its key components.
Report
Share
Report
Share
1 of 71
Download to read offline
More Related Content
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Cluster & ReplicaSet
1. Keith Hollman
Principal Solution Engineer
MySQL
keith.hollman@oracle.com
available
and scalable with
MySQL HA
InnoDB Cluster & ReplicaSet
34. InnoDB ReplicaSets Features
Now
Automatically provisioning new members:
InnoDB Clone
fi
& Replication
Integrated MySQL Router load balancing
Automatic Router Bootstrapping – no config
Router is stateless, adapts to topology
changes
Easy to use manual switchover/failover
Before
Restore a backup to provision a member
fi Replication fi
Replication
Manually fi ,
servers in MySQL Router or alternatives
Manually or relying on external tools to
make topology changes
Use additional monitoring tool log in on all
machines to check topology
35. MySQL ReplicaSet – “Han -On“
Configure MySQL instances for ReplicaSet usage
mysql-js> dba.configureReplicaSetInstance("root@servers:3306")
Create ReplicaSet
mysql-js> c root@server1:3306
mysql-js> rs = dba.createReplicaSet(“ y ep ica e ")
Check Status
mysql-js> rs.status()
Add Instances to ReplicaSet
mysql-js> rs.addInstance("root@server2:3306")
mysql-js> rs.addInstance("root@server3:3306")
Switch-Over
mysql-js> rs.setPrimaryInstance("server3:3306")