Samba and Ceph. Release the Kraken! David Disseldorp

Similar documents
The CephFS Gateways Samba and NFS-Ganesha. David Disseldorp Supriti Singh

CephFS A Filesystem for the Future

Provisioning with SUSE Enterprise Storage. Nyers Gábor Trainer &

openqa features capabilities bugs Ondrej Holecek /aaannz/

Expert Days SUSE Enterprise Storage

Deploying Software Defined Storage for the Enterprise with Ceph. PRESENTATION TITLE GOES HERE Paul von Stamwitz Fujitsu

Zdeněk Kubala Senior QA

openqa Avoiding Disasters of Biblical Proportions Marita Werner QA Project Manager

openqa making QA interesting since 2013 Ondrej Holecek /aaannz/

Collecting data from IoT devices using Sigfox network

Discover CephFS TECHNICAL REPORT SPONSORED BY. image vlastas, 123RF.com

Ceph. The link between file systems and octopuses. Udo Seidel. Linuxtag 2012

Distributed File Storage in Multi-Tenant Clouds using CephFS

openqa Avoiding Disasters of Biblical Proportions Marita Werner QA Project Manager

SDS Heterogeneous OS Access. Technical Strategist

A fields' Introduction to SUSE Enterprise Storage TUT91098

INTRODUCTION TO CEPH. Orit Wasserman Red Hat August Penguin 2017

CEPHALOPODS AND SAMBA IRA COOPER SNIA SDC

Ceph Rados Gateway. Orit Wasserman Fosdem 2016

Pushing The Limits Of Linux On ARM

Cloud object storage in Ceph. Orit Wasserman Fosdem 2017

How To Make Databases on SUSE Linux Enterprise Server Highly Available Mike Friesenegger

Distributed File Storage in Multi-Tenant Clouds using CephFS

Ceph Intro & Architectural Overview. Abbas Bangash Intercloud Systems

What's new in Jewel for RADOS? SAMUEL JUST 2015 VAULT

Ceph at the DRI. Peter Tiernan Systems and Storage Engineer Digital Repository of Ireland TCHPC

ROCK INK PAPER COMPUTER

Jason Dillaman RBD Project Technical Lead Vault Disaster Recovery and Ceph Block Storage Introducing Multi-Site Mirroring

Ceph Block Devices: A Deep Dive. Josh Durgin RBD Lead June 24, 2015

An Introduction to GPFS

96Boards Enablement for opensuse

SUSE Enterprise Storage Technical Overview

Why software defined storage matters? Sergey Goncharov Solution Architect, Red Hat

BeoLink.org. Design and build an inexpensive DFS. Fabrizio Manfredi Furuholmen. FrOSCon August 2008

A Gentle Introduction to Ceph

-Presented By : Rajeshwari Chatterjee Professor-Andrey Shevel Course: Computing Clusters Grid and Clouds ITMO University, St.

Ceph Software Defined Storage Appliance

GlusterFS Architecture & Roadmap

Samba in a cross protocol environment

All-NVMe Performance Deep Dive Into Ceph + Sneak Preview of QLC + NVMe Ceph

Choosing an Interface

클라우드스토리지구축을 위한 ceph 설치및설정

SUSE Manager and Salt

virtual machine block storage with the ceph distributed storage system sage weil xensummit august 28, 2012

Ceph: A Scalable, High-Performance Distributed File System PRESENTED BY, NITHIN NAGARAJ KASHYAP

A New Key-value Data Store For Heterogeneous Storage Architecture Intel APAC R&D Ltd.

Datacenter Storage with Ceph

Ceph Intro & Architectural Overview. Federico Lucifredi Product Management Director, Ceph Storage Vancouver & Guadalajara, May 18th, 2015

MySQL and Ceph. A tale of two friends

THE CEPH POWER SHOW. Episode 2 : The Jewel Story. Daniel Messer Technical Marketing Red Hat Storage. Karan Singh Sr. Storage Architect Red Hat Storage

SUSE Linux Enterprise High Availability Extension

Essentials. Johannes Meixner. about Disaster Recovery (abbreviated DR) with Relax-and-Recover (abbreviated ReaR)

From GIT to a custom OS image in a few click OS image made easy

