Jump to: navigation, search

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

m
m
Line 9: Line 9:
 
# iscsi - 7mode
 
# iscsi - 7mode
 
# iscsi - 7mode - direct
 
# iscsi - 7mode - direct
# iscsi - Cmode data ontap
+
# iscsi - Cmode
# iscsi - Cmode data ontap - direct
+
# iscsi - Cmode - direct
 
# nfs - 7mode
 
# nfs - 7mode
 
# nfs - 7mode - direct
 
# nfs - 7mode - direct
# nfs - Cmode data ontap
+
# nfs - Cmode
# nfs - Cmode data ontap - direct
+
# nfs - Cmode - 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''.
+
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).
  
=== NFS / 7mode driver Configuration ===
+
=== Instructions for: nfs - 7mode ===
  
 
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 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.

Revision as of 16:27, 4 November 2013

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

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