SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler offline
Confidential
ClusterControl 1.4.0
Feb 2016
Johan Andersson
CTO, Severalnines
johan@severalnines.com
Confidential
Customers
2
Copyright Severalnines AB
Confidential
What Problems do we Address?
3
Copyright 2012 Severalnines AB
Manage Scale
MonitorDeploy
Confidential
Management - Beyond Monitoring
4
Copyright Severalnines AB
Confidential
ClusterControl DSL -
Automation Programs
5
Copyright Severalnines AB
Confidential
What’s new in 1.4.0?
¤  MySQL Replication
¤  ProxySQL Support
¤  Group Replication (BETA)
¤  MongoDB
¤  ..and a number of other things
6
Copyright 2012 Severalnines AB
Confidential
MySQL Replication
¤  Create Master – Slave,
Multi-Master setups
¤  Automatic and Manual
Failover
¤  Rebuild failed replication
slaves
¤  Reconfiguration of the
topology.
Copyright 2012 Severalnines AB
7
M1
S1 S2
Confidential
MySQL Replication - Deploy
Copyright 2012 Severalnines AB
8
Data Center 1 Data Center 2
M1 M2
S1 S2
•  M1 is the active master
and WRITABLE
•  S1 and S2 are
read only slaves
•  M2 is a stand by in case
DC1 fails hard. Read only.
Confidential
ClusterControl - Tips
¤  Manual operations (outside ClusterControl): Disable
Node/Cluster Recovery, Enter Maintenance Mode.
¤  Now you can do manual changes
¤  ClusterControl manages the Cluster (e.g read-only
settings)
¤  If you want to manage the read-only settings
then set ‘auto_manage_readonly=0’
in /etc/cmon.d/cmon_x.cnf and restart cmon.
9
Copyright 2012 Severalnines AB
Confidential
MySQL Replication - Failover
¤  Failover is automatic or manual
¤  Control with “Enable Cluster Recovery”
¤  On = Automatic
¤  Off = Manual
¤  One attempt to failover is made
¤  Checks for errant transactions
¤  Aborts failover if detected
¤  Elects a new master among the slave(s)
¤  Elect the slave with the least lag,
least problems, and most data.
¤  If no slave found, then failover will not happen.
Copyright 2012 Severalnines AB
10
M1
S1 S2
Confidential
MySQL Replication – Failover – More
Control!
¤  Fine tune the failover behavior:
¤  replication_stop_on_error = 1 (default)
Ignore errors like errant transactions and force the failover
¤  replication_failover_blacklist=<comma separated list of nodes>
Comma separated list of hostname:port pairs. Blacklisted servers will not
be considered as a candidate during failover. Ignored if
replication_failover_whitelist is set.
¤  replication_failover_whitelist=<comma separated list of nodes>
Comma separated list of hostname:port pairs. Only whitelisted servers will
be considered as a candidate during failover. Takes precedence over
replication_failover_blacklist.
¤  replication_failover_wait_to_apply_timeout=-1 (Default), candidate will
wait forever to try and apply outstanding transactions from another slave
and relay log in case of failover. 0 means failover immediately, else specify
a time limit in seconds.
¤  These options are set in /etc/cmon.d/cmon_x.cnf. Restart cmon.
Copyright 2012 Severalnines AB
11
Confidential
MySQL Replication – Rebuild Slave
Copyright 2012 Severalnines AB
12
Data Center 1
M1
S1 S2
•  If a slave gets corrupted
then it can be rebuilt by a user command
•  An xtrabackup is taken from the selected
server and streamed to the slave
•  The backup is applied on the slave
•  Replication is started (CHANGE MASTER,
START SLAVE)
Confidential
MySQL Replication – Topology
Change
Copyright 2012 Severalnines AB
13
Data Center 1
M1
S1 S2
Data Center 1
M1
S1
S2
Confidential
MySQL Replication – Topology
Change (Switchover)
Copyright 2012 Severalnines AB
14
Data Center 1
M1
S1 S2
Data Center 1
S2
S1 M1
Confidential
ProxySQL Support
¤  ProxySQL is a highly
customizable, high
performing load balancer
for MySQL supporting MySQL
Replication, Galera, Group
Replication
¤  Integrates with
ClusterControl-triggered
failover of MySQL
Replication
¤  Deployment
¤  Monitoring (phase 1)
Copyright 2012 Severalnines AB
15
Confidential
ProxySQL – Deploy with Ease!
Copyright 2012 Severalnines AB
16
Confidential
Group Replication (BETA)
¤  Create a Group Replication
Cluster
¤  Similar to Galera with a
slight difference:
¤  One writable master, the
rest are
super_read_only=true and
read_only = true
¤  Add replication slaves
¤  Experimental support for
¤  Rebuilding failed group
replication servers
¤  Automatic failure
handling
Copyright 2012 Severalnines AB
17
Data Center 1
M1 S1 S2
Virtual synchronous (like Galera)
•  M1 writable (read_only=false
super_read_only=false)
•  S1 read_only=true super_read_only=true
•  S2 read_only=true super_read_only=true
Confidential
MongoDB
¤  Deploy in an automated and secure
way
¤  Single node / Replica Set /Shard
¤  Scale
¤  Add nodes to the Replica Set
¤  Convert a Replica Set to a Sharded
Cluster
¤  Add / Remove Shards
¤  Add/ Remove Mongos/Routers to a
Sharded Cluster
¤  Additional features includes:
¤  Backup/Restore
¤  Step down or Freeze a node
¤  New Advisors
Copyright 2012 Severalnines AB
18
P
P – PRIMARY, Sx = SECONDARY
P
S1 S2
Confidential
MongoDB - Convert a Replica Set to
a Sharded Cluster
Copyright 2012 Severalnines AB
19
P
S1 S2
P – PRIMARY, Sx = SECONDARY
P
S1 S2
Config Servers
Mongos/Routers
…
Confidential
MongoDB – Scale With Shards
Copyright 2012 Severalnines AB
20
P – PRIMARY, Sx = SECONDARY
P
S1 S2
Config Servers
Mongos/Routers
…
P
S1 S2
+
Confidential
MongoDB - Advisors
Copyright 2012 Severalnines AB
21
Confidential
MongoDb - Advisors
¤  Security
¤  Is Authentication enabled?
¤  Too Permissive passwords?
¤  Replication
¤  Is the Secondaries lagging?
¤  Connections
¤  Concurrency tickets
¤  # connections
¤  Sharding
¤  Are all collections sharded, and which ones are not?
Copyright 2012 Severalnines AB
22
Confidential
Other
¤  Backup
¤  New Improved UI
¤  New Operational Report:
¤  Packages upgrade report
¤  Get information if there are new database packages and other
security packages available (MySQL based clusters)
¤  Activity Viewer
¤  Send Clear notification when Cluster Fail/Node Fails have been
resolved.
¤  Maintenance Mode – Schedule maintenance.
¤  Silences alarm
¤  Best Practice: Disable Node/Cluster Recovery if you plan to make
manual changes.
23
Copyright 2012 Severalnines AB
Confidential 24
Copyright 2012 Severalnines AB
Confidential
Getting Started
¤  Dedicated VM for the controller
¤  Specs
¤  2 CPU cores
¤  2-4GB RAM
¤  20GB diskspace
¤  No agents
¤  Host stats gathered via SSH
¤  Installation
¤  YUM/APT
¤  Setup SSH access from the Controller to the DB nodes
¤  https://severalnines.com/download-clustercontrol-database-
management-system
25
Copyright Severalnines AB
Confidential
QA
26
Copyright 2012 Severalnines AB
Confidential
Resources
¤  ClusterControl product pages:
https://severalnines.com/product/clustercontrol
¤  Download ClusterControl:
https://severalnines.com/download-clustercontrol-
database-management-system
¤  ClusterControl Documentation:
https://severalnines.com/docs/
¤  Severalnines YouTube Channel:
https://www.youtube.com/channel/
UCIwrdGe5hOTmI9oG_ye8hOA
¤  Severalnines Blog: https://severalnines.com/blog
Copyright 2012 Severalnines AB
27

