Cross-cell Volume Sync with CellCC Andrew Deason June 2019 OpenAFS - - PowerPoint PPT Presentation

cross cell volume sync with cellcc
SMART_READER_LITE
LIVE PREVIEW

Cross-cell Volume Sync with CellCC Andrew Deason June 2019 OpenAFS - - PowerPoint PPT Presentation

Cross-cell Volume Sync with CellCC Andrew Deason June 2019 OpenAFS Workshop 2019 1 The Problem AFS environment, multiple regions Continents Buildings 13 sites Regions not isolated Cross-region releases/access is


slide-1
SLIDE 1

Cross-cell Volume Sync with CellCC

Andrew Deason June 2019

OpenAFS Workshop 2019 1

slide-2
SLIDE 2

The Problem

  • AFS environment, multiple regions
  • Continents
  • Buildings
  • 13 sites
  • Regions not isolated
  • Cross-region releases/access is slow

2

slide-3
SLIDE 3

Rename Volumes

  • app.gcc gets copies: app.gcc.na, app.gcc.eu
  • /app → /afs/cell/na, /afs/cell/eu
  • Need to modify mountpoints
  • dbservers unchanged

3

slide-4
SLIDE 4

Split-horizon VLDB

  • Client 1: volume is on servers A, B, C
  • Client 2: volume is on servers X, Y, Z
  • Requires significant new code, possibly confusing
  • How do you define regions?
  • dbservers unchanged

4

slide-5
SLIDE 5

Multiple Cells

  • Release volume in master cell, then to other cells
  • Unlimited sites
  • Regions isolated
  • Fits existing tools/models

5

slide-6
SLIDE 6

CellCC

  • Perl, MySQL, remctl
  • Idempotent retriable discrete steps
  • dump, xfer, restore, release, etc
  • Distributed: pieces on source and destination
  • Deployed in production
  • Not lifecycle management

6

slide-7
SLIDE 7

CellCC Pieces

  • cellcc start-sync src.example.com vol.name
  • cellcc dump-server {src,dst1,dst2}.example.com
  • src → dst1, src → dst2
  • cellcc restore-server dst1.example.com
  • cellcc check-server

7

slide-8
SLIDE 8

Controlling Volumes

  • Queues
  • Parallelism
  • vos flags
  • volume-filter hook

8

slide-9
SLIDE 9

Progress Reporting

9

slide-10
SLIDE 10

Error Reporting

10

slide-11
SLIDE 11

Extending vos release

  • AFSVolForward to other cells?
  • localauth keys
  • Cross-cell admin would be new
  • vos release is complex

11

slide-12
SLIDE 12

Code

CellCC https://github.com/openafs-contrib/cellcc Slides http://dson.org/talks

12

slide-13
SLIDE 13

?

12