SlideShare a Scribd company logo
1 of 27
GlusterFS Overview
Cody Hill
Lead Systems Engineer
Platform9
http://platform9.com / @Platform9Sys
Redundancy Considerations
• How many failures can you
tolerate?
• Do you want redundancy during
maintenance windows?
• How do you prevent split-brain
issues?
• How much disk space are you
willing to give up for data
redundancy?
2
Preventing Split-Brain
Preventing split-brain is pretty simple,
but it can be expensive.
Ensure there is always a quorum at all
times. Meaning double parity.
Replication
Storage replication is a service in
which stored data is duplicated in real
time to another device.
http://platform9.com / @Platform9Sys
Replication
• The creation for data copies across different locations of the
storage system
 Typically 2 or 3 copies, configurable based on accepted risk level
 If a drive fails, data is recreated on another drive from replica(s)
• Pros
• Less CPU intensive = faster write performance
• Simple restore = faster rebuild performance
• Cons
 Requires 2x or more of the original storage space
http://platform9.com / @Platform9Sys
Disk Layout
Gluster01
Gluster05
Gluster02
Gluster06
Gluster03
Gluster04
Total Disks: 36
- Redundant Disks: 24_
= Data Disks: 12
Usable Capacity: 33%
http://platform9.com / @Platform9Sys
Commands:
Create Volume
# gluster volume create pf9 replica 3 transport tcp 
gluster01:/bricks/brick1/brick gluster02:/bricks/brick1/brick gluster03:/bricks/brick1/brick 
gluster04:/bricks/brick1/brick gluster05:/bricks/brick1/brick gluster06:/bricks/brick1/brick 
gluster01:/bricks/brick2/brick gluster02:/bricks/brick2/brick gluster03:/bricks/brick2/brick 
gluster04:/bricks/brick2/brick gluster05:/bricks/brick2/brick gluster06:/bricks/brick2/brick 
gluster01:/bricks/brick3/brick gluster02:/bricks/brick3/brick gluster03:/bricks/brick3/brick 
gluster04:/bricks/brick3/brick gluster05:/bricks/brick3/brick gluster06:/bricks/brick3/brick 
gluster01:/bricks/brick4/brick gluster02:/bricks/brick4/brick gluster03:/bricks/brick4/brick 
gluster04:/bricks/brick4/brick gluster05:/bricks/brick4/brick gluster06:/bricks/brick4/brick 
gluster01:/bricks/brick5/brick gluster02:/bricks/brick5/brick gluster03:/bricks/brick5/brick 
gluster04:/bricks/brick5/brick gluster05:/bricks/brick5/brick gluster06:/bricks/brick5/brick 
gluster01:/bricks/brick6/brick gluster02:/bricks/brick6/brick gluster03:/bricks/brick6/brick 
gluster04:/bricks/brick6/brick gluster05:/bricks/brick6/brick gluster06:/bricks/brick6/brick
http://platform9.com / @Platform9Sys
Adding Nodes
Gluster01
Gluster05
Gluster02
Gluster06
Gluster03
Gluster04
Total Disks: 42
- Unused Disks: 6
- Redundant Disks: 24_
= Data Disks: 12
Usable Capacity: 28%
Gluster07
http://platform9.com / @Platform9Sys
Relocating Bricks
Gluster01
Gluster05
Gluster02
Gluster06
Gluster03
Gluster04
Total Disks: 42
- Unused Disks: 6
- Redundant Disks: 24_
= Data Disks: 12
Usable Capacity: 28%
Gluster07
http://platform9.com / @Platform9Sys
Expand Volume
Gluster01
Gluster05
Gluster02
Gluster06
Gluster03
Gluster04
Total Disks: 42
- Redundant Disks: 28_
= Data Disks: 14
Usable Capacity: 33%
Gluster07
http://platform9.com / @Platform9Sys
Commands:
Add node
# gluster peer probe gluster07
Relocate bricks (Redundancy is degraded until this completes)
# gluster volume replace-brick pf9 gluster03:/bricks/brick1/brick gluster07:/bricks/brick1/brick commit force
# gluster volume replace-brick pf9 gluster04:/bricks/brick2/brick gluster07:/bricks/brick2/brick commit force
# gluster volume replace-brick pf9 gluster05:/bricks/brick3/brick gluster07:/bricks/brick3/brick commit force
# gluster volume replace-brick pf9 gluster06:/bricks/brick4/brick gluster07:/bricks/brick4/brick commit force
Clean up old bricks
gluster03:# rm -rf /bricks/brick1/brick
gluster03:# mkdir –p /bricks/brick1/brick
gluster04:# rm -rf /bricks/brick2/brick
gluster04:# mkdir –p /bricks/brick2/brick
gluster05:# rm -rf /bricks/brick3/brick
gluster05:# mkdir –p /bricks/brick3/brick
gluster06:# rm -rf /bricks/brick4/brick
gluster06:# mkdir –p /bricks/brick4/brick
Add new bricks
# gluster volume add-brick pf9 replica 3 gluster03:/bricks/brick1/brick gluster04:/bricks/brick2/brick gluster07:/bricks/brick5/brick
# gluster volume add-brick pf9 replica 3 gluster05:/bricks/brick3/brick gluster06:/bricks/brick4/brick gluster07:/bricks/brick6/brick
Rebalance volume
# gluster volume rebalance pf9 start
Erasure Coding
Erasure coding is a method of data
protection in which data is broken into
fragments, expanded and encoded
with redundant data pieces and stored
across a set of different locations or
storage media.
http://platform9.com / @Platform9Sys
Erasure Coding
• A parity based protection technique
 Data is broken into fragments and encoded
 Data is stored across multiple different locations with a configurable
