Escolar Documentos
Profissional Documentos
Cultura Documentos
Je! Mace
Overview
Alternative to MySQL replication Still requires binary logs Crash-safe with ACID storage engines Compatible across branches and versions Provides heterogenous replication 100% GPL v2
Global Application
Remote Offices
Bi-Directional
Bi-Directional
Fan-In
Fan-In
All-Masters
Connect multiple sites Replicate between each server Allows individual failure Eventual consistency
All-Masters
Connect multiple sites Replicate between each server Allows individual failure Eventual consistency
Star
Distribute tra"c from remote sites Lower tra"c Not MySQL 5.5 Optional hub for disaster recovery
10
Star
Distribute tra"c from remote sites Lower tra"c Not MySQL 5.5 Optional hub for disaster recovery
10
Global Application
Remote Offices
11
Installing Tungsten
tungsten-installer + con#gure-service Written in Ruby Simple installation using SSH between database servers Validates prior to installation
12
13
Installing multi-master
tools/tungsten-installer --master-slave \ --cluster-hosts=db1.nyc.example.com \ --master-host=db1.nyc.example.com \ --home-directory=/opt/continuent \ --datasource-user=tungsten \ --datasource-password=secret \ --start-and-report \ --service-name=nyc_db1
14
15
Demo
Master Slave of 2 Slave of 3 Master Slave of 1 Slave of 3
16
17
18
http://www.continuent.com http://code.google.com/p/tungsten-replicator
Continuent 2012 Wednesday, April 18, 12 19