EBOOK. FROM DISASTER RECOVERY TO ACTIVE-ACTIVE: NuoDB AND MULTI-DATA CENTER DEPLOYMENTS

Similar documents
EBOOK DATABASE CONSIDERATIONS FOR DOCKER

From Single File Recovery to Full Restore: Choosing the Right Backup and Recovery Solution for Your Cloud Data

Best practices for OpenShift high-availability deployment field experience

Advanced Architectures for Oracle Database on Amazon EC2

NewSQL Without Compromise

RA-GRS, 130 replication support, ZRS, 130

A Guide to Architecting the Active/Active Data Center

White Paper. How to select a cloud disaster recovery method that meets your requirements.

Disaster Recovery Options

Software Defined Storage for the Evolving Data Center

Business Resiliency in the Cloud: Reality or Hype?

Introduction to the Active Everywhere Database

Buyer s Guide: DRaaS features and functionality

Datacenter replication solution with quasardb

Carbonite Availability. Technical overview

DELIVERING PERFORMANCE, SCALABILITY, AND AVAILABILITY ON THE SERVICENOW NONSTOP CLOUD

The Key to Disaster Recovery

WHITE PAPER. Header Title. Side Bar Copy. Header Title 5 Reasons to Consider Disaster Recovery as a Service for IBM i WHITEPAPER

Real-time Protection for Microsoft Hyper-V

White paper High Availability - Solutions and Implementations

SQL Azure. Abhay Parekh Microsoft Corporation

ECONOMICAL, STORAGE PURPOSE-BUILT FOR THE EMERGING DATA CENTERS. By George Crump

Nutanix Tech Note. Virtualizing Microsoft Applications on Web-Scale Infrastructure

How to Build a Dynamic, Multi-Vendor Hybrid Cloud

Arcserve Solutions for Amazon Web Services (AWS)

BERLIN. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

IT your way - Hybrid IT FAQs

Using Virtualization to Reduce Cost and Improve Manageability of J2EE Application Servers

High Availability through Warm-Standby Support in Sybase Replication Server A Whitepaper from Sybase, Inc.

Easy VMware Disaster Recovery & Business Continuity in Amazon Web Services

Choosing the Right Cloud. ebook

HPE SimpliVity 380. Simplyfying Hybrid IT with HPE Wolfgang Privas Storage Category Manager

Migrating a critical high-performance platform to Azure with zero downtime

Custom hosting solutions orchastrated for your needs.

Best Practices for Disaster Recovery in Oracle Cloud Infrastructure ORACLE WHITE PAPER AUGUST 2018

Highly Available Database Architectures in AWS. Santa Clara, California April 23th 25th, 2018 Mike Benshoof, Technical Account Manager, Percona

Ensuring business continuity with comprehensive and cost-effective disaster recovery service.

Hedvig as backup target for Veeam

C H A P T E R Overview Figure 1-1 What is Disaster Recovery as a Service?

ScaleArc for SQL Server

Data center interconnect for the enterprise hybrid cloud

Why the Cloud is Changing the Face of DR

CANVAS DISASTER RECOVERY PLAN AND PROCEDURES

Disaster Recovery (DR) Planning with the Cloud Desktop

CIO Guide: Disaster recovery solutions that work. Making it happen with Azure in the public cloud

Solution Brief. NuoDB for the Telecommunications Industry. Exec Insight

Become a MongoDB Replica Set Expert in Under 5 Minutes:

How CloudEndure Disaster Recovery Works

DATA PROTECTION IN A ROBO ENVIRONMENT

VERITAS Volume Replicator. Successful Replication and Disaster Recovery

White Paper BC/DR in the Cloud Era

Asigra Cloud Backup Provides Comprehensive Virtual Machine Data Protection Including Replication

DATACENTER AS A SERVICE. We unburden you at the level you desire

The Microsoft Large Mailbox Vision

HCI: Hyper-Converged Infrastructure

Business Continuity and Disaster Recovery. Ed Crowley Ch 12

