SlideShare a Scribd company logo
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
 Increase iSCSI timeouts (VTL is uploading via Internet!)
iscsiadm --mode node 
--targetname iqn.1997-05.com.amazon:sgw-852ecaec-tapedrive-01 
--portal GATEWAY_IP:3260,1 --login
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
 From the man: “Control SCSI media changer devices”
/dev/sch0 is not an sg device, or old sg driver
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
 Save the spell in /etc/udev/rules.d/80-vtl-autochanger.rules
 Use /dev/autochanger in Bareos config
SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="8", 
IMPORT{program}="scsi_id --sg-version=3 --export --whitelisted –d $devnode", 
SYMLINK+="autochanger"
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 # YES, I CHEATED!
Password = "DummyPassword"
Device = "VTL-autochanger"
Media Type = ULT3580-TD5
}
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?
Barcelona
Plaça de Catalunya, 1
08002 - Barcelona
Madrid
Cerro de los Gamos, 1
28224 – Pozuelo de Alarcón
www.capside.com hello@capside.com
linkedin.com/company/capside @capside
Thank you!

More Related Content

What's hot

Your 1st Ceph cluster
Your 1st Ceph clusterYour 1st Ceph cluster
Your 1st Ceph cluster
Mirantis
 
Glauber Costa on OSv as NoSQL platform
Glauber Costa on OSv as NoSQL platformGlauber Costa on OSv as NoSQL platform
Glauber Costa on OSv as NoSQL platform
Don Marti
 
Kauli SSPにおけるVyOSの導入事例
Kauli SSPにおけるVyOSの導入事例Kauli SSPにおけるVyOSの導入事例
Kauli SSPにおけるVyOSの導入事例
Kazuhito Ohkawa
 
openSUSE storage workshop 2016
openSUSE storage workshop 2016openSUSE storage workshop 2016
openSUSE storage workshop 2016
Alex Lau
 
Real world tales of repair - Apache BigData
Real world tales of repair - Apache BigDataReal world tales of repair - Apache BigData
Real world tales of repair - Apache BigData
Alexander DEJANOVSKI
 
Understanding DSE Search by Matt Stump
Understanding DSE Search by Matt StumpUnderstanding DSE Search by Matt Stump
Understanding DSE Search by Matt Stump
DataStax
 
Squid Server
Squid ServerSquid Server
Squid Server
Sumant Garg
 
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
DataStax Academy
 
Putting some "logic" in LVM.
Putting some "logic" in LVM.Putting some "logic" in LVM.
Putting some "logic" in LVM.
Workhorse Computing
 
Docker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in PragueDocker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in Prague
tomasbart
 
CoreOS in a Nutshell
CoreOS in a NutshellCoreOS in a Nutshell
CoreOS in a Nutshell
CoreOS
 
CoreOS + Kubernetes @ All Things Open 2015
CoreOS + Kubernetes @ All Things Open 2015CoreOS + Kubernetes @ All Things Open 2015
CoreOS + Kubernetes @ All Things Open 2015
Brandon Philips
 
Building Windows Images with Packer
Building Windows Images with PackerBuilding Windows Images with Packer
Building Windows Images with Packer
Matt Wrock
 
Itb session v_memcached
Itb session v_memcachedItb session v_memcached
Itb session v_memcached
Skills Matter
 
System Capa Planning_DBA oracle edu
System Capa Planning_DBA oracle eduSystem Capa Planning_DBA oracle edu
System Capa Planning_DBA oracle edu
엑셈
 
CoreOSによるDockerコンテナのクラスタリング
CoreOSによるDockerコンテナのクラスタリングCoreOSによるDockerコンテナのクラスタリング
CoreOSによるDockerコンテナのクラスタリング
Yuji ODA
 
CoreOS: Control Your Fleet
CoreOS: Control Your FleetCoreOS: Control Your Fleet
CoreOS: Control Your Fleet
Matthew Jones
 
Set up Hadoop Cluster on Amazon EC2
Set up Hadoop Cluster on Amazon EC2Set up Hadoop Cluster on Amazon EC2
Set up Hadoop Cluster on Amazon EC2
IMC Institute
 
