PRM and DRBD tutorial. Yves Trudeau October 2012

Size: px
Start display at page:

Download "PRM and DRBD tutorial. Yves Trudeau October 2012"

Transcription

1 PRM and DRBD tutorial Yves Trudeau October 2012

2 Agenda Introduction to Pacemaker PRM principle PRM Hands-on HA over shared storage What is DRBD? Impacts of DRBD on MySQL DRBD Hands-on

3 About me

4 Pacemaker history Heartbeat V1 Heartbeat V2 OpenAIS Pacemaker Heartbeat Corosync

5 Pacemaker stack Resources Resource-agents Pacemaker Communication

6 Pacemaker communication Heartbeat or Corosync UDP based Broadcast* / multicast / unicast

7 Pacemaker features CIB Group Stonith Location and colocation Policy engine Clone set and ms Election of DC Scores

8 Resource agents Scripts implementing an API Can read and write cluster wide attributes Wide selection Fairly easy to create new ones

9 PRM

10 PRM principle of operation (1)

11 PRM principle of operation (2)

12 PRM principle of operation (3)

13 PRM principle of operation (4)

14 PRM principle of operation (5)

15 PRM principle of operation (6)

16 PRM principle of operation (7)

17 PRM principle of operation (8)

18 PRM principle of operation (9)

19 PRM principle of operation (10)

20 PRM highlights Handles slaves configuration Master promotion based on master_score Reader_VIP controlled by the readable attribute writer_vip follows the master

21 Enough talking! Hands-on

22 PRM hands-on: VMs setup 1. Install Virtualbox 2. Vms: 3. File -> import appliance, repeat for the 3.ova files 4. user = root, password = pacemaker

23 PRM hands-on: The VMs ssh access port 22222, 22223, eth0 is Virtualbox NAT, not interesting eth1 is private VM network, x Installed software: MySQL, DRBD, Corosync, pacemaker (all stopped)

24 PRM hands-on: corosync config /etc/corosync/corosync.conf secauth: on (see /etc/corosync/authkey) rrp_mode: none --> single ring service.d/pacemaker --> link with pacemaker

25 PRM hands-on: corosync startup /etc/init.d/corosync start To check: corosync-objctl grep members To check: tcpdump -n -i eth1 port 5405

26 PRM hands-on: Pacemaker No configuration file!! /etc/init.d/pacemaker start crm status crm configure show

27 PRM hands-on: Properties property $id="cib-bootstrap-options" \ stonith-enabled="false" \ no-quorum-policy="ignore" crm configure load update /root/prm/properties.crm crm configure show

28 PRM hands-on: MySQL config /etc/mysql/my.cnf [mysqld] user=mysql pid=/var/lib/mysql/mysqld.pid server_id=1 # Must be different between hosts log-bin=binlog relay-log=relay mysql_install_db --user=mysql /etc/init.d/mysql start

29 PRM hands-on: MySQL config (2) cat /root/prm/grants.sql mysql /etc/init.d/mysql stop

30 PRM hands-on: mysql_repl.crm primitive p_mysql ocf:heartbeat:mysql \ params config="/etc/mysql/my.cnf" \ pid="/var/lib/mysql/mysqld.pid" \ socket="/var/run/mysqld/mysqld.sock" \ replication_user="repl_user" \ replication_passwd="whatapassword" \ max_slave_lag="15" \ evict_outdated_slaves="false" \ binary="/usr/sbin/mysqld" \ test_user="test_user" test_passwd="test_pass" \ op monitor interval="5s" role="master" OCF_CHECK_LEVEL="1" timeout="30s" \ op monitor interval="2s" role="slave" OCF_CHECK_LEVEL="1" timeout="30s" \ op start interval="0" timeout="900s" \ op stop interval="0" timeout="900s"

31 PRM hands-on: mysql_repl.crm (2) crm configure load update /root/prm/mysql_repl.crm crm configure show crm status

32 PRM hands-on: ms.crm ms ms_mysql p_mysql \ meta master-max="1" master-node-max="1" \ clone-max="2" clone-node-max="1" \ notify="true" globally-unique="false" \ target-role="master" is-managed="true" crm configure load update /root/prm/ms.crm crm configure show crm status crm configure show --> mysql_replication property

33 PRM hands-on: VIP_repl.crm primitive writer_vip ocf:heartbeat:ipaddr2 \ params ip=" " nic="eth1" \ op monitor interval="10s" primitive reader_vip_1 ocf:heartbeat:ipaddr2 \ params ip=" " nic="eth1" \ op monitor interval="10s" primitive reader_vip_2 ocf:heartbeat:ipaddr2 \ params ip=" " nic="eth1" \ op monitor interval="10s" crm configure load update /root/prm/vip_repl.crm crm configure show crm status

34 PRM hands-on: writervip_rules.crm Is that all? crm resource demote ms_mysql crm resource promote ms_mysql colocation writer_vip_on_master \ inf: writer_vip ms_mysql:master order ms_mysql_promote_before_vip \ inf: ms_mysql:promote writer_vip:start

35 PRM hands-on: writervip_rules.crm (2) crm configure load update writervip_rules.crm crm configure show crm status Better?

36 PRM hands-on: readervip_rules.crm What happens if we break replication? cibadmin -Q grep readable location No-reader-vip-1-loc reader_vip_1 \ rule $id="no-reader-vip-1-rule" -inf: readable eq 0 location No-reader-vip-2-loc reader_vip_2 \ rule $id="no-reader-vip-2-rule" -inf: readable eq 0 colocation reader_vip_1_dislike_reader_vip_2 \ -200: reader_vip_1 reader_vip_2 crm configure load update /root/prm/readervip_rules.crm

37 PRM hands-on: readervip_rules.crm (2) crm status Better? Fix replication set global sql_slave_skip_counter = 1; start slave; crm status