Nasuni UniFS a True Global File System

StarWind Virtual SAN Windows Geo-Clustering: SQL Server

Azure Scalability Prescriptive Architecture using the Enzo Multitenant Framework

Hyper-Convergence De-mystified. Francis O Haire Group Technology Director

RECOVERY & BUSINESS CONTINUITY SERVICES. Protect your data. Recover your environment. Manage your recovery.

Cloud Confidence: Simple Seamless Secure. Dell EMC Data Protection for VMware Cloud on AWS

Hyper-Converged Infrastructure: Providing New Opportunities for Improved Availability

Modernize Your Backup and DR Using Actifio in AWS

EVERYTHING YOU NEED TO KNOW ABOUT NETWORK FAILOVER

Functional Testing of SQL Server on Kaminario K2 Storage

Migration and Building of Data Centers in IBM SoftLayer

WHITEPAPER. MemSQL Enterprise Feature List

Oracle WebLogic Server 12c on AWS. December 2018

Hitachi Adaptable Modular Storage and Hitachi Workgroup Modular Storage

SOLUTION BRIEF Fulfill the promise of the cloud

Commvault Backup to Cloudian Hyperstore CONFIGURATION GUIDE TO USE HYPERSTORE AS A STORAGE LIBRARY

Advanced Architecture Design for Cloud-Based Disaster Recovery WHITE PAPER

50 TB. Traditional Storage + Data Protection Architecture. StorSimple Cloud-integrated Storage. Traditional CapEx: $375K Support: $75K per Year

Don t Jeopardize Your Business: 5 Key Business Continuity Use Cases for Cloud

Nutanix White Paper. Hyper-Converged Infrastructure for Enterprise Applications. Version 1.0 March Enterprise Applications on Nutanix

Why Datrium DVX is Best for VDI

What Is A Distributed Database? And Why Do You Need One?

Hitachi Adaptable Modular Storage and Workgroup Modular Storage

Hybrid Cloud NAS for On-Premise and In-Cloud File Services with Panzura and Google Cloud Storage

The Technology Behind Datrium Cloud DVX

DISASTER RECOVERY- AS-A-SERVICE FOR VMWARE CLOUD PROVIDER PARTNERS WHITE PAPER - OCTOBER 2017

Eight Tips for Better Archives. Eight Ways Cloudian Object Storage Benefits Archiving with Veritas Enterprise Vault

Veritas Resiliency Platform 3.1 Overview and Planning Guide. Applicable for Veritas Resiliency Platform 3.1 and 3.1 Update 1

Scalable backup and recovery for modern applications and NoSQL databases. Best practices for cloud-native applications and NoSQL databases on AWS

EMC VPLEX Geo with Quantum StorNext

Using MySQL for Distributed Database Architectures

Microsoft SQL Server

EBOOK: VMware Cloud on AWS: Optimized for the Next-Generation Hybrid Cloud

Choosing a MySQL HA Solution Today. Choosing the best solution among a myriad of options

Discover an Integrated IT Platform Designed for Branch Offices and Small and Medium Enterprise Locations

IBM SmartCloud Resilience offers cloud-based services to support a more rapid, reliable and cost-effective enterprise-wide resiliency.

High Availability- Disaster Recovery 101

Middle East Technical University. Jeren AKHOUNDI ( ) Ipek Deniz Demirtel ( ) Derya Nur Ulus ( ) CENG553 Database Management Systems

Opendedupe & Veritas NetBackup ARCHITECTURE OVERVIEW AND USE CASES

Vendor: EMC. Exam Code: E Exam Name: Cloud Infrastructure and Services Exam. Version: Demo

TransLattice Technology Overview

Protecting Mission-Critical Application Environments The Top 5 Challenges and Solutions for Backup and Recovery

The New Economics of Cloud Storage

BERLIN. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

Transcription:

FROM DISASTER RECOVERY TO ACTIVE-ACTIVE: NuoDB AND MULTI-DATA CENTER DEPLOYMENTS

