SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Elara Introduction
Wentao
Zhang?
About Me
• Seven Years Work Experience:
 2009-2014, Ericsson.
 14-Now, 2012 Lab department, Huawei Company.
• Skills:
 Familiar with Docker platform
 Familiar with Openstack storage .
 Good at Linux Platform Software Development.
 Familiar with Linux Kernel development.
Agenda
Why Elara
• Local Storage vs Shared
Storage
• Why Elara
What is Elara
• New Features of Elara
• Architecture
• Status Management
• Elara Scenario
• Backend driver
• Support Storage Interface
Elara Introduction
A docker Volume plugin
A Glimpse of Elara
• A Docker Volume Plugin
• A Distributed Volume Management Tool
• A Connection between Container and Shared
Storage Provider
• Rich of volume operations.
A Glimpse of Elara
Storage
Pool
…
Elara
docker
Elara
docker
Why Elara?
Local Storage vs Shared Storage
• Local Storage
– Data stores in Local machine.
– Migration is difficult and cost high
– Server crash hard to recover data.
– Docker graphic driver
• Shared Storage
– Persistent Storage for Docker
– Easy to support Container Migration
– Like openstack (cinder, manila, Swift), ceph…
migration
Host A Host B
copy
Glad to useShared Storage by Plugins in containers!
Elara come up
• Focus on large container cloud
distribution.
 Node Management (domain)
 Auto-deploy
• Focus on shared storage only.
• Meet all the requirement from Docker data
volume storage.
• Run on Huawei Storage Device and the
Devices from other manufactory.
Why Elara
Docker Volume Status
• Docker and lots of Plugins Supports
Local Volume.
 Local Storage.
 Local Database.
• Lack of volume operation interface.
 Snapshot operation
 Qos(IOPS and disk quota, resize..)
• No resource Scheduler(!)
What is Elara?
New Features of Elara
• Node management
• Status stored remotely in credible storage.
• Focus on shared storage
• Advanced operations on volumes
• Multiple backend driver
• Resource scheduler(!)
Architecture
• KV storage as
database.
• Container migration
• Support snapshot,
backup, migration,
• Support Qos like IPOS,
disk quota, extend
volume.
• Suport bckend driver
extention
• Focus on shared
storage only
Status Management
Elara node status management
 K-v storage
 Each node registered
 All Status stored remotely
 All nodes Equal
K-V
Storage
Node info
Volume Status
Elara Elara Elara…
Elara Scenario
 The connection between
Container and shared storage.
 Cover all the North Interfaces
for Docker
Backend driver
 Filesystem & Block Device
 NFS, Cinder, DJ as backend
 easy to extend
 Difference opaque to user
 Driver + Instance concept
Block Device
Driver
Volume
Manager
Driver
Interface
FileSystem
Driver
Cinder
Huawei
DJ
SAN
NFS Driver
NAS
Manila
Support Storage Interface
• Management Interface:
– Volume Operation
 Create Volume
 Delete Volume
– Snapshot & Backup
 Create snapshot
 Delete snapshot
 Restore volume from snapshot
– Oos:
 IPOS.
 Extend Volume.
 Disk Quota.
• Data Plane:
– Volume Resource Pool
 Provide muti-backends to virtual
Pool, maybe several physical
volume make up one virtual pool.
– Volume Scheduler
 Load Backend, scheduler
– Volume Transfer
 Migration and backup the data
volume.
Demo
• A glance for Elara.
• Elara Openstack show.
 Node Status.
 Volume operation.
 Snapshot operation.
Elara Show
Openstack show
Thank you!
• Docker origin Volume Interface
• Docker Volume Plugin
Docker Volume Interface
Docker Volume Interface
• Docker Supported Volume operation
docker run –v /xx/volume:/data niginx:web_server
• Kubernets distributed volumes
 Kubernetes has many backends
 Do not support volume plugin