Mais conteúdo relacionado

Mais procurados

Plny12 galera-cluster-best-practices
Plny12 galera-cluster-best-practicesPlny12 galera-cluster-best-practices
Plny12 galera-cluster-best-practices
Dimas Prasetyo
 
MHA (MySQL High Availability): Getting started & moving past quirks
MHA (MySQL High Availability): Getting started & moving past quirksMHA (MySQL High Availability): Getting started & moving past quirks
MHA (MySQL High Availability): Getting started & moving past quirks
Colin Charles
 
Webinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera ClusterWebinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera Cluster
Severalnines
 

Mais procurados (20)

Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...
Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...
Become a MySQL DBA - Webinars - Schema Changes for MySQL Replication & Galera...
 
Plny12 galera-cluster-best-practices
Plny12 galera-cluster-best-practicesPlny12 galera-cluster-best-practices
Plny12 galera-cluster-best-practices
 
High Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseHigh Availability with MariaDB Enterprise
High Availability with MariaDB Enterprise
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High Availability
 
Using and Benchmarking Galera in different architectures (PLUK 2012)
Using and Benchmarking Galera in different architectures (PLUK 2012)Using and Benchmarking Galera in different architectures (PLUK 2012)
Using and Benchmarking Galera in different architectures (PLUK 2012)
 
