Architecture be lost and the file cannot be recovered.

Architecture

Volume

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

A GlusterFS
volume is composed by nodes (servers). Each node contains several local
filesystems, called storage bricks. Bricks are usually identified by
node:/brick-name notation.

Types of volume

Based on
the requirement of the user, GlusterFS supports different types of volumes:

·        
Distributed:
is the default volume option. The files are distributed across the bricks of
the volume. A single file is stored entirely on a brick. This option ensures
the volume to be easily scaled but doesn’t support data redundancy. A failure will
lead to the loss of data.

·        
Replicated:
this option ensures data redundancy and reliability, thus if one brick fails
data can be still accessed. The copies of files are maintained on all bricks.
The user decides the number of replicas, for example to create a volume with 2
replicas we need at least two bricks.

·        
Distributed
and replicated: it’s a combination of the previous options. The data are
distributed across the bricks of the volume and for each brick there is at least
one replicated brick of it. This option ensures data redundancy and
scalability.

·        
Striped:
large files are divided in chunks and spread in different bricks. This
technique reduces the high amount of work for a single brick. In case of
failure of a brick, the chunk will be lost and the file cannot be recovered.

·        
Distributed
and striped: the files are spread across the bricks and are divided into
chunks.

 

Translators

GlusterFS translators
turn user commands into storage commands understandable by the system. It can
modify, intercept, clock or spawn new requests.

Types of Translators

·        
Storage:
loads and stores data from local file system

·        
Debug:
provides interfaces and statistics for errors and debugging

·        
Cluster:
handles distribution and replication of data

·        
Encryption:
provides encryption/decryption of stored data

·        
Protocol:
handles client/server communication protocols

·        
Performance:
provides tuning options to adjust for workload and I/O profiles

·        
Bindings:
provides tools to add extensibility

·        
System:
provides interfaces with file system access control

·        
Scheduler:
provides schedulers for I/O operation

·        
Features:
adds additional features such as quotas, filters, locks

The
translators can be divided into categories:

·        
Cluster
Translators: include DHT (Distributed Hash Table) and AFR (Automatic File
Replication)

·        
Performance
Translators: include io-cache, io-threads, md-cache, O-B (open behind), QR
(quick read), r-a (read-ahead), w-b (write-behind)

·        
Feature
Translators: include changelog, locks, marker, quota

·        
Debug
Translators: include trace, io-stat.

 

Distributed Hash Table
Translator

GlusterFS ensures
capacity and performance across nodes in a volume through the implementation of
DHT. DHT is a routing function, it precisely places a file in a brick, unlike
either replication (which places copies on all its brick) or striping (which
places chunks onto all its bricks).

 

Geo-Replication

GlusterFS
provides Geo-replication, that ensures replication of data across
geographically distinct locations. It usually works across WAN and is used to
replicate asynchronously an entire volume, using a master-slave model. Replication
occurs between master (GlusterFS volume) and slave (either a GlusterFS volume
or a local directory).This is useful for backup of data in case of failures.

 

References:

http://docs.gluster.org/en/latest/Quick-Start-Guide/Architecture/

BACK TO TOP
x

Hi!
I'm Rhonda!

Would you like to get a custom essay? How about receiving a customized one?

Check it out