SlideShare a Scribd company logo
OPENSTACK
STORAGE ARCHITECTURE

Dan Radez
Sr. Software Engineer, Red Hat
dradez@redhat.com
irc: radez
Red Hat's Community OpenStack

openstack.redhat.com
Storage Components
●

Database

●

Glance

●

Nova

●

Cinder

●

Swift
Component Architecture
Database :: MySQL / MariaDB
Store Options
●

Local Storage (no HA)

●

Shared Storage

●

Replicated Storage
Database :: MySQL / MariaDB
Local Storage

DB Node
Database :: MySQL / MariaDB
Shared Storage

Pacemaker
Active / Passive Failover

FIP: 10.10.10.123

DB Node*

DB Node

Storage
iSCSI or NFS
* MySQL service is running
Database :: MySQL / MariaDB
Shared Storage

Pacemaker
Active / Passive Failover

X

FIP: 10.10.10.123

DB Node

DB Node*

Storage
iSCSI or NFS
* MySQL service is running
Database :: MySQL / MariaDB
Replicated Storage
Pacemaker
Active / Passive Failover
FIP: 10.10.10.123

DB Node*

DB Node*

Master

Slave

Master / Slave Replication

* MySQL service is running
Database :: MySQL / MariaDB
Replicated Storage
Pacemaker
Active / Passive Failover

X

DB Node

FIP: 10.10.10.123

DB Node*
Master

Master / Slave Replication

* MySQL service is running
Database :: MySQL / MariaDB

Pacemaker Disclaimer

3 node minimum
for quorum
Glance: Image Management
Glance: Image Management
Store Backends
●

Local (mounted)

●

Swift

●

Cinder

●

more...

/usr/lib/python2.7/site-packages/glance/store
Glance: Image Management
Use GlusterFS to back Glance
# yum install -y glusterfs-fuse

# mkdir /srv/openstack
# vim /etc/fstab
gluster1:/openstack /srv/openstack glusterfs defaults,_netdev 0 0
# mount -a
# mkdir -p /srv/openstack/glance/images/
# chown -R glance:glance /srv/openstack/glance/
Glance: Image Management
Configure OpenStack
# vim /etc/glance/glance-api.conf
filesystem_store_datadir=/srv/openstack/glance/images/
# vim /etc/glance/glance-cache.conf
filesystem_store_datadir=/srv/openstack/glance/images/

# grep "/var/lib/glance" /etc/glance/*
glance-api.conf:#scrubber_datadir=/var/lib/glance/scrubber
glance-api.conf:#image_cache_dir=/var/lib/glance/image-cache/
glance-cache.conf:#image_cache_dir=/var/lib/glance/image-cache
glance-scrubber.conf:#scrubber_datadir=/var/lib/glance/scrubber
# service openstack-glance-api restart
# service openstack-glance-registry restart
Nova: Instance Management
Nova: Instance Management
Use GlusterFS to back Nova
# yum install -y glusterfs-fuse

# mkdir /srv/openstack
# vim /etc/fstab
gluster1:/openstack /srv/openstack glusterfs defaults,_netdev 0 0
# mount -a
# mkdir -p /srv/openstack/instances
# chown -R nova:nova /srv/openstack/instances
# vim /etc/nova/nova.conf
instances_path=/srv/openstack/instances
# service openstack-nova-compute restart
Cinder: Block Storage
Cinder: Block Storage
Drivers
●

LVM

●

NFS

●

GlusterFS

●

more...

/usr/lib/python2.7/site-packages/cinder/volume/drivers
Cinder: Block Storage

Example: Multiple Storage Types
Dependencies
# yum install -y glusterfs-fuse