K8S Master
Host A
Docker
Storage
kubelet
Volume
Container
Volume
Docker Volume Plugin
• Basic knowledge
– Defined by community
– Plugin Discovery(config)
• APIs
– VolumeDriver.Active
– VolumeDriver.Create
– VolumeDriver.Remove
– VolumeDriver.Mount
– VolumeDriver.Path
– VolumeDriver.Umount
– VolumeDriver.Get
– VolumeDriver.List
Elara Volume Work Flow
1. Create Volume request from docker, elara,
kubelete..
2. Docker Daemon send Volume Plugin API to Elara
daemon
3. Elara daemon access database (etcd),
4. Elara send request to backend storage
5. Backend storage will create a volume.
6. Elara send attach command to attach volume to
host.
7. Storage backend will use protocol (like iscsi) to
attach it to the host. Host will scan this volume.
8. Elara will format this volume and mkfs for it, and
mount to a path and send to docker to use it.
Host A
Docker Daemon
Elara Daemon
ETCD
Docker
Client
Elara
Client
8
1 1
2
3
4
Backend Storage
6
7
5
/dev/vdx
volume
volume
https://github.com/docker/docker/blob/master/docs/extend/plugin_api.md
https://github.com/docker/docker/blob/master/docs/extend/plugins_volume.md
Quote

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...
Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...
Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...
 
Docker for Ops: Operationalize your Docker Built Apps in Production by Evan H...
Docker for Ops: Operationalize your Docker Built Apps in Production by Evan H...Docker for Ops: Operationalize your Docker Built Apps in Production by Evan H...
Docker for Ops: Operationalize your Docker Built Apps in Production by Evan H...
 
Dell Trials and Triumphs using Docker on Client Systems by Sean McGinnis and ...
Dell Trials and Triumphs using Docker on Client Systems by Sean McGinnis and ...Dell Trials and Triumphs using Docker on Client Systems by Sean McGinnis and ...
Dell Trials and Triumphs using Docker on Client Systems by Sean McGinnis and ...
 
On-the-Fly Containerization of Enterprise Java & .NET Apps by Amjad Afanah
On-the-Fly Containerization of Enterprise Java & .NET Apps by Amjad AfanahOn-the-Fly Containerization of Enterprise Java & .NET Apps by Amjad Afanah
On-the-Fly Containerization of Enterprise Java & .NET Apps by Amjad Afanah
 
Cost Control Across Cloud, On-Premise and VM Computers by Mark Lavi, Calm.io
Cost Control Across Cloud, On-Premise and VM Computers by Mark Lavi, Calm.ioCost Control Across Cloud, On-Premise and VM Computers by Mark Lavi, Calm.io
Cost Control Across Cloud, On-Premise and VM Computers by Mark Lavi, Calm.io
 
Moving Applications into Azure Kubernetes
Moving Applications into Azure KubernetesMoving Applications into Azure Kubernetes
Moving Applications into Azure Kubernetes
 
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
 
Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...
Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...
Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...
 
Practical Container Security by Mrunal Patel and Thomas Cameron, Red Hat
Practical Container Security by Mrunal Patel and Thomas Cameron, Red HatPractical Container Security by Mrunal Patel and Thomas Cameron, Red Hat
Practical Container Security by Mrunal Patel and Thomas Cameron, Red Hat
 
Aks pimarox from zero to hero
Aks pimarox from zero to heroAks pimarox from zero to hero
Aks pimarox from zero to hero
 
A curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & KubernetesA curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & Kubernetes
 
Introduction to container mangement
Introduction to container mangementIntroduction to container mangement
Introduction to container mangement
 
Using Containers and HPC to Solve the Mysteries of the Universe by Deborah Bard
Using Containers and HPC to Solve the Mysteries of the Universe by Deborah BardUsing Containers and HPC to Solve the Mysteries of the Universe by Deborah Bard
Using Containers and HPC to Solve the Mysteries of the Universe by Deborah Bard
 
DockerCon EU 2015: Monitoring Docker
DockerCon EU 2015: Monitoring DockerDockerCon EU 2015: Monitoring Docker
DockerCon EU 2015: Monitoring Docker
 
Docker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container worldDocker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container world
 
Creating a Kubernetes Operator in Java
Creating a Kubernetes Operator in JavaCreating a Kubernetes Operator in Java
Creating a Kubernetes Operator in Java
 
Container Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and KubernetesContainer Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and Kubernetes
 
NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013
 
Container orchestration overview
Container orchestration overviewContainer orchestration overview
Container orchestration overview
 
ElasticKube, a Container Management Platform for Kubernetes
ElasticKube, a Container Management Platform for KubernetesElasticKube, a Container Management Platform for Kubernetes
ElasticKube, a Container Management Platform for Kubernetes
 

Ähnlich wie A New Centralized Volume Storage Solution for Docker and Container Cloud by Wentao Zhang, Huawei

Lessons learned from running Spark on Docker
Lessons learned from running Spark on DockerLessons learned from running Spark on Docker
Lessons learned from running Spark on Docker
DataWorks Summit
 
Intro Docker october 2013
Intro Docker october 2013Intro Docker october 2013
Intro Docker october 2013
dotCloud
 
Intro to Docker October 2013
Intro to Docker October 2013Intro to Docker October 2013
Intro to Docker October 2013
Docker, Inc.
 
Intro to Docker November 2013
Intro to Docker November 2013Intro to Docker November 2013
Intro to Docker November 2013
Docker, Inc.
 
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
dotCloud
 

Ähnlich wie A New Centralized Volume Storage Solution for Docker and Container Cloud by Wentao Zhang, Huawei (20)

Using Docker in production: Get started today!
Using Docker in production: Get started today!Using Docker in production: Get started today!
Using Docker in production: Get started today!
 
Lessons learned from running Spark on Docker
Lessons learned from running Spark on DockerLessons learned from running Spark on Docker
Lessons learned from running Spark on Docker
 
Intro Docker october 2013
Intro Docker october 2013Intro Docker october 2013
Intro Docker october 2013
 
Intro to Docker October 2013
Intro to Docker October 2013Intro to Docker October 2013
Intro to Docker October 2013
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
OpenStack Cinder, Implementation Today and New Trends for TomorrowOpenStack Cinder, Implementation Today and New Trends for Tomorrow
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
 
Orchestrating Linux Containers while tolerating failures
Orchestrating Linux Containers while tolerating failuresOrchestrating Linux Containers while tolerating failures
Orchestrating Linux Containers while tolerating failures
 
Containers and Nutanix - Acropolis Container Services
Containers and Nutanix - Acropolis Container ServicesContainers and Nutanix - Acropolis Container Services
Containers and Nutanix - Acropolis Container Services
 
Intro to Docker November 2013
Intro to Docker November 2013Intro to Docker November 2013
Intro to Docker November 2013
 
Leveraging OpenStack Cinder for Peak Application Performance
Leveraging OpenStack Cinder for Peak Application PerformanceLeveraging OpenStack Cinder for Peak Application Performance
Leveraging OpenStack Cinder for Peak Application Performance
 
OpenStack Summit
OpenStack SummitOpenStack Summit
OpenStack Summit
 
Docker and kubernetes
Docker and kubernetesDocker and kubernetes
Docker and kubernetes
 
Word press and containers
Word press and containersWord press and containers
Word press and containers
 
컨테이너 기술 소개 - Warden, Garden, Docker
컨테이너 기술 소개 - Warden, Garden, Docker컨테이너 기술 소개 - Warden, Garden, Docker
컨테이너 기술 소개 - Warden, Garden, Docker
 
Docker
DockerDocker
Docker
 
Docker handons-workshop-for-charity
Docker handons-workshop-for-charityDocker handons-workshop-for-charity
Docker handons-workshop-for-charity
 
Pablo Chico de Guzman | Introducción a Docker y Kubernetes | Codemotion Madri...
Pablo Chico de Guzman | Introducción a Docker y Kubernetes | Codemotion Madri...Pablo Chico de Guzman | Introducción a Docker y Kubernetes | Codemotion Madri...
Pablo Chico de Guzman | Introducción a Docker y Kubernetes | Codemotion Madri...
 
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
 
State of the Container Ecosystem
State of the Container EcosystemState of the Container Ecosystem
State of the Container Ecosystem
 
Best Practices for Running Kafka on Docker Containers
Best Practices for Running Kafka on Docker ContainersBest Practices for Running Kafka on Docker Containers
Best Practices for Running Kafka on Docker Containers
 