INTRODUCTION Traditionally, multi-data center strategies were deployed primarily to address disaster recovery scenarios. The most common deployments included one data center serving production workloads and another (backup) data center that was either passive or just partially utilized, and responsive to production workloads only if the primary data center suffered an outage. In this ebook, we ll go over the options organizations have today with multi-data-center deployments, the spectrum of multi-data-center configurations, the benefits and limitations to each, and what NuoDB currently offers in multi-data center deployments. However, today we have instant access to rented data center resources, dynamic provisioning, and increasingly affordable and high-quality WAN infrastructure. When combined with improvements in distributed database technology, organizations are headed for a future where multi-data-center deployments are no longer just for disaster recovery, but used to meet increasing workloads, scale, and user experience demands....organizations are headed for a future where multi-data center deployments are no longer just for disaster recovery... 2

MULTI-DATA CENTER OPPORTUNITIES When implementing next-generation, multi-data-center strategies, CIOs and IT strategists commonly have multiple objectives: Achieve disaster resilience with continuous service availability during data center failures and disasters. Optimize cloud economics by deploying workloads across various cloud and noncloud environments. Support geographically distributed access with low latency guarantees for mobile users, branch offices, and backbone data centers. Integrate and automate business processes across the organization s vendor/ partner/customer ecosystem. Maintain data sovereignty and meet data privacy requirements across multiple legal jurisdictions. Provide operational flexibility to run workloads wherever makes most sense for financial, workload balancing, maintenance, or convenience reasons. 3

DEPLOYMENT SCENARIOS AND USE CASES Traditionally, due to complexity, cost, and available technology, organizations used functionality innate to the database for multi-data-center, disaster recovery strategies. However, these strategies involve tradeoffs unacceptable in today s world, including inefficient utilization and lack of availability across multiple locations. Today, organizations desire a sophisticated activeactive approach that can keep costs, complexity, and management efforts to a minimum. While traditional active-active deployments require extra technology, configuration, application code, and management resources, NuoDB offers a modern solution, which includes active-active capabilities native to the database itself. The following is a description of the spectrum of multi-data center deployment scenarios, how NuoDB handles these scenarios, and the benefits, costs, and capabilities for each: Multi-Data Center Deployment Scenarios: + + Cold Standby + + Warm Standby + + Hot Standby + + Hot Standby with Read Replicas + + Active-Active: Partitioned Data & Access + + Active-Active: Transactional Consistency + + Active-Active: Conflict Resolution 4

NuoDB ARCHITECTURE A A First, let s take a quick look at NuoDB s architecture so we can better understand how it performs in a multi-data-center deployment. Unlike the monolithic structures of the past, NuoDB was designed from the beginning using a distributed, peer-to-peer architecture that still appears to the application as a single logical SQL database. Query Processing Storage Storage Manager (SM) Durability TE SM TE SM Not-yet-provisioned, Available Node By using a two-tiered architecture that can separate and independently scale transaction processing (Transaction Engines) from durability (Storage Managers), NuoDB can be deployed across multiple data centers and is optimized for inmemory speeds, continuous availability, and elastic scale-out. In the coming sections, we ll first explore how the scenario is achieved using traditional methods and then explain its NuoDB equivalent and the benefits it brings. 5

COLD STANDBY A single data center is active, running applications and the database. Data is backed up to a remote location periodically. If the data center suffers an outage, the applications and data will be unavailable for a certain amount of time until the backup database is recovered or started up, applications are started up, and a new data center is brought online. COLD STANDBY USING NuoDB We do not recommend this approach to disaster recovery due to its inherent limitations. Instead, at the very least, we recommend running a minimal NuoDB footprint in a remote location (see Warm Standby with NuoDB ) to prevent this scenario from occurring. This scenario generally results in some data loss depending on the frequency of the backup. 6

