Академический Документы
Профессиональный Документы
Культура Документы
Funded under: FP7 (Seventh Framework Programme) Area: Internet of Services, Software & virtualization (ICT-2009.1.2) Project reference: 257438
Replication in XtreemFS
Read-Only File Replication Read/Write File Replication Custom Replica Placement and Selection Metadata Replication
Features
Distributed File System
POSIX compatible
Replication X.509 Certificates and SSL Support
Software
Open source: www.xtreemfs.org
Client software (C++) runs on Linux & OS X (Fuse), Windows (Dokan) Server software (Java)
4
Metadata Throughput
limited by MRC hardware
Replica Types:
1.
2.
Full replicas
complete copy, fills itself as fast as possible Initially empty on-demand fetching of missing objects Partial replicas
Leases
grants access to a resource (here: primary role) for a predefined period of time Failover after timeout possible Assumption: loosely synchronized clocks max drift
9
10
11
2. Data Dissemination
12
13
Flease
Failure tolerant: majority-based Scalable: lease per file
Experiment:
Zookeeper: 3 servers
14
b) Read
Read/Write Replication: Summary High up-front costs (for first access to inactive file)
3+ round-trips 2 for Flease (lease acquisition) 1 for Replica Reset + further when fetching missing objects
Works at file-level: scales with # OSDs and # files Flease: no I/O to stable storage for crash-recovery needed
16
17
18
Loosen consistency
allow stale reads
19
XtreemFS Use Cases Storage of VM images for IaaS solutions (OpenNebula, ...)
20
21
Problems
1. cloning time-consuming
2. waste of space 3. increasing total boot time when starting multiple VMs e.g., ConPaaS image
22
23
Setup
Frontend
MRC
OSD (has the ConPaaS VM image) Each worker node OSD XtreemFS Fuse client OpenNebula node Replica Placement + Replica Selection: prefer local OSD/replica
24
17.5 seconds
19.5 seconds
25
Fault Tolerance
Optimize Storage Cost Erasure Codes
Self-* Client Cache less POSIX: replace MRC with a scalable service
26
Funded under: FP7 (Seventh Framework Programme) Area: Internet of Services, Software & virtualization (ICT-2009.1.2) Project reference: 257438 Total cost: 11,29 million euro EU contribution: 8,3 million euro Execution: From 2010-10-01 till 2013-09-30 Duration: 36 months Contract type: Collaborative project (generic)
27