number of redundant pieces
• Pros
• Consumes less storage than replication – good for cheap/deep
• Allows for the failure of two or more elements of the storage system
• Cons
 Parity calculation is CPU-intensive
 Increased latency can slow production writes and rebuilds
http://platform9.com / @Platform9Sys
Disk Layout
Gluster01
Gluster05
Gluster02
Gluster06
Gluster03
Gluster04
Total Disks: 36
- Parity Disks: 12_
= Data Disks: 24
Usable Capacity: 67%
http://platform9.com / @Platform9Sys
Commands:
Create Volume
# gluster volume create pf9 disperse-data 4 redundancy 2 transport tcp 
gluster01:/bricks/brick1/brick gluster02:/bricks/brick1/brick gluster03:/bricks/brick1/brick 
gluster04:/bricks/brick1/brick gluster05:/bricks/brick1/brick gluster06:/bricks/brick1/brick 
gluster02:/bricks/brick2/brick gluster03:/bricks/brick2/brick gluster04:/bricks/brick2/brick 
gluster05:/bricks/brick2/brick gluster06:/bricks/brick2/brick gluster01:/bricks/brick2/brick 
gluster03:/bricks/brick3/brick gluster04:/bricks/brick3/brick gluster05:/bricks/brick3/brick 
gluster06:/bricks/brick3/brick gluster01:/bricks/brick3/brick gluster02:/bricks/brick3/brick 
gluster04:/bricks/brick4/brick gluster05:/bricks/brick4/brick gluster06:/bricks/brick4/brick 
gluster01:/bricks/brick4/brick gluster02:/bricks/brick4/brick gluster03:/bricks/brick4/brick 
gluster05:/bricks/brick5/brick gluster06:/bricks/brick5/brick gluster01:/bricks/brick5/brick 
gluster02:/bricks/brick5/brick gluster03:/bricks/brick5/brick gluster04:/bricks/brick5/brick 
gluster06:/bricks/brick6/brick gluster01:/bricks/brick6/brick gluster02:/bricks/brick6/brick 
gluster03:/bricks/brick6/brick gluster04:/bricks/brick6/brick gluster05:/bricks/brick6/brick
http://platform9.com / @Platform9Sys
Adding Nodes
Total Disks: 42
- Unused Disks: 6
- Parity Disks: 12_
= Data Disks: 24
Usable Capacity: 57%
Gluster07
Gluster01
Gluster05
Gluster02
Gluster06
Gluster03
Gluster04
http://platform9.com / @Platform9Sys
Relocating Bricks
Total Disks: 42
- Unused Disks: 6
- Parity Disks: 12_
= Data Disks: 24
Usable Capacity: 57%
Gluster07
Gluster01
Gluster05
Gluster02
Gluster06
Gluster03
Gluster04
http://platform9.com / @Platform9Sys
Growing Volume
Total Disks: 42
- Parity Disks: 14_
= Data Disks: 28
Usable Capacity: 67%
Gluster07
Gluster01
Gluster05
Gluster02
Gluster06
Gluster03
Gluster04
http://platform9.com / @Platform9Sys
Commands:
Add node
# gluster peer probe gluster07
Relocate bricks (Redundancy is degraded until this completes)
# gluster volume replace-brick pf9 gluster01:/bricks/brick1/brick gluster07:/bricks/brick1/brick commit force
# gluster volume replace-brick pf9 gluster02:/bricks/brick2/brick gluster07:/bricks/brick2/brick commit force
# gluster volume replace-brick pf9 gluster03:/bricks/brick3/brick gluster07:/bricks/brick3/brick commit force
# gluster volume replace-brick pf9 gluster04:/bricks/brick5/brick gluster07:/bricks/brick5/brick commit force
# gluster volume replace-brick pf9 gluster06:/bricks/brick6/brick gluster07:/bricks/brick6/brick commit force
Clean up old bricks
gluster01:# rm -rf /bricks/brick1/brick
gluster01:# mkdir –p /bricks/brick1/brick
gluster02:# rm -rf /bricks/brick2/brick
gluster02:# mkdir –p /bricks/brick2/brick
gluster03:# rm -rf /bricks/brick3/brick
gluster03:# mkdir –p /bricks/brick3/brick
gluster04:# rm -rf /bricks/brick5/brick
gluster04:# mkdir –p /bricks/brick5/brick
gluster06:# rm -rf /bricks/brick6/brick
gluster06:# mkdir –p /bricks/brick6/brick
Add new bricks
# gluster volume add-brick pf9 disperse-data 4 redundancy 2 
gluster01:/bricks/brick1/brick gluster02:/bricks/brick2/brick gluster03:/bricks/brick3/brick 
gluster04:/bricks/brick5/brick gluster06:/bricks/brick6/brick gluster07:/bricks/brick4/brick
Rebalance volume
# gluster volume rebalance pf9 start
Striping
Disk striping is the process of dividing a
body of data into blocks and spreading
the data blocks across multiple storage
devices, such as hard disks or solid-
state drives (SSDs). A stripe consists of
the data divided across the set of hard
disks or SSDs, and a striped unit, or
strip, that refers to the data slice on an
individual drive.
Great…But how do
I know it’s healthy?!
Monitoring
http://platform9.com / @Platform9Sys
Things to monitor
• Hosts are online
• GlusterFS services are online
• Blocks are online
• Volumes are online
• Volumes aren’t degraded
• Remote connectivity
• Host’s CPU
• Host’s RAM
• Network IO
• Disk IO
• Block’s remaining capacity
• Volume’s remaining capacity
27