Mehr von Docker, Inc.

Build & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWSBuild & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWS
Docker, Inc.
 
Build & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWSBuild & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWS
Docker, Inc.
 

Mehr von Docker, Inc. (20)

Containerize Your Game Server for the Best Multiplayer Experience
Containerize Your Game Server for the Best Multiplayer Experience Containerize Your Game Server for the Best Multiplayer Experience
Containerize Your Game Server for the Best Multiplayer Experience
 
How to Improve Your Image Builds Using Advance Docker Build
How to Improve Your Image Builds Using Advance Docker BuildHow to Improve Your Image Builds Using Advance Docker Build
How to Improve Your Image Builds Using Advance Docker Build
 
Build & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWSBuild & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWS
 
Securing Your Containerized Applications with NGINX
Securing Your Containerized Applications with NGINXSecuring Your Containerized Applications with NGINX
Securing Your Containerized Applications with NGINX
 
How To Build and Run Node Apps with Docker and Compose
How To Build and Run Node Apps with Docker and ComposeHow To Build and Run Node Apps with Docker and Compose
How To Build and Run Node Apps with Docker and Compose
 
Hands-on Helm
Hands-on Helm Hands-on Helm
Hands-on Helm
 
Distributed Deep Learning with Docker at Salesforce
Distributed Deep Learning with Docker at SalesforceDistributed Deep Learning with Docker at Salesforce
Distributed Deep Learning with Docker at Salesforce
 
The First 10M Pulls: Building The Official Curl Image for Docker Hub
The First 10M Pulls: Building The Official Curl Image for Docker HubThe First 10M Pulls: Building The Official Curl Image for Docker Hub
The First 10M Pulls: Building The Official Curl Image for Docker Hub
 
Monitoring in a Microservices World
Monitoring in a Microservices WorldMonitoring in a Microservices World
Monitoring in a Microservices World
 
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
 
Predicting Space Weather with Docker
Predicting Space Weather with DockerPredicting Space Weather with Docker
Predicting Space Weather with Docker
 
Become a Docker Power User With Microsoft Visual Studio Code
Become a Docker Power User With Microsoft Visual Studio CodeBecome a Docker Power User With Microsoft Visual Studio Code
Become a Docker Power User With Microsoft Visual Studio Code
 
How to Use Mirroring and Caching to Optimize your Container Registry
How to Use Mirroring and Caching to Optimize your Container RegistryHow to Use Mirroring and Caching to Optimize your Container Registry
How to Use Mirroring and Caching to Optimize your Container Registry
 
Monolithic to Microservices + Docker = SDLC on Steroids!
Monolithic to Microservices + Docker = SDLC on Steroids!Monolithic to Microservices + Docker = SDLC on Steroids!
Monolithic to Microservices + Docker = SDLC on Steroids!
 
Kubernetes at Datadog Scale
Kubernetes at Datadog ScaleKubernetes at Datadog Scale
Kubernetes at Datadog Scale
 
Labels, Labels, Labels
Labels, Labels, Labels Labels, Labels, Labels
Labels, Labels, Labels
 
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment ModelUsing Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
 
Build & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWSBuild & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWS
 
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
 
Developing with Docker for the Arm Architecture
Developing with Docker for the Arm ArchitectureDeveloping with Docker for the Arm Architecture
Developing with Docker for the Arm Architecture
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

