Cooking up some Docker and NetApp
Several weeks ago, I started messing about with the NetApp Docker Volume Plugin (nDVP) and building a project for a client. Over the course of this past month, I had the opportunity to get a lot of keyboard time and test many of the features against ONTAP Cloud. In fact, the project is using multiple containers in many different scenarios and backed by nDVP. I have to say that the integration is awesome and I have found it super easy. If you want to see a great demonstration of just how easy, I would suggest checking out the DevOps Demo: NetApp Docker Volume Plugin video from NetApp Insight 2016.
Being the automation guy that I am, I wanted to streamline the installation even further. My client needs the simple deployment of servers with different containers and configurations. I found the maintenance process easy and not too hard to add new configurations. As all good things, though, I want this automated so that I can press a button and fire off a new lab or two or twenty.
In the spirit of empowering the community, I have just shared a brand new CHEF cookbook on Github to install and configure NetApp+Docker integrations. I designed this cookbook to get you up and running by managing all the host dependencies (NFS utilities and/or iSCSI services depending on your configuration) and I included a sample recipe. You can also easily integrate this cookbook into your existing docker cookbooks by adding the resource to your current recipes.
Here are a few of the features:
- Support for ontap-nas and ontap-san configurations
- Support for Ubuntu/Debian or RedHat/Centos hosts
- Automatic installation of Docker and NFS/iSCSI services
- One or more configurations supported with full node attributes including an example test-cookbook.
Over the next few weeks, I plan to add a new recipe for integration with ONTAP Cloud and the Exosphere NetApp ONTAP Cloud Cookbook. I will also plan to share an example Terraform for AWS along with a Vagrantfile for local development.
Would you like to get started using this code? I open-sourced it and made it available below.