38 PRM hands-on: Name resolution property $id="mysql_replication" \ p_mysql_repl_info="pacemaker-1 binlog " Implies that host names resolve from all hosts cat IP_attributes.crm node pacemaker-1 \ attributes p_mysql_mysql_master_ip=" " node pacemaker-2 \ attributes p_mysql_mysql_master_ip=" " crm configure load update /root/prm/ip_attributes.crm

39 PRM hands-on: Name resolution (2) crm node standby pacemaker-1; crm node standby pacemaker-2 crm node online pacemaker-1; crm node online pacemaker-2 crm configure show property $id="mysql_replication" \ p_mysql_repl_info=" binlog "

40 PRM hands-on: Adding a node On pacemaker-3: mysql_install_db --user=mysql /etc/init.d/mysql start cat /root/prm/grants.sql mysql Half configure replication mysqldump on master, and restore on pacemaker-3

41 PRM hands-on: Adding a node (2) On pacemaker-3: start slave; /etc/init.d/mysql stop rsync -av :/etc/corosync/* /etc/corosync/ /etc/init.d/corosync start /etc/init.d/pacemaker start

42 PRM hands-on: Adding a node (3) Is there a 2 nd slave? Why? crm configure edit --> increment clone-max Result?

43 PRM hands-on: Troubleshooting System log /tmp/mysql.ocf.ra.debug/log crm resource cleanup... crm resource reprobe

44 PRM hands-on: Cleanup crm configure property stop-all-resources=true on pacemaker-3: crm_node -i --> record the number stop pacemaker-3 VM crm_node -R node_id number from above cibadmin --delete --obj_type nodes --crm_xml '<node uname="pacemaker-3"/>'

45 PRM hands-on: Cleanup (2) cibadmin --delete --obj_type status --crm_xml '<node_state uname="pacemaker-3"/>' crm configure erase

46 DRDB

47 What is DRBD? A Linux kernel module A wrapper around any block device Writes ops sent over the network to the replica 2 states, primary and secondary Effectively a SAN emulator

48 DRBD principle of operation (2)

49 DRBD principle of operation (3)

50 DRBD principle of operation (4) Pacemaker contribution: Manage DRBD (master-slave set) Mount the file system Start MySQL Setup the VIP

51 DRBD implication on MySQL MyISAM Binary log bind option innodb_log_file_size / innodb_checkpoint_age_target innodb_buffer_pool_restore_at_startup

52 DRDB Hands-on

53 DRBD hands-on: /etc/drbd.d/mysql.res resource mysql { device /dev/drbd0; meta-disk internal; disk /dev/pacemaker-1/lvmysql; on pacemaker-1 { address :7788; } on pacemaker-2 { address :7788; }

54 DRBD hands-on: DRBD prep. steps drbdadm create-md all /etc/init.d/drbd start cat /proc/drbd drbdadm -- --overwrite-data-of-peer primary all mkfs.ext3 /dev/drbd0 drbdadm secondary all

55 DRBD hands-on: Properties property $id="cib-bootstrap-options" \ stonith-enabled="false" \ no-quorum-policy="ignore" crm configure load update /root/drbd/properties.crm crm configure show

56 DRBD hands-on: drbd.crm primitive p_drbd_mysql ocf:linbit:drbd \ params drbd_resource="mysql" \ op start timeout="240" \ op stop timeout="100" \ op monitor interval="10" role="master" \ op monitor interval="30" role="slave" ms ms_drbd_mysql p_drbd_mysql \ meta notify="true" crm configure load update /root/drbd/drbd.crm crm configure show / crm status

57 DRBD hands-on: fs.crm primitive p_fs_mysql ocf:heartbeat:filesystem \ params device="/dev/drbd0" \ directory="/var/lib/mysql" fstype="ext3" \ options="noatime" \ op start timeout="60" \ op stop timeout="60" \ op monitor interval="30" timeout="40" colocation c_fs_on_drbd inf: p_fs_mysql \ ms_drbd_mysql:master order o_drbd_before_fs inf: \ ms_drbd_mysql:promote p_fs_mysql:start crm configure load update /root/drbd/fs.crm

58 DRBD hands-on: fs.crm (2) crm configure show / crm status cat /proc/drbd mount mysql_install_db --user=mysql

59 DRBD hands-on: mysql.crm primitive p_mysql ocf:heartbeat:mysql \ params binary="/usr/sbin/mysqld" \ config="/etc/mysql/my.cnf" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ op monitor interval="10" timeout="30" group g_mysql p_fs_mysql p_mysql crm configure load update /root/drbd/mysql.crm

60 DRBD hands-on: ip.crm primitive p_ip_mysql ocf:heartbeat:ipaddr2 \ params ip=" " cidr_netmask="24" \ flush_routes="true" nic="eth1" \ op monitor interval="10" group g_mysql p_fs_mysql p_mysql p_ip_mysql crm configure load update /root/drbd/ip.crm crm configure show / crm status

61 Enter some text to highlight an upcoming Percona Live.

Overview: Clustering MySQL with DRBD & Pacemaker

Overview: Clustering MySQL with DRBD & Pacemaker Overview: Clustering MySQL with DRBD & Pacemaker Trent Lloyd 1 Overview Software Packages (OpenAIS, Pacemaker/CRM, DRBD) Concepts Setup & configuration Installing packages Configure

More information

ZCP trunk (build 50384) Zarafa Collaboration Platform. Zarafa HA Manual

ZCP trunk (build 50384) Zarafa Collaboration Platform. Zarafa HA Manual ZCP trunk (build 50384) Zarafa Collaboration Platform Zarafa HA Manual Zarafa Collaboration Platform ZCP trunk (build 50384) Zarafa Collaboration Platform Zarafa HA Manual Edition 2.0 Copyright 2015 Zarafa

More information

Highly Available NFS Storage with DRBD and Pacemaker

Highly Available NFS Storage with DRBD and Pacemaker Highly Available NFS Storage with DRBD and Pacemaker SUSE Linux Enterprise High Availability Extension 12 Florian Haas, Tanja Roth, and Thomas Schraitle This document describes how to set up highly available

More information

Pacemaker. A Scalable Cluster Resource Manager for Highly Available Services. Owen Le Blanc. I T Services University of Manchester

Pacemaker. A Scalable Cluster Resource Manager for Highly Available Services. Owen Le Blanc. I T Services University of Manchester Pacemaker A Scalable Cluster Resource Manager for Highly Available Services Owen Le Blanc I T Services University of Manchester C V 1980, U of Manchester since 1985 CAI, CDC Cyber 170/730, Prime 9955 HP

More information

High Availability with DRBD & Heartbeat. Chris Barber http://www.cb1inc.com

High Availability with DRBD & Heartbeat. Chris Barber http://www.cb1inc.com High Availability with DRBD & Heartbeat Chris Barber http://www.cb1inc.com What is DRBD? Distributed Replicated Block Device RAID 1 mirror across network Realtime replications Linux-only kernel module

More information

High Availability with PostgreSQL and Pacemaker

High Availability with PostgreSQL and Pacemaker High Availability with PostgreSQL and Pacemaker Author: Shaun Thomas Date: September 18th, 2012 Venue: Your Presenter Shaun M. Thomas Senior Database Administrator Peak6 OptionsHouse I apologize in advance.

More information

Agenda Zabawę 2 czas zacząć Co to jest corosync? Co to jest pacemaker? Zastosowania Podsumowanie

Agenda Zabawę 2 czas zacząć Co to jest corosync? Co to jest pacemaker? Zastosowania Podsumowanie Corosync i pacemaker w jednym stali domku - czyli jak pozwolić adminowi spać w nocy II Agenda Zabawę 2 czas zacząć Co to jest corosync? Co to jest pacemaker? Zastosowania Podsumowanie Maciej Miłaszewski

More information

SAP HANA System Replication on SUSE Linux Enterprise Server for SAP Applications

SAP HANA System Replication on SUSE Linux Enterprise Server for SAP Applications Solution Guide www.suse.com SAP HANA System Replication on SUSE Linux Enterprise Server for SAP Applications June 2014 1. Introduction...3 1.1 Two Replication Scenarios...3 1.2 Customers Receive Complete

More information

Building Elastix-2.4 High Availability Clusters with DRBD and Heartbeat (using a single NIC)

Building Elastix-2.4 High Availability Clusters with DRBD and Heartbeat (using a single NIC) Building Elastix2.4 High Availability Clusters with DRBD and Heartbeat (using a single NIC) This information has been modified and updated by Nick Ross. Please refer to the original document found at:

More information

High Availability Low Dollar Clustered Storage

High Availability Low Dollar Clustered Storage High Availability Low Dollar Clustered Storage Simon Karpen skarpen@shodor.org / simon@karpens.org Thanks to Shodor for use of this space for the meeting. This document licensed under the Creative Commons

More information

OpenLDAP in High Availability Environments

OpenLDAP in High Availability Environments OpenLDAP in High Availability Environments Ralf Haferkamp, rhafer@suse.com September 2011 LDAP Directories are a central part in the IT infrastructure of a lot of organizations. Commonly many services

More information

High-Availability Using Open Source Software

High-Availability Using Open Source Software High-Availability Using Open Source Software Luka Perkov Iskon Internet, Zagreb, Croatia Nikola Pavković Ruđer Bošković Institute Bijenička cesta Zagreb, Croatia Juraj Petrović Faculty of Electrical Engineering

More information

High Availability Solutions for the MariaDB and MySQL Database

High Availability Solutions for the MariaDB and MySQL Database High Availability Solutions for the MariaDB and MySQL Database 1 Introduction This paper introduces recommendations and some of the solutions used to create an availability or high availability environment

More information

Resource Manager Corosync/DRBD HA Installation Guide

Resource Manager Corosync/DRBD HA Installation Guide The Zenoss Enablement Series: Resource Manager Corosync/DRBD HA Installation Guide Document Version 422 P2 Zenoss, Inc. www.zenoss.com Copyright 2013 Zenoss, Inc., 275 West St., Suite 204, Annapolis, MD

More information

High Availability, Replicating, Load Balanced MySQL Databases Oliver Hookins Systems Administrator Network Fixinator Script Hacker All round su

High Availability, Replicating, Load Balanced MySQL Databases Oliver Hookins Systems Administrator Network Fixinator Script Hacker All round su Linux Conf AU 2008 High Availability, Replicating, Load Balanced MySQL Databases Oliver Hookins Systems Administrator Network Fixinator Script Hacker All round super fun guy Background Who Am I, And How

More information

short introduction to linux high availability description of problem and solution possibilities linux tools

short introduction to linux high availability description of problem and solution possibilities linux tools High Availability with Linux / Hepix October 2004 Karin Miers 1 High Availability with Linux Using DRBD and Heartbeat short introduction to linux high availability description of problem and solution possibilities

More information

High Availability Solutions for MySQL. Lenz Grimmer <lenz@grimmer.com> 2008-08-29 DrupalCon 2008, Szeged, Hungary

High Availability Solutions for MySQL. Lenz Grimmer <lenz@grimmer.com> 2008-08-29 DrupalCon 2008, Szeged, Hungary High Availability Solutions for MySQL Lenz Grimmer 2008-08-29 DrupalCon 2008, Szeged, Hungary Agenda High Availability in General MySQL Replication MySQL Cluster DRBD Links/Tools Why

More information

SAP HANA System Replication on SLES for SAP Applications. 11 SP3 www.suse.com

SAP HANA System Replication on SLES for SAP Applications. 11 SP3 www.suse.com SAP HANA System Replication on SLES for SAP Applications 11 SP3 www.suse.com December 8, 2014 Setup Guide SAP HANA SYSTEM REPLICATION ON SLES FOR SAP APPLICATIONS SAP HANA System Replication on SLES for

More information

Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL

Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL 04.20111 High Availability with MySQL Higher Availability Shared nothing distributed cluster with MySQL Cluster Storage snapshots for disaster

More information

Zen and The Art of High-Availability Clustering Lars Marowsky-Brée

Zen and The Art of High-Availability Clustering Lars Marowsky-Brée Zen and The Art of High-Availability Clustering Lars Marowsky-Brée Architect Storage and High-Availability, Principal Engineer lmb@novell.com Agenda Introduction Summary of cluster architecture Common

More information

Implementing the SUSE Linux Enterprise High Availability Extension on System z

Implementing the SUSE Linux Enterprise High Availability Extension on System z Implementing the SUSE Linux Enterprise High Availability Extension on System z Mike Friesenegger Novell Monday, February 28, 2011 Session Number: 8474 Agenda What is a high availability (HA) cluster? What

More information

CRM CLI (command line interface) tool

CRM CLI (command line interface) tool CRM CLI (command line interface) tool Dejan Muhamedagic, Yan Gao dejan@suse.de,ygao@novell.com September 23, 2009 Revision: 0.93 The CRM (a.k.a Pacemaker) is a Cluster Resource Manager which implements

More information

Open Source High Availability Writing Resource Agents for your own services. Lars Marowsky-Brée Team Lead SUSE Labs lmb@suse.de

Open Source High Availability Writing Resource Agents for your own services. Lars Marowsky-Brée Team Lead SUSE Labs lmb@suse.de Open Source High Availability Writing Resource Agents for your own services Lars Marowsky-Brée Team Lead SUSE Labs lmb@suse.de Agenda Introduction Resource Agents in context Basic Resource Agents (+ code)

More information

High Availability and Backup Strategies for the Lustre MDS Server

High Availability and Backup Strategies for the Lustre MDS Server HA and Backup Methods for Lustre Hepix May '08 K.Miers@gsi.de 1 High Availability and Backup Strategies for the Lustre MDS Server Spring 2008 Karin Miers / GSI HA and Backup Methods for Lustre Hepix May

More information

Managing MySQL Scale Through Consolidation

Managing MySQL Scale Through Consolidation Hello Managing MySQL Scale Through Consolidation Percona Live 04/15/15 Chris Merz, @merzdba DB Systems Architect, SolidFire Enterprise Scale MySQL Challenges Many MySQL instances (10s-100s-1000s) Often

More information

MySQL High Availability Solutions. Lenz Grimmer <lenz@grimmer.com> http://lenzg.net/ 2009-08-22 OpenSQL Camp St. Augustin Germany

MySQL High Availability Solutions. Lenz Grimmer <lenz@grimmer.com> http://lenzg.net/ 2009-08-22 OpenSQL Camp St. Augustin Germany MySQL High Availability Solutions Lenz Grimmer < http://lenzg.net/ 2009-08-22 OpenSQL Camp St. Augustin Germany Agenda High Availability: Concepts & Considerations MySQL Replication

More information

Best Current Practices for SUSE Linux Enterprise High Availability 12

Best Current Practices for SUSE Linux Enterprise High Availability 12 Best Current Practices for SUSE Linux Enterprise High Availability 12 Lars Marowsky-Brée Distinguished Engineer lmb@suse.com Agenda Introduction Summary of cluster architecture Common configuration issues

More information

SUSE Linux Enterprise Server

SUSE Linux Enterprise Server SUSE Linux Enterprise Server 10 SP3 October 06, 2010 Heartbeat www.novell.com Heartbeat All content is copyright Novell, Inc. Legal Notice This manual is protected under Novell intellectual property rights.

More information

Highly Available NFS Storage with DRBD and Pacemaker

Highly Available NFS Storage with DRBD and Pacemaker Florian Haas, Tanja Roth Highly Available NFS Storage with DRBD and Pacemaker SUSE Linux Enterprise High Availability Extension 11 SP4 July 14, 2015 1 www.suse.com This document describes how to set up

More information

HighlyavailableiSCSIstoragewith DRBDandPacemaker

HighlyavailableiSCSIstoragewith DRBDandPacemaker HighlyavailableiSCSIstoragewith DRBDandPacemaker HighlyavailableiSCSIstoragewithDRBDandPacemaker Brian Hellman & Florian Haas Copyright 2009, 2010, 2011 LINBIT HA-Solutions GmbH Trademark notice DRBD and

More information

SkySQL Data Suite. A New Open Source Approach to MySQL Distributed Systems. Serge Frezefond V1212.01

SkySQL Data Suite. A New Open Source Approach to MySQL Distributed Systems. Serge Frezefond V1212.01 SkySQL Data Suite A New Open Source Approach to MySQL Distributed Systems Serge Frezefond V1212.01 Agenda SkySQL Cloud Data Suite Architecture SkySQL Cloud Data Suite on Amazon EC2 Components for automated

More information

Snapt Redundancy Manual

Snapt Redundancy Manual Snapt Redundancy Manual Version 2.0 p. 1 Contents Chapter 1: Introduction... 3 Installation... 3 Chapter 2: Settings... 4 Chapter 3: Server Management... 6 Chapter 4: Virtual IP Management... 7 Chapter

More information

Building a High-Availability PostgreSQL Cluster

Building a High-Availability PostgreSQL Cluster Building a High-Availability PostgreSQL Cluster Presenter: Devon Mizelle System Administrator Co-Author: Steven Bambling System Administrator ARIN critical internet infrastructure 2 What is ARIN? Regional

More information

Synchronous multi-master clusters with MySQL: an introduction to Galera

Synchronous multi-master clusters with MySQL: an introduction to Galera Synchronous multi-master clusters with : an introduction to Galera Henrik Ingo OUGF Harmony conference Aulanko, Please share and reuse this presentation licensed under Creative Commonse Attribution license

More information

How to evaluate which MySQL High Availability solution best suits you

How to evaluate which MySQL High Availability solution best suits you How to evaluate which MySQL High Availability solution best suits you Henrik Ingo Oscon, 2013 Please share and reuse this presentation licensed under the Creative Commons Attribution License http://creativecommons.org/licenses/by/3.0/

More information

How to configure High Availability (HA) in AlienVault USM (for versions 4.14 and prior)

How to configure High Availability (HA) in AlienVault USM (for versions 4.14 and prior) Complete. Simple. Affordable How to configure High Availability (HA) in AlienVault USM Copyright 2015 AlienVault. All rights reserved. AlienVault, AlienVault Unified Security Management, AlienVault USM,

More information

Tushar Joshi Turtle Networks Ltd

Tushar Joshi Turtle Networks Ltd MySQL Database for High Availability Web Applications Tushar Joshi Turtle Networks Ltd www.turtle.net Overview What is High Availability? Web/Network Architecture Applications MySQL Replication MySQL Clustering

More information

Open-Xchange Server High Availability

Open-Xchange Server High Availability OPEN-XCHANGE Whitepaper Open-Xchange Server High Availability High Availability Concept for OX Example Configuration v1.00 Copyright 2005, OPEN-XCHANGE Inc. This document is the intellectual property of

More information

SUSE Linux Enterprise High Availability Extension. Piotr Szewczuk konsultant pszewczuk@novell.com

SUSE Linux Enterprise High Availability Extension. Piotr Szewczuk konsultant pszewczuk@novell.com SUSE Linux Enterprise High Availability Extension Piotr Szewczuk konsultant pszewczuk@novell.com SUSE Linux Enterprise Product Lines and Products Server Product Line SUSE Linux Enterprise Server SUSE Linux

More information

MySQL synchronous replication in practice with Galera

MySQL synchronous replication in practice with Galera MySQL synchronous replication in practice with Galera FOSDEM MySQL and Friends Devroom February 5, 2012, ULB Brussels Oli Sennhauser Senior MySQL Consultant, FromDual oli.sennhauser@fromdual.com Content

More information

MySQL backup and restore best practices. Roman Vynar September 21, 2015

MySQL backup and restore best practices. Roman Vynar September 21, 2015 MySQL backup and restore best practices Roman Vynar September 21, 2015 Introduction This is a hands-on tutorial on setting up the different types of MySQL backups and recovering from various disasters.

More information

XtraBackup. Vadim Tkachenko CTO, Co-Founder, Percona Inc http://percona.com http://mysqlperformanceblog.com. Percona Live SF Feb 2011

XtraBackup. Vadim Tkachenko CTO, Co-Founder, Percona Inc http://percona.com http://mysqlperformanceblog.com. Percona Live SF Feb 2011 XtraBackup Vadim Tkachenko CTO, Co-Founder, Percona Inc http://percona.com http://mysqlperformanceblog.com Percona Live SF Feb 2011 -2- Speaker CTO and co-founder of Percona Inc. Lead of Percona Server/XtraDB

More information

MySQL Backup and Recovery: Tools and Techniques. Presented by: René Cannaò @rene_cannao Senior Operational DBA www.palominodb.com

MySQL Backup and Recovery: Tools and Techniques. Presented by: René Cannaò @rene_cannao Senior Operational DBA www.palominodb.com MySQL Backup and Recovery: Tools and Techniques Presented by: René Cannaò @rene_cannao Senior Operational DBA www.palominodb.com EXPERIENCE WITH BACKUP How many of you consider yourself beginners? How

More information

Implementing and Managing Windows Server 2008 Clustering

Implementing and Managing Windows Server 2008 Clustering Implementing and Managing Windows Server 2008 Clustering Course Number: 6423A Course Length: 3 Days Course Overview This instructor-led course explores Windows Server 2008 clustering and provides students

More information

How to Backup and Restore a VM using Veeam

How to Backup and Restore a VM using Veeam How to Backup and Restore a VM using Veeam Table of Contents Introduction... 3 Assumptions... 3 Add ESXi Server... 4 Backup a VM... 6 Restore Full VM... 12 Appendix A: Install Veeam Backup & Replication

More information

MySQL Reference Architectures for Massively Scalable Web Infrastructure

MySQL Reference Architectures for Massively Scalable Web Infrastructure MySQL Reference Architectures for Massively Scalable Web Infrastructure MySQL Best Practices for Innovating on the Web A MySQL Strategy White Paper April 2011 Table of Contents Executive Summary... 3!

More information

High Availability Solutions with MySQL

High Availability Solutions with MySQL High Availability Solutions with MySQL best OpenSystems Day Fall 2008 Ralf Gebhardt Senior Systems Engineer MySQL Global Software Practice ralf.gebhardt@sun.com 1 HA Requirements and Considerations HA

More information

version 7.0 Operations Guide

version 7.0 Operations Guide version 7.0 Operations Guide Contents Preface 1 Intended Audience 1 Documentation History 1 Introduction 2 Accessing the shell on the nodes 3 Uploading Public Keys 3 SSH to the Fuel Master Node 3 SSH to

More information

Lenz Grimmer <lenz@mysql.com>

Lenz Grimmer <lenz@mysql.com> MySQL Backup and Security Best practices on how to run MySQL on Linux in a secure way Lenz Grimmer Free and Open Source Software Conference Bonn/Rhein-Sieg, Germany 24./25. June 2006 MySQL

More information

ClusterLoad ESX Virtual Appliance quick start guide v6.3

ClusterLoad ESX Virtual Appliance quick start guide v6.3 ClusterLoad ESX Virtual Appliance quick start guide v6.3 ClusterLoad terminology...2 What are your objectives?...3 What is the difference between a one-arm and a two-arm configuration?...3 What are the

More information

MySQL backups: strategy, tools, recovery scenarios. Akshay Suryawanshi Roman Vynar

MySQL backups: strategy, tools, recovery scenarios. Akshay Suryawanshi Roman Vynar MySQL backups: strategy, tools, recovery scenarios Akshay Suryawanshi Roman Vynar April 15, 2015 Introduction 2 This is a brief talk on Backups for MySQL, where we will cover basics of backing up MySQL,

More information

MySQL Backup Strategy @ IEDR

MySQL Backup Strategy @ IEDR MySQL Backup Strategy @ IEDR Marcelo Altmann Oracle Certified Professional, MySQL 5 Database Administrator Oracle Certified Professional, MySQL 5 Developer Percona Live London November 2014 Who am I? MySQL

More information

INUVIKA TECHNICAL GUIDE

INUVIKA TECHNICAL GUIDE --------------------------------------------------------------------------------------------------- INUVIKA TECHNICAL GUIDE FILE SERVER HIGH AVAILABILITY OVD Enterprise External Document Version 1.0 Published

More information

Linux/Open Source and Cloud computing Wim Coekaerts Senior Vice President, Linux and Virtualization Engineering

Linux/Open Source and Cloud computing Wim Coekaerts Senior Vice President, Linux and Virtualization Engineering Linux/Open Source and Cloud computing Wim Coekaerts Senior Vice President, Linux and Virtualization Engineering NIST Definition of Cloud Computing Cloud computing is a model for enabling convenient, on-demand

More information

XtraBackup: Hot Backups and More

XtraBackup: Hot Backups and More XtraBackup: Hot Backups and More Vadim Tkachenko Morgan Tocker http://percona.com http://mysqlperformanceblog.com MySQL CE Apr 2010 -2- Introduction Vadim Tkachenko Percona Inc, CTO and Lead of Development

More information

High availability infrastructures for TYPO3 Websites

High availability infrastructures for TYPO3 Websites 1 High availability infrastructures for TYPO3 Websites Luc de Louw bit heads GmbH, Internet Services, Rosengartenstrasse 72, CH 8037 Zürich, Switzerland. luc.delouw@bit heads.ch Abstract. The best content

More information

High Availability and Disaster Recovery for SAP HANA with SUSE Linux Enterprise Server for SAP Applications

High Availability and Disaster Recovery for SAP HANA with SUSE Linux Enterprise Server for SAP Applications High Availability and Disaster Recovery for SAP HANA with SUSE Linux Enterprise Server for SAP Applications Uwe Heinz Product Manager SAP Uwe.Heinz@sap.com Fabian Herschel Senior Architect SAP LinuxLab

More information

Release Notes for Fuel and Fuel Web Version 3.0.1

Release Notes for Fuel and Fuel Web Version 3.0.1 Release Notes for Fuel and Fuel Web Version 3.0.1 June 21, 2013 1 Mirantis, Inc. is releasing version 3.0.1 of the Fuel Library and Fuel Web products. This is a cumulative maintenance release to the previously

More information

Configuring High Availability for VMware vcenter in RMS Distributed Setup

Configuring High Availability for VMware vcenter in RMS Distributed Setup Configuring High Availability for VMware vcenter in RMS Distributed Setup This chapter describes the process of configuring high availability for the VMware vcenter. It provides the prerequisites and procedures

More information

Red Hat Enterprise Linux 7 High Availability Add-On Administration. Configuring and Managing the High Availability Add-On

Red Hat Enterprise Linux 7 High Availability Add-On Administration. Configuring and Managing the High Availability Add-On Red Hat Enterprise Linux 7 High Availability Add-On Administration Configuring and Managing the High Availability Add-On Red Hat Enterprise Linux 7 High Availability Add-On Administration Configuring

More information

Neutron Monitor Database

Neutron Monitor Database Neutron Monitor Database ADRESKLOKSTRAAT 12 A - 2600 BERCHEMTEL03.230.88.10FAX03.303.02.59BTWBE 886.370.360MAILINFO@SPUTNIKWEB.BEWEBWWW.SPUTNIKWEB.BE Introduction In this document the work of Sputnik Web

More information

Availability Digest. www.availabilitydigest.com. Redundant Load Balancing for High Availability July 2013

Availability Digest. www.availabilitydigest.com. Redundant Load Balancing for High Availability July 2013 the Availability Digest Redundant Load Balancing for High Availability July 2013 A large data center can comprise hundreds or thousands of servers. These servers must not only be interconnected, but they

More information

HADOOP MOCK TEST HADOOP MOCK TEST I

HADOOP MOCK TEST HADOOP MOCK TEST I http://www.tutorialspoint.com HADOOP MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Hadoop Framework. You can download these sample mock tests at

More information

Installing and Configuring MySQL as StoreGrid Backend Database on Linux

Installing and Configuring MySQL as StoreGrid Backend Database on Linux Installing and Configuring MySQL as StoreGrid Backend Database on Linux Overview StoreGrid now supports MySQL as a backend database to store all the clients' backup metadata information. Unlike StoreGrid

More information

Configuring Offboard Storage Guide

Configuring Offboard Storage Guide Juniper Secure Analytics Release 2014.1 Juniper Networks, Inc. 1194 North Mathilda Avenue Sunnyvale, CA 94089 USA 408-745-2000 www.juniper.net Published: 2014-12-03 Copyright Notice Copyright 2014 Juniper

More information

PVFS High Availability Clustering using Heartbeat 2.0

PVFS High Availability Clustering using Heartbeat 2.0 PVFS High Availability Clustering using Heartbeat 2.0 2008 Contents 1 Introduction 2 2 Requirements 2 2.1 Hardware................................................. 2 2.1.1 Nodes...............................................

More information

Information Systems Application Administration Manual Request Tracker

Information Systems Application Administration Manual Request Tracker Information Systems Application Administration Manual Request Tracker Abstract : Describes all administration- and operationsrelated information for the DigitalGlobe implementation of Request Tracker V3.

More information

MyISAM Default Storage Engine before MySQL 5.5 Table level locking Small footprint on disk Read Only during backups GIS and FTS indexing Copyright 2014, Oracle and/or its affiliates. All rights reserved.

More information

Upgrading a Single Node Cisco UCS Director Express, page 2. Supported Upgrade Paths to Cisco UCS Director Express for Big Data, Release 2.

Upgrading a Single Node Cisco UCS Director Express, page 2. Supported Upgrade Paths to Cisco UCS Director Express for Big Data, Release 2. Upgrading Cisco UCS Director Express for Big Data, Release 2.0 This chapter contains the following sections: Supported Upgrade Paths to Cisco UCS Director Express for Big Data, Release 2.0, page 1 Upgrading

More information

Peter Ruissen Marju Jalloh

Peter Ruissen Marju Jalloh Peter Ruissen Marju Jalloh Agenda concepts >> To research the possibilities for High Availability (HA) failover mechanisms using the XEN virtualization technology and the requirements necessary for implementation

More information

MySQL Backup and Security. Best practices on how to run MySQL on Linux in a secure way Lenz Grimmer <lenz@mysql.com>

MySQL Backup and Security. Best practices on how to run MySQL on Linux in a secure way Lenz Grimmer <lenz@mysql.com> MySQL Backup and Security Best practices on how to run MySQL on Linux in a secure way Lenz Grimmer Introduction In this session you will learn best practises on how to configure and run

More information

rackspace.com/cloud/private

rackspace.com/cloud/private rackspace.com/cloud/private Rackspace Private Cloud Installation (2014-11-21) Copyright 2014 Rackspace All rights reserved. This documentation is intended for users who want to install Rackspace Private

More information

Implementing the SUSE Linux Enterprise High Availability Extension on System z Mike Friesenegger

Implementing the SUSE Linux Enterprise High Availability Extension on System z Mike Friesenegger Implementing the SUSE Linux Enterprise High Availability Extension on System z Mike Friesenegger SUSE Technical Specialist mikef@novell.com but soon to be mikef@suse.com Agenda SUSE Linux Enterprise Server

More information

Pacemaker Remote. Scaling High Availablity Clusters. David Vossel

Pacemaker Remote. Scaling High Availablity Clusters. David Vossel Pacemaker Remote Scaling High Availablity Clusters David Vossel Pacemaker Remote Pacemaker Remote Scaling High Availablity Clusters Edition 4 Author David Vossel davidvossel@gmail.com Copyright 2009-2015

More information

High Availability Using MySQL in the Cloud:

High Availability Using MySQL in the Cloud: High Availability Using MySQL in the Cloud: Today, Tomorrow and Keys to Success Jason Stamper, Analyst, 451 Research Michael Coburn, Senior Architect, Percona June 10, 2015 Scaling MySQL: no longer a nice-

More information

High Availability Storage

High Availability Storage High Availability Storage High Availability Extensions Goldwyn Rodrigues High Availability Storage Engineer SUSE High Availability Extensions Highly available services for mission critical systems Integrated

More information

Linas Virbalas Continuent, Inc.

Linas Virbalas Continuent, Inc. Linas Virbalas Continuent, Inc. / Introductions / What is Tungsten? / Architecture of a Rule Based Management Framework for Database Clusters / Demo of Business Rules in Operation / Business Rules in Source

More information

Load balancing MySQL with HaProxy. Peter Boros Consultant @ Percona 4/23/13 Santa Clara, CA

Load balancing MySQL with HaProxy. Peter Boros Consultant @ Percona 4/23/13 Santa Clara, CA Load balancing MySQL with HaProxy Peter Boros Consultant @ Percona 4/23/13 Santa Clara, CA Agenda What is HaProxy HaProxy configuration Load balancing topologies Checks Load balancing Percona XtraDB Cluster

More information

Implementing SAN & NAS with Linux by Mark Manoukian & Roy Koh

Implementing SAN & NAS with Linux by Mark Manoukian & Roy Koh Implementing SAN & NAS with Linux by Mark Manoukian & Roy Koh Housekeeping Evaluations OSS2 Be Honest Comments Questions? Raise your hand, wait for the Microphone. Check the on-line version of this presentation

More information

Setting up High Availability

Setting up High Availability ManageEngine Password Manager Pro Tutorial Setting up High Availability (Procedure applicable only for PMP builds up to 6301. For versions 6302 and later, click here ) Overview Setting up high availability

More information

MySQL High-Availability and Scale-Out architectures

MySQL High-Availability and Scale-Out architectures MySQL High-Availability and Scale-Out architectures Oli Sennhauser Senior Consultant osennhauser@mysql.com 1 Introduction Who we are? What we want? 2 Table of Contents Scale-Up vs. Scale-Out MySQL Replication

More information

OnCommand Performance Manager 1.1

OnCommand Performance Manager 1.1 OnCommand Performance Manager 1.1 Installation and Setup Guide For Red Hat Enterprise Linux NetApp, Inc. 495 East Java Drive Sunnyvale, CA 94089 U.S. Telephone: +1 (408) 822-6000 Fax: +1 (408) 822-4501

More information

TUT8155 Best Practices: Linux High Availability with VMware Virtual Machines

TUT8155 Best Practices: Linux High Availability with VMware Virtual Machines TUT8155 Best Practices: Linux High Availability with VMware Virtual Machines Jeff Lindholm SUSE Sr. Systems Engineer JLindholm@suse.com Agenda SUSE Linux Enterprise High Availability Extension 12 Level

More information

Netezza PureData System Administration Course

Netezza PureData System Administration Course Course Length: 2 days CEUs 1.2 AUDIENCE After completion of this course, you should be able to: Administer the IBM PDA/Netezza Install Netezza Client Software Use the Netezza System Interfaces Understand

More information

FileCruiser Backup & Restoring Guide

FileCruiser Backup & Restoring Guide FileCruiser Backup & Restoring Guide Version: 0.3 FileCruiser Model: VA2600/VR2600 with SR1 Date: JAN 27, 2015 1 Index Index... 2 Introduction... 3 Backup Requirements... 6 Backup Set up... 7 Backup the

More information

Deploying complex applications to Google Cloud. Olia Kerzhner olia@google.com

Deploying complex applications to Google Cloud. Olia Kerzhner olia@google.com Deploying complex applications to Google Cloud Olia Kerzhner olia@google.com Cloud VMs Networks Databases Object Stores Firewalls Disks LoadBalancers Control..? Application stacks are complex Storage External

More information

Preparing for the Big Oops! Disaster Recovery Sites for MySQL. Robert Hodges, CEO, Continuent MySQL Conference 2011

Preparing for the Big Oops! Disaster Recovery Sites for MySQL. Robert Hodges, CEO, Continuent MySQL Conference 2011 Preparing for the Big Oops! Disaster Recovery Sites for Robert Hodges, CEO, Continuent Conference 2011 Topics / Introductions / A Motivating Story / Master / Slave Disaster Recovery Replication Tungsten

More information

Administration Guide. SUSE Linux Enterprise High Availability Extension 12 SP1

Administration Guide. SUSE Linux Enterprise High Availability Extension 12 SP1 Administration Guide SUSE Linux Enterprise High Availability Extension 12 SP1 Administration Guide SUSE Linux Enterprise High Availability Extension 12 SP1 by Tanja Roth and Thomas Schraitle Publication

More information

Percona Server features for OpenStack and Trove Ops

Percona Server features for OpenStack and Trove Ops Percona Server features for OpenStack and Trove Ops George O. Lorch III Software Developer Percona Vipul Sabhaya Lead Software Engineer - HP Overview Discuss Percona Server features that will help operators

More information

Lustre failover experience

Lustre failover experience Lustre failover experience Lustre Administrators and Developers Workshop Paris 1 September 25, 2012 TOC Who we are Our Lustre experience: the environment Deployment Benchmarks What's next 2 Who we are

More information

The Future of Flash in the Data Center

The Future of Flash in the Data Center The Future of Flash in the Data Center PRESENTATION TITLE GOES HERE Brian Evans Global Director Agenda What the analysts are saying Enterprise Cloud/Hyperscale Today s Reality Islands of Flash Enterprise

More information

MySQL/MariaDB Multi-Master Replication & Failover

MySQL/MariaDB Multi-Master Replication & Failover MySQL/MariaDB Multi-Master Replication & Failover A HA Solution using MMM and MySQL/MariaDB Arjen Lentz & Walter Heck arjen@openquery.com walter@openquery.com 1 2 Overview Prepare virtual machines this

More information

IBM Security QRadar SIEM Version 7.2.6. High Availability Guide IBM

IBM Security QRadar SIEM Version 7.2.6. High Availability Guide IBM IBM Security QRadar SIEM Version 7.2.6 High Availability Guide IBM Note Before using this information and the product that it supports, read the information in Notices on page 35. Product information This

More information

Project 4: SDNs Due: 11:59 PM, Dec 11, 2014

Project 4: SDNs Due: 11:59 PM, Dec 11, 2014 CS168 Computer Networks Fonseca Project 4: SDNs Due: 11:59 PM, Dec 11, 2014 Contents 1 Introduction 1 2 Overview 2 2.1 Components......................................... 2 3 Setup 3 4 Shortest-path Switching

More information

Building Storage Service in a Private Cloud

Building Storage Service in a Private Cloud Building Storage Service in a Private Cloud Sateesh Potturu & Deepak Vasudevan Wipro Technologies Abstract Storage in a private cloud is the storage that sits within a particular enterprise security domain

More information

Deploying MySQL with the Oracle ZFS Storage Appliance

Deploying MySQL with the Oracle ZFS Storage Appliance Deploying MySQL with the Oracle ZFS Storage Appliance Paul Johnson Principal Software Engineer Robert Cummins Principal Software Engineer John Zabriskie Software Engineer John Baton Software Engineer Table

More information

Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.

Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk. Windows Template Creation Guide How to build your own Windows VM templates for deployment in Cloudturk. TABLE OF CONTENTS 1. Preparing the Server... 2 2. Installing Windows... 3 3. Creating a Template...

More information

Galera Replication. Synchronous Multi-Master Replication for InnoDB. ...well, why not for any other DBMS as well. Seppo Jaakola Alexey Yurchenko

Galera Replication. Synchronous Multi-Master Replication for InnoDB. ...well, why not for any other DBMS as well. Seppo Jaakola Alexey Yurchenko Galera Replication Synchronous Multi-Master Replication for InnoDB...well, why not for any other DBMS as well Seppo Jaakola Alexey Yurchenko Contents 1.Galera Cluster 2.Replication API 3.Benchmarking 4.Installation

More information

How to choose High Availability solutions for MySQL MySQL UC 2010 Yves Trudeau Read by Peter Zaitsev. Percona Inc MySQLPerformanceBlog.

How to choose High Availability solutions for MySQL MySQL UC 2010 Yves Trudeau Read by Peter Zaitsev. Percona Inc MySQLPerformanceBlog. How to choose High Availability solutions for MySQL MySQL UC 2010 Yves Trudeau Read by Peter Zaitsev Percona Inc MySQLPerformanceBlog.com -2- About us http://www.percona.com http://www.mysqlperformanceblog.com/

More information