WARM STANDBY A single data center is active - running applications and the database. The active data center either batch or continuously replicates transactions to a second, backup data center. If the active data center suffers an outage, the applications and data will be unavailable for a certain amount of time until the backup database is recovered or started up, applications are started up, and remote data center is brought online. 7

WARM STANDBY USING NuoDB By deploying a single Storage Manager in a remote location, customers can have a minimal footprint for disaster protection. NuoDB automatically replicates transactions without any additional technologies, special configuration, or coordination. Minimal Disaster Recovery (DR) protection requires a single SM in a DR site to maintain a fully redundant copy of the database. In this scenario, if the active data center goes down, customers will need to deploy Transaction Engines before the database can be ready for use. 8

HOT STANDBY A single data center is active - running applications and the database. The active database replicates transactions to an actively running database in the backup data center. This secondary site does not, however, process transactions under normal circumstances. However, if the active data center suffers an outage, there is no recovery period for the database. Typically, the application is also online in the backup data center resulting in a minimal outage. 9

HOT STANDBY USING NuoDB NuoDB is designed to maintain a single logical database across all nodes, even across multiple data centers. It is always active, across all database nodes. NuoDB will not need any recovery time in order for nodes in the backup data center to become active - it will already be ready to connect to applications and perform transactions. In this scenario, the peers in the Hot Site are active so require no recovery time in the event of a disaster. 10

HOT STANDBY WITH READ REPLICAS This is the same configuration as Hot Standby. However, applications may use the secondary data center to fulfill read-only requests, allowing partial utilization of this data center. If the active data center suffers an outage, the second data center may immediately be converted to support the full read/write workload. 11

HOT STANDBY WITH READ REPLICAS USING NuoDB Because NuoDB is always active, across all database nodes, it can easily be used to provide read (and write) access in the remote location. Deploying applications in the remote site allows for read (and write) replicas in the remote location. 12

ACTIVE-ACTIVE: PARTITIONED DATA & ACCESS In a traditional scenario, there would be two data centers that are each actively running the same database and application. However, the data and access is partitioned such that the application only reads/writes to a specific partition. Changes from one data center are asynchronously replicated to the other data center only for availability or read access. In the event of a data center outage, there may be some data loss because the replication is occurring asynchronously. Traditional active-active with partitioned data approaches require significant additional technology, configuration, and coordination for this type of implementation. Typically, this is a complicated and difficult configuration to set-up, deploy, and manage. 13

ACTIVE-ACTIVE: PARTITIONED DATA & ACCESS USING NuoDB NuoDB supports this deployment approach without needing any additional technologies, special configuration, or coordination. In addition, NuoDB uses acknowledgement of transaction commits to preserve data durability within and across environments. This means that, in the event of a data center outage, NuoDB will suffer no data loss except for in-flight transactions. In each data center, the application only reads/writes to a specific partition. The data is replicated to the other data center for availability or read access. In the case of a network partition between data centers, by default, NuoDB preserves consistency and will automatically shutdown database processes in one data center. It is possible to configure NuoDB to not automatically shutdown database processes on a network partition, but NuoDB will not be able to resolve any inconsistencies between data centers when the network partition is resolved. 14

ACTIVE-ACTIVE: TRANSACTIONAL CONSISTENCY In this scenario, two data centers are actively running an application that requires maintaining transactional consistency across the data centers. Data consistency across data centers is maintained using Two-Phase Commit. If either data center suffers an outage, the other data center may continue to fully operate as normal. If the network communication between the data centers goes down, the transactions requiring global consistency (using Two-Phase Commit) will fail. Unfortunately Two-Phase Commit is prohibitively inefficient with regards to latencies and concurrencies for multi-data-center use cases. 15

ACTIVE-ACTIVE: TRANSACTIONAL CONSISTENCY USING NuoDB NuoDB supports this deployment approach without needing any additional technologies, special configuration, or coordination. As in the previous example, NuoDB uses acknowledgement of transaction commit to preserve data durability within and across environments. Upon network partition, NuoDB will automatically shut down the minority portion of the database in order to preserve consistency. Upon a network partition, by default, NuoDB will shut down the minority portion of the database in order to preserve consistency. 16

