OpenvStorage Plugin for ClusterHQ/flocker
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.
- The Flocker integration requires the Blktap Open vStorage Utils to be installed.
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/
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)