Configuration
# vim /etc/cinder/shares.conf
gluster1:openstack
gluster2:openstack
(gluster_host.domain.com:gluster_volume_name)
Cinder: Block Storage
Configuration
#vim /etc/cinder/cinder.conf
enabled_backends=my_lvm,my_glusterfs
[my_lvm]
volume_group = cinder-volumes
volume_driver = cinder.volume.drivers.lvm.LVMISCSIDriver
volume_backend_name = LVM
[my_glusterfs]
volume_driver = cinder.volume.drivers.glusterfs.GlusterfsDriver
glusterfs_shares_config = /etc/cinder/shares.conf
glusterfs_sparsed_volumes = false
volume_backend_name = GLUSTER
Cinder: Block Storage
Restart cinder & verify
# service openstack-cinder-scheduler restart
# service openstack-cinder-volume restart
# mount | grep cinder
gluster1:openstack on /var/lib/cinder/... type fuse.glusterfs
gluster2:openstack on /var/lib/cinder/... type fuse.glusterfs
Cinder: Block Storage
Create cinder volume types
# cinder type-create lvm
# cinder type-key lvm set volume_backend_name=LVM
# cinder type-create glusterfs
# cinder type-key glusterfs set volume_backend_name=GLUSTER

Create cinder volume using type
# cinder create --volume-type glusterfs --display-name test 1
Cinder: Block Storage
Compute configuration (experimental)
# vim /etc/nova/nova.conf
debug=False
qemu_allowed_storage_drivers=gluster
# service openstack-nova-compute restart
Swift: Object Storage
Swift: Object Storage
Storage Backends
●

Swift Storage

●

GlusterFS

●

more...
Review
Resources
●

●

RDO: openstack.redhat.com
https://access.redhat.com/knowledge/docs/enUS/Red_Hat_OpenStack

●

OpenStack.org

●

TryStack.org

●

Puppetlabs.com

●

Djangoproject.com

●

http://radez.fedorapeople.org/TokyoMeetup_slides.pdf

More Related Content

PPTX
OpenStack Storage Overview
PDF
Deep Dive into Openstack Storage, Sean Cohen, Red Hat
PPTX
OpenStack Cinder
PPTX
OpenStack Cinder Best Practices - Meet Up
PPTX
Laying OpenStack Cinder Block Services
PPTX
Storage as a service and OpenStack Cinder
PDF
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
PDF
Open stack solidfire-mavenspire-meetup
OpenStack Storage Overview
Deep Dive into Openstack Storage, Sean Cohen, Red Hat
OpenStack Cinder
OpenStack Cinder Best Practices - Meet Up
Laying OpenStack Cinder Block Services
Storage as a service and OpenStack Cinder
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
Open stack solidfire-mavenspire-meetup

What's hot (20)

PDF
OpenStack Cinder Overview - Havana Release
PDF
Cinder Status Openstack Shanghai
PPTX
Introduction to OpenStack Cinder
PPTX
Filesystem as a service in OpenStack
ODP
GlusterFS and Openstack Storage
PDF
Ceph & OpenStack talk given @ OpenStack Meetup @ Bangalore, June 2015
PPT
Kubernetes on CloudStack with coreOS
PDF
Kubernetes dealing with storage and persistence
ODP
OpenStack Nova Scheduler
PDF
Storage based on_openstack_mariocho
PPTX
State of Containers in OpenStack
PDF
reInvent 2021 Recap and k9s review
PDF
KubeCon EU 2016: Kubernetes Storage 101
PDF
Guts & OpenStack migration
PDF
AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag...
PDF
Persistent Storage with Containers with Kubernetes & OpenShift
PDF
Zun presentation (OpenStack Barcelona summit)
PPTX
Introducing Docker Swarm - the orchestration tool by Docker
PDF
OpenStack Best Practices and Considerations - terasky tech day
PPTX
OpenStack Contribution Workflow
OpenStack Cinder Overview - Havana Release
Cinder Status Openstack Shanghai
Introduction to OpenStack Cinder
Filesystem as a service in OpenStack
GlusterFS and Openstack Storage
Ceph & OpenStack talk given @ OpenStack Meetup @ Bangalore, June 2015
Kubernetes on CloudStack with coreOS
Kubernetes dealing with storage and persistence
OpenStack Nova Scheduler
Storage based on_openstack_mariocho
State of Containers in OpenStack
reInvent 2021 Recap and k9s review
KubeCon EU 2016: Kubernetes Storage 101
Guts & OpenStack migration
AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag...
Persistent Storage with Containers with Kubernetes & OpenShift
Zun presentation (OpenStack Barcelona summit)
Introducing Docker Swarm - the orchestration tool by Docker
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Contribution Workflow
Ad

