From 93e5693a375578f2b6c23da3bf72598b04d91a5f Mon Sep 17 00:00:00 2001 From: Rick Chen Date: Tue, 3 Jun 2014 13:35:06 +0800 Subject: [PATCH] Add ProphetStor DPL Storage server volume driver for Cinder ProphetStor DPL Storage server enables x86 commodity hardware as enterprise-grade storage systems. Implements: blueprint prophetstor-dpl-driver Change-Id: I1c67754c6bb9e8be61afe18bf17000180769277b --- doc/common/tables/cinder-prophststor_dpl.xml | 47 +++++++ .../drivers/prophetstor-dpl-driver.xml | 116 ++++++++++++++++++ .../block-storage/section_volume-drivers.xml | 1 + .../cinder.flagmappings | 10 +- 4 files changed, 170 insertions(+), 4 deletions(-) create mode 100644 doc/common/tables/cinder-prophststor_dpl.xml create mode 100644 doc/config-reference/block-storage/drivers/prophetstor-dpl-driver.xml diff --git a/doc/common/tables/cinder-prophststor_dpl.xml b/doc/common/tables/cinder-prophststor_dpl.xml new file mode 100644 index 0000000000..2b590ec35f --- /dev/null +++ b/doc/common/tables/cinder-prophststor_dpl.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Description of configuration options for prophetstor_dpl
Configuration option = Default valueDescription
[DEFAULT]
san_ip = (StrOpt) IP address of ProphetStor DPL storage server.
san_login = (StrOpt) Username of ProphetStor DPL storage server.
san_password = (StrOpt) Password of ProphetStor DPL storage server.
san_thin_provision = True(BoolOpt) Use thin provisioning for SAN volumes.
dpl_port = 8357(IntOpt) Port number of ProphetStor DPL storage server.
dpl_pool = (StrOpt) Pool id of ProphetStor DPL storage server.
+
diff --git a/doc/config-reference/block-storage/drivers/prophetstor-dpl-driver.xml b/doc/config-reference/block-storage/drivers/prophetstor-dpl-driver.xml new file mode 100644 index 0000000000..c05b06f1da --- /dev/null +++ b/doc/config-reference/block-storage/drivers/prophetstor-dpl-driver.xml @@ -0,0 +1,116 @@ +
+ ProphetStor DPL Fibre Channel and iSCSI drivers + The DPLFCDriver and + DPLISCSIDriver drivers run + volume operations by communicating with the ProphetStor DPL storage + system over HTTPS. +
+ Supported operations + + + Volume create/delete. + + + Volume attach/detach. + + + Snapshot create/delete. + + + Create volume from snapshot. + + + Get volume stats. + + + Clone volume. + + + Extend volume. + + + Copy image to volume. + + + Copy volume to image. + + +
+
+ Enable the Fibre Channel or iSCSI drivers + The DPLFCDriver and + DPLISCSIDriver are installed + with the OpenStack software. + + + Query DPL pool id for configure dpl_pool of the + cinder.conf. + + + Logon onto the DPL storage system with administrator + access. + $ ssh root@DPL IP ADDRESS + + + View the current usable pool id. + $ flvcli show pool list +- d5bd40b58ea84e9da09dcf25a01fdc07 : default_pool_dc07 + + + Use d5bd40b58ea84e9da09dcf25a01fdc07 + to config the dpl_pool of /etc/cinder/cinder.conf. + + + + Other management command can reference by command help flvcli -h. + + + + Make the following changes on the volume node + /etc/cinder/cinder.conf + file. + # IP address of SAN controller (string value) +san_ip=DPL IP ADDRESS + +# Username for SAN controller (string value) +san_login=USERNAME + +# Password for SAN controller (string value) +san_password=PASSWORD + +# Use thin provisioning for SAN volumes? (boolean value) +san_thin_provision=true + +# DPL pool uuid in which DPL volumes are stored. (string value) +dpl_pool=d5bd40b58ea84e9da09dcf25a01fdc07 + +# DPL port number. (integer value) +dpl_port=8357 + +# Uncomment one of the next two option to enable Fibre channel or iSCSI +# FIBRE CHANNEL(uncomment the next line to enable the FC driver) +#volume_driver=cinder.volume.drivers.prophetstor.dpl_fc.DPLFCDriver +# iSCSI (uncomment the next line to enable the iSCSI driver) +#volume_driver=cinder.volume.drivers.prophetstor.dpl_iscsi.DPLISCSIDriver + + + Save the changes to the + /etc/cinder/cinder.conf file and + restart the cinder-volume service. + + + The ProphetStor Fibre Channel or iSCSI drivers are now + enabled on your OpenStack system. If you experience + problems, review the Block Storage service log files for + errors. + The following table contains the options supported + by the ProphetStor DPL driver. + +
+
\ No newline at end of file diff --git a/doc/config-reference/block-storage/section_volume-drivers.xml b/doc/config-reference/block-storage/section_volume-drivers.xml index 64e01350de..7e7e7b2471 100644 --- a/doc/config-reference/block-storage/section_volume-drivers.xml +++ b/doc/config-reference/block-storage/section_volume-drivers.xml @@ -32,6 +32,7 @@ + diff --git a/tools/autogenerate-config-flagmappings/cinder.flagmappings b/tools/autogenerate-config-flagmappings/cinder.flagmappings index 8ab521b556..eb7c95c514 100644 --- a/tools/autogenerate-config-flagmappings/cinder.flagmappings +++ b/tools/autogenerate-config-flagmappings/cinder.flagmappings @@ -52,6 +52,8 @@ default_log_levels common default_timeout rpc default_volume_type common disable_process_locking common +dpl_port prophetstor_dpl +dpl_pool prophetstor_dpl enable_new_services common enable_v1_api api enable_v2_api api @@ -277,13 +279,13 @@ rpc_zmq_port rpc rpc_zmq_topic_backlog rpc run_external_periodic_tasks common san_clustername san -san_ip san +san_ip san prophetstor_dpl san_is_local san -san_login san -san_password san +san_login san prophetstor_dpl +san_password san prophetstor_dpl san_private_key san san_ssh_port san -san_thin_provision san +san_thin_provision san prophetstor_dpl san_zfs_volume_base san-solaris scality_sofs_config scality scality_sofs_mount_point scality