AWS Virtual Tape Library as storage for Bareos



Similar documents
How to setup NovaBACKUP DataCenter to backup data to Amazon S3 using Amazon s AWS Storage Gateway

Drobo How-To Guide. Cloud Storage Using Amazon Storage Gateway with Drobo iscsi SAN

Amazon Cloud Storage Options

Required Virtual Interface Maps to... mgmt0. bridge network interface = mgmt0 wan0. bridge network interface = wan0 mgmt1

Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0. virtual network = wan0 mgmt1. network adapter not connected lan0

Cloud n Service Presentation. NTT Communications Corporation Cloud Services

VMTurbo Operations Manager 4.5 Installing and Updating Operations Manager

Reboot the ExtraHop System and Test Hardware with the Rescue USB Flash Drive

StarWind iscsi SAN Software: Using with Citrix XenServer

HyperFS PC Client Tools

StarWind iscsi SAN Software Hands- On Review

Barracuda Backup Vx. Virtual Appliance Deployment. White Paper

VX 9000E WiNG Express Manager INSTALLATION GUIDE

Using the IPMI interface

Course: CXD-202 Implementing Citrix XenDesktop Administration

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

VMware vcenter Support Assistant 5.1.1

Quick Start Guide. Citrix XenServer Hypervisor. Server Mode (Single-Interface Deployment) Before You Begin SUMMARY OF TASKS

VMware VDR and Cloud Storage: A Winning Backup/DR Combination

iscsi Quick-Connect Guide for Red Hat Linux

Configuring Sun StorageTek SL500 tape library for Amanda Enterprise backup software

If you re not using Citrix XenCenter 6.0, your screens may vary. Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0

CTERA Cloud Onramp for IBM Tivoli Storage Manager

CTERA Portal Datacenter Edition

: HP HP Version : R6.1

System Administration Training Guide. S100 Installation and Site Management

Data Backup and Restore (DBR) Overview Detailed Description Pricing... 5 SLAs... 5 Service Matrix Service Description

PARALLELS SERVER 4 BARE METAL README

StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

Acronis Backup Advanced 11.5 Solution Guide and Best Practices

In order to upload a VM you need to have a VM image in one of the following formats:

Acronis Backup & Recovery 11

Archiving On-Premise and in the Cloud. March 2015

Citrix Training. Course: Citrix Training. Duration: 40 hours. Mode of Training: Classroom (Instructor-Led)

VirtualTape Library User Guide

Veeam Cloud Connect. Version 8.0. Administrator Guide

Trends in Data Protection and Restoration Technologies. Mike Fishman, EMC 2 Corporation (Author and Presenter)

StarWind iscsi SAN Software: Using an existing SAN for configuring High Availability storage with Windows Server 2003 and 2008

Restoration Technologies. Mike Fishman / EMC Corp.

FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection-

Symantec NetBackup OpenStorage Solutions Guide for Disk

Detailed Features. Detailed Features. EISOO AnyBackup Family 1 / 19

VMUnify EC2 Gateway Guide

Quick Start - Virtual Server idataagent (Microsoft/Hyper-V)

RES ONE Automation 2015 Task Overview

Using and Contributing Virtual Machines to VM Depot

13.1 Backup virtual machines running on VMware ESXi / ESX Server

Symantec OpenStorage Date: February 2010 Author: Tony Palmer, Senior ESG Lab Engineer

Shipping Products Chart. Contents

WatchGuard Dimension v1.1 Update 1 Release Notes

EMC DATA PROTECTION. Backup ed Archivio su cui fare affidamento