Automated MySQL failover with MHA: Getting started & moving past its quirks
Automated MySQL failover with MHA: Getting started & moving past its quirksAutomated MySQL failover with MHA: Getting started & moving past its quirks
Automated MySQL failover with MHA: Getting started & moving past its quirks
 
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group ReplicationPercona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
 
MHA (MySQL High Availability): Getting started & moving past quirks
MHA (MySQL High Availability): Getting started & moving past quirksMHA (MySQL High Availability): Getting started & moving past quirks
MHA (MySQL High Availability): Getting started & moving past quirks
 
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in BerlinHigh Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
 
MariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly AvailableMariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly Available
 
Webinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera ClusterWebinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera Cluster
 
MySQL? Load? Clustering! Balancing! PECL/mysqlnd_ms 1.4
MySQL? Load? Clustering! Balancing! PECL/mysqlnd_ms 1.4MySQL? Load? Clustering! Balancing! PECL/mysqlnd_ms 1.4
MySQL? Load? Clustering! Balancing! PECL/mysqlnd_ms 1.4
 
Galera 3.0 Webinar Slides: Galera Monitoring & Management
Galera 3.0 Webinar Slides: Galera Monitoring & ManagementGalera 3.0 Webinar Slides: Galera Monitoring & Management
Galera 3.0 Webinar Slides: Galera Monitoring & Management
 
Best practices for MySQL High Availability
Best practices for MySQL High AvailabilityBest practices for MySQL High Availability
Best practices for MySQL High Availability
 
Kafka Tutorial: Advanced Producers
Kafka Tutorial: Advanced ProducersKafka Tutorial: Advanced Producers
Kafka Tutorial: Advanced Producers
 
Fine-tuning Group Replication for Performance
Fine-tuning Group Replication for PerformanceFine-tuning Group Replication for Performance
Fine-tuning Group Replication for Performance
 
PoC: Using a Group Communication System to improve MySQL Replication HA
PoC: Using a Group Communication System to improve MySQL Replication HAPoC: Using a Group Communication System to improve MySQL Replication HA
PoC: Using a Group Communication System to improve MySQL Replication HA
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
 
Introduction to Galera Cluster
Introduction to Galera ClusterIntroduction to Galera Cluster
Introduction to Galera Cluster
 

Destaque

Webinar slides: How to Secure MongoDB with ClusterControl
Webinar slides: How to Secure MongoDB with ClusterControlWebinar slides: How to Secure MongoDB with ClusterControl
Webinar slides: How to Secure MongoDB with ClusterControl
Severalnines
 