Docker Networking In OpenStack What you need to know now. Fawad Khaliq

GlusterFS and RHS for SysAdmins

SUSE OpenStack Cloud. Enabling your SoftwareDefined Data Center. SUSE Expert Days. Nyers Gábor Trainer &

Ceph: scaling storage for the cloud and beyond

HANDLING PERSISTENT PROBLEMS: PERSISTENT HANDLES IN SAMBA. Ira Cooper Tech Lead / Red Hat Storage SMB Team May 20, 2015 SambaXP

RED HAT GLUSTER STORAGE TECHNICAL PRESENTATION

Deploying Ceph clusters with Salt

Building a Highly Scalable and Performant SMB Protocol Server

SUSE Linux Enterprise Kernel Back to the Future

NFSv4.1 Using pnfs PRESENTATION TITLE GOES HERE. Presented by: Alex McDonald CTO Office, NetApp

SUSE Manager Roadmap OS Lifecycle Management from the Datacenter to the Cloud

RED HAT CEPH STORAGE ROADMAP. Cesar Pinto Account Manager, Red Hat Norway

Introducing SUSE Enterprise Storage 5

SaltStack and SUSE Systems and Configuration Management that Scales and is Easy to Extend

Managing Linux Servers Comparing SUSE Manager and ZENworks Configuration Management

The opensuse project. Motivation, Goals, and Opportunities. Sonja Krause-Harder Michael Löffler. March 6, 2006

Open Enterprise & Open Community

GlusterFS Current Features & Roadmap

Red Hat Ceph Storage 2 Architecture Guide

Archive Solutions at the Center for High Performance Computing by Sam Liston (University of Utah)

Linux and z Systems in the Datacenter Berthold Gunreben

Using Linux Containers as a Virtualization Option

SUSE Manager in Large Scale 17220

Best practices with SUSE Linux Enterprise Server Starter System and extentions Ihno Krumreich

CephFS: Today and. Tomorrow. Greg Farnum SC '15

Introduction to Ceph Speaker : Thor

SEP sesam Backup & Recovery to SUSE Enterprise Storage. Hybrid Backup & Disaster Recovery

WHAT S NEW IN LUMINOUS AND BEYOND. Douglas Fuller Red Hat

IBM Spectrum NAS. Easy-to-manage software-defined file storage for the enterprise. Overview. Highlights

Linux High Availability on IBM z Systems

The Future of Storage

A GPFS Primer October 2005

SMB 2.1 & SMB 3 Protocol features, Status, Architecture, Implementation. Gordon Ross Nexenta Systems, Inc.

Red Hat Ceph Storage 3

SolidFire and Ceph Architectural Comparison

A Robust, Flexible Platform for Expanding Your Storage without Limits

Red Hat Ceph Storage 3

Unleash the Power of Ceph Across the Data Center

Elastic Cloud Storage (ECS)

DISTRIBUTED STORAGE AND COMPUTE WITH LIBRADOS SAGE WEIL VAULT

Distributed File Systems II

Before We Start... 1

CA485 Ray Walshe Google File System

Ceph Snapshots: Diving into Deep Waters. Greg Farnum Red hat Vault

! Design constraints. " Component failures are the norm. " Files are huge by traditional standards. ! POSIX-like

Welcome to SUSE Expert Days 2017 Service Delivery with DevOps

Define Your Future with SUSE

Transcription:

Samba and Ceph Release the Kraken! David Disseldorp ddiss@samba.org

Agenda Ceph Overview State of Samba Integration Performance Outlook

Ceph Distributed storage system Scalable Fault tolerant Performant Self-healing and self-managing Runs on commodity hardware Mature Various client access mechanisms All layered atop a Reliable Autonomic Distributed Object Store (RADOS)

Ceph Architecutre

Object Storage Daemon (OSD) M Monitor CephFS Metadata Server Ceph Client M M M RADOS Cluster

Components Object Storage Daemon (OSD) Exposes underlying storage to clients One per disk Objects with data and KV metadata Faster devices can be used for metadata / WAL Handles data replication and recovery Monitor Provide consensus on cluster state

Ceph Placement

Ceph Placement

