170 likes | 311 Views
Deploy and Scale MySQL Cluster Like a Pro Without Opening the Manual. Andrew Morgan (clusterdb.com) MySQL Product Manager. Agenda. Overview of MySQL Cluster MySQL Cluster auto-installer Deploy your first Cluster Configure and deploy a more complex, distributed Cluster
E N D
Deploy and Scale MySQL Cluster Like a Pro Without Opening the Manual Andrew Morgan (clusterdb.com) MySQL Product Manager
Agenda • Overview of MySQL Cluster • MySQL Cluster auto-installer • Deploy your first Cluster • Configure and deploy a more complex, distributed Cluster • MySQL Cluster Manager • Single command to bootstrap a Cluster • Add nodes to a running Cluster • Backup & Restore
MySQL Cluster: Overview HIGH SCALE, READS + WRITES 99.999% AVAILABILITY LOW TCO SQL + NoSQL REAL-TIME • Auto-Sharding, Multi-Master • ACID Compliant, OLTP + Real-Time Analytics • Shared nothing, no Single Point of Failure • Self Healing + On-Line Operations • Open Source + Commercial Editions • Commodity hardware + Management, Monitoring Tools • Key/Value + Complex, Relational Queries • SQL + Memcached + JavaScript + Java + JPA + HTTP/REST & C++ • In-Memory Optimization + Disk-Data • Predictable Low-Latency, Bounded Access Time
MySQL Cluster Architecture Clients Application Layer Data Layer Management MySQL Cluster Data Nodes
MySQL Cluster Architecture Clients Application Layer Data Layer Management Management MySQL Cluster Data Nodes
MySQL Cluster Architecture Clients Application Layer Data Layer Management Management MySQL Cluster Data Nodes
MySQL Cluster 7.3: Auto-Installer Auto-Discover Specify Workload • Fast configuration • Auto-discovery • Workload optimized • Repeatable best practices • For MySQL Cluster 7.2 + 7.3 Define Topology Deploy
MySQL Cluster 7.3: Auto-Installer Easy to run: bin/ndb_setup setup.bat • Multi-host support • Remote deployments MySQL Cluster Auto-Installer
How Does MySQL Cluster Manager Help? Example: Initiating upgrade from MySQL Cluster 7.0 to 7.3 With MySQL Cluster Manager Before MySQL Cluster Manager upgrade cluster --package=7.3 mycluster; Total: 1 Command - Unattended Operation • 1 x preliminary check of cluster state • 8 x ssh commands per server • 8 x per-process stop commands • 4 x scp of configuration files (2 x mgmd & 2 x mysqld) • 8 x per-process start commands • 8 x checks for started and re-joined processes • 8 x process completion verifications • 1 x verify completion of the whole cluster. • Excludes manual editing of each configuration file. Total: 46 commands - 2.5 hours of attended operation
Evaluate MySQL Cluster CGE 30-Day Trial • Navigate to http://edelivery.oracle.com/ and step through (selecting “MySQL Database” as the Product Pack) • Select MySQL Cluster Manager