How to backup Ceph at scale
FOSDEM, Brussels, 2018.02.04
How to backup Ceph at scale FOSDEM, Brussels, 2018.02.04 About me - - PowerPoint PPT Presentation
How to backup Ceph at scale FOSDEM, Brussels, 2018.02.04 About me Bartomiej wicki OVH Wrocaw, PL Current job: More Ceph awesomeness Speedlight Ceph intro Open-source Network storage Scalable Reliable
FOSDEM, Brussels, 2018.02.04
OVH Wrocław, PL
Current job:
More Ceph awesomeness
failures
SWIFT
that time
already used at OVH
(i.e. Restic)
and deduplication – 30%
services – PCA (swift)
computing resources with OVH Cloud
For daily backup:
CEPH Cluster RBD Image (snapshot) Backup VM PCA Swift Docker Container Duplicity
image locally need temporary storage
MB due to librsync limits – rbd image split into files of up to 256MB size
(large >= 500GB): not enough local storage, timeouts, interruptions – split image into 25GB chunks and backup separately
CEPH Cluster RBD Image (snapshot) Backup VM PCA Swift Docker Container Duplicity Local SSD 256 MB 256 MB 256 MB 256 MB Chunk 25GB
FUSE
image
files
be done in memory
possible
simultaneous backups
– Global limit imposed by our compute resources – Limits per cluster – Limits per backup VM – No simultaneous backups of
semaphores stored in zookeeper
with frequently changing data
workers – memory leaks, ulimit, ping timeouts, rare bugs
network interfaces, local storage not removed
restore backup (restore 4x slower than backup)
copy of data
advantage
hot-swap replacement
architecture
before – cold backup
Source CEPH Cluster RBD Image (snapshot) Backup Container Backup CEPH Cluster RBD Image Chunk 25GB
than 24h
power needed
hours / days
3350 4776 33432 5000 10000 15000 20000 25000 30000 35000 40000 Weekly backups
WEEKLY BACKUPS
Duplicity Swift Ceph on Ceph Ceph on Ceph with diff
http://alphastockimages.com/ https://www.flickr.com/photos/soldiersmediacenter/4473414070 https://commons.wikimedia.org/wiki/File:Open_Floodgates_- _Beaver_Lake_Dam_-_Northwest_Arkansas,_U.S._-_21_May_2011.jpg https://commons.wikimedia.org/wiki/File:Hot_Cold_mug.jpg