Install and Configure Ubuntu for Hadoop Installation for beginners
Install and Configure Ubuntu for Hadoop Installation for beginners Install and Configure Ubuntu for Hadoop Installation for beginners
Install and Configure Ubuntu for Hadoop Installation for beginners
Shilpa Hemaraj
 

What's hot (19)

Your 1st Ceph cluster
Your 1st Ceph clusterYour 1st Ceph cluster
Your 1st Ceph cluster
 
Glauber Costa on OSv as NoSQL platform
Glauber Costa on OSv as NoSQL platformGlauber Costa on OSv as NoSQL platform
Glauber Costa on OSv as NoSQL platform
 
Kauli SSPにおけるVyOSの導入事例
Kauli SSPにおけるVyOSの導入事例Kauli SSPにおけるVyOSの導入事例
Kauli SSPにおけるVyOSの導入事例
 
openSUSE storage workshop 2016
openSUSE storage workshop 2016openSUSE storage workshop 2016
openSUSE storage workshop 2016
 
Real world tales of repair - Apache BigData
Real world tales of repair - Apache BigDataReal world tales of repair - Apache BigData
Real world tales of repair - Apache BigData
 
Understanding DSE Search by Matt Stump
Understanding DSE Search by Matt StumpUnderstanding DSE Search by Matt Stump
Understanding DSE Search by Matt Stump
 
Squid Server
Squid ServerSquid Server
Squid Server
 
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
 
Putting some "logic" in LVM.
Putting some "logic" in LVM.Putting some "logic" in LVM.
Putting some "logic" in LVM.
 
Docker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in PragueDocker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in Prague
 
CoreOS in a Nutshell
CoreOS in a NutshellCoreOS in a Nutshell
CoreOS in a Nutshell
 
CoreOS + Kubernetes @ All Things Open 2015
CoreOS + Kubernetes @ All Things Open 2015CoreOS + Kubernetes @ All Things Open 2015
CoreOS + Kubernetes @ All Things Open 2015
 
Building Windows Images with Packer
Building Windows Images with PackerBuilding Windows Images with Packer
Building Windows Images with Packer
 
Itb session v_memcached
Itb session v_memcachedItb session v_memcached
Itb session v_memcached
 
System Capa Planning_DBA oracle edu
System Capa Planning_DBA oracle eduSystem Capa Planning_DBA oracle edu
System Capa Planning_DBA oracle edu
 
CoreOSによるDockerコンテナのクラスタリング
CoreOSによるDockerコンテナのクラスタリングCoreOSによるDockerコンテナのクラスタリング
CoreOSによるDockerコンテナのクラスタリング
 
CoreOS: Control Your Fleet
CoreOS: Control Your FleetCoreOS: Control Your Fleet
CoreOS: Control Your Fleet
 
Set up Hadoop Cluster on Amazon EC2
Set up Hadoop Cluster on Amazon EC2Set up Hadoop Cluster on Amazon EC2
Set up Hadoop Cluster on Amazon EC2
 
Install and Configure Ubuntu for Hadoop Installation for beginners
Install and Configure Ubuntu for Hadoop Installation for beginners Install and Configure Ubuntu for Hadoop Installation for beginners
Install and Configure Ubuntu for Hadoop Installation for beginners
 

Viewers also liked

Making Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a ProductMaking Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a Product
NETWAYS
 
OSMC 2015:The road to lazy monitoring with Icinga 2 and Puppet by Tom de Vylder
OSMC 2015:The road to lazy monitoring with Icinga 2 and Puppet by Tom de VylderOSMC 2015:The road to lazy monitoring with Icinga 2 and Puppet by Tom de Vylder
OSMC 2015:The road to lazy monitoring with Icinga 2 and Puppet by Tom de Vylder
NETWAYS
 
OSMC 2015: End to End Monitoring mit Alyvix-Jürgen Vigna
OSMC 2015: End to End Monitoring mit Alyvix-Jürgen VignaOSMC 2015: End to End Monitoring mit Alyvix-Jürgen Vigna
OSMC 2015: End to End Monitoring mit Alyvix-Jürgen Vigna
NETWAYS
 
