Automation and Management of Database Clusters MariaDB Roadshow 2014

17
Confidential Automation and Management of Database Clusters June 24, 2014 Jean-Jérôme Schmidt Severalnines [email protected]

description

Automation and Management of Database Clusters by Jean-Jerome Schmidt, Severalnines Presented 24.6.2014 at the MariaDB Roadshow in Maarssen, The Netherlands.

Transcript of Automation and Management of Database Clusters MariaDB Roadshow 2014

Page 1: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Automation and Management of Database Clusters

June 24, 2014

Jean-Jérôme Schmidt

Severalnines

[email protected]

Page 2: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Agenda

  Database Infrastructure Lifecycle   Deploy, Monitor, Manage, Scale

  ClusterControl Overview

  Demo

2

Copyright Severalnines AB

Page 3: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Database Infrastructure Lifecycle

3

Copyright 2013 Severalnines AB

Page 4: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Database TCO

4

Copyright Severalnines AB

Source: IDC, Maximizing the Business Value of Enterprise Database Applications

Page 5: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Infrastructure Lifecycle

5

Copyright 2012 Severalnines AB

Manage Scale

Monitor Deploy

Page 6: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Deployment - Beyond Puppet or Chef

  Puppet/Chef are appropriate for a group of single-node compo   E.g. webservers can be clones of each other..

  Distributed databases are complex   Different node types & roles

  Orchestration of procedures in a specific order

  Using e.g. Chef for deploying a distributed database   Yes, it is possible

  Not much Chef functionality is leveraged

  Prepare to write code

6

Copyright Severalnines AB

Page 7: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Monitoring - Beyond Nagios

  What do you do when the application is slow?

  Is it Disk? CPU? RAM? Badly written queries?

  What are the symptoms? (Replication queues, Page Faults, locks, # connections, …)

  How do you avoid problems?

  How do you plan for capacity?

7

Copyright Severalnines AB

Page 8: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Management - Beyond Monitoring

8

Copyright Severalnines AB

Page 9: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Scaling - Beyond Manual Operations

9

Copyright 2012 Severalnines AB

Page 10: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

ClusterControl Overview

10

Copyright 2013 Severalnines AB

Page 11: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

ClusterControl In a nutshell

11

Copyright 2012 Severalnines AB

Manage Scale

Monitor Deploy

Page 12: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Supported Databases

SQL

  MariaDB Cluster

  MySQL Galera Cluster (Codership)

  Percona XtraDB Cluster

  MySQL Cluster (NDB)

  MySQL Replication 5.6

  Standalone MySQL/MariaDB

NoSQL

  MongoDB Sharded Cluster

  MongoDB Replica Set

  TokuMX Cluster

Copyright Severalnines AB

12

Page 13: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

ClusterControl Automation & Management

  Provisioning   Deploy a cluster in minutes   On-premises or in the cloud

  Monitoring   Systems view   1sec resolution   DB / OS stats & performance advisors   Real-time / historical

  Management   Multi cluster/data-center   Automate repair/recovery, upgrades, backups, cloning,…   One-click scaling

13

Copyright Severalnines AB

Page 14: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential 14

Copyright 2013 Severalnines AB

Page 15: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Demo

15

Copyright 2013 Severalnines AB

Page 16: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Customers

16

Copyright Severalnines AB

Page 17: Automation and Management of Database Clusters MariaDB Roadshow 2014

Confidential

Thank You!

  Cluster Configurator   www.severalnines.com/config

  ClusterControl   www.severalnines.com/clustercontrol

  Severalnines Blog   www.severalnines.com/blog

  Contact: jj@severalnines

17