Storage configuration options
See the configuration options available for your Astra Trident configurations.
Global configuration options
These configuration options apply to all Astra Trident configurations, regardless of the storage platform being used.
Option | Description | Example |
---|---|---|
|
Config file version number |
|
|
Name of storage driver |
|
|
Optional prefix for volume names. Default: |
|
|
Optional restriction on volume sizes. Default: "" (not enforced) |
|
Do not use storagePrefix (including the default) for Element backends. By default, the solidfire-san driver will ignore this setting and not use a prefix. We recommend using either a specific tenantID for Docker volume mapping or using the attribute data which is populated with the Docker version, driver info, and raw name from Docker in cases where any name munging may have been used.
|
Default options are available to avoid having to specify them on every volume you create. The size
option is available for all the controller types. See the ONTAP configuration section for an example of how to set the default volume size.
Option | Description | Example |
---|---|---|
|
Optional default size for new volumes. Default: |
|
ONTAP configuration
In addition to the global configuration values above, when using ONTAP, the following top-level options are available.
Option | Description | Example |
---|---|---|
|
IP address of ONTAP management LIF. You can specify a fully-qualified domain name (FQDN). |
|
|
IP address of protocol LIF. ONTAP NAS drivers: We recommend specifying ONTAP SAN drivers: Do not specify for iSCSI. Astra Trident uses ONTAP Selective LUN Map to discover the iSCI LIFs needed to establish a multi path session. A warning is generated if |
|
|
Storage virtual machine to use (required, if management LIF is a cluster LIF) |
|
|
Username to connect to the storage device |
|
|
Password to connect to the storage device |
|
|
Aggregate for provisioning (optional; if set, must be assigned to the SVM). For the |
|
|
Optional, fail provisioning if usage is above this percentage |
|
|
Fine grained control of NFS mount options; defaults to “-o nfsvers=3”. Available only for the |
|
|
Astra Trident creates and manages per-node This value cannot be changed or omitted. Available only for the |
|
|
Maximum requestable volume size. |
|
|
Maximum qtrees per FlexVol, must be in range [50, 300], default is 200. For the |
|
|
Supported for |
|
|
Supported for |
|
Default options are available to avoid having to specify them on every volume you create:
Option | Description | Example |
---|---|---|
|
Space reservation mode; |
|
|
Snapshot policy to use, default is |
|
|
Snapshot reserve percentage, default is “” to accept the ONTAP default |
|
|
Split a clone from its parent upon creation, defaults to |
|
|
Enables NetApp Volume Encryption (NVE) on the new volume; defaults to If NAE is enabled on the backend, any volume provisioned in Astra Trident will be NAE enabled. For more information, refer to: How Astra Trident works with NVE and NAE. |
true |
|
NAS option for provisioned NFS volumes, defaults to |
|
|
NAS option for access to the |
|
|
NAS option for the NFS export policy to use, defaults to |
|
|
NAS option for access to the provisioned NFS volume. NFS supports |
|
|
SAN option to select the file system type, defaults to |
|
|
Tiering policy to use, default is |
|
Scaling options
The ontap-nas
and ontap-san
drivers create an ONTAP FlexVol for each Docker volume. ONTAP supports up to 1000 FlexVols per cluster node with a cluster maximum of 12,000 FlexVols. If your Docker volume requirements fit within that limitation, the ontap-nas
driver is the preferred NAS solution due to the additional features offered by FlexVols, such as Docker-volume-granular snapshots and cloning.
If you need more Docker volumes than can be accommodated by the FlexVol limits, choose the ontap-nas-economy
or the ontap-san-economy
driver.
The ontap-nas-economy
driver creates Docker volumes as ONTAP Qtrees within a pool of automatically managed FlexVols. Qtrees offer far greater scaling, up to 100,000 per cluster node and 2,400,000 per cluster, at the expense of some features. The ontap-nas-economy
driver does not support Docker-volume-granular snapshots or cloning.
The ontap-nas-economy driver is not currently supported in Docker Swarm, because Swarm does not orchestrate volume creation across multiple nodes.
|
The ontap-san-economy
driver creates Docker volumes as ONTAP LUNs within a shared pool of automatically managed FlexVols. This way, each FlexVol is not restricted to only one LUN and it offers better scalability for SAN workloads. Depending on the storage array, ONTAP supports up to 16384 LUNs per cluster. Because the volumes are LUNs underneath, this driver supports Docker-volume-granular snapshots and cloning.
Choose the ontap-nas-flexgroup
driver to increase parallelism to a single volume that can grow into the petabyte range with billions of files. Some ideal use cases for FlexGroups include AI/ML/DL, big data and analytics, software builds, streaming, file repositories, and so on. Trident uses all aggregates assigned to an SVM when provisioning a FlexGroup Volume. FlexGroup support in Trident also has the following considerations:
-
Requires ONTAP version 9.2 or greater.
-
As of this writing, FlexGroups only support NFS v3.
-
Recommended to enable the 64-bit NFSv3 identifiers for the SVM.
-
The minimum recommended FlexGroup member/volume size is 100GiB.
-
Cloning is not supported for FlexGroup Volumes.
For information about FlexGroups and workloads that are appropriate for FlexGroups see the NetApp FlexGroup Volume Best Practices and Implementation Guide.
To get advanced features and huge scale in the same environment, you can run multiple instances of the Docker Volume Plugin, with one using ontap-nas
and another using ontap-nas-economy
.
Example ONTAP configuration files
NFS example for ontap-nas
driver
{ "version": 1, "storageDriverName": "ontap-nas", "managementLIF": "10.0.0.1", "dataLIF": "10.0.0.2", "svm": "svm_nfs", "username": "vsadmin", "password": "password", "aggregate": "aggr1", "defaults": { "size": "10G", "spaceReserve": "none", "exportPolicy": "default" } }
NFS example for ontap-nas-flexgroup
driver
{ "version": 1, "storageDriverName": "ontap-nas-flexgroup", "managementLIF": "10.0.0.1", "dataLIF": "10.0.0.2", "svm": "svm_nfs", "username": "vsadmin", "password": "password", "defaults": { "size": "100G", "spaceReserve": "none", "exportPolicy": "default" } }
NFS example for ontap-nas-economy
driver
{ "version": 1, "storageDriverName": "ontap-nas-economy", "managementLIF": "10.0.0.1", "dataLIF": "10.0.0.2", "svm": "svm_nfs", "username": "vsadmin", "password": "password", "aggregate": "aggr1" }
iSCSI example for ontap-san
driver
{ "version": 1, "storageDriverName": "ontap-san", "managementLIF": "10.0.0.1", "dataLIF": "10.0.0.3", "svm": "svm_iscsi", "username": "vsadmin", "password": "password", "aggregate": "aggr1", "igroupName": "netappdvp" }
NFS example for ontap-san-economy
driver
{ "version": 1, "storageDriverName": "ontap-san-economy", "managementLIF": "10.0.0.1", "dataLIF": "10.0.0.3", "svm": "svm_iscsi_eco", "username": "vsadmin", "password": "password", "aggregate": "aggr1", "igroupName": "netappdvp" }
NVMe/TCP example for ontap-san
driver
{ "version": 1, "backendName": "NVMeBackend", "storageDriverName": "ontap-san", "managementLIF": "10.0.0.1", "svm": "svm_nvme", "username":"vsadmin", "password":"password", "sanType": "nvme", "useREST": true }
Element software configuration
In addition to the global configuration values, when using Element software (NetApp HCI/SolidFire), these options are available.
Option | Description | Example |
---|---|---|
|
https://<login>:<password>@<mvip>/json-rpc/<element-version> |
https://admin:admin@192.168.160.3/json-rpc/8.0 |
|
iSCSI IP address and port |
10.0.0.7:3260 |
|
SolidFireF Tenant to use (created if not found) |
|
|
Specify interface when restricting iSCSI traffic to non-default interface |
|
|
QoS specifications |
See example below |
|
Prefix for upgraded Trident installs. If you used a version of Trident prior to 1.3.2 and perform an upgrade with existing volumes, you'll need to set this value to access your old volumes that were mapped via the volume-name method. |
|
The solidfire-san
driver does not support Docker Swarm.
Example Element software configuration file
{ "version": 1, "storageDriverName": "solidfire-san", "Endpoint": "https://admin:admin@192.168.160.3/json-rpc/8.0", "SVIP": "10.0.0.7:3260", "TenantName": "docker", "InitiatorIFace": "default", "Types": [ { "Type": "Bronze", "Qos": { "minIOPS": 1000, "maxIOPS": 2000, "burstIOPS": 4000 } }, { "Type": "Silver", "Qos": { "minIOPS": 4000, "maxIOPS": 6000, "burstIOPS": 8000 } }, { "Type": "Gold", "Qos": { "minIOPS": 6000, "maxIOPS": 8000, "burstIOPS": 10000 } } ] }