Products for the registry databases and preparation for the disaster recovery



Similar documents
Remote Copy Technology of ETERNUS6000 and ETERNUS3000 Disk Arrays

Eloquence Training What s new in Eloquence B.08.00

A Filesystem Layer Data Replication Method for Cloud Computing

SAP HANA Operation Expert Summit BUILD - High Availability & Disaster Recovery

Configuring Apache Derby for Performance and Durability Olav Sandstå

EMC Business Continuity for Microsoft SQL Server Enabled by SQL DB Mirroring Celerra Unified Storage Platforms Using iscsi

High-Availability Using Open Source Software

Batch Processing in Disaster Recovery Configurations Best Practices for Oracle Data Guard

Disaster Recovery Solution Achieved by EXPRESSCLUSTER

Neverfail for Windows Applications June 2010

PipeCloud : Using Causality to Overcome Speed-of-Light Delays in Cloud-Based Disaster Recovery. Razvan Ghitulete Vrije Universiteit

Comparing MySQL and Postgres 9.0 Replication

Designing a Data Solution with Microsoft SQL Server 2014

EonStor DS remote replication feature guide

MS 20465C: Designing a Data Solution with Microsoft SQL Server

Leading Entertainment Provider Optimizes Offsite Disaster Recovery with Silver Peak

SILVER PEAK ACCELERATION WITH EMC VSPEX PRIVATE CLOUD WITH RECOVERPOINT FOR VMWARE VSPHERE

CA XOsoft Replication for Windows

Veeam Backup & Replication Enterprise Plus Powered by Cisco UCS: Reliable Data Protection Designed for Virtualized Environments

Appendix C to DIR Contract Number DIR-TSO-2736 SunGard Availability Services Discount Level: 25% Managed Data Center Services - Cloud Hosting

Riverbed WAN Acceleration for EMC Isilon Sync IQ Replication

SQL Server 2012/2014 AlwaysOn Availability Group

Priority Pro v17: Hardware and Supporting Systems

Cisco Unified CM Disaster Recovery System

Solution Brief Availability and Recovery Options: Microsoft Exchange Solutions on VMware

Minimum Requirements for Cencon 4 with Microsoft R SQL 2008 R2 Standard

PORTrockIT. Veeam : accelerating virtual machine replication with PORTrockIT

Benchmarking FreeBSD. Ivan Voras

BlackBerry Enterprise Server Version: 5.0. Upgrade Planning Guide

DEPLOYMENT GUIDE Version 1.1. Configuring BIG-IP WOM with Oracle Database Data Guard, GoldenGate, Streams, and Recovery Manager

NEC Corporation of America Intro to High Availability / Fault Tolerant Solutions

High Availability Solutions for the MariaDB and MySQL Database

Introduction 1 Performance on Hosted Server 1. Benchmarks 2. System Requirements 7 Load Balancing 7

Minimum Requirements for Cencon 4 with Microsoft R SQL 2008 R2 Express

Management Solution for VTO(VoIP Traffic Optimizer) Service. Smart VTO Overview. AddPac Technology. 2014, Sales and Marketing.

COLO: COarse-grain LOck-stepping Virtual Machine for Non-stop Service

Database Resilience at ISPs. High-Availability. White Paper

Case Study: Oracle E-Business Suite with Data Guard Across a Wide Area Network

Atempo, Inc. LIVE BACKUP DEPLOYMENT GUIDE PLANNING AND DEPLOYING LIVE BACKUP IN YOUR CORPORATE ENTERPRISE. Author: Amy Gracer,

Four Steps to Disaster Recovery and Business Continuity using iscsi

Accelerate SQL Server 2014 AlwaysOn Availability Groups with Seagate. Nytro Flash Accelerator Cards

Outline. Failure Types

One Solution for Real-Time Data protection, Disaster Recovery & Migration

QuickStart Guide vcenter Server Heartbeat 5.5 Update 2

High Availability Database Solutions. for PostgreSQL & Postgres Plus

VMware vsphere Data Protection

APPOSITE TECHNOLOGIES Smoothing the Transition to 10 Gbps. WAN Emulation Made Easy

Protect SQL Server 2012 AlwaysOn Availability Group with Hitachi Application Protector

Use Cases for everrun MX and CA ARCserve RHA

PORTrockIT. Spectrum Protect : faster WAN replication and backups with PORTrockIT

HRG Assessment: Stratus everrun Enterprise