OSMC 2015: Monitor Open stack environments from the bottom up and front to ba...
OSMC 2015: Monitor Open stack environments from the bottom up and front to ba...OSMC 2015: Monitor Open stack environments from the bottom up and front to ba...
OSMC 2015: Monitor Open stack environments from the bottom up and front to ba...
NETWAYS
 
OSMC 2015: MQTT it´s also for monitoring by Jan-Piet Mens
OSMC 2015: MQTT it´s also for monitoring by Jan-Piet MensOSMC 2015: MQTT it´s also for monitoring by Jan-Piet Mens
OSMC 2015: MQTT it´s also for monitoring by Jan-Piet Mens
NETWAYS
 
OSMC 2015: Prometheus: A Next-Generation Monitoring System by Fabian Reinartz
OSMC 2015: Prometheus: A Next-Generation Monitoring System by Fabian ReinartzOSMC 2015: Prometheus: A Next-Generation Monitoring System by Fabian Reinartz
OSMC 2015: Prometheus: A Next-Generation Monitoring System by Fabian Reinartz
NETWAYS
 
OSMC 2015: Grafana and Future of Metrics Visualization by Torkel Ödegaard
OSMC 2015: Grafana and Future of Metrics Visualization by Torkel ÖdegaardOSMC 2015: Grafana and Future of Metrics Visualization by Torkel Ödegaard
OSMC 2015: Grafana and Future of Metrics Visualization by Torkel Ödegaard
NETWAYS
 
Welcome talk unleashing the future of open-source enterprise cloud computing
Welcome talk   unleashing the future of open-source enterprise cloud computingWelcome talk   unleashing the future of open-source enterprise cloud computing
Welcome talk unleashing the future of open-source enterprise cloud computing
NETWAYS
 
Contrail Virtual Execution Platform
Contrail Virtual Execution PlatformContrail Virtual Execution Platform
Contrail Virtual Execution Platform
NETWAYS
 
CentOS and OpenNebula, a Perfect Match
CentOS and OpenNebula, a Perfect MatchCentOS and OpenNebula, a Perfect Match
CentOS and OpenNebula, a Perfect Match
NETWAYS
 
Community Clouds from Scratch
Community Clouds from ScratchCommunity Clouds from Scratch
Community Clouds from Scratch
NETWAYS
 
OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...
OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...
OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...
NETWAYS
 
OSBConf 2015 | Live demonstration of tying together git, slat and bareos bacu...
OSBConf 2015 | Live demonstration of tying together git, slat and bareos bacu...OSBConf 2015 | Live demonstration of tying together git, slat and bareos bacu...
OSBConf 2015 | Live demonstration of tying together git, slat and bareos bacu...
NETWAYS
 
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
NETWAYS
 
OSBConf 2015 | Backup vmware snapshots with bareos by philipp storz & ste...
OSBConf 2015 | Backup vmware snapshots with bareos by philipp storz & ste...OSBConf 2015 | Backup vmware snapshots with bareos by philipp storz & ste...
OSBConf 2015 | Backup vmware snapshots with bareos by philipp storz & ste...
NETWAYS
 
OSMC 2015: NSClient++: A brief Introduction by Michael Medin
OSMC 2015: NSClient++: A brief Introduction by Michael MedinOSMC 2015: NSClient++: A brief Introduction by Michael Medin
OSMC 2015: NSClient++: A brief Introduction by Michael Medin
NETWAYS
 
Razor: A fresh look at provisioning by David Lutterkort
Razor:  A fresh look at provisioning by David LutterkortRazor:  A fresh look at provisioning by David Lutterkort
Razor: A fresh look at provisioning by David Lutterkort
NETWAYS
 
OpenNebula - FlossUK 2013
OpenNebula - FlossUK 2013OpenNebula - FlossUK 2013
OpenNebula - FlossUK 2013
NETWAYS
 
OSBConf 2015 | Vm backup beyond bacula by christian theune
OSBConf 2015 | Vm backup beyond bacula by christian theuneOSBConf 2015 | Vm backup beyond bacula by christian theune
OSBConf 2015 | Vm backup beyond bacula by christian theune
NETWAYS
 
OpenNebula - LinuxTag 2013
OpenNebula - LinuxTag 2013OpenNebula - LinuxTag 2013
OpenNebula - LinuxTag 2013
NETWAYS
 

