Giter VIP home page Giter VIP logo

netapp-flocker-driver's Introduction

NetApp clustered Data ONTAP Backend Plugin for ClusterHQ/Flocker

Note: This has been tested with Flocker 1.6.1.

Pre-requisites

  • A physical or virtual clustered Data ONTAP system
  • A storage virtual machine (SVM) using iSCSI
  • A Linux machine running Flocker

Installation

  1. Install the following system packages on your system:

    • RHEL / CentOS
      • lsscsi
      • iscsi-initiator-utils
      • sg3_utils
      • device-mapper-multipath
      • python-devel - needed for lxml
      • libxml2-devel - needed for lxml
      • libxslt-devel - needed for lxml
sudo yum install -y lsscsi iscsi-initiator-utils sg3_utils device-mapper-multipath python-devel libxml2-devel libxslt-devel
  1. Start the multi-pathing daemon:
sudo mpathconf --enable --with_multipathd y
  1. Ensure that iscsid, and multipathd are enabled and running:
sudo systemctl enable iscsid multipathd
sudo systemctl start iscsid multipathd
  1. Discover the iSCSI targets:
sudo iscsiadm -m discoverydb -t st -p <DATA_LIF_IP> --discover
  1. Login to the discovered iSCSI targets:
sudo iscsiadm -m node -p <DATA_LIF_IP> --login
  1. Start and enable iscsi:
sudo systemctl enable iscsi
sudo systemctl start iscsi
  1. Install the NetApp clustered Data ONTAP plugin:
sudo /opt/flocker/bin/pip install git+https://github.com/NetApp/netapp-flocker-driver.git

Usage

Modify the Flocker agent configuration file at /etc/flocker/agent.yml and add the following backend:

dataset:
  backend: "netapp_flocker_driver"
  username: <USERNAME>
  password: <PASSWORD>
  hostname: <HOSTNAME>
  vserver: <VSERVER>
  poolname: <POOLNAME>

Replace the following values:

  • <USERNAME> = Your username
  • <PASSWORD> = Your password
  • <HOSTNAME> = The cluster IP
  • <VSERVER> = The Storage Virtual Machine (SVM)
  • <POOLNAME> = The volume where LUNs will be created

Restart the flocker-dataset-agent to pick up your changes.

netapp-flocker-driver's People

Contributors

innergy avatar jaredhocutt avatar unnatural940 avatar

Watchers

James Cloos avatar Stephen Nguyen avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.