ACTIVE-ACTIVE: CONFLICT RESOLUTION The configuration is equivalent to the previous example. However, if the network communication between the data centers goes down, both data centers will continue to operate normally and preserve consistency within their local environments. Once network communication is restored, the two databases will re-sync, resolve conflicts, and restore global data consistency. Traditional active-active approaches require significant additional technology, configuration, and coordination for this type of implementation. Typically, this is a complicated and difficult configuration to set-up, deploy, and manage. 17

ACTIVE-ACTIVE: CONFLICT RESOLUTION USING NuoDB A priority future capability of NuoDB is to support the ability to self-heal and resolve consistencies upon restoration of a network partition. With this option, customers will be able to choose to maintain availability within each data center while sacrificing global consistency during the network communications outage. Upon network partition, NuoDB will continue to run and preserve consistency within the local environment. Upon restoration of network communication, the two databases will re-sync and resolve any conflicts to restore global consistency. 18

CONFIGURATION BENEFITS AND COSTS The following table lists the benefits and costs for each of these configurations: Reliability: No Down Time Utilization Reliability: Effectively Handle Network Unreliability Cost: Application Logic to Partition Data ( Sharded ) Cost: Application Logic for Conflict Resolution Cold Standby X X N/A N/A N/A Warm Standby X X N/A N/A N/A Hot Standby X N/A N/A N/A Hot Standby (with RRS) Active-Active (data partitioned) Active-Active (transactional consistency) Active-Active (conflict resolution) PARTIAL N/A N/A N/A X X X N/A X 19

ACTIVE-ACTIVE WITH NuoDB: A STRAIGHTFORWARD SOLUTION NuoDB is designed to provide active-active capabilities while maintaining transactional consistency capabilities as a single logical database. The following are some example NuoDB use cases: Backup Data Center Run NuoDB in a second data center with minimal resources, allowing additional resources to be rapidly added to the second data center in the event that it needs to go live. Public Cloud with Local Backup Run the application entirely on a public cloud while keeping an always-updated copy of the data on-premises. Public Cloud High Availability Run NuoDB across multiple Amazon Web Services (AWS) regions to provide availability in the case of an AWS region outage. 20

Twinned Data Center with Active-Active Functionality Run NuoDB across two data centers with live applications in both locations simultaneously, allowing load balancing, database capacity rebalancing during peak usage times, failover, and optimization of each data center to process certain types of workloads (e.g. back-office versus front-office, administration versus general transactions processing). Hybrid Cloud Run NuoDB simultaneously in a public cloud and in an on-premises data center. For example, an organization may run front-end services (e.g. SaaS/Mobile applications) from a public cloud and back-end activities in an on-premises deployment. Simultaneous Execution on Multiple Public Clouds Run NuoDB across multiple clouds (e.g. AWS and Azure) and dynamically favor one cloud for reasons of cost or performance. A high-priority future goal is to allow full active-active operations during network partitions, giving customers the option to provide high availability during a network outage, and resolve global inconsistencies upon restoration of the network. 21

LEARN MORE ABOUT NuoDB: About NuoDB NuoDB s elastic SQL database for cloud applications helps customers get applications to market faster and reduce their total cost of ownership. Software vendors and ecommerce companies rely on NuoDB to obtain the combination of scale-out simplicity, elasticity, and continuous availability that cloud applications require, with the transactional consistency and durability that databases of record demand. As a result, customers can capitalize on modern technologies such as cloud computing and containerization to ensure their applications are ready for today s evolving expectations, as well as any future requirements. NuoDB is headquartered in Cambridge, MA, USA, with offices in Dublin and Belfast. For more information, visit nuodb.com. info@nuodb.com +1 (617) 500-0001 www.nuodb.com 2017 NuoDB, Inc., all rights reserved. EB DRAA 07173 SK 22