Viewers also liked (20)

Making Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a ProductMaking Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a Product
 
OSMC 2015:The road to lazy monitoring with Icinga 2 and Puppet by Tom de Vylder
OSMC 2015:The road to lazy monitoring with Icinga 2 and Puppet by Tom de VylderOSMC 2015:The road to lazy monitoring with Icinga 2 and Puppet by Tom de Vylder
OSMC 2015:The road to lazy monitoring with Icinga 2 and Puppet by Tom de Vylder
 
OSMC 2015: End to End Monitoring mit Alyvix-Jürgen Vigna
OSMC 2015: End to End Monitoring mit Alyvix-Jürgen VignaOSMC 2015: End to End Monitoring mit Alyvix-Jürgen Vigna
OSMC 2015: End to End Monitoring mit Alyvix-Jürgen Vigna
 
OSMC 2015: Monitor Open stack environments from the bottom up and front to ba...
OSMC 2015: Monitor Open stack environments from the bottom up and front to ba...OSMC 2015: Monitor Open stack environments from the bottom up and front to ba...
OSMC 2015: Monitor Open stack environments from the bottom up and front to ba...
 
OSMC 2015: MQTT it´s also for monitoring by Jan-Piet Mens
OSMC 2015: MQTT it´s also for monitoring by Jan-Piet MensOSMC 2015: MQTT it´s also for monitoring by Jan-Piet Mens
OSMC 2015: MQTT it´s also for monitoring by Jan-Piet Mens
 
OSMC 2015: Prometheus: A Next-Generation Monitoring System by Fabian Reinartz
OSMC 2015: Prometheus: A Next-Generation Monitoring System by Fabian ReinartzOSMC 2015: Prometheus: A Next-Generation Monitoring System by Fabian Reinartz
OSMC 2015: Prometheus: A Next-Generation Monitoring System by Fabian Reinartz
 
OSMC 2015: Grafana and Future of Metrics Visualization by Torkel Ödegaard
OSMC 2015: Grafana and Future of Metrics Visualization by Torkel ÖdegaardOSMC 2015: Grafana and Future of Metrics Visualization by Torkel Ödegaard
OSMC 2015: Grafana and Future of Metrics Visualization by Torkel Ödegaard
 
Welcome talk unleashing the future of open-source enterprise cloud computing
Welcome talk   unleashing the future of open-source enterprise cloud computingWelcome talk   unleashing the future of open-source enterprise cloud computing
Welcome talk unleashing the future of open-source enterprise cloud computing
 
Contrail Virtual Execution Platform
Contrail Virtual Execution PlatformContrail Virtual Execution Platform
Contrail Virtual Execution Platform
 
CentOS and OpenNebula, a Perfect Match
CentOS and OpenNebula, a Perfect MatchCentOS and OpenNebula, a Perfect Match
CentOS and OpenNebula, a Perfect Match
 
Community Clouds from Scratch
Community Clouds from ScratchCommunity Clouds from Scratch
Community Clouds from Scratch
 
OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...
OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...
OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...
 
OSBConf 2015 | Live demonstration of tying together git, slat and bareos bacu...
OSBConf 2015 | Live demonstration of tying together git, slat and bareos bacu...OSBConf 2015 | Live demonstration of tying together git, slat and bareos bacu...
OSBConf 2015 | Live demonstration of tying together git, slat and bareos bacu...
 
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
 
OSBConf 2015 | Backup vmware snapshots with bareos by philipp storz & ste...
OSBConf 2015 | Backup vmware snapshots with bareos by philipp storz & ste...OSBConf 2015 | Backup vmware snapshots with bareos by philipp storz & ste...
OSBConf 2015 | Backup vmware snapshots with bareos by philipp storz & ste...
 
OSMC 2015: NSClient++: A brief Introduction by Michael Medin
OSMC 2015: NSClient++: A brief Introduction by Michael MedinOSMC 2015: NSClient++: A brief Introduction by Michael Medin
OSMC 2015: NSClient++: A brief Introduction by Michael Medin
 
