Jump to: navigation, search

How to deploy cinder with NetApp

Revision as of 14:36, 12 August 2013 by Giulio Fidente (talk | contribs)

Scope

This document will guide trough the basic steps needed to configure the NetApp drivers (backend) in Cinder. There is some documentation from NetApp on the topic available at https://communities.netapp.com/groups/openstack/content but this wiki page aims at being a quick guide describing only the minimum required configuration settings.

Premise

With the Grizzly release there is a total of 8 different drivers available in Cinder for use with the NetApp storages:

  1. iscsi - 7mode
  2. iscsi - 7mode - direct
  3. iscsi - Cmode data ontap
  4. iscsi - Cmode data ontap - direct
  5. nfs - 7mode
  6. nfs - 7mode - direct
  7. nfs - Cmode data ontap
  8. nfs - Cmode data ontap - direct

7mode is some older technology from NetApp, Cmode is effectively the revision 8 of their technology. The so called "direct" drivers do not require for the deployment of the NetApp DFM software but can only be used against hardware providing the required na_admin features via web interface and not against a vfiler.

NFS / 7mode driver Configuration

This driver is compatible with older NetApp hardware not supporting the Cmode type of operations as well as more recent hardware which is backward compatible with the 7mode type of operations. It requires the deployment of a DFM server.

DFM Setup

bla bla bla

Cinder Setup

The minimum changes needed for it to work are the following:

netapp_wsdl_url=http://${DFM_SERVER_HOSTNAME}:8080/dfm.wsdl
netapp_login=${DFM_USER}
netapp_password=${DFM_PASS}
netapp_server_hostname=${DFM_SERVER_HOSTNAME}
netapp_server_port=8080
nfs_shares_config=/etc/cinder/shares.conf
volume_driver=cinder.volume.drivers.netapp.nfs.NetAppNFSDriver

Populate the shares file by adding there the mount path to the NFS volume (assuming a vfiler is configured for the purpose):

${VFILER_HOSTNAME}:/vol/vfilers/${VFILER_HOSTNAME}

Later restart the Cinder services:

# for i in api scheduler volume; do service openstack-cinder-${i} restart; done