Business Con*nuity with Docker

Similar documents
Protec'ng Informa'on Assets - Week 8 - Business Continuity and Disaster Recovery Planning. MIS 5206 Protec/ng Informa/on Assets Greg Senko

Platform as a Service and Container Clouds

Data Center Evolu.on and the Cloud. Paul A. Strassmann George Mason University November 5, 2008, 7:20 to 10:00 PM

Cloud n Service Presentation. NTT Communications Corporation Cloud Services

Intro to Docker and Containers

Processing of Mix- Sensi0vity Video Surveillance Streams on Hybrid Clouds

How To Install Project Photon On Vsphere 5.5 & 6.0 (Vmware Vspher) With Docker (Virtual) On Linux (Amd64) On A Ubuntu Vspheon Vspheres 5.4

Architec;ng Splunk for High Availability and Disaster Recovery

So#ware Product Lines for Automa5c Mul5- Cloud Configura5on

Merit Member Conference 2015 Does Migra+ng to a Virtualized Data Center Make Sense in Higher Educa+on?

Citrix XenServer-6.2 Administration Training

RackWare Solutions Disaster Recovery

Linstantiation of applications. Docker accelerate

Splunk implementa-on. Our experiences throughout the 3 year journey

Virtual Server and Storage Provisioning Service. Service Description

ViewBox: Integrating Local File System with Cloud Storage Service

Building a Continuous Integration Pipeline with Docker

Intro to Virtualization

Disaster Recovery Checklist Disaster Recovery Plan for <System One>

Data Centers and Cloud Computing. Data Centers

Data Center DC planning for the next 5 10 years. Copyright Experture and Robert Frances Group, all rights reserved

Getting Started with HC Exchange Module

Migration and Building of Data Centers in IBM SoftLayer with the RackWare Management Module

How To Restore A Server From Backup To Backup

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V

Cloud Based Tes,ng & Capacity Planning (CloudPerf)

Data Centers and Cloud Computing

DISTRIBUTED SYSTEMS [COMP9243] Lecture 9a: Cloud Computing WHAT IS CLOUD COMPUTING? 2

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Restricted Document. Pulsant Technical Specification

ITS Strategic Plan Enabling an Unbounded University

Protecting Microsoft SQL Server with an Integrated Dell / CommVault Solution. Database Solutions Engineering

SQL Server Virtualization 101. David Klee, Group Principal and Practice Lead. SQL PASS Virtualization VC,

Docker : devops, shared registries, HPC and emerging use cases. François Moreews & Olivier Sallou

Why Cloud Backup Now? Ashar Baig Senior Director of Product Marketing

Why Buy Eaton: Trusted Source to Manage Power

Dimension Data Enabling the Journey to the Cloud

vnas Series All-in-one NAS with virtualization platform

GRNET Cloud Compu7ng Services An Overview

SERVER CLOUD DISASTER RECOVERY. User Manual

Building Storage Service in a Private Cloud

Cloud Simulator for Scalability Testing

Evaluation of Enterprise Data Protection using SEP Software

Update on the Cloud Demonstration Project

A Project Summary: VMware ESX Server to Facilitate: Infrastructure Management Services Server Consolidation Storage & Testing with Production Servers