Razor: A fresh look at provisioning by David Lutterkort
Razor:  A fresh look at provisioning by David LutterkortRazor:  A fresh look at provisioning by David Lutterkort
Razor: A fresh look at provisioning by David Lutterkort
 
OpenNebula - FlossUK 2013
OpenNebula - FlossUK 2013OpenNebula - FlossUK 2013
OpenNebula - FlossUK 2013
 
OSBConf 2015 | Vm backup beyond bacula by christian theune
OSBConf 2015 | Vm backup beyond bacula by christian theuneOSBConf 2015 | Vm backup beyond bacula by christian theune
OSBConf 2015 | Vm backup beyond bacula by christian theune
 
OpenNebula - LinuxTag 2013
OpenNebula - LinuxTag 2013OpenNebula - LinuxTag 2013
OpenNebula - LinuxTag 2013
 

Similar to OSBConf 2015 | Using aws virtual tape library as storage for bacula bareos by alberto gimenéz

Access over Ethernet: Insecurites in AoE
Access over Ethernet: Insecurites in AoEAccess over Ethernet: Insecurites in AoE
Access over Ethernet: Insecurites in AoE
amiable_indian
 
Turning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platformTurning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platform
OpenStack_Online
 
virtual-tape-library.docx
virtual-tape-library.docxvirtual-tape-library.docx
virtual-tape-library.docx
ssuser1eca7d
 
Turning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platformTurning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platform
wim_provoost
 
Open vStorage Road show 2015 Q1
Open vStorage Road show 2015 Q1Open vStorage Road show 2015 Q1
Open vStorage Road show 2015 Q1
wim_provoost
 
Learning from ZFS to Scale Storage on and under Containers
Learning from ZFS to Scale Storage on and under ContainersLearning from ZFS to Scale Storage on and under Containers
Learning from ZFS to Scale Storage on and under Containers
inside-BigData.com
 
Accessing gluster ufo_-_eco_willson
Accessing gluster ufo_-_eco_willsonAccessing gluster ufo_-_eco_willson
Accessing gluster ufo_-_eco_willson
Gluster.org
 
How Prometheus Store the Data
How Prometheus Store the DataHow Prometheus Store the Data
How Prometheus Store the Data
Hao Chen
 
Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce
Ceph Community
 
Baylisa - Dive Into OpenStack
Baylisa - Dive Into OpenStackBaylisa - Dive Into OpenStack
Baylisa - Dive Into OpenStack
Jesse Andrews
 
Deploying Efficient OpenStack Clouds, Yaron Haviv
Deploying Efficient OpenStack Clouds, Yaron HavivDeploying Efficient OpenStack Clouds, Yaron Haviv
Deploying Efficient OpenStack Clouds, Yaron Haviv
Cloud Native Day Tel Aviv
 
3487570
34875703487570
Inside Microsoft Azure
Inside Microsoft AzureInside Microsoft Azure
Inside Microsoft Azure
Ernest Mueller
 
Road show 2015 triangle meetup
Road show 2015 triangle meetupRoad show 2015 triangle meetup
Road show 2015 triangle meetup
wim_provoost
 
Reusable, composable, battle-tested Terraform modules
Reusable, composable, battle-tested Terraform modulesReusable, composable, battle-tested Terraform modules
Reusable, composable, battle-tested Terraform modules
Yevgeniy Brikman
 
Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...
Jérôme Petazzoni
 
Swift Install Workshop - OpenStack Conference Spring 2012
Swift Install Workshop - OpenStack Conference Spring 2012Swift Install Workshop - OpenStack Conference Spring 2012
Swift Install Workshop - OpenStack Conference Spring 2012
Joe Arnold
 
How to Become Cloud Backup Provider
How to Become Cloud Backup ProviderHow to Become Cloud Backup Provider
How to Become Cloud Backup Provider
Cloudian
 
958 and 959 sales exam prep
958 and 959 sales exam prep958 and 959 sales exam prep
958 and 959 sales exam prep
Jason Wong
 
Squid proxy server
Squid proxy serverSquid proxy server
Squid proxy server
Green Jb
 

Similar to OSBConf 2015 | Using aws virtual tape library as storage for bacula bareos by alberto gimenéz (20)