Viewers also liked (8)

ODP
Getting started with RDO Havana
PPTX
OCP Engineering Workshop at UNH
ODP
Triangle OpenStack meetup 09 2013
PDF
Red Hat Forum Tokyo - OpenStack Architecture
PPTX
Getting started with open stack
PDF
Red Hat Forum Tokyo - OpenStack Architecture Design
PPTX
OpenStack Tokyo Talk Application Data Protection Service
PDF
Study: The Future of VR, AR and Self-Driving Cars
Getting started with RDO Havana
OCP Engineering Workshop at UNH
Triangle OpenStack meetup 09 2013
Red Hat Forum Tokyo - OpenStack Architecture
Getting started with open stack
Red Hat Forum Tokyo - OpenStack Architecture Design
OpenStack Tokyo Talk Application Data Protection Service
Study: The Future of VR, AR and Self-Driving Cars
Ad

Similar to OpenStack Tokyo Meeup - Gluster Storage Day (20)

PDF
Percona Live 4/14/15: Leveraging open stack cinder for peak application perfo...
PPTX
Leveraging OpenStack Cinder for Peak Application Performance
PDF
Radical Innovations In Storage for Multi-Tenant Infrastructure
PDF
Using the IBM XIV Storage System in OpenStack Cloud Environments
PDF
Deep dive into OpenStack storage, Sean Cohen, Red Hat
PDF
OpenStack Storage - an Overview
PPTX
Cinder Live Migration and Replication - OpenStack Summit Austin
PDF
OpenStack Block Storage 101
PDF
Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...
PDF
Getting it Right: OpenStack Private Cloud Storage
PPT
Open vStorage Meetup - Santa Clara 04/16
PPTX
OpenStack Cinder
ODP
GlusterFS Cinder integration presented at GlusterNight Paris event @ Openstac...
PPTX
Cloud computing and OpenStack
PPT
OpenStack Overview for Austin Cloud User Group
PPTX
Demistifying open stack storage
PDF
[OpenStack Days Korea 2016] Track2 - OpenStack 기반 소프트웨어 정의 스토리지 기술
PPTX
Power of OpenStack & Hadoop
PPTX
Quick overview of Openstack architecture
PDF
MSST-2013 Openstack in the Land of Guilder
Percona Live 4/14/15: Leveraging open stack cinder for peak application perfo...
Leveraging OpenStack Cinder for Peak Application Performance
Radical Innovations In Storage for Multi-Tenant Infrastructure
Using the IBM XIV Storage System in OpenStack Cloud Environments
Deep dive into OpenStack storage, Sean Cohen, Red Hat
OpenStack Storage - an Overview
Cinder Live Migration and Replication - OpenStack Summit Austin
OpenStack Block Storage 101
Latinoware 2013 - OpenStack RDO - A walkthrough by the Open Source Cloud Comp...
Getting it Right: OpenStack Private Cloud Storage
Open vStorage Meetup - Santa Clara 04/16
OpenStack Cinder
GlusterFS Cinder integration presented at GlusterNight Paris event @ Openstac...
Cloud computing and OpenStack
OpenStack Overview for Austin Cloud User Group
Demistifying open stack storage
[OpenStack Days Korea 2016] Track2 - OpenStack 기반 소프트웨어 정의 스토리지 기술
Power of OpenStack & Hadoop
Quick overview of Openstack architecture
MSST-2013 Openstack in the Land of Guilder

Recently uploaded (20)

PDF
Modernizing your data center with Dell and AMD
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPT
Teaching material agriculture food technology
PDF
Encapsulation theory and applications.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
A Presentation on Artificial Intelligence
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Modernizing your data center with Dell and AMD
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Teaching material agriculture food technology
Encapsulation theory and applications.pdf
Machine learning based COVID-19 study performance prediction
Dropbox Q2 2025 Financial Results & Investor Presentation
Diabetes mellitus diagnosis method based random forest with bat algorithm
The Rise and Fall of 3GPP – Time for a Sabbatical?
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Spectral efficient network and resource selection model in 5G networks
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
A Presentation on Artificial Intelligence
Chapter 3 Spatial Domain Image Processing.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

OpenStack Tokyo Meeup - Gluster Storage Day