Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.7 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.7 KB

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)