More Related Content

What's hot

PostgreSQL + ZFS best practices
PostgreSQL + ZFS best practicesPostgreSQL + ZFS best practices
PostgreSQL + ZFS best practicesSean Chittenden
 
Scaling IO-bound microservices
Scaling IO-bound microservicesScaling IO-bound microservices
Scaling IO-bound microservicesSalo Shp
 
What every data programmer needs to know about disks
What every data programmer needs to know about disksWhat every data programmer needs to know about disks
What every data programmer needs to know about disksiammutex
 
Keith Paskett - Postgres on ZFS @ Postgres Open
Keith Paskett - Postgres on ZFS @ Postgres OpenKeith Paskett - Postgres on ZFS @ Postgres Open
Keith Paskett - Postgres on ZFS @ Postgres OpenPostgresOpen
 
InfluxDB IOx Tech Talks: The Impossible Dream: Easy-to-Use, Super Fast Softw...
InfluxDB IOx Tech Talks: The Impossible Dream:  Easy-to-Use, Super Fast Softw...InfluxDB IOx Tech Talks: The Impossible Dream:  Easy-to-Use, Super Fast Softw...
InfluxDB IOx Tech Talks: The Impossible Dream: Easy-to-Use, Super Fast Softw...InfluxData
 
LISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceLISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceBrendan Gregg
 
X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 newX64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 newYiwei Ma
 
FreeBSD Unified Configuration
FreeBSD Unified ConfigurationFreeBSD Unified Configuration
FreeBSD Unified ConfigurationAndrew Pantyukhin
 
Native Clients, more the merrier with GFProxy!
Native Clients, more the merrier with GFProxy!Native Clients, more the merrier with GFProxy!
Native Clients, more the merrier with GFProxy!Gluster.org
 
XPDS14 - Scaling Xen's Aggregate Storage Performance - Felipe Franciosi, Citrix
XPDS14 - Scaling Xen's Aggregate Storage Performance - Felipe Franciosi, CitrixXPDS14 - Scaling Xen's Aggregate Storage Performance - Felipe Franciosi, Citrix
XPDS14 - Scaling Xen's Aggregate Storage Performance - Felipe Franciosi, CitrixThe Linux Foundation
 

What's hot (11)

PostgreSQL + ZFS best practices
PostgreSQL + ZFS best practicesPostgreSQL + ZFS best practices
PostgreSQL + ZFS best practices
 
Scaling IO-bound microservices
Scaling IO-bound microservicesScaling IO-bound microservices
Scaling IO-bound microservices
 
What every data programmer needs to know about disks
What every data programmer needs to know about disksWhat every data programmer needs to know about disks
What every data programmer needs to know about disks
 
Keith Paskett - Postgres on ZFS @ Postgres Open
Keith Paskett - Postgres on ZFS @ Postgres OpenKeith Paskett - Postgres on ZFS @ Postgres Open
Keith Paskett - Postgres on ZFS @ Postgres Open
 
InfluxDB IOx Tech Talks: The Impossible Dream: Easy-to-Use, Super Fast Softw...
InfluxDB IOx Tech Talks: The Impossible Dream:  Easy-to-Use, Super Fast Softw...InfluxDB IOx Tech Talks: The Impossible Dream:  Easy-to-Use, Super Fast Softw...
InfluxDB IOx Tech Talks: The Impossible Dream: Easy-to-Use, Super Fast Softw...
 
LISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceLISA2019 Linux Systems Performance
LISA2019 Linux Systems Performance
 
X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 newX64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new
 
FreeBSD Unified Configuration
FreeBSD Unified ConfigurationFreeBSD Unified Configuration
FreeBSD Unified Configuration
 
Native Clients, more the merrier with GFProxy!
Native Clients, more the merrier with GFProxy!Native Clients, more the merrier with GFProxy!
Native Clients, more the merrier with GFProxy!
 
XPDS14 - Scaling Xen's Aggregate Storage Performance - Felipe Franciosi, Citrix
XPDS14 - Scaling Xen's Aggregate Storage Performance - Felipe Franciosi, CitrixXPDS14 - Scaling Xen's Aggregate Storage Performance - Felipe Franciosi, Citrix
XPDS14 - Scaling Xen's Aggregate Storage Performance - Felipe Franciosi, Citrix
 
email delivery
email deliveryemail delivery
email delivery
 

Viewers also liked

(EOR/MEOR/BERO/oil recovery) Application of bero™ biosurfactant in yanchang o...
(EOR/MEOR/BERO/oil recovery) Application of bero™ biosurfactant in yanchang o...(EOR/MEOR/BERO/oil recovery) Application of bero™ biosurfactant in yanchang o...
(EOR/MEOR/BERO/oil recovery) Application of bero™ biosurfactant in yanchang o...Jany Li
 
Big Data analyse AZ
Big Data analyse AZBig Data analyse AZ
Big Data analyse AZKees Verver
 
African Kingdoms
African KingdomsAfrican Kingdoms
African Kingdomsjauntingjen
 
Learn how to add Native Google +1 button in Android Application
Learn how to add Native Google +1 button in Android ApplicationLearn how to add Native Google +1 button in Android Application
Learn how to add Native Google +1 button in Android ApplicationVidhi_Khatri
 
Power point for course
Power point for coursePower point for course
Power point for courseTrottie
 
Ensayo sobre el aprendizaje
Ensayo sobre el aprendizajeEnsayo sobre el aprendizaje
Ensayo sobre el aprendizajeControl_Heriedan
 
Alcohol related liver disease: prevention and prediction by Professor Nick Sh...
Alcohol related liver disease: prevention and prediction by Professor Nick Sh...Alcohol related liver disease: prevention and prediction by Professor Nick Sh...
Alcohol related liver disease: prevention and prediction by Professor Nick Sh...Health Innovation Wessex
 
Bournemouth University and the Dementia Institute (BUDI)
Bournemouth University and the Dementia Institute (BUDI)Bournemouth University and the Dementia Institute (BUDI)
Bournemouth University and the Dementia Institute (BUDI)Health Innovation Wessex
 
Best music videos of all time
Best music videos of all timeBest music videos of all time
Best music videos of all timebobbysalt
 
Video production in dubai
Video production in dubaiVideo production in dubai
Video production in dubaifeelproductions
 
Jmp company profile
Jmp company profileJmp company profile
Jmp company profileYogi JMP
 
Μαρία_Δημητρίου_1045920_Κωνσταντίνος_Μητρόπουλος_1049255
Μαρία_Δημητρίου_1045920_Κωνσταντίνος_Μητρόπουλος_1049255Μαρία_Δημητρίου_1045920_Κωνσταντίνος_Μητρόπουλος_1049255
Μαρία_Δημητρίου_1045920_Κωνσταντίνος_Μητρόπουλος_1049255KwnstantinosMitropoulos
 
FlexDealer Automotive Digital Marketing Agency Presentation
FlexDealer Automotive Digital Marketing Agency PresentationFlexDealer Automotive Digital Marketing Agency Presentation
FlexDealer Automotive Digital Marketing Agency PresentationJason Prud'homme
 

Viewers also liked (17)

Gluster Data Tiering
Gluster Data TieringGluster Data Tiering
Gluster Data Tiering
 
(EOR/MEOR/BERO/oil recovery) Application of bero™ biosurfactant in yanchang o...
(EOR/MEOR/BERO/oil recovery) Application of bero™ biosurfactant in yanchang o...(EOR/MEOR/BERO/oil recovery) Application of bero™ biosurfactant in yanchang o...
(EOR/MEOR/BERO/oil recovery) Application of bero™ biosurfactant in yanchang o...
 
Big Data analyse AZ
Big Data analyse AZBig Data analyse AZ
Big Data analyse AZ
 
African Kingdoms
African KingdomsAfrican Kingdoms
African Kingdoms
 
Learn how to add Native Google +1 button in Android Application
Learn how to add Native Google +1 button in Android ApplicationLearn how to add Native Google +1 button in Android Application
Learn how to add Native Google +1 button in Android Application
 
vol7
vol7vol7
vol7
 
Power point for course
Power point for coursePower point for course
Power point for course
 
Ensayo sobre el aprendizaje
Ensayo sobre el aprendizajeEnsayo sobre el aprendizaje
Ensayo sobre el aprendizaje
 