Database as a Service (DaaS) Version 1.02

BUSINESS PROCESSING GIANT TURNS TO HENSON GROUP TO ENHANCE SQL DATA MANAGEMENT SOLUTION

Database Mirroring: High Availability (HA) and Disaster Recovery (DR) Technology

Optimizing Dell Compellent Remote Instant Replay with Silver Peak Replication Acceleration

Distributed File System. MCSN N. Tonellotto Complements of Distributed Enabling Platforms

Westek Technology Snapshot and HA iscsi Replication Suite

EXTENDED ORACLE RAC with EMC VPLEX Metro

Performance Analysis and Capacity Planning Whitepaper

Adonis Technical Requirements

Release Notes. LiveVault. Contents. Version Revision 0

Cookbook Disaster Recovery (DR)

VEMBU VS VEEAM. Why Vembu is Better VEMBU TECHNOLOGIES TRUSTED BY OVER 25,000 BUSINESSES.

Stingray Traffic Manager Sizing Guide

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

Application Continuity with BMC Control-M Workload Automation: Disaster Recovery and High Availability Primer

FileCruiser Backup & Restoring Guide

High Availability with Postgres Plus Advanced Server. An EnterpriseDB White Paper

How To Get Atos Paas For Free

Technical Specifications Reference Guide ARIA ONCOLOGY INFORMATION SYSTEM (OIS) FOR RADIATION ONCOLOGY (RO), 13.6 MR0.5 (unless otherwise noted)

Achieving Nanosecond Latency Between Applications with IPC Shared Memory Messaging

