Jump to: navigation, search

Difference between revisions of "How to deploy cinder with NetApp"

m
(Instructions for: nfs - 7mode - direct)
 
Line 18: Line 18:
 
7mode is somewhat older technology, Cmode is effectively the newer revision (rev. 8). The so called "direct" drivers do not require for the deployment of the NetApp's intermediate management software (DFM for 7mode).
 
7mode is somewhat older technology, Cmode is effectively the newer revision (rev. 8). The so called "direct" drivers do not require for the deployment of the NetApp's intermediate management software (DFM for 7mode).
  
=== Instructions for: nfs - 7mode ===
+
=== Instructions for: nfs - 7mode - direct ===
  
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.
+
This driver is compatible with the 7mode type of operations but requires a firmware >= 8.x on the storage server.
 
 
==== DFM Setup ====
 
 
 
bla bla bla
 
  
 
==== Cinder Setup ====
 
==== Cinder Setup ====
  
 
The minimum changes needed for it to work are the following:
 
The minimum changes needed for it to work are the following:
  netapp_wsdl_url=http://${DFM_SERVER_HOSTNAME}:8080/dfm.wsdl
+
  volume_driver = cinder.volume.drivers.netapp.common.NetAppDriver
  netapp_login=${DFM_USER}
+
  netapp_storage_family = ontap_7mode
  netapp_password=${DFM_PASS}
+
netapp_storage_protocol = nfs
  netapp_server_hostname=${DFM_SERVER_HOSTNAME}
+
  nfs_shares_config = $PATH_TO_SHARES_FILE
  netapp_server_port=8080
+
  netapp_server_hostname = $NETAPP_WEB_FQDN
  nfs_shares_config=/etc/cinder/shares.conf
+
  netapp_server_port = 80 (or 443)
  volume_driver=cinder.volume.drivers.netapp.nfs.NetAppNFSDriver
+
  netapp_login = $NETAPP_WEB_USERNAME
 +
  netapp_password = $NETAPP_WEB_PASSWORD
  
Populate the shares file by adding there the mount path to the NFS volume (assuming a vfiler is configured for the purpose):
+
Create and populate the shares file adding there the mount path to the NFS volume:
  ${VFILER_HOSTNAME}:/vol/vfilers/${VFILER_HOSTNAME}
+
  $NETAPP_FQDN:/vol/$VOLUME_PATH
  
Later restart the Cinder services:
+
Restart the Cinder services:
 
  # for i in api scheduler volume; do service openstack-cinder-${i} restart; done
 
  # for i in api scheduler volume; do service openstack-cinder-${i} restart; done

Latest revision as of 11:35, 28 January 2014

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
  4. iscsi - Cmode - direct
  5. nfs - 7mode
  6. nfs - 7mode - direct
  7. nfs - Cmode
  8. nfs - Cmode - direct

7mode is somewhat older technology, Cmode is effectively the newer revision (rev. 8). The so called "direct" drivers do not require for the deployment of the NetApp's intermediate management software (DFM for 7mode).

Instructions for: nfs - 7mode - direct

This driver is compatible with the 7mode type of operations but requires a firmware >= 8.x on the storage server.

Cinder Setup

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

volume_driver = cinder.volume.drivers.netapp.common.NetAppDriver
netapp_storage_family = ontap_7mode
netapp_storage_protocol = nfs
nfs_shares_config = $PATH_TO_SHARES_FILE
netapp_server_hostname = $NETAPP_WEB_FQDN
netapp_server_port = 80 (or 443)
netapp_login = $NETAPP_WEB_USERNAME
netapp_password = $NETAPP_WEB_PASSWORD

Create and populate the shares file adding there the mount path to the NFS volume:

$NETAPP_FQDN:/vol/$VOLUME_PATH

Restart the Cinder services:

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