Alcohol related liver disease: prevention and prediction by Professor Nick Sh...
Alcohol related liver disease: prevention and prediction by Professor Nick Sh...Alcohol related liver disease: prevention and prediction by Professor Nick Sh...
Alcohol related liver disease: prevention and prediction by Professor Nick Sh...
 
Bournemouth University and the Dementia Institute (BUDI)
Bournemouth University and the Dementia Institute (BUDI)Bournemouth University and the Dementia Institute (BUDI)
Bournemouth University and the Dementia Institute (BUDI)
 
Best music videos of all time
Best music videos of all timeBest music videos of all time
Best music videos of all time
 
Video production in dubai
Video production in dubaiVideo production in dubai
Video production in dubai
 
Procesador de texto (1)
Procesador de texto (1)Procesador de texto (1)
Procesador de texto (1)
 
Jmp company profile
Jmp company profileJmp company profile
Jmp company profile
 
Balancing in yoga
Balancing in yogaBalancing in yoga
Balancing in yoga
 
Μαρία_Δημητρίου_1045920_Κωνσταντίνος_Μητρόπουλος_1049255
Μαρία_Δημητρίου_1045920_Κωνσταντίνος_Μητρόπουλος_1049255Μαρία_Δημητρίου_1045920_Κωνσταντίνος_Μητρόπουλος_1049255
Μαρία_Δημητρίου_1045920_Κωνσταντίνος_Μητρόπουλος_1049255
 
FlexDealer Automotive Digital Marketing Agency Presentation
FlexDealer Automotive Digital Marketing Agency PresentationFlexDealer Automotive Digital Marketing Agency Presentation
FlexDealer Automotive Digital Marketing Agency Presentation
 

Similar to GlusterFS Basics for OpenStack

Lisa 2015-gluster fs-hands-on
Lisa 2015-gluster fs-hands-onLisa 2015-gluster fs-hands-on
Lisa 2015-gluster fs-hands-onGluster.org
 
Gluster fs for_storage_admins_glusterfs_meetup_07_feb
Gluster fs for_storage_admins_glusterfs_meetup_07_febGluster fs for_storage_admins_glusterfs_meetup_07_feb
Gluster fs for_storage_admins_glusterfs_meetup_07_febbipin kunal
 
Arbiter volumes in gluster
Arbiter volumes in glusterArbiter volumes in gluster
Arbiter volumes in glusteritisravi
 
Gluster Storage
Gluster StorageGluster Storage
Gluster StorageRaz Tamir
 
XPDS13: Xen and XenServer Storage Performance - Felipe Franciosi, Citrix
XPDS13: Xen and XenServer Storage Performance - Felipe Franciosi, CitrixXPDS13: Xen and XenServer Storage Performance - Felipe Franciosi, Citrix
XPDS13: Xen and XenServer Storage Performance - Felipe Franciosi, CitrixThe Linux Foundation
 
Gluster intro-tdose
Gluster intro-tdoseGluster intro-tdose
Gluster intro-tdoseGluster.org
 
Gluster intro-tdose
Gluster intro-tdoseGluster intro-tdose
Gluster intro-tdoseGluster.org
 
Gluster: a SWOT Analysis
Gluster: a SWOT Analysis Gluster: a SWOT Analysis
Gluster: a SWOT Analysis Gluster.org
 
Software defined storage
Software defined storageSoftware defined storage
Software defined storageGluster.org
 
Comparison of-foss-distributed-storage
Comparison of-foss-distributed-storageComparison of-foss-distributed-storage
Comparison of-foss-distributed-storageMarian Marinov
 
Comparison of foss distributed storage
Comparison of foss distributed storageComparison of foss distributed storage
Comparison of foss distributed storageMarian Marinov
 
Hands On Gluster with Jeff Darcy
Hands On Gluster with Jeff DarcyHands On Gluster with Jeff Darcy
Hands On Gluster with Jeff DarcyGluster.org
 
Gluster fs architecture_&_roadmap-vijay_bellur-linuxcon_eu_2013
Gluster fs architecture_&_roadmap-vijay_bellur-linuxcon_eu_2013Gluster fs architecture_&_roadmap-vijay_bellur-linuxcon_eu_2013
Gluster fs architecture_&_roadmap-vijay_bellur-linuxcon_eu_2013Gluster.org
 
Mirroring the root_disk under solaris SVM
Mirroring the root_disk under solaris SVMMirroring the root_disk under solaris SVM
Mirroring the root_disk under solaris SVMKazimal Abed Mohammed
 
Gluster fs hadoop_fifth-elephant
Gluster fs hadoop_fifth-elephantGluster fs hadoop_fifth-elephant
Gluster fs hadoop_fifth-elephantGluster.org
 
Scale out backups-with_bareos_and_gluster
Scale out backups-with_bareos_and_glusterScale out backups-with_bareos_and_gluster
Scale out backups-with_bareos_and_glusterGluster.org
 