How To Backup An Exchange Server With 25Gb And More On A Microsoft Smartfiler With A Backup From A Backup To A Backup Point Set On A Flash Drive On A Pc Or Macbook Or Ipad On A Cheap Computer (For A

Cloud Services for Backup Exec. Planning and Deployment Guide

Deployment Guide: Unidesk and Hyper- V

Every Silver Lining Has a Vault in the Cloud

Veeam Backup and Replication Architecture and Deployment. Nelson Simao Systems Engineer

JovianDSS Evaluation and Product Training. Presentation updated: October 2015

Upgrading Cisco UCS Central

RealPresence Platform Director

Foglight. Foglight for Virtualization, Free Edition Installation and Configuration Guide

Acronis Backup & Recovery 11 Virtual Edition

GMS. 1 Create the virtual machine 2 Configure the virtual machine 3 Configure the virtual GMS server. Quick Start Guide. Microsoft Hyper-V Hypervisor

Amazon EC2 Product Details Page 1 of 5

Backup policies defined for VMware VMs. by Andrea Mauro vexpert and VCDX

HP LeftHand SAN Solutions

Also you need the C-MOR ISO file. This file you will find following this link:

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

Virtual Server Agent v9 with VMware. March 2011

What s new in Hyper-V 2012 R2

CBMR for Linux v6.2.2 User Guide

Managing Data Protection

Overview Customer Login Main Page VM Management Creation... 4 Editing a Virtual Machine... 6

Storage Sync for Hyper-V. Installation Guide for Microsoft Hyper-V

NETFORT LANGUARDIAN INSTALLING LANGUARDIAN ON MICROSOFT HYPER V

Is VMware Data Recovery the replacement for VMware Consolidated Backup (VCB)? VMware Data Recovery is not the replacement product for VCB.

FOR SERVERS 2.2: FEATURE matrix

NetIQ Sentinel Quick Start Guide

Optimizing IT Data Services

FrontDesk Installation And Configuration

How to use Cloud Solutions by Swisscom for Disaster Recovery. Whitepaper. Fabian Haldimann Stefan Lengacher Thomas Gfeller

Implementing IBM Tape in Linux and Windows

CommandCenter Secure Gateway

StarWind iscsi SAN & NAS: Configuring HA Storage for Hyper-V October 2012

Cookbook Backup, Recovery, Archival (BURA)

ClearPass Policy Manager 6.3

Shipping Products Chart. Contents

Understanding AWS Storage Options

insync Installation Guide

Using SMI-S for Management Automation of StarWind iscsi SAN V8 beta in System Center Virtual Machine Manager 2012 R2

CXD Citrix XenDesktop 5 Administration

StarWind iscsi SAN & NAS: Configuring HA File Server on Windows Server 2012 for SMB NAS January 2013

TABLE OF CONTENTS. Administration Guide - Virtual Server idataagent (VMware) Page 1 of 176 OVERVIEW

VMware/Hyper-V Backup Plug-in User Guide

VMware Identity Manager Connector Installation and Configuration

VELOCITY. Quick Start Guide. Citrix XenServer Hypervisor. Server Mode (Single-Interface Deployment) Before You Begin SUMMARY OF TASKS

Transcription:

AWS Virtual Tape Library as storage for Bareos

The story behind the setup Legacy Bacula (5.2) installation Physical datacenter HP MSL 2024: 24 slots, 1 tape drive, autochanger MSL attached to the server, speed was good It worked quite well, but

The story behind the setup Prehistoric Bacula version: 3.0

The story behind the setup Prehistoric Bacula version: 3.0 after upgrading from 2.4.

The story behind the setup Prehistoric Bacula version: 3.0 after upgrading from 2.4 Old Red Hat OS.

The story behind the setup Prehistoric Bacula version: 3.0 after upgrading from 2.4 Old Red Hat OS. 4.0

More history Once a week full backup tapes were vaulted off-site

More history Once a week full backup tapes were vaulted off-site Sometimes backups did not finish on time

More history Once a week full backup tapes were vaulted off-site Sometimes backups did not finish on time Sometimes the tapes did not fit in the safe case

More history Once a week full backup tapes were vaulted off-site Sometimes backups did not finish on time Sometimes the tapes did not fit in the safe case The whole tape pool did not fit in MSL + offsite

Even more history (last slide!) We wanted to upgrade the backup service Zero risks allowed and no service interruption

Even more history (last slide!) We wanted to upgrade the backup service Zero risks allowed and no service interruption Duplicate infrastructure: not cheap Start experimenting with AWS VTL

What is AWS Storage Gateway-VTL? Part of Storage Gateway service Connect on-premises appliance with cloud storage Virtual Tape Library / Volume gateway On-premises VTL storage gateway acts as a cache

What is AWS Storage Gateway-VTL?

The appliance (VTL)

VTL appliance iscsi devices exposed: 1 media changer 10 tape drives 1600 slots, 1600 import/export slots I/E slots for archival/retrieval

Cache Storage/Upload Buffer At least two disks (DAS/SAN) Cache Storage: Fast access to most recently used data Upload buffer: in-transit data to S3 storage We can add more disks later

Cache Storage/Upload Buffer Adapt LAN to Internet speed: size them properly: Upload buffer at least 150G Cache storage: 1.1 x upload buffer YMMV: formula in the documentation We can delete Upload Buffer (needs VTL restart)

Cache disk deletion We can delete Cache Storage disks Officially not supported, but AWS support confirmed it was possible. The cache must be reset, so be sure it is clean CloudWatch metrics: UploadBufferUsed CachePercentDirty

The Virtual Tapes

Virtual Tapes Analogous to the good old physical tape cartridges From 100G to 2.5TB per tape Backed in S3 storage Up to 1500 tapes or 150TB of data per gateway Managed via AWS web console or API

The Virtual Tape Shelf

Virtual Tape Shelf Analogous to off-site tape holding facility Stored in Amazon Glacier Lower cost (4x times cheaper than S3) 24h retrieval time One VTS per account per AWS region

Virtual Tape Shelf Archival via Import/Export slots in the VTL Retrieval management via Web Console or API Retrieved tapes visible in Import/Export slots Read-only tapes after retrieval

Read-only tapes? WTF? What about recycling?

Let me talk you about One of the cloud best-practices

Embrace the constraints

Let me talk you about One of the cloud best-practices Embrace the constraints Why do we love tapes?

Let me talk you about One of the cloud best-practices Embrace the constraints Why do we love tapes? We should love data, not the place where it is stored

Rethink Tape lifecycle No Bareos-managed tape lifecycle (if we want archival) BUT we can manage the storage gateway via API Maybe a plugin could be written?

Storage Gateway setup Using the AWS Web console, service Storage Gateway Deploy new Storage Gateway, Gateway-Virtual Tape Library Download the VM template (ESX or HyperV)] Download and deploy the on-premises appliance Activate the gateway (register the appliance)

