Difference between revisions of "How to deploy cinder with NetApp"
(Created page with "=== 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...") |
(→Instructions for: nfs - 7mode - direct) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
# iscsi - 7mode | # iscsi - 7mode | ||
# iscsi - 7mode - direct | # iscsi - 7mode - direct | ||
− | # iscsi - Cmode | + | # iscsi - Cmode |
− | # iscsi - Cmode | + | # iscsi - Cmode - direct |
# nfs - 7mode | # nfs - 7mode | ||
# nfs - 7mode - direct | # nfs - 7mode - direct | ||
− | # nfs - Cmode | + | # nfs - Cmode |
− | # nfs - Cmode | + | # nfs - Cmode - direct |
− | 7mode is | + | 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 | + | This driver is compatible with the 7mode type of operations but requires a firmware >= 8.x on the storage server. |
− | |||
− | |||
− | |||
− | |||
==== 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: | ||
− | + | volume_driver = cinder.volume.drivers.netapp.common.NetAppDriver | |
− | + | netapp_storage_family = ontap_7mode | |
− | + | netapp_storage_protocol = nfs | |
− | netapp_server_hostname=$ | + | nfs_shares_config = $PATH_TO_SHARES_FILE |
− | netapp_server_port= | + | 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 | # 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:
- iscsi - 7mode
- iscsi - 7mode - direct
- iscsi - Cmode
- iscsi - Cmode - direct
- nfs - 7mode
- nfs - 7mode - direct
- nfs - Cmode
- 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