Scale out backups-with_bareos_and_gluster
Scale out backups-with_bareos_and_glusterScale out backups-with_bareos_and_gluster
Scale out backups-with_bareos_and_glusterGluster.org
 

Similar to GlusterFS Basics for OpenStack (20)

Lisa 2015-gluster fs-hands-on
Lisa 2015-gluster fs-hands-onLisa 2015-gluster fs-hands-on
Lisa 2015-gluster fs-hands-on
 
Gluster fs for_storage_admins_glusterfs_meetup_07_feb
Gluster fs for_storage_admins_glusterfs_meetup_07_febGluster fs for_storage_admins_glusterfs_meetup_07_feb
Gluster fs for_storage_admins_glusterfs_meetup_07_feb
 
Arbiter volumes in gluster
Arbiter volumes in glusterArbiter volumes in gluster
Arbiter volumes in gluster
 
Gluster Storage
Gluster StorageGluster Storage
Gluster Storage
 
XPDS13: Xen and XenServer Storage Performance - Felipe Franciosi, Citrix
XPDS13: Xen and XenServer Storage Performance - Felipe Franciosi, CitrixXPDS13: Xen and XenServer Storage Performance - Felipe Franciosi, Citrix
XPDS13: Xen and XenServer Storage Performance - Felipe Franciosi, Citrix
 
Gluster intro-tdose
Gluster intro-tdoseGluster intro-tdose
Gluster intro-tdose
 
Gluster intro-tdose
Gluster intro-tdoseGluster intro-tdose
Gluster intro-tdose
 
Gluster: a SWOT Analysis
Gluster: a SWOT Analysis Gluster: a SWOT Analysis
Gluster: a SWOT Analysis
 
poster
posterposter
poster
 
GlusterFS And Big Data
GlusterFS And Big DataGlusterFS And Big Data
GlusterFS And Big Data
 
Software defined storage
Software defined storageSoftware defined storage
Software defined storage
 
Comparison of-foss-distributed-storage
Comparison of-foss-distributed-storageComparison of-foss-distributed-storage
Comparison of-foss-distributed-storage
 
Comparison of foss distributed storage
Comparison of foss distributed storageComparison of foss distributed storage
Comparison of foss distributed storage
 
Hands On Gluster with Jeff Darcy
Hands On Gluster with Jeff DarcyHands On Gluster with Jeff Darcy
Hands On Gluster with Jeff Darcy
 
Linux Huge Pages
Linux Huge PagesLinux Huge Pages
Linux Huge Pages
 
Gluster fs architecture_&_roadmap-vijay_bellur-linuxcon_eu_2013
Gluster fs architecture_&_roadmap-vijay_bellur-linuxcon_eu_2013Gluster fs architecture_&_roadmap-vijay_bellur-linuxcon_eu_2013
Gluster fs architecture_&_roadmap-vijay_bellur-linuxcon_eu_2013
 
Mirroring the root_disk under solaris SVM
Mirroring the root_disk under solaris SVMMirroring the root_disk under solaris SVM
Mirroring the root_disk under solaris SVM
 
Gluster fs hadoop_fifth-elephant
Gluster fs hadoop_fifth-elephantGluster fs hadoop_fifth-elephant
Gluster fs hadoop_fifth-elephant
 
Scale out backups-with_bareos_and_gluster
Scale out backups-with_bareos_and_glusterScale out backups-with_bareos_and_gluster
Scale out backups-with_bareos_and_gluster
 
Scale out backups-with_bareos_and_gluster
Scale out backups-with_bareos_and_glusterScale out backups-with_bareos_and_gluster
Scale out backups-with_bareos_and_gluster
 

Recently uploaded

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