A New Centralized Volume Storage Solution for Docker and Container Cloud by Wentao Zhang, Huawei

  • 2. About Me • Seven Years Work Experience:  2009-2014, Ericsson.  14-Now, 2012 Lab department, Huawei Company. • Skills:  Familiar with Docker platform  Familiar with Openstack storage .  Good at Linux Platform Software Development.  Familiar with Linux Kernel development.
  • 3. Agenda Why Elara • Local Storage vs Shared Storage • Why Elara What is Elara • New Features of Elara • Architecture • Status Management • Elara Scenario • Backend driver • Support Storage Interface
  • 5. A Glimpse of Elara
  • 6. • A Docker Volume Plugin • A Distributed Volume Management Tool • A Connection between Container and Shared Storage Provider • Rich of volume operations. A Glimpse of Elara Storage Pool … Elara docker Elara docker
  • 8. Local Storage vs Shared Storage • Local Storage – Data stores in Local machine. – Migration is difficult and cost high – Server crash hard to recover data. – Docker graphic driver • Shared Storage – Persistent Storage for Docker – Easy to support Container Migration – Like openstack (cinder, manila, Swift), ceph… migration Host A Host B copy Glad to useShared Storage by Plugins in containers!
  • 9. Elara come up • Focus on large container cloud distribution.  Node Management (domain)  Auto-deploy • Focus on shared storage only. • Meet all the requirement from Docker data volume storage. • Run on Huawei Storage Device and the Devices from other manufactory. Why Elara Docker Volume Status • Docker and lots of Plugins Supports Local Volume.  Local Storage.  Local Database. • Lack of volume operation interface.  Snapshot operation  Qos(IOPS and disk quota, resize..) • No resource Scheduler(!)
  • 11. New Features of Elara • Node management • Status stored remotely in credible storage. • Focus on shared storage • Advanced operations on volumes • Multiple backend driver • Resource scheduler(!)
  • 12. Architecture • KV storage as database. • Container migration • Support snapshot, backup, migration, • Support Qos like IPOS, disk quota, extend volume. • Suport bckend driver extention • Focus on shared storage only
  • 13. Status Management Elara node status management  K-v storage  Each node registered  All Status stored remotely  All nodes Equal K-V Storage Node info Volume Status Elara Elara Elara…
  • 14. Elara Scenario  The connection between Container and shared storage.  Cover all the North Interfaces for Docker
  • 15. Backend driver  Filesystem & Block Device  NFS, Cinder, DJ as backend  easy to extend  Difference opaque to user  Driver + Instance concept Block Device Driver Volume Manager Driver Interface FileSystem Driver Cinder Huawei DJ SAN NFS Driver NAS Manila
  • 16. Support Storage Interface • Management Interface: – Volume Operation  Create Volume  Delete Volume – Snapshot & Backup  Create snapshot  Delete snapshot  Restore volume from snapshot – Oos:  IPOS.  Extend Volume.  Disk Quota. • Data Plane: – Volume Resource Pool  Provide muti-backends to virtual Pool, maybe several physical volume make up one virtual pool. – Volume Scheduler  Load Backend, scheduler – Volume Transfer  Migration and backup the data volume.
  • 17. Demo
  • 18. • A glance for Elara. • Elara Openstack show.  Node Status.  Volume operation.  Snapshot operation. Elara Show Openstack show
  • 20. • Docker origin Volume Interface • Docker Volume Plugin Docker Volume Interface
  • 21. Docker Volume Interface • Docker Supported Volume operation docker run –v /xx/volume:/data niginx:web_server • Kubernets distributed volumes  Kubernetes has many backends  Do not support volume plugin K8S Master Host A Docker Storage kubelet Volume Container Volume
  • 22. Docker Volume Plugin • Basic knowledge – Defined by community – Plugin Discovery(config) • APIs – VolumeDriver.Active – VolumeDriver.Create – VolumeDriver.Remove – VolumeDriver.Mount – VolumeDriver.Path – VolumeDriver.Umount – VolumeDriver.Get – VolumeDriver.List
  • 23. Elara Volume Work Flow 1. Create Volume request from docker, elara, kubelete.. 2. Docker Daemon send Volume Plugin API to Elara daemon 3. Elara daemon access database (etcd), 4. Elara send request to backend storage 5. Backend storage will create a volume. 6. Elara send attach command to attach volume to host. 7. Storage backend will use protocol (like iscsi) to attach it to the host. Host will scan this volume. 8. Elara will format this volume and mkfs for it, and mount to a path and send to docker to use it. Host A Docker Daemon Elara Daemon ETCD Docker Client Elara Client 8 1 1 2 3 4 Backend Storage 6 7 5 /dev/vdx volume volume

Hinweis der Redaktion

  1. Large distribution: our practice, middle: 1000 nodes, 100 000 containers. large: 10000 nodes, 1000 000 containers.