Webinar slides: MySQL & MariaDB load balancing with ProxySQL & ClusterControl...
Webinar slides: MySQL & MariaDB load balancing with ProxySQL & ClusterControl...Webinar slides: MySQL & MariaDB load balancing with ProxySQL & ClusterControl...
Webinar slides: MySQL & MariaDB load balancing with ProxySQL & ClusterControl...
Severalnines
 
A Storage Story #ChefConf2013
A Storage Story #ChefConf2013A Storage Story #ChefConf2013
A Storage Story #ChefConf2013
Kyle Bader
 

Destaque (12)

Webinar slides: How to Secure MongoDB with ClusterControl
Webinar slides: How to Secure MongoDB with ClusterControlWebinar slides: How to Secure MongoDB with ClusterControl
Webinar slides: How to Secure MongoDB with ClusterControl
 
Webinar slides: MySQL & MariaDB load balancing with ProxySQL & ClusterControl...
Webinar slides: MySQL & MariaDB load balancing with ProxySQL & ClusterControl...Webinar slides: MySQL & MariaDB load balancing with ProxySQL & ClusterControl...
Webinar slides: MySQL & MariaDB load balancing with ProxySQL & ClusterControl...
 
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
MySQL Cluster Performance Tuning - 2013 MySQL User ConferenceMySQL Cluster Performance Tuning - 2013 MySQL User Conference
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
 
Seaweek
SeaweekSeaweek
Seaweek
 
Load Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesLoad Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - Slides
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 
Severalnines Self-Training: MySQL® Cluster - Part II
Severalnines Self-Training: MySQL® Cluster - Part IISeveralnines Self-Training: MySQL® Cluster - Part II
Severalnines Self-Training: MySQL® Cluster - Part II
 
MySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats new
 
Application Diagnosis with Zend Server Tracing
Application Diagnosis with Zend Server TracingApplication Diagnosis with Zend Server Tracing
Application Diagnosis with Zend Server Tracing
 
A Storage Story #ChefConf2013
A Storage Story #ChefConf2013A Storage Story #ChefConf2013
A Storage Story #ChefConf2013
 
Solving the C20K problem: Raising the bar in PHP Performance and Scalability
Solving the C20K problem: Raising the bar in PHP Performance and ScalabilitySolving the C20K problem: Raising the bar in PHP Performance and Scalability
Solving the C20K problem: Raising the bar in PHP Performance and Scalability
 
MySQL Manchester TT - Security
MySQL Manchester TT  - SecurityMySQL Manchester TT  - Security
MySQL Manchester TT - Security
 

Semelhante a Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition - live demo

Replication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party ExtinctionReplication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party Extinction
Ben Mildren
 
Sql 2012 always on
Sql 2012 always onSql 2012 always on
Sql 2012 always on
dilip nayak
 
High Availability with MySQL
High Availability with MySQLHigh Availability with MySQL
High Availability with MySQL
Thava Alagu
 
MySQL replication best practices 105-232-931
MySQL replication best practices 105-232-931MySQL replication best practices 105-232-931
MySQL replication best practices 105-232-931
Baruch Osoveskiy
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
LarryZaman
 
Justin Corbin Portfolio Labs
Justin Corbin Portfolio LabsJustin Corbin Portfolio Labs
Justin Corbin Portfolio Labs
Justin Corbin
 

Semelhante a Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition - live demo (20)

Slides: Introducing the new ClusterControl 1.2.9 - with live demo
Slides: Introducing the new ClusterControl 1.2.9 - with live demo Slides: Introducing the new ClusterControl 1.2.9 - with live demo
Slides: Introducing the new ClusterControl 1.2.9 - with live demo
 
Replication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party ExtinctionReplication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party Extinction
 
MySQL Replication
MySQL ReplicationMySQL Replication
MySQL Replication
 
Scylla on Kubernetes: Introducing the Scylla Operator
Scylla on Kubernetes: Introducing the Scylla OperatorScylla on Kubernetes: Introducing the Scylla Operator
Scylla on Kubernetes: Introducing the Scylla Operator
 
