Previous Topic: Storage Provision and Attach FCP

Next Topic: Storage Provision and Attach SCSI

Storage Provision and Attach NAS

Provision a NAS dataset and attach it to the datastore.

Component

spm

Target Server ModelPath

Specifies the ModelPath of the server from CA Server Automation.

Example: “https://localhost/aip/AOM/root/cimv2:CA_ComputerSystem.CreationClassName="CA_ComputerSystem",Name="3c16db00-405a-11e0-9207-0800200c9a66"

To obtain the target server ModelPath:

  1. Navigate to Start -> Programs -> CA -> CA Server Automation - > CA Server Automation Command Prompt.
  2. Enter the following command:
    C:\CA\productname\bin>caaipaomwsclient /enumerate=CA_ComputerSystem /queryFilter="Select Name from CA_ComputerSystem where ElementName='server_name'" /user=user /password=password
    

    Replace server_name with the name of the server. Replace user and password with credentials for the CA Server Automation authorized user.

  3. Use the value returned by 'Name' in the target server ModelPath.
Name

Specifies the name to use for the dataset and datastore.

Example: “mydataset-01”

Size in MB

Specifies the size of storage to create in megabytes.

Example: “5000”

Description

(Optional) Specifies a text description for the dataset.

Example: “my dataset”

Owner

(Optional) Specifies the owner of the dataset.

Example: “OwnerName”

Provisioning Policy

Specifies the NetApp policy to use when creating the dataset.

Example: “NAS_policy”

Resource Pool Name

Specifies the resource pool to use for the dataset.

Example: “lodnetapp10z”

Resource Pool ID

(Optional) Specifies the ID of the resource pool.

Example: “1234”

Group

(Optional) Specifies a group name to use to group the provisioned storage.

Example: “group01”

Container

(Optional) Specifies the name of the storage container in which to add the dataset.

Example: “stor_container01”

vFiler Name

(Optional) Specifies the name of the vFiler.

Example: “lodnetapp40”

vFiler IP Address

(Optional) Specifies the IP address of the vFiler.

Example: “123.456.7.89”

vFiler Network Mask

(Optional) Specifies the network mask of the vFiler.

Example: “23”

Disable Set UID

Indicates whether to ignore attempts to enable the SETUID.

Default: “false”

User

Specifies the user for root access. If the client accessing the export is not present in the root access list for the export, the effective root user is the specified value. Default value is 65534 which maps to user "nobody". Valid values are user names not more than 255 characters or an integer ranging 0-65534.

Example: “someuser”

NFS Export Path Security

Specifies the security type supported on exports. Available values are:

0 – None

1 – Unix Style (SYS)

2 – Kerberos v5

3 – KRB5I - Kerberos v5

4 – KRB5P - Kerberos v5

Default: “0”

Max Data Size

Specifies the maximum storage space in megabytes.

Example: “4000”

Read Only

Indicates whether all hosts get read-only permissions on NFS exports. Available values are “true” and “ false”.

Default: “false”

Hostname

Specifies the host to grant NFS permissions.

Example: “somehost”

Host Privilege

Specifies the permission granted to the host on the NFS export path. Available values are:

0 – Read-only

1 – Write

2 – Root

Example: “2”

Host Exception

Indicates whether the host specified in the NFS host information is the exception to the host privilege specified. Available values are “true” or “false”.

Example: “true”

Dry Run Mode

Specifies whether to perform a test of provisioning. Available values are:

0 – None (performs the provision without performing Dry Run)

1 – Dry Run Only (pseudo provisioning (failure prediction) that verifies the specified parameters)

2 – Provision with Dry Run (performs pseudo provisioning and provisioning)

Default: “0”

Time Zone

(Optional) Specifies a time zone for the dataset.

Example: “GMT-5”

Contact

(Optional) Specifies email addresses for contact information. Separate multiple email addresses with commas.

Example: user1@company.com, user2@company.com

Call Asynchronously

Indicates whether calls return immediately or wait for commands to return. When "true", calls return immediately and you must verify the JobStatus.

Default: “false”

NFS User Name

Specifies the user name to connect to the host to mount storage.

Example: “user01”

NFS User Password

Specifies the password for the NFS user name.

Example: “password01”

NFS Mount Point

Specifies the directory on which to mount storage.

Example: “/vol/userdir/userdir01”

NetApp Server Name

(Optional) Specifies the name of the NetApp DataFabric Manager.

Example: “host01.domain.com”

NetApp Server Username

(Optional) Specifies the name of the user authorized to connect to the NetApp DataFabric Manager.

Example: “user01”

NetApp Server User Password

(Optional) Specifies the password for the user authorized to connect to the NetApp DataFabric Manager.

Example: “password01”

NetApp Server Port

(Optional) Specifies the port number the NetApp DataFabric Manager uses.

Example: “8088”

NetApp Server Protocol

(Optional) Specifies the protocol used to access the NetApp DataFabric Manager. Available values are:

0 – HTTP

1 – HTTPS

Default: “0”

Storage Platform Type

Specifies the storage platform type. The only possible value is “1” (NetApp).

Default: “1”