IBM/flocker-driver

Name: flocker-driver

Owner: International Business Machines

Description: IBM Storage Plug-in for Flocker

Created: 2017-01-04 14:47:32.0

Updated: 2018-04-09 15:57:39.0

Pushed: 2017-08-02 09:21:46.0

Homepage:

Size: 180

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

IBM Storage Plug-in for Flocker

This block storage plug-in (driver) for Flocker enables IBM storage systems to be used for persistent Docker containers. The plug-in is provided as is. It is an experimental feature that can be used in development and testing environments. The driver is certified for Flocker 1.15.0, Docker 12, RHEL 7.2 and IBM Spectrum Control Base Edition (SCBE) 3.2.0, supporting the following storage systems:

IBM Storage Plug-in for Flocker diagram

ibm_storage_flocker_diagram

Overview

Flocker is an open-source container data volume manager for your dockerized applications. Typically, Docker data volumes are tied to a single server. However, when Flocker datasets are used, the data volume can move with a container between different hosts in your cluster. This flexibility allows stateful container services to access data no matter where the container is placed.

Prerequisites

The following components are required before using the plug-in:

  1. Install Flocker.
  2. Install and configure IBM Spectrum Control Base Edition.
  3. Configure storage connectivity and multipathing.

1. Install Flocker

See the instructions on how to install Flocker on your nodes at Flocker.

2. Installing and configuring IBM Spectrum Control Base Edition

The IBM Storage plug-in for Flocker communicates with the IBM storage systems through IBM Spectrum Control Base Edition 3.2.0 or later. See IBM Knowledge Center for instructions on how download, install and configure Spectrum Control Base Edition software.

After IBM Spectrum Control Base Edition is installed, do the following :

3. Configuring storage connectivity and multipathing

The plug-in supports FC or iSCSI connectivity to the storage systems.

Installation

Install IBM Storage Plug-in for Flocker on each node of the Flocker cluster.

udo /opt/flocker/bin/pip install git+https://github.com/ibm/flocker-driver/
Usage instructions

Create and edit the agent.yml file in /etc/flocker directory as follows:

ion: 1
rol-service:
ostname: "FLOCKER_CONTROL_NODE"
set:
ckend: "ibm_storage_flocker_driver"
nagement_ip: "SCBE IP"
nagement_port: "SCBE PORT"
rify_ssl_certificate: "Boolean"
ername: "USERNAME"
ssword: "PASSWORD"
fault_service: "SERVICE"
stname: "HOSTNAME"
g_level: "LEVEL"

Replace the following values, according your environment:

Docker command examples
Running tests
Contribution

Create a fork of the project into your own repository. Make all necessary changes, create a pull request with a description on what was added or removed, provide details on code changes. If the changes are approved, project owners will merge it.

Licensing

Copyright 2016 IBM Corp.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.