Webinar slides: ClusterControl New Features Webinar
Webinar slides: ClusterControl New Features Webinar Webinar slides: ClusterControl New Features Webinar
Webinar slides: ClusterControl New Features Webinar
 
Slides: Introducing the new ClusterControl 1.2.10 for MySQL, MongoDB and Post...
Slides: Introducing the new ClusterControl 1.2.10 for MySQL, MongoDB and Post...Slides: Introducing the new ClusterControl 1.2.10 for MySQL, MongoDB and Post...
Slides: Introducing the new ClusterControl 1.2.10 for MySQL, MongoDB and Post...
 
MySQL Replication Update -- Zendcon 2016
MySQL Replication Update -- Zendcon 2016MySQL Replication Update -- Zendcon 2016
MySQL Replication Update -- Zendcon 2016
 
Sql 2012 always on
Sql 2012 always onSql 2012 always on
Sql 2012 always on
 
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 20161049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
 
High Availability with MySQL
High Availability with MySQLHigh Availability with MySQL
High Availability with MySQL
 
Kubernetes Failure Stories - KubeCon Europe Barcelona
Kubernetes Failure Stories - KubeCon Europe BarcelonaKubernetes Failure Stories - KubeCon Europe Barcelona
Kubernetes Failure Stories - KubeCon Europe Barcelona
 
MariaDB: Connect Storage Engine
MariaDB: Connect Storage EngineMariaDB: Connect Storage Engine
MariaDB: Connect Storage Engine
 
Has MySQL grown up?
Has MySQL grown up?Has MySQL grown up?
Has MySQL grown up?
 
Easy MySQL Replication Setup and Troubleshooting
Easy MySQL Replication Setup and TroubleshootingEasy MySQL Replication Setup and Troubleshooting
Easy MySQL Replication Setup and Troubleshooting
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4
 
MySQL Replication Basics -Ohio Linux Fest 2016
MySQL Replication Basics -Ohio Linux Fest 2016MySQL Replication Basics -Ohio Linux Fest 2016
MySQL Replication Basics -Ohio Linux Fest 2016
 
MySQL replication best practices 105-232-931
MySQL replication best practices 105-232-931MySQL replication best practices 105-232-931
MySQL replication best practices 105-232-931
 
介绍 Percona 服务器 XtraDB 和 Xtrabackup
介绍 Percona 服务器 XtraDB 和 Xtrabackup介绍 Percona 服务器 XtraDB 和 Xtrabackup
介绍 Percona 服务器 XtraDB 和 Xtrabackup
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
 
Justin Corbin Portfolio Labs
Justin Corbin Portfolio LabsJustin Corbin Portfolio Labs
Justin Corbin Portfolio Labs
 

Mais de Severalnines

Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDB
Severalnines
 
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControlWebinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Severalnines
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Severalnines
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Severalnines
 
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Severalnines
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Severalnines
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Severalnines
 
Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?
Severalnines
 
Webinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High AvailabilityWebinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High Availability
Severalnines
 

Mais de Severalnines (20)

Cloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaSCloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaS
 
Tips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloudTips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloud
 
Working with the Moodle Database: The Basics
Working with the Moodle Database: The BasicsWorking with the Moodle Database: The Basics
Working with the Moodle Database: The Basics
 
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDBSysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
 
Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDB
 
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControlWebinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
 
Disaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDBDisaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDB
 
MariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseMariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash Course
 
Performance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDBPerformance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDB
 
Advanced MySql Data-at-Rest Encryption in Percona Server
Advanced MySql Data-at-Rest Encryption in Percona ServerAdvanced MySql Data-at-Rest Encryption in Percona Server
Advanced MySql Data-at-Rest Encryption in Percona Server
 
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket KnifePolyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
 
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
 
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance TuningWebinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
 
Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?
 
Webinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High AvailabilityWebinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High Availability
 

Último

一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
F
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Monica Sydney
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
F
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 

Último (20)

一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime BalliaBallia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 

