Previous Topic: Storage Move Lun

Next Topic: Storage Provision and Attach FCP

Storage Provision and Attach CIFS

Provision CIFS dataset and attach it to a physical or virtual machine.

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”

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”

CIFS Domain

Specifies the name of the CIFS domain.

Example: “somedomain.com”

CIFS User

Specifies the CIFS user name.

Default: "everyone"

CIFS User Permissions

Specifies CIFS user permissions. Available values are:

0 – No Access

1 – Full Control

2 – Read

3 – Change

Default: “1”

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”

Attach Username

(Optional) Specifies the user name to connect to the host to mount storage.

Example: "username"

Attach Password

(Optional) Specifies the user password to connect to the host to mount storage.

Example: "password"

Attach Location

(Optional) Specifies the directory on which to mount storage.

Example: "/vol/userdir/userdir01"

CIFS Attach Username

Specifies the CIFS user name authorized in the domain.

Example: “user23”

CIFS Attach Password

Specifies the password for the CIFS user name.

Example: “password”

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”