FlashBlade Driver
Overview
The FlashBlade driver does not support share server
management ind is therefore considered a DHSS=False type
driver.
Installation
Important
The FlashBlade Manila driver is not currently upstream in OpenStack Manila and therefore needs to be manually installed in a running Manila configuration. This driver is only supported on a Best Efforts basis and there is currently no official support from Pure Storage.
Perform the following steps to install the driver.
Locate the
maniladirectory for your OpenStack deployment and create the following directorymanila/share/drivers/purestorageCopy the FlashBlade driver file into this new directory
cd manila/share/drivers/purestoragewget https://raw.githubusercontent.com/PureStorage-OpenConnect/OpenStack-Manila/master/manila/share/drivers/purestorage/flashblade.py .Edit the file
manila/opts.pyand perform the following actions:Near the beginning of the file with the
importcommands and addimport manila.share.drivers.purestorage.flashbladeFind the
_global_opt_listssection and add the following linesmanila.share.drivers.purestorage.flashblade.flashblade_auth_opts,manila.share.drivers.purestorage.flashblade.flashblade_extra_opts,manila.share.drivers.purestorage.flashblade.flashblade_connection_opts,
Setup
To set up the FlashBlade driver without Share Server,
the following stanza should be added to the Manila
configuration file (manila.conf):
[flashblade]
share_backend_name = flashblade
share_driver = manila.share.drivers.purestorage.flashblade.FlashBladeShareDriver
driver_handles_share_servers = False
flashblade_mgmt_vip = FlashBlade management VIP
flashblade_data_vip = FlashBlade data VIP
flashblade_api = FlashBlade API token
flashblade_eradicate = { True | False }
Be sure that the value of the
enabled_share_backendsoption in the[DEFAULT]stanza includes the name of the stanza you chose for the backend.The value of
driver_handles_share_serversMUST be set toFalse.
After completing the configuration of the Manila configuration file you must restart all of the Manila services to enable the FlashBlade driver.
Table 9.15, “Configuration options for FlashBlade” lists the configuration options available for FlashBlade driver.
Option |
Type |
Description |
|---|---|---|
|
Required |
The name used by Manila to refer to the Manila backend |
|
Required |
Set the value to manila.share.drivers.purestorage.flashblade.FlashBladeShareDriver |
|
Required |
Denotes whether the driver should handle the responsibility of managing share servers. This must be set to |
|
Required |
Denotes the Management IP address of the Pure Storage FlashBlade to manage with the Manila driver. |
|
Required |
Denotes a Data VIP address on the managed Pure Storage FlashBlade. This should be within the same subnet, or accessible via routing, to the Neutron network used by the Nova instances requiring to use this FlashBlade. |
|
Required |
Denotes an API token for a user on the FlashBlade. This user requires administrative role capabilities and can be either local or be managed under an external account control system, such as LDAP or AD. |
|
Optional |
Enable auto-eradication of shares and snapshots on deletion (Default: |
Table 9.15. Configuration options for FlashBlade