Webinar slides: ClusterControl 1.4: The MySQL Replication & MongoDB Edition - live demo

  • 1. Confidential ClusterControl 1.4.0 Feb 2016 Johan Andersson CTO, Severalnines johan@severalnines.com
  • 3. Confidential What Problems do we Address? 3 Copyright 2012 Severalnines AB Manage Scale MonitorDeploy
  • 4. Confidential Management - Beyond Monitoring 4 Copyright Severalnines AB
  • 5. Confidential ClusterControl DSL - Automation Programs 5 Copyright Severalnines AB
  • 6. Confidential What’s new in 1.4.0? ¤  MySQL Replication ¤  ProxySQL Support ¤  Group Replication (BETA) ¤  MongoDB ¤  ..and a number of other things 6 Copyright 2012 Severalnines AB
  • 7. Confidential MySQL Replication ¤  Create Master – Slave, Multi-Master setups ¤  Automatic and Manual Failover ¤  Rebuild failed replication slaves ¤  Reconfiguration of the topology. Copyright 2012 Severalnines AB 7 M1 S1 S2
  • 8. Confidential MySQL Replication - Deploy Copyright 2012 Severalnines AB 8 Data Center 1 Data Center 2 M1 M2 S1 S2 •  M1 is the active master and WRITABLE •  S1 and S2 are read only slaves •  M2 is a stand by in case DC1 fails hard. Read only.
  • 9. Confidential ClusterControl - Tips ¤  Manual operations (outside ClusterControl): Disable Node/Cluster Recovery, Enter Maintenance Mode. ¤  Now you can do manual changes ¤  ClusterControl manages the Cluster (e.g read-only settings) ¤  If you want to manage the read-only settings then set ‘auto_manage_readonly=0’ in /etc/cmon.d/cmon_x.cnf and restart cmon. 9 Copyright 2012 Severalnines AB
  • 10. Confidential MySQL Replication - Failover ¤  Failover is automatic or manual ¤  Control with “Enable Cluster Recovery” ¤  On = Automatic ¤  Off = Manual ¤  One attempt to failover is made ¤  Checks for errant transactions ¤  Aborts failover if detected ¤  Elects a new master among the slave(s) ¤  Elect the slave with the least lag, least problems, and most data. ¤  If no slave found, then failover will not happen. Copyright 2012 Severalnines AB 10 M1 S1 S2
  • 11. Confidential MySQL Replication – Failover – More Control! ¤  Fine tune the failover behavior: ¤  replication_stop_on_error = 1 (default) Ignore errors like errant transactions and force the failover ¤  replication_failover_blacklist=<comma separated list of nodes> Comma separated list of hostname:port pairs. Blacklisted servers will not be considered as a candidate during failover. Ignored if replication_failover_whitelist is set. ¤  replication_failover_whitelist=<comma separated list of nodes> Comma separated list of hostname:port pairs. Only whitelisted servers will be considered as a candidate during failover. Takes precedence over replication_failover_blacklist. ¤  replication_failover_wait_to_apply_timeout=-1 (Default), candidate will wait forever to try and apply outstanding transactions from another slave and relay log in case of failover. 0 means failover immediately, else specify a time limit in seconds. ¤  These options are set in /etc/cmon.d/cmon_x.cnf. Restart cmon. Copyright 2012 Severalnines AB 11
  • 12. Confidential MySQL Replication – Rebuild Slave Copyright 2012 Severalnines AB 12 Data Center 1 M1 S1 S2 •  If a slave gets corrupted then it can be rebuilt by a user command •  An xtrabackup is taken from the selected server and streamed to the slave •  The backup is applied on the slave •  Replication is started (CHANGE MASTER, START SLAVE)
  • 13. Confidential MySQL Replication – Topology Change Copyright 2012 Severalnines AB 13 Data Center 1 M1 S1 S2 Data Center 1 M1 S1 S2
  • 14. Confidential MySQL Replication – Topology Change (Switchover) Copyright 2012 Severalnines AB 14 Data Center 1 M1 S1 S2 Data Center 1 S2 S1 M1
  • 15. Confidential ProxySQL Support ¤  ProxySQL is a highly customizable, high performing load balancer for MySQL supporting MySQL Replication, Galera, Group Replication ¤  Integrates with ClusterControl-triggered failover of MySQL Replication ¤  Deployment ¤  Monitoring (phase 1) Copyright 2012 Severalnines AB 15
  • 16. Confidential ProxySQL – Deploy with Ease! Copyright 2012 Severalnines AB 16
  • 17. Confidential Group Replication (BETA) ¤  Create a Group Replication Cluster ¤  Similar to Galera with a slight difference: ¤  One writable master, the rest are super_read_only=true and read_only = true ¤  Add replication slaves ¤  Experimental support for ¤  Rebuilding failed group replication servers ¤  Automatic failure handling Copyright 2012 Severalnines AB 17 Data Center 1 M1 S1 S2 Virtual synchronous (like Galera) •  M1 writable (read_only=false super_read_only=false) •  S1 read_only=true super_read_only=true •  S2 read_only=true super_read_only=true
  • 18. Confidential MongoDB ¤  Deploy in an automated and secure way ¤  Single node / Replica Set /Shard ¤  Scale ¤  Add nodes to the Replica Set ¤  Convert a Replica Set to a Sharded Cluster ¤  Add / Remove Shards ¤  Add/ Remove Mongos/Routers to a Sharded Cluster ¤  Additional features includes: ¤  Backup/Restore ¤  Step down or Freeze a node ¤  New Advisors Copyright 2012 Severalnines AB 18 P P – PRIMARY, Sx = SECONDARY P S1 S2
  • 19. Confidential MongoDB - Convert a Replica Set to a Sharded Cluster Copyright 2012 Severalnines AB 19 P S1 S2 P – PRIMARY, Sx = SECONDARY P S1 S2 Config Servers Mongos/Routers …
  • 20. Confidential MongoDB – Scale With Shards Copyright 2012 Severalnines AB 20 P – PRIMARY, Sx = SECONDARY P S1 S2 Config Servers Mongos/Routers … P S1 S2 +
  • 21. Confidential MongoDB - Advisors Copyright 2012 Severalnines AB 21
  • 22. Confidential MongoDb - Advisors ¤  Security ¤  Is Authentication enabled? ¤  Too Permissive passwords? ¤  Replication ¤  Is the Secondaries lagging? ¤  Connections ¤  Concurrency tickets ¤  # connections ¤  Sharding ¤  Are all collections sharded, and which ones are not? Copyright 2012 Severalnines AB 22
  • 23. Confidential Other ¤  Backup ¤  New Improved UI ¤  New Operational Report: ¤  Packages upgrade report ¤  Get information if there are new database packages and other security packages available (MySQL based clusters) ¤  Activity Viewer ¤  Send Clear notification when Cluster Fail/Node Fails have been resolved. ¤  Maintenance Mode – Schedule maintenance. ¤  Silences alarm ¤  Best Practice: Disable Node/Cluster Recovery if you plan to make manual changes. 23 Copyright 2012 Severalnines AB
  • 25. Confidential Getting Started ¤  Dedicated VM for the controller ¤  Specs ¤  2 CPU cores ¤  2-4GB RAM ¤  20GB diskspace ¤  No agents ¤  Host stats gathered via SSH ¤  Installation ¤  YUM/APT ¤  Setup SSH access from the Controller to the DB nodes ¤  https://severalnines.com/download-clustercontrol-database- management-system 25 Copyright Severalnines AB
  • 27. Confidential Resources ¤  ClusterControl product pages: https://severalnines.com/product/clustercontrol ¤  Download ClusterControl: https://severalnines.com/download-clustercontrol- database-management-system ¤  ClusterControl Documentation: https://severalnines.com/docs/ ¤  Severalnines YouTube Channel: https://www.youtube.com/channel/ UCIwrdGe5hOTmI9oG_ye8hOA ¤  Severalnines Blog: https://severalnines.com/blog Copyright 2012 Severalnines AB 27