Bareos server setup Instal iscsi initiator tools (open-iscsi in Debian) Discover the targets iscsiadm --mode discovery --type sendtargets \ --portal GATEWAY_IP:3260

Bareos server setup Login to each one of the targets iscsiadm --mode node \ --targetname iqn.1997-05.com.amazon:sgw-852ecaec-tapedrive-01 \ --portal GATEWAY_IP:3260,1 --login Increase iscsi timeouts (VTL is uploading via Internet!)

Your new devices # lsscsi --generic [9:0:0:0] tape IBM ULT3580-TD5 0103 /dev/st0 /dev/sg2 [10:0:0:0] tape IBM ULT3580-TD5 0103 /dev/st1 /dev/sg3 [11:0:0:0] mediumx STK L700 0103 /dev/sch0 /dev/sg4 [12:0:0:0] tape IBM ULT3580-TD5 0103 /dev/st2 /dev/sg5

Media changer: mtx shot first Nice /dev/sch0 iscsi changer device file mtx won t support it /dev/sch0 is not an sg device, or old sg driver From the man: Control SCSI media changer devices

It s okay to be generic As mtx seems to be drunk, we need to use the generic device /dev/sg4 to the rescue! We can use that device file for Bareos configuration

It s okay to be generic As mtx seems to be drunk, we need to use the generic device /dev/sg4 to the rescue! We can use that device file for Bareos configuration Or can we?

Media changer: Linux shot next Modern kernels detect dynamically connected devices Device numbers are assigned at boot time

Media changer: Linux shot next Modern kernels detect dynamically connected devices Device numbers are assigned at boot time VTL: 11 generic devices all connected at the same time What can go wrong?

Media changer: Linux shot next Modern kernels detect dynamically connected devices Device numbers are assigned at boot time VTL: 11 generic devices all connected at the same time What can go wrong? The autochanger device file changes can go wrong

Udev rules to the rescue! Magic spell to assign always a known name to the changer SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="8", \ IMPORT{program}="scsi_id --sg-version=3 --export --whitelisted d $devnode", \ SYMLINK+="autochanger" Save the spell in /etc/udev/rules.d/80-vtl-autochanger.rules Use /dev/autochanger in Bareos config

What about tape drives? Default udev rules are OK

What about tape drives? Default udev rules are OK If you are OK with device names like /dev/tape/by-path/ip-10.4.7.100:3260-iscsi-iqn.1997-05.com.amazon:sgw-852ecaec-tapedrive-01-lun-0-nst

Bareos configuration: Storage Just use them like regular SCSI devices Device { Name = "tapedrive-0" DeviceType = tape DriveIndex = 0 ArchiveDevice = "/dev/tape/by-path/uninteresting.iscsi.stuff-tapedrive-01-lun-0-nst" MediaType = ULT3580-TD5 AutoChanger = yes # default: no }

Bareos configuration: Storage Autochanger { Name = "VTL-autochanger" Changer Device = /dev/autochanger Device = tapedrive-0 Device = tapedrive-1 } Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"

Bareos configuration: Director Storage { Name = VTL # Do not use "localhost" here Address = ip-10-4-8-76 Password = "DummyPassword" Device = "VTL-autochanger" Media Type = ULT3580-TD5 } # YES, I CHEATED!

Bareos configuration: Director Pool { Name = VTLFull Pool Type = Backup Storage = VTL [...] } Set up Jobs or JobDefs to use those pools Or set up the storage in the Job resource

Changer operation from bconsole Very cool Bareos features! Import and export (archive) tapes from bconsole itself Even move tapes around the slots Remember to update slots status slots storage=vtl

Questions?

Thank you! www.capside.com hello@capside.com linkedin.com/company/capside @capside Barcelona Plaça de Catalunya, 1 08002 - Barcelona Madrid Cerro de los Gamos, 1 28224 Pozuelo de Alarcón