openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

24
Ceph and Storage Management with openATTIC openSUSE Conference, Nuremberg, Germany 2016-06-23 Lenz Grimmer <[email protected]>

Transcript of openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

Page 1: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

Ceph and Storage Management with openATTICopenSUSE Conference, Nuremberg, Germany

2016-06-23

Lenz Grimmer <[email protected]>

Page 2: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

2

openATTIC – Our Vision

─ Develop an open source alternative to proprietary storage

management systems

─ „Traditional” unified storage (NAS/SAN)

─ Support Ceph for scale-out scenarios

─ Backed with commercial support and services

Page 3: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

3

openATTIC – What Sets us Apart?

─ Focus on data center storage management

─ Support both SAN and NAS functionality without limitations

─ Fully Open Source (GPLv2)

─ No arbitrary functional restrictions

─ Low entrance barrier for adoption

─ Based on Linux / OSS tools

─ Multiple Linux distributions (Debian/Ubuntu/Red Hat/SUSE)

─ Well-established technology stack (e.g. drivers, hardware support)

─ Broad user base

Page 4: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

4

─ Modern Web UI

─ RESTful API (Software-Defined Storage)

─ Unified Storage

─ NAS (NFS, CIFS, HTTP)

─ SAN (iSCSI, Fibre Channel)

─ LVM, XFS, ZFS, Btrfs, ext3/4

─ Volume mirroring (DRBD®)

─ Multi-node support

─ Monitoring (Nagios/Icinga) built-in

─ Ceph management and monitoring (WIP)

─ Development sponsored by it-novum

openATTIC – Open Source Storage Management

Page 5: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

5

─ Backend─ Python (Django)

─ Django REST Framework (RESTful API)

─ Linux tools for storage management, e.g. LVM, LIO, filesystem utilities, DRBD, etc.

─ Nagios/Icinga & PNP4Nagios (Monitoring and Graphing)

─ Web Frontend

─ AngularJS (JS framework)

─ Bootstrap (HTML, CSS, and

JS framework)

─ Uses REST API exclusively

openATTIC – Components

Page 6: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

6

openATTIC – High Level Architecture

Page 7: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

7

openATTIC – Installation on SUSE Linux

─ OBS Project filesystems:openATTIC

─ Packages available for openSUSE Leap 42.1 & SLES12

─ Thanks to Eric Jackson (swiftgeist) for the support!

─ Feedback is welcome!

Page 8: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

8

openATTIC – Storage Development Roadmap

─ Add Disk and Storage Pool Management to the API & WebUI

─ Creating/Modifying LVM Volume Groups / MD RAID setups

─ Creating/Modifying Btrfs/ZFS Pools (incl. RAID setups)

─ Automatic discovery of disks/pools (via udev)

─ Monitoring Disk health (SMART)

─ Manage HW RAID controllers

─ Add volume mirroring support to the WebUI

─ Extend SAN functionality (more iSCSI/FC features)

─ Public Roadmap on the openATTIC Jira/Wiki to solicit community feedback

Page 9: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

9

openATTIC – Ceph Management Challenges

─ Managing and monitoring Ceph is complex

─ Many tools exist (e.g. Calamari, Intel VSM, ceph-dash)

─ Limited functionality, unclear roadmaps

─ Finding the best approach for managing Ceph

Page 10: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

10

openATTIC – Ceph Management Goals

─ Create a management & monitoring GUI tool

─ A tool that administrators actually want to use

─ That scales without becoming overwhelming

─ Still should allow changes to be made elsewhere, without

becoming inconsistent

Page 11: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

11

openATTIC – Ceph Management Implementation

─ Which Ceph Management API?

─ How to manage a distributed system?

─ How to monitor the cluster‘s health/performance?

─ How to perform remote management tasks?

─ How to monitor cluster nodes in a scalable way?

Page 12: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

12

Django REST Framework

Django Models

Client (GUI)

REST API

DB

(PostgreSQL)

nodb

Python librados / librbddjango.db.models

openATTIC – “NoDB” Django models

Page 13: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

13

openATTIC – Current Ceph Development Status

─ “NoDB” backend architecture / framework in place

─ Create and map RBDs as block devices (volumes)

─ Pool Management Web UI (table view)

─ OSD Management Web UI (table view)

─ RBD Management Web UI (table view)

─ Monitor a cluster health and performance

─ CRUSH Map Editor

─ Support for managing multiple Ceph clusters

Page 14: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

14

openATTIC – Ceph REST API Overview

https://wiki.openattic.org/display/OP/openATTIC+Ceph+REST+API+overview

Page 15: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

15

openATTIC – Ceph Development Roadmap

─ Ceph Cluster Status Dashboard incl. Performance Graphs

─ Extend Pool Management

─ OSD Monitoring/Management

─ RBD Management/Monitoring

─ CephFS Management

─ RGW Management (users, buckets keys)

─ Deployment, remote configuration of Ceph nodes (via Salt)

─ Public Roadmap on the openATTIC Wiki to solicit community feedback

Page 16: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

16

openATTIC – Storage Management Dashboard

Page 17: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

17

openATTIC – Ceph Pool List

Page 18: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

18

openATTIC – Ceph OSD List

Page 19: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

19

openATTIC – Ceph CRUSH map editing

Page 20: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

20

openATTIC – Volume Management

Page 21: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

21

openATTIC – API Recorder

Page 22: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

22

─ www.openattic.org

─ demo.openattic.org

─ blog.openattic.org

─ docs.openattic.org

─ bitbucket.org/openattic

─ tracker.openattic.org

─ @openATTIC

─ openATTIC

openATTIC – Resources

Page 23: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

23

Questions / Discussion

Page 24: openATTIC Ceph Management @ OpenSuse Con - 2016-06-23

24

Thank you!