Access over Ethernet: Insecurites in AoE
Access over Ethernet: Insecurites in AoEAccess over Ethernet: Insecurites in AoE
Access over Ethernet: Insecurites in AoE
 
Turning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platformTurning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platform
 
virtual-tape-library.docx
virtual-tape-library.docxvirtual-tape-library.docx
virtual-tape-library.docx
 
Turning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platformTurning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platform
 
Open vStorage Road show 2015 Q1
Open vStorage Road show 2015 Q1Open vStorage Road show 2015 Q1
Open vStorage Road show 2015 Q1
 
Learning from ZFS to Scale Storage on and under Containers
Learning from ZFS to Scale Storage on and under ContainersLearning from ZFS to Scale Storage on and under Containers
Learning from ZFS to Scale Storage on and under Containers
 
Accessing gluster ufo_-_eco_willson
Accessing gluster ufo_-_eco_willsonAccessing gluster ufo_-_eco_willson
Accessing gluster ufo_-_eco_willson
 
How Prometheus Store the Data
How Prometheus Store the DataHow Prometheus Store the Data
How Prometheus Store the Data
 
Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce
 
Baylisa - Dive Into OpenStack
Baylisa - Dive Into OpenStackBaylisa - Dive Into OpenStack
Baylisa - Dive Into OpenStack
 
Deploying Efficient OpenStack Clouds, Yaron Haviv
Deploying Efficient OpenStack Clouds, Yaron HavivDeploying Efficient OpenStack Clouds, Yaron Haviv
Deploying Efficient OpenStack Clouds, Yaron Haviv
 
3487570
34875703487570
3487570
 
Inside Microsoft Azure
Inside Microsoft AzureInside Microsoft Azure
Inside Microsoft Azure
 
Road show 2015 triangle meetup
Road show 2015 triangle meetupRoad show 2015 triangle meetup
Road show 2015 triangle meetup
 
Reusable, composable, battle-tested Terraform modules
Reusable, composable, battle-tested Terraform modulesReusable, composable, battle-tested Terraform modules
Reusable, composable, battle-tested Terraform modules
 
Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...
 
Swift Install Workshop - OpenStack Conference Spring 2012
Swift Install Workshop - OpenStack Conference Spring 2012Swift Install Workshop - OpenStack Conference Spring 2012
Swift Install Workshop - OpenStack Conference Spring 2012
 
How to Become Cloud Backup Provider
How to Become Cloud Backup ProviderHow to Become Cloud Backup Provider
How to Become Cloud Backup Provider
 
958 and 959 sales exam prep
958 and 959 sales exam prep958 and 959 sales exam prep
958 and 959 sales exam prep
 
Squid proxy server
Squid proxy serverSquid proxy server
Squid proxy server
 

Recently uploaded

What is Continuous Testing in DevOps - A Definitive Guide.pdf
What is Continuous Testing in DevOps - A Definitive Guide.pdfWhat is Continuous Testing in DevOps - A Definitive Guide.pdf
What is Continuous Testing in DevOps - A Definitive Guide.pdf
kalichargn70th171
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Paul Brebner
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
ervikas4
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
Zycus
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Going AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applicationsGoing AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applications
Alina Yurenko
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 
Penify - Let AI do the Documentation, you write the Code.
Penify - Let AI do the Documentation, you write the Code.Penify - Let AI do the Documentation, you write the Code.
Penify - Let AI do the Documentation, you write the Code.
KrishnaveniMohan1
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
Luigi Fugaro
 
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
kalichargn70th171
 
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
kalichargn70th171
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Peter Caitens
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
Tier1 app
 
Manyata Tech Park Bangalore_ Infrastructure, Facilities and More
Manyata Tech Park Bangalore_ Infrastructure, Facilities and MoreManyata Tech Park Bangalore_ Infrastructure, Facilities and More
Manyata Tech Park Bangalore_ Infrastructure, Facilities and More
narinav14
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 

Recently uploaded (20)

What is Continuous Testing in DevOps - A Definitive Guide.pdf
What is Continuous Testing in DevOps - A Definitive Guide.pdfWhat is Continuous Testing in DevOps - A Definitive Guide.pdf
What is Continuous Testing in DevOps - A Definitive Guide.pdf
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Going AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applicationsGoing AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applications
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 
Penify - Let AI do the Documentation, you write the Code.
Penify - Let AI do the Documentation, you write the Code.Penify - Let AI do the Documentation, you write the Code.
Penify - Let AI do the Documentation, you write the Code.
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
 
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
 
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
 
