Create a Volume and Qtrees
This workflow creates a new volume and optionally 2 qtrees which are exported over NFS and CIFS respectively. This includes:
· Creating a volume of the specified name and size in a suitable aggregate in the environment
· Optionally, create a new qtree in the volume and export it over NFS.
· Optionally, create a new qtree in the volume and create a CIFS share on the qtree path.
Note: This is a sample workflow to illustrate workflow automation.
User Input parameters:
1) Array (required) – The 7-mode storage controller where the volume and qtrees will be created. The Primary IP Address and Hostname of all the storage controllers in your environment are provided in a drop-down list.
2) Volume Name (required)
Name of the volume where the qtrees will be created optionally. The volume will be created in one of the non-root aggregates of the array.
3) Volume Size (MB) (required)
Total size of the volume in MB.
4) Create NFS Export
Indicates if a qtree for NFS export has to be created on the volume. If true, a qtree by name ‘qtree1’ will be created on the newly provisioned volume. Valid values are true, false. Default value is true.
5) NFS Hosts:
List of NFS hosts which are granted read-write access on the optionally created export. The host can be represented by name, fully qualified domain name, IP Address.
6) Create CIFS share
Indicates if a qtree for CIFS share has to be created on the volume. If true, a qtree by name ‘qtree2’ will be created on the newly provisioned volume. Valid values are true, false. Default value is true.
The workflow will create a new volume and two optional qtrees which will be exported over NFS and CIFS respectively.
1) An error message is displayed if there is no storage aggregate with enough capacity to fulfill the storage provisioning request.
2) An error message is displayed if the volume name provided is already in use in the chosen array.
3) An error message is displayed during execution if the input to create CIFS share is true, but CIFS service is not configured and running on the array.