How To Run A Standby On Postgres (Postgres) On A Slave Server On A Standby Server On Your Computer (Mysql) On Your Server (Myscientific) (Mysberry) (

Tips and Tricks for Using Oracle TimesTen In-Memory Database in the Application Tier

Real-time Data Replication

StACC: St Andrews Cloud Computing Co laboratory. A Performance Comparison of Clouds. Amazon EC2 and Ubuntu Enterprise Cloud

Portable Scale-Out Benchmarks for MySQL. MySQL User Conference 2008 Robert Hodges CTO Continuent, Inc.

HyperQ DR Replication White Paper. The Easy Way to Protect Your Data

Marvell DragonFly Virtual Storage Accelerator Performance Benchmarks

Avid MediaCentral Platform Disaster Recovery Systems Version 1.0

Mission-Critical Fault Tolerance for Financial Transaction Processing

Disaster Recovery System Administration Guide for Cisco Unified Communications Manager Release 8.5(1)


Extending Your Availability Group for Disaster Recovery

UserLock advanced documentation

An Oracle White Paper June Oracle Database Firewall 5.0 Sizing Best Practices

Virtualization Guide. McAfee Vulnerability Manager Virtualization

How To Use A Recoverypoint Server Appliance For A Disaster Recovery

DeltaV Virtualization High Availability and Disaster Recovery

MedInformatix System Requirements

(usp BigData Oriented Architecture)

Virtual Machine Synchronization for High Availability Clusters

Integration Guide. EMC Data Domain and Silver Peak VXOA Integration Guide

...DYNAMiC INTERNET SOLUTiONS >> Reg.No. 1995/020215/23

Keep SQL Service Running On Replica Member While Replicating Data In Realtime

Improving availability with virtualization technology

Priority Zoom v17: Hardware and Supporting Systems

SQL Server AlwaysOn. Michal Tinthofer 11. Praha What to avoid and how to optimize, deploy and operate.

Performance characterization report for Microsoft Hyper-V R2 on HP StorageWorks P4500 SAN storage

Transcription:

Products for the registry databases and preparation for the disaster recovery Naoki Kambe, JPRS <kambe@jprs.co.jp> 28 th CENTR Tech workshop, 3 Jun 2013 Copyright 2013 Japan Registry Services Co., Ltd. 1

Introduction To introduce products and preparation for Disaster Recovery To measure performance of products in lab To evaluate results for Disaster Recovery Copyright 2013 Japan Registry Services Co., Ltd. 2

Our primary and secondary sites Secondary site Primary site Properties about network: WAN (Leased line) RTT around 15ms (actual measurement) Bandwidth 100Mbps over 500km distance Copyright 2013 Japan Registry Services Co., Ltd. 3

Important things for Disaster Recovery We're considering so far: High throughput from many clients Propagation delay time in replication through databases: less than 1 sec Time to complete failover to each slave database: less than 1 min Copyright 2013 Japan Registry Services Co., Ltd. 4

Primary site Architecture supporting failover and replication Secondary site Clients Clients R/W R/O pgpool-ii Load balancing pgpool-ii / Handling failover R/W R/O R/O R/O Master 1 Synchronous Replication WAL (Write Ahead Log) 2 Asynchronous Replication 3 Copyright 2013 Japan Registry Services Co., Ltd. 5

Used products for the disaster recovery PostgreSQL for registry databases Open source SQL database Streaming replication for data replication Built-in replication feature of PostgreSQL pgpool-ii for handling failover Open source middleware for PostgreSQL Handling detection of failure on Master and failover to Copyright 2013 Japan Registry Services Co., Ltd. 6

Performance tests in lab Copyright 2013 Japan Registry Services Co., Ltd. 7

Environment in lab R/W Client (pgbench) pgpool-ii R/O Transactions loading R/O pgpool-ii R/O Master 1 WAN Emulator (Netem) delaying packet transfer 2 3 Copyright 2013 Japan Registry Services Co., Ltd. 8

Specification of lab test 4 virtual machines (KVM) 1 CPU, 8GB Memory Host's CPU: Intel Xeon 1.80GHz 4 cores Cent OS 6.3 PostgreSQL 9.2.3 pgpool-ii 3.2.3 Network between 1 and 2 RTT around 10 ms (manipulated by Netem) Bandwidth 100 Mbps Copyright 2013 Japan Registry Services Co., Ltd. 9

Throughput in TPS Measurements measured for each SQL with clients: 1 to 128, total transactions: 51,200 Propagation delay time since updating on Master until applying WAL on 3 measured for each write SQL calculated from PostgreSQL log files Failover time since a failure on master until failing over to each Copyright 2013 Japan Registry Services Co., Ltd. 10

Results of lab test Copyright 2013 Japan Registry Services Co., Ltd. 11

Throughput in TPS TPS 2000 1500 1000 SELECT UPDATE 500 0 INSERT DELETE 1 8 16 32 64 128 Number of clients Copyright 2013 Japan Registry Services Co., Ltd. 12

Thoughts on throughput result "SELECT" transactions scaled. Load balanced using pgpool-ii "UPDATE" and "INSERT" not scaled. Same behaviors as single database "DELETE" resulted in under 100 TPS. No index on table utilized using pgbench as: DELETE.. WHERE name = 'DOMAIN' to_char( :num, '00000' ); How can we improve DELETE? Over 500 TPS Copyright 2013 Japan Registry Services Co., Ltd. 13

Propagation delay time WAL Master 1 Netem 2 3 updating time Propagation delay time applying time INSERT: 14.35 ms UPDATE: 36.40 ms DELETE: 7.40 ms* less than 1 sec * too fast, packets not delayed by Netem Copyright 2013 Japan Registry Services Co., Ltd. 14

Failover handling time 1)fallen down Case1: 2) detect pgpool-ii 3) fail over 1)fallen down Case2: 2) detect pgpool-ii 3) fail over Master 1 Netem 2 3 Case1: Master => 1 Case2: 2 => 3 less than 1 min Copyright 2013 Japan Registry Services Co., Ltd. 15

Configuration of pgpool-ii Script to promote to (new) Master: Remote login to by SSH Changing configuration file of PostgreSQL Invoking "pg_ctl" to restart Example of pgpool.conf : failover_command = '/path/to/failover.sh %M %m %H %D' %M: Old Master Number %H: New Master Hostname %m: New Master Number %D: Data Dir Copyright 2013 Japan Registry Services Co., Ltd. 16

Conclusion and Future Work Satisfied: SELECT, INSERT, and UPDATE Throughput: over 500 TPS Propagation delay time: less than 1 sec Failover handling in less than 1 min Not satisfied: DELETE Throughput: under 100 TPS Propagation delay time: too fast (< 10 ms) Future Work DELETE: improving and re-measuring Copyright 2013 Japan Registry Services Co., Ltd. 17

What about sharing good ideas? pgbench How can it utilize indexes when DELETing? PostgreSQL + pgpool-ii Please share good ideas and good practices, e.g. best configuration on pgpool-ii Disaster Recovery products Do you have any other good products? How to switch over to another site Manually? Automatically? Copyright 2013 Japan Registry Services Co., Ltd. 18

Thank you Copyright 2013 Japan Registry Services Co., Ltd. 19