Top Banner
Integrating GlusterFS, qemu and oVirt Vijay Bellur Gluster Workshop – LinuxCon EU 2013
23

Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

Feb 28, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

Integrating GlusterFS, qemu and oVirt

Vijay BellurGluster Workshop – LinuxCon EU 2013

Page 2: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 2

Agenda

➢Introduction

➢GlusterFS as VM Image Store

➢Integration with QEMU

➢Integration with oVirt

➢Q&A

Page 3: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 3

GlusterFS

Global namespace

Scale-out clustered storage building blocks

Support thousands of clients

Access using GlusterFS and NFS protocols

Linear performance scaling

Page 4: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 4

KVM and Qemu

KVM is a full virtualization solution for Linux on x86 hardware containing virtualization extensions.

Qemu is the driver for KVM virtualization

Page 5: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 5

➢ Large scale, centralized management for server and desktop virtualization

➢ Open source alternative to vCenter / vSphere

➢ Focus on KVM

oVirt

Page 6: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 6

GlusterFS 3.3

➢ Granular data self heal

➢ Pro-active self healing

➢ Online data migration with remove-brick

➢ Support for O_DIRECT in FUSE

Page 7: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 7

GlusterFS 3.4

➢Improved write-behind behavior

➢libgfapi with support for DVM

➢Block Device Translator

➢Support for volume/cluster management from oVirt

➢FUSE ➢ Scatter – Gather patchset➢ gid caching ➢ Configurable fuse queue length➢ aio support in posix translator

Page 8: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 8

GlusterFS 3.5

➢ fallocate() support

➢ zerofill support in libgfapi

➢ Improved block device translator

➢ File snapshots

Page 9: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 9

QEMU & GlusterFS Integration

Integration possible through:

➢ GlusterFS native client - possible with qemu 1.2 and GlusterFS 3.3

➢ GlusterFS NFS – possible with qemu 1.2 and GlusterFS 3.3

➢ libgfapi – possible with qemu 1.3 and GlusterFS 3.4

Page 10: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 10

QEMU & GlusterFS Integration

➢ Source: LPC 2012

Page 11: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 11

QEMU & GlusterFS Integration

➢FIO Numbers (Seq read, 4 files with direct io, qemu options: if=virtio, cache=none)

Aggregate BW(kB/s)

Min BW(kB/s) Max BW(kB/s)

Base 63076 15769 17488

FUSE mount 29392 7348 9266

QEMU-GlusterFS native integration

53609 13402 14909

Page 12: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 12

Architecture

BrowserBrowser

Engine Engine

Directory Services

Directory Services

Storage Server 1

Storage Server 1

CLICLI

Python SDK

Python SDK

REST

REST

GWT ServletGWT Servlet

api

gwtrpcover https

RESTover https

xmlrpc

VDSM

VDSM

Storage Server 2

Storage Server 2

VDSM

VDSM

Storage Server n

Storage Server n

VDSM

VDSM

oVirt & GlusterFS - Architecture

Page 13: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 13

oVirt & GlusterFS

● New feature in oVirt 3.1 http://wiki.ovirt.org/wiki/Features/Gluster_Support

● Cluster Configuration Modes● Virtualization only● Gluster only● Virtualization + Gluster (default)

● New entities (Volumes, Bricks, Volume Options)

● VDSM verbs for gluster management

Page 14: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 14

Architecture

BrowserBrowser

Engine Engine

Directory Services

Directory Services

Storage Server 1

Storage Server 1

CLICLI

Python SDK

Python SDK

REST

REST

GWT ServletGWT Servlet

api

gwtrpcover https

RESTover https

xmlrpc

VDSM

VDSM

Storage Server 2

Storage Server 2

VDSM

VDSM

Storage Server n

Storage Server n

VDSM

VDSM

oVirt & GlusterFS - Architecture

Page 15: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 15

oVirt Gluster Management Features

➢Cluster Management

● Create Cluster

● Add / Remove Storage Servers

● Delete Cluster

➢Volume Management

● Create Volume

● Add / Remove bricks

● Start / Stop / Delete volume

Page 16: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 16

oVirt Gluster Management Features

➢Advanced Search

➢Multi Level Administration & RBAC

➢Audit & Alerts

➢ReST API

➢Python SDK & CLI

Page 17: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 17

ReST API

Page 18: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 18

Events

Page 19: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 19

Create PosixFS storage domain (VFS type = glusterfs)

Optimize volume for virt store (Sets optimization options on volume)

Gluster as Virt Store

Page 20: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 20

Upcoming features (3.2 and beyond)

● Async Tasks

● UFO configuration

Upcoming features (oVirt 3.4 and beyond)

Page 21: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 21

Upcoming features (3.2 and beyond)

● Storage Device management

● Reports

● Gluster native storage domain

● Volume Quotas

Upcoming features (oVirt 3.2 and beyond)

Page 22: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

22

Contribute

● Git repository

git://gerrit.ovirt.org/ovirt-engine

git://gerrit.ovirt.org/vdsm

git://git.gluster.com/glusterfs.git

● IRC Channels● #ovirt on oftc● #gluster on freenode

Page 23: Integrating GlusterFS, qemu and oVirt · 2019-10-15 · Gluster Workshop – LinuxCon EU 2013. The Future of Storage is Open for Business 2 Agenda ... Granular data self heal

The Future of Storage is Open for Business 23

Thank You!

Q & A