Create a basic ONTAP Volume

 

Goal

 

This workflow will:

·         Provision a volume in a selected Storage Virtual Machine (SVM)

·         Optionally create a CIFS share on the volume and add applicable access control lists (ACLs) for the share

·         Optionally export the volume over NFS by providing read/write permission to specific hosts

·         Create a share for the newly created volume

·         Add applicable ACLs for the share

Note: This is a sample workflow to illustrate Workflow Automation.

 

User input parameters

 

To execute this workflow, provide the required information in the following fields:

 

·         Storage Details

·         FlexGroup Details

·         NFS Export Details

·         CIFS Share Details

 

Storage Details

 

 

1)       Cluster* [Mandatory]: The ONTAP storage system that hosts the SVM, where the new volume will be created.

 

The drop-down menu also shows the primary IP address and version associated with each cluster.

 

 

2)       Storage Virtual Machine* [Mandatory]: The SVM where the new volume will be created.

 

The drop-down list identifies all data SVMs in the selected cluster.

 

 

3)       Extended Volume Style: The type of volume (FlexVol or FlexGroup) you want to create.

Note:

·         For FlexVol, if the volume is ‘thick’ (that is, space guarantee is other than ‘none’), then the FabricPool will be discarded from the selection list in the ‘List Of Aggregate’ field.

·         For FlexGroup, ONTAP 9.2 does not support creation of FlexGroup on the FabricPool.

4)       Volume Name* [Mandatory]: The name to use for the volume.
A volume guaranteed volume of the specified size will be provisioned in an aggregate with the most available capacity in the cluster by the given name and mounted in the SVM's namespace as /<volume_name>.

5)       Volume Size GB* [Mandatory]: The usable size of the volume you like to create in gigabyte (GB). The total volume size is automatically calculated within the workflow to accommodate for the Snapshot space.

6)       Create NFS Export* [Mandatory]: Indicates if the volume should be configured with NFS export rules. It is checked by default.

7)       Create CIFS Share* [Mandatory]: Indicates if a CIFS share should be configured on the volume. It is checked by default.

 

FlexGroup Details

You can only use the FlexGroup Details section when you select the extended volume style as FlexGroup.

 

 

 

NFS Export Details

 

 

1)       NFS Read-Write Hosts: A comma-separated list of hosts that are granted read/write permission on the export.

 

CIFS Share Details

 

 

1)       Users with full control: A comma-separated list of users or groups with full control permission on the CIFS share.

2)       Users who can change: A comma-separated list of users or groups with change permission on the CIFS share.

3)       Users who can read: A comma-separated list of users or groups with read permission on the CIFS share.

4)       Users with no access: A comma-separated list of users or groups with no_access permission on the CIFS share.

 

Result

 

This workflow will result in creating an ONTAP volume, and optionally NFS export rules and a CIFS share created on it. NFS export rules allow the configuration of specific read/write hosts that are given access to the volume and the CIFS share can be optionally configured with ACLs.

 

Error Handling

 

1)       An error message is displayed if no aggregate within the selected cluster is available to create the volume.

2)       This workflow can fail if the provided user is not part of the CIFS domain to which the SVM belongs.

You must verify that the users listed in ACLs are valid users in the CIFS domain.

3)       This workflow can fail if the selected SVM has no NFS or CIFS protocols configured and services running on them.