GlusterFS Basics for OpenStack

  • 1. GlusterFS Overview Cody Hill Lead Systems Engineer Platform9
  • 2. http://platform9.com / @Platform9Sys Redundancy Considerations • How many failures can you tolerate? • Do you want redundancy during maintenance windows? • How do you prevent split-brain issues? • How much disk space are you willing to give up for data redundancy? 2
  • 4. Preventing split-brain is pretty simple, but it can be expensive. Ensure there is always a quorum at all times. Meaning double parity.
  • 6. Storage replication is a service in which stored data is duplicated in real time to another device.
  • 7. http://platform9.com / @Platform9Sys Replication • The creation for data copies across different locations of the storage system  Typically 2 or 3 copies, configurable based on accepted risk level  If a drive fails, data is recreated on another drive from replica(s) • Pros • Less CPU intensive = faster write performance • Simple restore = faster rebuild performance • Cons  Requires 2x or more of the original storage space
  • 8. http://platform9.com / @Platform9Sys Disk Layout Gluster01 Gluster05 Gluster02 Gluster06 Gluster03 Gluster04 Total Disks: 36 - Redundant Disks: 24_ = Data Disks: 12 Usable Capacity: 33%
  • 9. http://platform9.com / @Platform9Sys Commands: Create Volume # gluster volume create pf9 replica 3 transport tcp gluster01:/bricks/brick1/brick gluster02:/bricks/brick1/brick gluster03:/bricks/brick1/brick gluster04:/bricks/brick1/brick gluster05:/bricks/brick1/brick gluster06:/bricks/brick1/brick gluster01:/bricks/brick2/brick gluster02:/bricks/brick2/brick gluster03:/bricks/brick2/brick gluster04:/bricks/brick2/brick gluster05:/bricks/brick2/brick gluster06:/bricks/brick2/brick gluster01:/bricks/brick3/brick gluster02:/bricks/brick3/brick gluster03:/bricks/brick3/brick gluster04:/bricks/brick3/brick gluster05:/bricks/brick3/brick gluster06:/bricks/brick3/brick gluster01:/bricks/brick4/brick gluster02:/bricks/brick4/brick gluster03:/bricks/brick4/brick gluster04:/bricks/brick4/brick gluster05:/bricks/brick4/brick gluster06:/bricks/brick4/brick gluster01:/bricks/brick5/brick gluster02:/bricks/brick5/brick gluster03:/bricks/brick5/brick gluster04:/bricks/brick5/brick gluster05:/bricks/brick5/brick gluster06:/bricks/brick5/brick gluster01:/bricks/brick6/brick gluster02:/bricks/brick6/brick gluster03:/bricks/brick6/brick gluster04:/bricks/brick6/brick gluster05:/bricks/brick6/brick gluster06:/bricks/brick6/brick
  • 10. http://platform9.com / @Platform9Sys Adding Nodes Gluster01 Gluster05 Gluster02 Gluster06 Gluster03 Gluster04 Total Disks: 42 - Unused Disks: 6 - Redundant Disks: 24_ = Data Disks: 12 Usable Capacity: 28% Gluster07
  • 11. http://platform9.com / @Platform9Sys Relocating Bricks Gluster01 Gluster05 Gluster02 Gluster06 Gluster03 Gluster04 Total Disks: 42 - Unused Disks: 6 - Redundant Disks: 24_ = Data Disks: 12 Usable Capacity: 28% Gluster07
  • 12. http://platform9.com / @Platform9Sys Expand Volume Gluster01 Gluster05 Gluster02 Gluster06 Gluster03 Gluster04 Total Disks: 42 - Redundant Disks: 28_ = Data Disks: 14 Usable Capacity: 33% Gluster07
  • 13. http://platform9.com / @Platform9Sys Commands: Add node # gluster peer probe gluster07 Relocate bricks (Redundancy is degraded until this completes) # gluster volume replace-brick pf9 gluster03:/bricks/brick1/brick gluster07:/bricks/brick1/brick commit force # gluster volume replace-brick pf9 gluster04:/bricks/brick2/brick gluster07:/bricks/brick2/brick commit force # gluster volume replace-brick pf9 gluster05:/bricks/brick3/brick gluster07:/bricks/brick3/brick commit force # gluster volume replace-brick pf9 gluster06:/bricks/brick4/brick gluster07:/bricks/brick4/brick commit force Clean up old bricks gluster03:# rm -rf /bricks/brick1/brick gluster03:# mkdir –p /bricks/brick1/brick gluster04:# rm -rf /bricks/brick2/brick gluster04:# mkdir –p /bricks/brick2/brick gluster05:# rm -rf /bricks/brick3/brick gluster05:# mkdir –p /bricks/brick3/brick gluster06:# rm -rf /bricks/brick4/brick gluster06:# mkdir –p /bricks/brick4/brick Add new bricks # gluster volume add-brick pf9 replica 3 gluster03:/bricks/brick1/brick gluster04:/bricks/brick2/brick gluster07:/bricks/brick5/brick # gluster volume add-brick pf9 replica 3 gluster05:/bricks/brick3/brick gluster06:/bricks/brick4/brick gluster07:/bricks/brick6/brick Rebalance volume # gluster volume rebalance pf9 start
  • 15. Erasure coding is a method of data protection in which data is broken into fragments, expanded and encoded with redundant data pieces and stored across a set of different locations or storage media.
  • 16. http://platform9.com / @Platform9Sys Erasure Coding • A parity based protection technique  Data is broken into fragments and encoded  Data is stored across multiple different locations with a configurable number of redundant pieces • Pros • Consumes less storage than replication – good for cheap/deep • Allows for the failure of two or more elements of the storage system • Cons  Parity calculation is CPU-intensive  Increased latency can slow production writes and rebuilds
  • 17. http://platform9.com / @Platform9Sys Disk Layout Gluster01 Gluster05 Gluster02 Gluster06 Gluster03 Gluster04 Total Disks: 36 - Parity Disks: 12_ = Data Disks: 24 Usable Capacity: 67%
  • 18. http://platform9.com / @Platform9Sys Commands: Create Volume # gluster volume create pf9 disperse-data 4 redundancy 2 transport tcp gluster01:/bricks/brick1/brick gluster02:/bricks/brick1/brick gluster03:/bricks/brick1/brick gluster04:/bricks/brick1/brick gluster05:/bricks/brick1/brick gluster06:/bricks/brick1/brick gluster02:/bricks/brick2/brick gluster03:/bricks/brick2/brick gluster04:/bricks/brick2/brick gluster05:/bricks/brick2/brick gluster06:/bricks/brick2/brick gluster01:/bricks/brick2/brick gluster03:/bricks/brick3/brick gluster04:/bricks/brick3/brick gluster05:/bricks/brick3/brick gluster06:/bricks/brick3/brick gluster01:/bricks/brick3/brick gluster02:/bricks/brick3/brick gluster04:/bricks/brick4/brick gluster05:/bricks/brick4/brick gluster06:/bricks/brick4/brick gluster01:/bricks/brick4/brick gluster02:/bricks/brick4/brick gluster03:/bricks/brick4/brick gluster05:/bricks/brick5/brick gluster06:/bricks/brick5/brick gluster01:/bricks/brick5/brick gluster02:/bricks/brick5/brick gluster03:/bricks/brick5/brick gluster04:/bricks/brick5/brick gluster06:/bricks/brick6/brick gluster01:/bricks/brick6/brick gluster02:/bricks/brick6/brick gluster03:/bricks/brick6/brick gluster04:/bricks/brick6/brick gluster05:/bricks/brick6/brick
  • 19. http://platform9.com / @Platform9Sys Adding Nodes Total Disks: 42 - Unused Disks: 6 - Parity Disks: 12_ = Data Disks: 24 Usable Capacity: 57% Gluster07 Gluster01 Gluster05 Gluster02 Gluster06 Gluster03 Gluster04
  • 20. http://platform9.com / @Platform9Sys Relocating Bricks Total Disks: 42 - Unused Disks: 6 - Parity Disks: 12_ = Data Disks: 24 Usable Capacity: 57% Gluster07 Gluster01 Gluster05 Gluster02 Gluster06 Gluster03 Gluster04
  • 21. http://platform9.com / @Platform9Sys Growing Volume Total Disks: 42 - Parity Disks: 14_ = Data Disks: 28 Usable Capacity: 67% Gluster07 Gluster01 Gluster05 Gluster02 Gluster06 Gluster03 Gluster04
  • 22. http://platform9.com / @Platform9Sys Commands: Add node # gluster peer probe gluster07 Relocate bricks (Redundancy is degraded until this completes) # gluster volume replace-brick pf9 gluster01:/bricks/brick1/brick gluster07:/bricks/brick1/brick commit force # gluster volume replace-brick pf9 gluster02:/bricks/brick2/brick gluster07:/bricks/brick2/brick commit force # gluster volume replace-brick pf9 gluster03:/bricks/brick3/brick gluster07:/bricks/brick3/brick commit force # gluster volume replace-brick pf9 gluster04:/bricks/brick5/brick gluster07:/bricks/brick5/brick commit force # gluster volume replace-brick pf9 gluster06:/bricks/brick6/brick gluster07:/bricks/brick6/brick commit force Clean up old bricks gluster01:# rm -rf /bricks/brick1/brick gluster01:# mkdir –p /bricks/brick1/brick gluster02:# rm -rf /bricks/brick2/brick gluster02:# mkdir –p /bricks/brick2/brick gluster03:# rm -rf /bricks/brick3/brick gluster03:# mkdir –p /bricks/brick3/brick gluster04:# rm -rf /bricks/brick5/brick gluster04:# mkdir –p /bricks/brick5/brick gluster06:# rm -rf /bricks/brick6/brick gluster06:# mkdir –p /bricks/brick6/brick Add new bricks # gluster volume add-brick pf9 disperse-data 4 redundancy 2 gluster01:/bricks/brick1/brick gluster02:/bricks/brick2/brick gluster03:/bricks/brick3/brick gluster04:/bricks/brick5/brick gluster06:/bricks/brick6/brick gluster07:/bricks/brick4/brick Rebalance volume # gluster volume rebalance pf9 start
  • 24. Disk striping is the process of dividing a body of data into blocks and spreading the data blocks across multiple storage devices, such as hard disks or solid- state drives (SSDs). A stripe consists of the data divided across the set of hard disks or SSDs, and a striped unit, or strip, that refers to the data slice on an individual drive.
  • 25. Great…But how do I know it’s healthy?!
  • 27. http://platform9.com / @Platform9Sys Things to monitor • Hosts are online • GlusterFS services are online • Blocks are online • Volumes are online • Volumes aren’t degraded • Remote connectivity • Host’s CPU • Host’s RAM • Network IO • Disk IO • Block’s remaining capacity • Volume’s remaining capacity 27