Manyata Tech Park Bangalore_ Infrastructure, Facilities and More
Manyata Tech Park Bangalore_ Infrastructure, Facilities and MoreManyata Tech Park Bangalore_ Infrastructure, Facilities and More
Manyata Tech Park Bangalore_ Infrastructure, Facilities and More
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 

OSBConf 2015 | Using aws virtual tape library as storage for bacula bareos by alberto gimenéz

  • 1. AWS Virtual Tape Library as storage for Bareos
  • 2. 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…
  • 3. The story behind the setup  Prehistoric Bacula version: 3.0
  • 4. The story behind the setup  Prehistoric Bacula version: 3.0 …after upgrading from 2.4.
  • 5. The story behind the setup  Prehistoric Bacula version: 3.0 …after upgrading from 2.4  Old Red Hat OS.
  • 6. The story behind the setup  Prehistoric Bacula version: 3.0 …after upgrading from 2.4  Old Red Hat OS.  4.0
  • 7. More history  Once a week full backup tapes were vaulted off-site
  • 8. More history  Once a week full backup tapes were vaulted off-site  Sometimes backups did not finish on time
  • 9. 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
  • 10. 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
  • 11. Even more history (last slide!)  We wanted to upgrade the backup service  Zero risks allowed and no service interruption
  • 12. 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
  • 13. 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
  • 14. What is AWS Storage Gateway-VTL?
  • 16. VTL appliance  iSCSI devices exposed:  1 media changer  10 tape drives  1600 slots, 1600 import/export slots  I/E slots for archival/retrieval
  • 17. 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
  • 18. 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)
  • 19. 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
  • 21. 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
  • 23. 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
  • 24. 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
  • 26.
  • 27. Let me talk you about…  One of the cloud best-practices
  • 29. Let me talk you about…  One of the cloud best-practices  Embrace the constraints  Why do we love tapes?
  • 30. 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
  • 31.
  • 32. 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?
  • 33. 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)
  • 34. Bareos server setup  Instal iscsi initiator tools (open-iscsi in Debian)  Discover the targets iscsiadm --mode discovery --type sendtargets --portal GATEWAY_IP:3260
  • 35. Bareos server setup Login to each one of the targets  Increase iSCSI timeouts (VTL is uploading via Internet!) iscsiadm --mode node --targetname iqn.1997-05.com.amazon:sgw-852ecaec-tapedrive-01 --portal GATEWAY_IP:3260,1 --login
  • 36. 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
  • 37. Media changer: mtx shot first  Nice /dev/sch0 iSCSI changer device file  mtx won’t support it  From the man: “Control SCSI media changer devices” /dev/sch0 is not an sg device, or old sg driver
  • 38. 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
  • 39. 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?
  • 40. Media changer: Linux shot next  Modern kernels detect dynamically connected devices  Device numbers are assigned at boot time
  • 41. 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?
  • 42. 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
  • 43. Udev rules to the rescue!  Magic spell to assign always a known name to the changer  Save the spell in /etc/udev/rules.d/80-vtl-autochanger.rules  Use /dev/autochanger in Bareos config SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="8", IMPORT{program}="scsi_id --sg-version=3 --export --whitelisted –d $devnode", SYMLINK+="autochanger"
  • 44. What about tape drives?  Default udev rules are OK
  • 45. 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
  • 46. 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 }
  • 47. 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" }
  • 48. Bareos configuration: Director Storage { Name = VTL # Do not use "localhost" here Address = ip-10-4-8-76 # YES, I CHEATED! Password = "DummyPassword" Device = "VTL-autochanger" Media Type = ULT3580-TD5 }
  • 49. 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
  • 50. 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
  • 52. Barcelona Plaça de Catalunya, 1 08002 - Barcelona Madrid Cerro de los Gamos, 1 28224 – Pozuelo de Alarcón www.capside.com hello@capside.com linkedin.com/company/capside @capside Thank you!