OpenvStorage Block Device driver for Flocker, a container data orchestration system.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
openvstorage_flocker_plugin
LICENSE
README.md
setup.py

README.md

OpenvStorage Plugin for ClusterHQ/flocker

This an OpenvStorage Block Device driver for Flocker (version: 1.10.1), a container data orchestration system.

Description

ClusterHQ/Flocker provides an efficient and easy way to connect persistent store with Docker containers. OpenvStorage's Flocker volume plugin allows the data nodes to be moved to a new server when the application’s Docker container and associated OpenvStorage volumes are moved.

Prerequisites

Installation

Make sure you have Flocker already installed. If not visit Install Flocker

Be sure to use /opt/flocker/bin/python as this will install the driver into the right python environment

Install using python

git clone https://github.com/openvstorage/openvstorage-flocker-driver
cd openvstorage-flocker-driver/
sudo /opt/flocker/bin/python setup.py install

Be sure to use /opt/flocker/bin/pip as this will install the driver into the right python environment

Install using pip

git clone https://github.com/openvstorage/openvstorage-flocker-driver
cd openvstorage-flocker-driver/
/opt/flocker/bin/pip install openvstorage-flocker-driver/

##Usage

Add the following section to the file '/etc/flocker/agent.yml':
"dataset":
    "backend": "openvstorage_flocker_plugin"
    "vpool_conf_file": "/opt/OpenvStorage/config/storagedriver/storagedriver/.json"
(This is an example. Use your own values)