Replication Client determines PG and corresponding OSDs Sends object I/O to primary OSD Writes acknowledged only after writing to all replicas Pools can be replicated or erasure coded User-specified redundancy levels and failure domains Private OSD network used for replication traffic

Failure Handling Monitors and OSDs check state of other OSDs Following outage, PG is assigned to a new node Backfill from peers Periodic scrubbing of data and metadata

Ceph Placement

CephFS POSIX compatible clustered filesystem atop RADOS MDSes manage filesystem namespace Active/Passive or Active/Active redundancy Linux kernel and user-space clients Snapshots Directory to pool mappings

CephFS Basic quotas Client caching Fine grained Capabilities granted and revoked by MDS

Samba Integration

Samba Ceph VFS module libcephfs TDB

Samba Ceph Integration CephFS module for Samba: vfs_ceph Added in 2013 by Inktank Maps SMB file and directory I/O to libcephfs API calls Static cephx credentials Regardless of Samba authenticated user User configurable via smb.conf POSIX ACLs

Samba Ceph Integration RADOS clustered mutex helper for CTDB Removes recovery lock mount dependency Ceph librados service integration (coming soon) Register service with manager daemon

Testing Ceph vstart Deploy mock cluster from source Samba smbtorture cifs.ko fstests

Performance

Performance: Samba vs CephFS Preliminary results! Environment: Ceph Version 12.2.2 Samba 4.6.9 Three Samba gateways vfs_ceph Non-overlapping share paths Linux cifs.ko client 4.4 kernel with many backports SMB 3.0 mount

Hardware Ceph setup on 8 nodes 5 OSD nodes 24 cores 128 GB RAM 3 MON/MDS nodes 24 cores 128 GB RAM 6 OSD daemons per node Bluestore SSD/NVME journals 10 client nodes 16 cores 16 GB RAM Network interconnect Public network 10Gbit/s Cluster network 100Gbit/s

Challenges and Future

Challenges Cross-protocol client support Coherent client caching Map leases to CephFS FILE and AUTH capabilities New libcephfs delegations API Shared (NFS, CephFS) ACL model Unified authentication and user mapping Use Kerberos / AD for Samba gateway and cephx

Challenges libcephfs asynchronous I/O Multichannel support Experimental in upstream Samba Not integrated with CTDB Automated deployment

Challenges Witness protocol Continuous availability of SMB shares Advertise Samba cluster state to clients Transparent client failover Load balancing

Samba: Future Ceph backed key-value store for Samba Replace or modify CTDB Rocksdb? Samba database API demanding Multiple processes and writers Record locking and transactions

References Samba: https://samba.org/ CTDB: https://ctdb.samba.org/ SMB 3.1.1 encryption: https://technet.microsoft.com/en-us/library/dn551363(v=ws.11).aspx Multichannel deployment: https://technet.microsoft.com/en-us/library/dn610980(v=ws.11).aspx Witness Protocol: http://www.sambaxp.org/archive_data/sambaxp2015-slides/wed/track1/sambaxp2015-wed-track1-guenther_des chner-implementingthewitnessprotocolinsamba.pdf Samba Multichannel Blocker Bug: https://bugzilla.samba.org/show_bug.cgi?id=11897 CephFS cache flags: https://jtlayton.wordpress.com/2016/09/01/cephfs-and-the-nfsv4-change-attribute/ Greg Farnum: Intro to Ceph, The Distributed Storage System Placement diagrams: http://yauuu.me/ride-around-ceph-crush-map.html

Join Us at www.opensuse.org

License This slide deck is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license. It can be shared and adapted for any purpose (even commercially) as long as Attribution is given and any derivative work is distributed under the same license. Details can be found at https://creativecommons.org/licenses/by-sa/4.0/ General Disclaimer This document is not to be construed as a promise by any participating organisation to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. opensuse makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for opensuse products remains at the sole discretion of opensuse. Further, opensuse reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All opensuse marks referenced in this presentation are trademarks or registered trademarks of SUSE LLC, in the United States and other countries. All third-party trademarks are the property of their respective owners. Credits Template Richard Brown rbrown@opensuse.org Design & Inspiration opensuse Design Team http://opensuse.github.io/brandingguidelines/