Can Cloud Hos+ng Providers Really Replace. Your Cri(cal IT Infrastructure?

Managing and Maintaining a Windows Server 2003 Network Environment

Migration and Building of Data Centers in IBM SoftLayer with the RackWare Management Module

Kaseya Fundamentals Workshop DAY THREE. Developed by Kaseya University. Powered by IT Scholars

Copyright. Robert Sandoval

SUMMIT. November 2010

Operating Systems Virtualization mechanisms

Enabling Technologies for Distributed and Cloud Computing

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

Chapter 3. Database Architectures and the Web Transparencies

IBM Bluemix, the digital innovation platform

Disaster Recovery Planning and Implementa6on. Chris Russel Director, IT Infrastructure and ISO Compu6ng and Network Services York University

Brian LaGoe, Systems Administrator Benjamin Jellema, Systems Administrator Eastern Michigan University

FileCruiser Backup & Restoring Guide

Enabling Technologies for Distributed Computing

Deployment Options for Microsoft Hyper-V Server

RingStor User Manual. Version 2.1 Last Update on September 17th, RingStor, Inc. 197 Route 18 South, Ste 3000 East Brunswick, NJ

Web Application Deployment in the Cloud Using Amazon Web Services From Infancy to Maturity

Leveraging the Hybrid Cloud For Complete Data Protec:on. Private Public Managed

Cloud Optimize Your IT

Cloud UT. Pay-as-you-go computing explained

Design for Failure High Availability Architectures using AWS

For Hyper-V Edition Practical Operation Seminar. 4th Edition

BUILDING OF A DISASTER RECOVERY FRAMEWORK FOR E-LEARNING ENVIRONMENT USING PRIVATE CLOUD COLLABORATION

OnApp Cloud. The complete platform for cloud service providers. 114 Cores. 286 Cores / 400 Cores

DISASTER RECOVERY WITH AWS

Windows Server 2012 Hyper-V Training

Expert Reference Series of White Papers. Visions of My Datacenter Virtualized

Cloud on TEIN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat University

The Google File System

A Comparison of VMware and {Virtual Server}

Appendix A Core Concepts in SQL Server High Availability and Replication

Hardware/Software Guidelines

Open Cloud System. (Integration of Eucalyptus, Hadoop and AppScale into deployment of University Private Cloud)

SharePoint Capacity Planning Balancing Organiza,onal Requirements with Performance and Cost

IT VIRTUALIZATION FOR DISASTER MITIGATION AND RECOVERY

Comparing Free Virtualization Products

CLOUD SERVICE SCHEDULE

Systems Administration Introduction to OSPF

SDN IN TOMORROW'S DATA CENTER. Guido Appenzeller October, 2013

Certification: HP ATA Servers & Storage

msuite5 & mdesign Installation Prerequisites

OTM in the Cloud. Ryan Haney

Migration and Disaster Recovery Underground in the NEC / Iron Mountain National Data Center with the RackWare Management Module

Dominion Enterprises and Amazon Web Services. Going Hybrid Joe Fuller, VP/CIO December 10, 2013

On- Prem MongoDB- as- a- Service Powered by the CumuLogic DBaaS Platform

Planning Domain Controller Capacity

9/26/2011. What is Virtualization? What are the different types of virtualization.

Kaseya IT Automation Framework

GeoCloud Project Report GEOSS Clearinghouse

Backup Exec Infrastructure Manager 12.5 FAQ

Hunk & Elas=c MapReduce: Big Data Analy=cs on AWS

Virtualization for Cloud Computing

Storage and Disaster Recovery

Transcription:

CloudOpen Japan 2015 Business Con*nuity with Docker 2015/06/04 Yoshitaka Kuwata Muroran Ins*tute of Technology

Overview of Talk 1. Who is Talking 2. Mo*va*on of Disaster Recovery 3. Exis*ng Solu*ons 4. Requirement of DR 5. Architecture for DR with Docker 6. Evalua*ons 7. Discussions 8. Conclusions 2

1. Who am I Yoshitaka Kuwata Associate Professor Center for Mul*media Aided Educa*on Muroran Ins*tute of Technology, Hokkaido Educa*on of Basic IT course Design and opera*on of campus network & computer systems Research on Cloud Architecture and OSS Project Analysis : 1.5 hours from Sapporo, One hour from Chitose Airport. 3

2. Mo*va*on of Disaster Recovery Lessons of Great Earthquakes Awareness of Disaster Preven*on Business Con*nuity Management Interna*onal Standard Compliance Analysis Iden*fy Cri*cal Factors Management System Business Impact Analysis Establish BCP Documenta*on Implementa*on Apply BCP Training Opera*on Design of Exis*ng Systems Func*onal Design Non Func*onal Design Capacity Extensibility Operability Maintainability Security Fault Tolerance Reliability Availability Need to apply BCP to exis*ng systems. The design should also be used for next systems. 4

3. Requirement form light- weight DR Pre Condi*ons Primary systems are located on local site. (not all of systems are cloud ready) Cloud services are used only for backup data and backup system. Make a set of daily backup copy of data to the clouds. When the primary systems downs, backup systems are started manually. When recovered, manually copy data from backup systems to primary systems, then stop backup systems. Requirements (1) Data must be kept in safe in remote loca*ons (2) Keep the service running in remote site, when primary site is down (3) Switch loca*on of service manually. (4) The architecture should be the same with current design. 5

4. Exis*ng Solu*ons in Cloud AWS Cloud Design Padern(AWS- CDP) for Disaster Recovery No Name Method 1 Mul*- Datacenter In order to avoid failure of a datacenter, use mul*ple servers in different datacenters located in different regions. 2 Sorry Page When main site is down, redirect requests to backup servers; sorry server 3 Cross- Region Replica*on Make a set of backup copy to different loca*on. Reference: hdp://aws.clouddesignpadern.org/index.php/ 6

4. Mul*- datacenter in AWS- CDP Load balancer Region A Servers A dispatch Servers B Region B EC2 instances EC2 instances Reference: hdp://aws.clouddesignpadern.org/index.php/ 7

4. Sorry page in AWS- CDP DNS Server(Route 53) Primary Servers Health check Change DNS entry Backup Server S3 EC2 instances Object Storage System Reference: hdp://aws.clouddesignpadern.org/index.php/ 8

4. Cross- Region Replica*on in AWS- CDP Region A Region B Primary Server Secondary Server DB Backup Remote Copy Restore DB EC2 instance EC2instance Note: This padern is one of AWS- CDP candidates. Reference: hdp://aws.clouddesignpadern.org/index.php/ 9

5. DR with Docker Useful Features of Docker (1) Light-weight Virtualization with LXC Partitioning of OS (2) Differential File System AUFS, LVM thin provisioning, Overlayfs. (3) Portable Image Docker Image (4) Repository Management Docker-HUB, Local Repository (5) Building Automation of Docker Image Dockerfile (6) Optimal Runtime Environment Minimum set of programs are deployed in images 10

5. How we make use of Docker for DR We focused on two aspects of Docker Differential File System We can reduce the size of daily backup volume Portability of Images We can build private repository on academic cloud service, and commercial service as well. We can run secondary site on cloud services. Key Technologies Design paderns of backup systems Implementa*on and use of private repository Security 11

Architecture for DR Academic Cloud Storage System Data LMS Data 2 run alterna*ve server Container (Docker) AWS Storage System Data LMS Data 1Make Backup SINET 3Recovery AWS can be used as alterna*ve of Academic Cloud Campus LAN University LMS Data LMS:Learning Management System 12

5. Architecture for Disaster Recovery with Docker Docker Repository Linux App1 App2 A B pull & run push Secondary system A B Docker Engine Servers on Cloud Service Primary System A B Docker Engine Overview 1. Build Private Docker Repository on Cloud Service The Repository can be built with backend 2. Copy Backup data of Primary System to a Docker Repository on Cloud Services Servers on site 13

5. Make a set of backup copy to repo. Docker Repository Linux App1 App2 A B Servers on Cloud Service Primary System Daily Opera*ons A B 1. Push images to local repository on Cloud Services. Docker Engine Servers on site 14

5. Switching to Secondary system Docker Repository Secondary system Linux App1 App2 A B pull & run A B Docker Engine Servers on Cloud Service Primary System A FLINE B Docker Engine Switching to Secondary system 1. Launch secondary system from image in Docker Repository on Cloud Service 2. Redirect access to Secondary system Servers on site 15

5. Recovery Opera*on Docker Repository Linux App1 App2 A B push Secondary system A B Docker Engine Servers on Cloud Service Primary System A B Docker Engine 1. Push data of Secondary System to Docker Repository 2. Stop Secondary System 3. Launch Primary system with data from Docker Repository 4. Redirect access to Primary System Servers on site 16

6. Evalua*on Environment Item Specifications Application Moodle 2.7 with Language Pack (Japanese) Number of Course 0 20 Number of Sessions 15 / course Repository docker- registry on Docker in a local machine CPU Intel Core2 Quad Q8400 2.66GHz Memory 4GB Disks SATA 128GB SSD NIC 1000Base- T (1Gbps) OS Ubuntu 14.04.1LTS Server Docker V1.2.0, build fa7b24f Primary System Secondary System moodle push pull & run moodle pull & run Docker Repository Docker Engine push 17

6. Seing of Moodle Seing 15 Sessions for each classes Plase course material for each session Allocate Numbers of classes and check the required resources. 18

6. Results : overview Image size increases with every entry of courses Only the difference is stored in the images Time to push repositories depends on the image size Linux moodle Japanese locale Course 1 Course 2 Course N 1GB 32MB 32MB 19

6. Results: number of course VS image size Image Size Time to put repo. 20

7. Discussions Limita*on of snapshot on Docker Docker can have only 127 level of snapshot # docker build t test. Sending build context to Docker daemon 4.096 kb Sending build context to Docker daemon Step 0 : FROM ubuntu - - - > 5ba9dab47459 Step 1 : RUN date - - - > Running in b4849b849f31 Tue Feb 17 09:59:37 UTC 2015 - - - > 36904b4e1c8d Removing intermediate container b4849b849f31 Step 2 : RUN date - - - > Running in ae5abb842961 Tue Feb 17 09:59:42 UTC 2015 - - - > 7c94c175a4b6 Removing intermediate container ae5abb842961 Step 3 : RUN date - - - > Running in f107b4d4ec6e Tue Feb 17 09:59:44 UTC 2015 - - - > 95dd7644aeca Removing intermediate container f107b4d4ec6e : : : Step 121 : RUN date INFO[0296] Cannot create container with more than 127 parents This is not the limita*on of file system but the limita/on of Docker. i.e. happens with AUFS, Overlay FS, and LVM 21

7. Discussions (cont.) Work around for 127- parent limit (1) Merge layers with export and import # container_id=$(docker run - d test2 /bin/bash - c "") # docker export $container_id docker import - test2 34e82f0c70802fed06348fd805628ffc9d53374939b82fc2fb2cdcdec14f34de # docker images - - tree Warning: '- - tree' is deprecated, it will be removed soon. See usage. 34e82f0c7080 Virtual Size: 188.1 MB Tags: test2:latest 511136ea3c5a Virtual Size: 0 B 27d47432a69b Virtual Size: 192.5 MB 5f92234dcf1e Virtual Size: 192.7 MB 51a9c7c1f8bb Virtual Size: 192.7 MB 5ba9dab47459 Virtual Size: 192.7 MB Tags: ubuntu:latest 22

7. Discussions (cont.) Work around for 127- parent limit (2) Take a snapshot and con*nue the image Image Instance run Moodle base:v1 Moodle base:v1 Stop & commit run Moodle base:v1.1 Moodle base:v1.1 Stop & commit Moodle base:v1.1.1 run Moodle base:v1.1.1 Stop & commit Moodle base:v1.1.1.1 23

7. Discussions (cont.) Work around for 127- parent limit (2) Take a snapshot and con*nue the image Image Instance run Moodle base:v1 Stop & commit Moodle base:v1.1 Stop & commit Moodle base:v1.2 Stop & commit Moodle base:v1.3 Moodle base:v1 start Moodle base:v1.1 start Moodle base:v1.2 start 24

8. Conclusions Light- weight DR architecture with Docker is proposed Prototype system is built and evaluated Func*ons of the system are verified Limita*on of Docker was found and work- around is proposed. 25