automation and management of database clusters

17
Confidential Automation and Management of Database Clusters June 10, 2014 Vinay Joosery Severalnines [email protected]

Upload: skysql-ab

Post on 10-May-2015

237 views

Category:

Software


0 download

DESCRIPTION

Automation and Management of Database Clusters by Vinay Joosery, Severalnines Presented 10.6.2014 at the MariaDB Roadshow in Helsinki, Finland.

TRANSCRIPT

Page 1: Automation and Management of Database Clusters

Confidential

Automation and Management of Database Clusters

June 10, 2014

Vinay Joosery

Severalnines

[email protected]

Page 2: Automation and Management of Database Clusters

Confidential

Paying Customers

2

Copyright Severalnines AB

Page 3: Automation and Management of Database Clusters

Confidential

Agenda

!  Database Infrastructure Lifecycle !  Deploy, Monitor, Manage, Scale

!  ClusterControl Overview

!  Demo

3

Copyright Severalnines AB

Page 4: Automation and Management of Database Clusters

Confidential

Database Infrastructure Lifecycle

4

Copyright 2013 Severalnines AB

Page 5: Automation and Management of Database Clusters

Confidential

Database TCO

5

Copyright Severalnines AB

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

Page 6: Automation and Management of Database Clusters

Confidential

Infrastructure Lifecycle

6

Copyright 2012 Severalnines AB

Manage Scale

Monitor Deploy

Page 7: Automation and Management of Database Clusters

Confidential

Deployment - Beyond Puppet or Chef

!  Puppet/Chef are appropriate for a group of single-node components !  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

7

Copyright Severalnines AB

Page 8: Automation and Management of Database Clusters

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?

8

Copyright Severalnines AB

Page 9: Automation and Management of Database Clusters

Confidential

Management - Beyond Monitoring

9

Copyright Severalnines AB

Page 10: Automation and Management of Database Clusters

Confidential

Scaling - Beyond Manual Operations

10

Copyright 2012 Severalnines AB

Page 11: Automation and Management of Database Clusters

Confidential

ClusterControl Overview

11

Copyright 2013 Severalnines AB

Page 12: Automation and Management of Database Clusters

Confidential

ClusterControl In a nutshell

12

Copyright 2012 Severalnines AB

Manage Scale

Monitor Deploy

Page 13: Automation and Management of Database Clusters

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

13

Page 14: Automation and Management of Database Clusters

Confidential

ClusterControl Automation & Management

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

!  Monitoring !  Systems view !  1sec resolution !  DB / OS stats !  Real-time / historical

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

14

Copyright Severalnines AB

Page 15: Automation and Management of Database Clusters

Confidential 15

Copyright 2013 Severalnines AB

Page 16: Automation and Management of Database Clusters

Confidential

Demo time

16

Copyright 2013 Severalnines AB

Page 17: Automation and Management of Database Clusters

Confidential

Thank You!

!  Cluster Configurator !  www.severalnines.com/config

!  ClusterControl !  www.severalnines.com/clustercontrol

!  Severalnines Blog !  www.severalnines.com/blog

17