APIs in Category: dataset
API version 5.0

 
dataset-add-member
dataset-add-member-by-dynamic-reference
dataset-add-resourcepool
dataset-add-to-exclusion-list
dataset-begin-failover
dataset-begin-failover-script-test
dataset-change-dr-state
dataset-compute-usage-metric
dataset-conform-begin
dataset-create
dataset-destroy
dataset-dynamic-reference-list-info-iter-end
dataset-dynamic-reference-list-info-iter-next
dataset-dynamic-reference-list-info-iter-start
dataset-edit-begin
dataset-edit-commit
dataset-edit-rollback
dataset-exclusion-list-info-iter-end
dataset-exclusion-list-info-iter-next
dataset-exclusion-list-info-iter-start
dataset-io-metric-list-info-iter-end
dataset-io-metric-list-info-iter-next
dataset-io-metric-list-info-iter-start
dataset-list-info-iter-end
dataset-list-info-iter-next
dataset-list-info-iter-start
dataset-member-dedupe-abort
dataset-member-dedupe-start
dataset-member-delete-snapshots
dataset-member-list-info-iter-end
dataset-member-list-info-iter-next
dataset-member-list-info-iter-start
dataset-member-undedupe-start
dataset-missing-member-list-info-iter-end
dataset-missing-member-list-info-iter-next
dataset-missing-member-list-info-iter-start
dataset-modify
dataset-modify-node
dataset-provision-member
dataset-remove-from-exclusion-list
dataset-remove-member
dataset-remove-member-by-dynamic-reference
dataset-remove-resourcepool
dataset-replace-primary-members
dataset-resize-member
dataset-set
dataset-set-storageset
dataset-space-metric-list-info-iter-end
dataset-space-metric-list-info-iter-next
dataset-space-metric-list-info-iter-start
dataset-update-dr-status
dataset-update-protection-status
At the highest level, a dataset is a logical collection of data, optionally associated with one or more policies. This collection of data resides on storage containers which should be thought of as transient in nature. That is, the storage containers holding the data may change over time and the data should be treated independently from the storage it happens to reside on.

Datasets typically describe data that has been provisioned from resource pools according to a policy. A dataset may also be created by populating it with legacy storage containers such as existing Data ONTAP volumes or non-NetApp containers such as OSSV directories.

In concrete terms, a dataset is a collection of volumes, qtrees, luns, OSSV directories, aggregates, hosts, virtualization objects, with the addition of policies that are associated with it. The dataset provides virtualization of the physical storage used to hold the data.

When datasets have data protection policies attached, their primary data can be either provisioned based on a provisioning policy or can be populated with legacy storage containers. Secondary storage can be automatically provisioned from a resource pool or added explicitly.

Datasets can also have application policies attached. An application policy can only be attached to an empty dataset or a dataset containing only virtualization objects. Once an application policy is attached to a dataset, user can only assign virtualization object to that dataset. Depending on the application policy type, 'vmware' or 'hyperv', only virtualization objects of that type can be added to the dataset. Vmware objects and Hyper-V objects can not be mixed in a single dataset.

NetApp Manage ONTAP
 
dataset-add-member [top]

Add members to an existing dataset.

This API is for adding direct member objects to one or more storage sets in the dataset. Each storage set is identified by the data protection policy node associated with it.

The types of storage objects allowed to be added vary:

  • Volumes, qtrees and OSSV directories are allowed in the storage set attached to a primary policy node.
  • Only volumes are allowed in a storage sets attached to secondary/destination nodes.
It is legal to add storage objects to multiple storage sets in a single call.
Input Name Range Type Description
dataset-member-parameters dataset-member-parameter[]
List of members to add to the dataset.
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
is-existing-member-ok boolean
optional
If specified, the call will not return an error if one or more objects being added is already a member of the specified node. If an ancestor or child of an object is already a member, an error will still be returned. By default, is-existing-member-ok is false.
 Errno  Description
 EEDITSESSIONNOTFOUND
 EALREADYINDATASET
 EDPPOLICYNODENOTFOUND
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EDATABASEERROR
 EACCESSDENIED
 EDSCONFLICTALREADYINDATASET
 EDSCONFLICTSRCDESTINSAMEAGGR
 EDSCONFLICTALREADYINRESPOOL
 EDSCONFLICTWITHANOTHERDATASET
 EDSCONFLICTCANTMIRROROSSV
 EDSCONFLICTCANTSNAPSHOTOSSV
 EDSCONFLICTINCOMPATIBLEPOLICY
 EDSCONFLICTOSSVNOTALLOWED
 EDSCONFLICTNOSMLICENSE
 EDSCONFLICTNOSMSVLICENSE
 EDSCONFLICTROOTNODE
 EDSCONFLICTNOTROOTNODE
 EDSCONFLICTNOTLEAFNODE
 EDSCONFLICTMEMBERVFILERMISMATCH
 EINVALIDOBJECTTYPE

 
dataset-add-member-by-dynamic-reference [top]
Add dynamic reference to an existing dataset.

By adding a dynamic reference, the volumes, qtrees and ossv directories referred to by the dynamic reference become implicit (indirect) members of the dataset. A dynamic reference can be added to a particular storage set in the dataset by specifying the data protection policy node associated with it. If necessary a new storage set is first created automatically before adding storage objects to it.

The types of storage objects allowed to be added vary:

  • Storage systems, vFiler units, aggregates, OSSV hosts, virtualization objects can be attached to a primary node.
  • Storage systems, vFiler units and aggregates are allowed in storage sets attached to secondary/destination nodes.
It is legal to add storage objects to multiple storage sets in a single call.
Input Name Range Type Description
dataset-dynamic-reference-parameters dataset-dynamic-reference-parameter[]
List of dynamic-references to add to the dataset.
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
 Errno  Description
 EEDITSESSIONCONFLICTINGOP
 EEDITSESSIONNOTFOUND
 EALREADYINDATASET
 EDPPOLICYNODENOTFOUND
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EDATABASEERROR
 EACCESSDENIED
 EINVALIDOBJECTTYPE
 ESTORAGE_MAP_NOT_FOUND
 EDSCONFLICTALREADYINDATASET
 EDSCONFLICTSRCDESTINSAMEAGGR
 EDSCONFLICTALREADYINRESPOOL
 EDSCONFLICTCANTMIRROROSSV
 EDSCONFLICTCANTSNAPSHOTOSSV
 EDSCONFLICTINCOMPATIBLEPOLICY
 EDSCONFLICTOSSVNOTALLOWED
 EDSCONFLICTNOSMLICENSE
 EDSCONFLICTNOSMSVLICENSE
 EDSCONFLICTROOTNODE
 EDSCONFLICTNOTROOTNODE
 EDSCONFLICTNOTLEAFNODE
 EDSCONFLICTMEMBERVFILERMISMATCH

 
dataset-add-resourcepool [top]
Add resource pool to a single storage set that is part of a dataset. The storage set is specified implicitly by the name of the policy node that maps to it.

Within the same edit session in which you call dataset-add-resourcepool, you may also add or remove members or dynamic references, or change the dataset's name, description, is-dp-ignored, is-dp-suspended, or is-suspended. You may not change the data set's protection policy or storage sets within the same edit session.


Error conditions:
  • EEDITSESSIONNOTFOUND - No edit lock was found that has the given identifier.
  • EACCESSDENIED - User does not have permission to modify the storage set or does not have DFM.ResourcePool.Provision on the specified resource pool.
  • EOBJECTAMBIGUOUS - The name given for the storage set or resource pool matches multiple storage sets or resource pools.
  • EOBJECTNOTFOUND - No storage set or resource pool was found that has the given name or identifier.
  • EDATABASEERROR - A database error occurred while processing the request.
  • ESTORAGESETNOTINDATASET - The specified storage set is not a part of the dataset being edited.
  • EDPPOLICYNODENOTFOUND - No DP policy node was found that has the given name.
  • EEDITSESSIONCONFLICTINGOP - The requested modification conflicts with other changes performed during the edit session.
  • EDSCONFLICTALREADYINDATASET - Object, its ancestor or descendent is already in dataset.
  • EDSCONFLICTSRCDESTINSAMEAGGR - Source data and destination data are in the same aggregate.
  • EDSCONFLICTALREADYINRESPOOL - Object, its ancestor or descendent is already in resource pool.
Input Name Range Type Description
dp-node-name dp-policy-node-name
optional
Name of the node in the data protection policy that maps to the storage set. dp-node-name must match exactly the name of one of the nodes in the data protection policy that is currently assigned to the data set.

If dp-node-name is not specified, then the storage set associated with the root node is modified.

edit-lock-id integer
validate
Identifier of the edit lock for a dataset that was obtained by an earlier call to dataset-edit-begin. Range: [1..2^31-1]
resourcepool-name-or-id obj-name-or-id
Name or object identifier of a resource pool to add to the storage set.
 Errno  Description
 EEDITSESSIONNOTFOUND
 EACCESSDENIED
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EDATABASEERROR
 ESTORAGESETNOTINDATASET
 EDPPOLICYNODENOTFOUND
 EEDITSESSIONCONFLICTINGOP
 EDSCONFLICTALREADYINDATASET
 EDSCONFLICTSRCDESTINSAMEAGGR
 EDSCONFLICTALREADYINRESPOOL
 ESERVICEISATTACHED

 
dataset-add-to-exclusion-list [top]
Add datastore objects to a dataset's exclusion list.

This API is for adding datastore objects to a dataset's exclusion list.

Users may want to exclude a datastore when adding a virtual machine to the dataset. Virtual Machine may be on multiple datastores and one of the datastores will contain swap files which don't need to be backed up. If a datastore is excluded, relationships and backups for that datastore will not be created. If a relationship already exists, it will be left alone and only the backups will stop. There is no impact on suspend/resume.

Input Name Range Type Description
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
is-excluded-member-ok boolean
optional
If specified, the call will not return an error if one or more objects being added is already on the exclusion list. By default, is-excluded-member-ok is false.
objects-to-be-added obj-name-or-id[]
List of datastore object names or IDs to be added to the exclusion list.
 Errno  Description
 EAPIAUTHENTICATION
 EEDITSESSIONNOTFOUND
 EOBJECTAMBIGUOUS
 ENOTINDATASET
 EOBJECTNOTFOUND
 EDATABASEERROR
 EACCESSDENIED
 EDSCONFLICTALREADYEXCLUDED
 EDSCONFLICTNOSMLICENSE
 EDSCONFLICTNOSMSVLICENSE
 EINVALIDOBJECTTYPE

 
dataset-begin-failover [top]
Begin failover of a dataset.

This API begins the process of failing over a dataset to its disaster recovery storage. The failover process will break any mirror relationships between the primary and DR storage objects and make the secondary storage available for use.

This API may only be invoked if the DR state of the data set is "ready".

Specifically, when the ZAPI runs, the following actions will take place:

  1. The DR state of the dataset will immediately change to "failing_over".
  2. Any pending conformance tasks will be cancelled.
  3. Any jobs running against this dataset will be aborted.
  4. A failover job will be started to break any mirrors between the primary storage set and the DR storage set
  5. Finally, the DR state of the dataset will be updated to either "failed_over" or "failover_error" based on whether the failover job succeeded or not.
Input Name Range Type Description
dataset-name-or-id string
Name or ID of dataset.
 
Output Name Range Type Description
job-id integer
Identifier of the failover job that is failing the dataset over to its DR secondary. If there was an error, the job id will be 0. Range: [1..2^31-1]
 Errno  Description
 EDATASETWRONGDRSTATE
 EDATASETDRSTATEUNCHANGED
 EDATASETFAILOVERNOTREADY
 EINVALIDINPUT
 EACCESSDENIED
 EOBJECTNOTFOUND
 EDATABASEERROR

 
dataset-begin-failover-script-test [top]
Begin test failover of a dataset that only runs the the failover scripts and does not dequeue tasks, abort jobs or change the dr-state.
Input Name Range Type Description
dataset-name-or-id string
Name or ID of dataset.
 
Output Name Range Type Description
job-id integer
Identifier of the failover job that is just running the DR scripts for the dataset. If there was an error, the job id will be 0. Range: [1..2^31-1]
 Errno  Description
 EDATASETWRONGDRSTATE
 EDATASETFAILOVERNOTREADY
 EINVALIDINPUT
 EACCESSDENIED
 EOBJECTNOTFOUND
 EDATABASEERROR

 
dataset-change-dr-state [top]
Change the disaster recovery state of a dataset.

This API sets the DR state of a dataset to a new value. Users may perform the following DR state transitions using this ZAPI:

  • From "failover_error" to "failed_over".
  • From "failover_error" to "ready".
  • From "failed_over" to "ready".

If the "allow-internal-transitions" element is present and true, the caller may make additional state transitions:

  • From "ready" to "failing_over"
  • From "failing_over" to "failed_over"
  • From "failing_over" to "failover_error"
These state transitions are intended to be used by Protection Manager server processes as part of a failover or failback sequence. Any attempt to perform other state transition will fail with an error code of EDATASETWRONGDRSTATE.

The DR state of a dataset will also change in one special case:

  • The dataset is in a "failed_over" DR state
  • The caller changes the data protection policy
  • The caller maps the storage set for the DR node of the old policy to the root node of the new policy (using dataset-set-storageset)
When the edit session with these modifications is committed, the DR state will be set back to "ready".
Input Name Range Type Description
allow-internal-transitions boolean
optional
validate
If present and true, allow server-only state transitions (e.g. from "failing_over" to "failed_over"). If not present or false, only allow user-initiated state transitions.
dataset-name-or-id obj-name-or-id
Name or ID of dataset.
dr-state dr-state
Desired DR state of dataset.
 Errno  Description
 EACCESSDENIED
 EAPIAUTHENTICATION
 EAPIERROR
 EDATABASEERROR
 EDATASETWRONGDRSTATE
 EINTERNALERROR
 EINVALIDINPUT
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND

 
dataset-compute-usage-metric [top]
This API computes space and/or IO usage metrics for a dataset. dataset-space-metric-list-info-iter-* set of APIs can be used to retrieve the computed space metrics and dataset-io-metric-list-info-iter-* set of APIs can be used to retrieve the computed IO metrics.
Input Name Range Type Description
compute-io-usage-metric boolean
optional
If true, IO usage metric for the dataset will be computed. If not specified in input, it defaults to false.
compute-space-usage-metric boolean
optional
If true, space usage metric for the dataset will be computed. If not specified in input, it defaults to false.
dataset-name-or-id obj-name-or-id
Name or identifier of a dataset for which the usage metric has to be computed.
timestamp dp-timestamp
Time upto which usage metrics for the dataset needs to be computed. The timestamp value should not be in future. Range: [1..2^31-1]
 Errno  Description
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EACCESSDENIED
 EDATABASEERROR
 EINVALIDINPUT

 
dataset-conform-begin [top]
Begin a conformance run on a dataset, to attempt to bring it into conformance with its data protection policy and provisioning policy. A conformance run consists of two main steps:
  • Perform a conformance check to determine both the dataset's current conformance status, and the set of actions needed to bring the dataset into conformance.
  • Perform the conformance actions needed to bring the dataset into conformance.
In addition, the dataset's conformance status is updated at various points during the conformance run. Whenever the conformance status is updated, an event of type "dataset.conformance" is generated.

Successful completion of this ZAPI indicates that: the conformance check has completed successfully, the dataset's conformance status has been updated based on the results of the conformance check, and the system has begun to take any needed conformance actions.

After the ZAPI returns, the system continues to perform conformance actions in the background, until all actions complete. Once all actions have completed, the dataset's conformance status is again updated. Note that at present, there is no ZAPI interface for determining when all actions have completed.

If no policy has been assigned to the dataset, the conformance run completes immediately and performs no conformance actions.


Error conditions:
  • EACCESSDENIED - User does not have privileges to access the dataset.
  • EOBJECTNOTFOUND - No dataset was found that has the given name or ID.
  • EDATABASEERROR - A database error occurred while processing the request.
Input Name Range Type Description
assume-confirmation boolean
optional
Value determining whether confirmation is given for all resolvable conformance actions that require user confirmation. One key and sometimes undesirable resolvable conformance action is the possible re-baseline of one or more relationships. If the value is true, all conformance actions which require user confirmation will be executed as if confirmation is already granted. If the value is false, all conformance actions which require user confirmation will not be executed. Default value is false.
dataset-name-or-id obj-name-or-id
Name or object ID for the dataset.
 Errno  Description
 EACCESSDENIED
 EOBJECTNOTFOUND
 EDATABASEERROR
 EDATASETMIGRATING

 
dataset-create [top]
Create a new, empty dataset.
Input Name Range Type Description
application-info application-info
optional
If is-application-data is true, then this element will contain information about the application which manages this dataset.
application-policy-name-or-id obj-name-or-id
optional
Name or identifier of the application policy to associate with this dataset.
An application policy can only be attached to an empty dataset or a dataset containing only virtualization objects.
Once an application policy is attached to a dataset, user can no longer assign volumes or qtrees to the root node of that dataset.
Depending on the application policy type, 'vmware' or 'hyperv', only virtualization objects of that type can be added to the dataset. Vmware objects and Hyper-V objects can not be mixed in a single dataset.
dataset-access-details dataset-access-details
optional
Data access details for a dataset that needs to be configured and provisioned in a way that it is capable of transparent migration. This enables all the storage in the primary node of the dataset to be migrated to a different physical resource without having to reconfigure the clients accessing this storage.
This value will be ignored if application-policy-name-or-id is specified.
dataset-contact email-address-list
optional
Contact for the dataset, such as the owner's e-mail address.
dataset-description string
optional
Description of the new dataset, up to 255 characters long.
dataset-metadata dfm-metadata-field[]
optional
Opaque metadata for dataset. Metadata is usually set and interpreted by an application that is using the dataset. DFM does not look into the contents of the metadata.
dataset-name obj-name
Name of the new dataset. It cannot be all numeric. The allowed characters are a to z A to Z 0 to 9 ' ' (space) . (period) _ (underscore) - (hyphen) If any other characters are included, an error is returned.
dataset-owner string
optional
Name of the owner of the dataset, up to 255 characters long.
group-name-or-id obj-name-or-id
optional
Resource group to which the newly created dataset should be added to. User should have DFM.Dataset.Write capability on the specified group. Default value: Global group.
is-application-data boolean
optional
If true, the dataset is an application dataset managed by an external application. The default value is false.
is-dp-suspended boolean
optional
Flag indicating whether or not the dataset should be protected. This also indicates whether conformance checking of the dataset is to be done or not. Default is False.

Deprecated field. Retained for backward compatibility. This field is deprecated in favour of is-suspended, which suspends the dataset for all automated actions (data protection and conformance check of the dataset).

is-suspended boolean
optional
True if an administrator has chosen to suspend this dataset for all automated actions (data protection and conformance check of the dataset). Default is False. If present, this field takes precedence over is-dp-suspended.
online-migration boolean
optional
Indicates, that the dataset will be capable of non-disruptive migration. By default the migration will be disruptive. Default: false.
primary-volume-name-format primary-volume-name-format
optional
Name format string for the primary volumes created by Provisioning Manager. This element is optional. If the value of this element is empty string "", then the global naming option will be used to create names for the primary volumes. Volume name can only be 60 characters long. Name would be truncated if it exceeds that limit. For name collisions, numeric suffix would be added at the end of the volume name. Volume name can have ASCII alphabets, ASCII numbers and underscore '_'. Volume name cannot start with a number. All other characters will be converted to character 'x'. By default, the value of the option would be empty string.
protection-policy-id obj-id
optional
Identifier of the protection policy to associate with this dataset. This legacy parameter is only used if protection-policy-name-or-id is not supplied. The dataprotection license is required for this input.
protection-policy-name-or-id obj-name-or-id
optional
Name or identifier of the protection policy to associate with this dataset. This input is preferred over protection-policy-id and if supplied then do not supply protection-policy-id because protection-policy-id will be ignored. The dataprotection license is required for this input.
provisioning-policy-name-or-id obj-name-or-id
optional
Name or identifier of the provisioning policy to be associated with the primary node of the dataset. The members of the primary node are provisioned based on this policy. Once the provisioning policy is associated with the dataset node, the storage in the node is periodically monitored for conformance with the policy.
requires-non-disruptive-restore requires-non-disruptive-restore
optional
Specifies whether the dataset should be configured to enable non-disruptive restores from backup destinations.
This value will be ignored if application-policy-name-or-id is specified. Non-disruptive-restore is not supported for datasets containing virtualization objects (virtual machines and datastores).
Default value is false.
secondary-qtree-name-format secondary-qtree-name-format
optional
Name format for the secondary qtrees created by Protection Manager. This element is optional. If the value of this element is empty string "", then the global naming option will be used to create names for qtrees Qtree name can only be 60 characters long. Name would be truncated if it exceeds that limit. For name collisions, numeric suffix would be added at the end of the qtree name. Qtree name can have ASCII alphabets, ASCII numbers, hypen '-', dot '.' and underscore '_'. All other characters will be converted to character 'x'. By default, the value of the option would be empty string. This option does not apply to names of primary qtrees..
secondary-volume-name-format secondary-volume-name-format
optional
Naming format string for the secondary volumes created by Protection Manager. This element is optional. If the value of this element is empty string "", then the global naming option will be used to create names for the secondary volumes. Volume name can only be 60 characters long. Name would be truncated if it exceeds that limit. For name collisions, numeric suffix would be added at the end of the volume name. Volume name can have ASCII alphabets, ASCII numbers and underscore '_'. Volume name cannot start with a number. All other characters will be converted to character 'x'. By default, the value of the option would be empty string.
snapshot-name-format snapshot-name-format
optional
Name format string for snapshots created by Protection Manager and Host Service's plug-ins. This element is optional. If the value of this element is empty string "", then the global naming option will be used to created names for snapshot. If %A is not specified as one of the substitution tokens in the format, plug-ins creating snapshots for application datasets will implicitly add %A at the end of the format string and the snapshot name will have application fields in them. Snapshot name length can only be 124 characters long. Name would be truncated if it exceeds that limit. For name collisions, numeric suffix would be added at the end of the snapshots. Snapshot name can have ASCII alphabets, ASCII numbers, underscore '_', hyphen '-', plus sign '+' and a dot '.'. All other characters will be converted to character 'x'. By default, the value of the option is an empty string.
timezone-name string
optional
Timezone to assign to the root node. If specified, the value must be a timezone-name returned by timezone-list-info-iter-next. If no timezone is assigned, then the default system timezone will be used.
vfiler-name-or-id obj-name-or-id
optional
Name or identifier of the vFiler unit to be attached to the primary node of the dataset. If a vFiler unit is attached, then all members provisioned into this node will be exported over this vFiler unit. If an application policy is assigned to this dataset, this parameter will be ignored.
This value will be ignored if application-policy-name-or-id is specified.
volume-qtree-name-prefix string
optional
Prefix for volume and qtree names, up to 60 characters long. The allowed characters are a to z A to Z 0 to 9 ' ' (space) . (period) _ (underscore) - (hyphen) If any other characters are included, an error is returned
 
Output Name Range Type Description
dataset-id obj-id
Identifier of the new dataset.
 Errno  Description
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EDATASETEXISTS
 EDATABASEERROR
 EINVALIDTIMEZONE
 EINTERNALERROR
 EINVALIDMEMBER
 EMEMBERALREADYINGROUP
 EACCESSDENIED
 EDSCONFLICTNDRESTORE
 EAPILICENSE

 
dataset-destroy [top]
Destroy a dataset. The dataset must be empty unless the "force" option is used.
Input Name Range Type Description
cancel-edit-sessions boolean
optional
Specifies if edit operations in progress on the dataset should be cancelled.

If true, any edit operations in progress on the dataset are rolled back before destroying the dataset.

If cancel-edit-sessions is false, dataset with pending edit operations cannot be destroyed.

Default is false.

dataset-name-or-id obj-name-or-id
Name or identifier of the dataset to destroy.
force boolean
optional
If true, allows destroying a dataset that has members or dynamic references. By default, only empty datasets can be destroyed.
 Errno  Description
 EDATASETNOTEMPTY
 EDATASETFAILINGOVER
 EDATASETMIGRATING
 EOBJECTNOTFOUND
 EOBJECTAMBIGUOUS
 EACCESSDENIED
 EDATABASEERROR
 EEDITSESSIONINPROGRESS

 
dataset-dynamic-reference-list-info-iter-end [top]
Ends iteration of the dynamic references in the dataset.
Input Name Range Type Description
tag string
Tag from a previous dataset-dynamic-reference-list-info-iter-start.
 Errno  Description
 EINVALIDTAG

 
dataset-dynamic-reference-list-info-iter-next [top]
Get next records in the iteration started by dataset-dynamic-reference-list-info-iter-start
Input Name Range Type Description
maximum integer
The maximum number of records to retrieve.
tag string
Tag from a previous dataset-dynamic-reference-list-info-iter-start.
 
Output Name Range Type Description
dataset-dynamic-references dataset-dynamic-reference-info[]
List of the dynamic references in the dataset.
records integer
The number of records actually returned.
 Errno  Description
 EINVALIDTAG

 
dataset-dynamic-reference-list-info-iter-start [top]
Starts iteration to list the dynamic references in the dataset. Volumes are not considered dynamic references because they are members. (even though they can contain qtrees)
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or identifier of dataset whose dynamic references will be listed.
dp-node-name dp-policy-node-name
optional
List only the members in this policy node. If none is specified, then list members in all policy nodes. If both dp-node-name and storageset-name-or-id are specified, then the value of dp-node-name is ignored.
dynamic-reference-type string
optional
Type of dynamic reference. Possible values are 'filer', 'vfiler', 'aggregate', 'ossv_host' or 'app_object'. If present, only dynamic references of the specified type are returned.
include-deleted boolean
validate
optional
If present and true, dynamic references which are marked as deleted in the database are also returned. Otherwise, deleted dynamic references are not returned.
include-is-available boolean
optional
If true, the is-available status is calculated for each member which may make the call to this zapi take much longer. Default is false.
storageset-name-or-id obj-name-or-id
optional
List only the members in this storage set. If none is specified, then list members in all storagesets mapped to this dataset's nodes. If both dp-node-name and storageset-name-or-id are specified, then the value of dp-node-name is ignored.
suppress-status-refresh boolean
optional
If true, do not refresh the dynamic_reference status. If false or omitted, the status of all dynamic references will be refreshed before being returned.
 
Output Name Range Type Description
records integer
Number of items that have been saved for future retrieval with dataset-dynamic-reference-list-info-iter-next.
tag string
Tag to be used in subsequent calls to dataset-dynamic-reference-list-info-iter-next.
 Errno  Description
 EOBJECTNOTFOUND
 EACCESSDENIED
 ESTORAGESETNOTINDATASET
 EDPPOLICYNODENOTFOUND

 
dataset-edit-begin [top]
Obtain an edit lock to start modifying a dataset.

Besides locking the dataset itself, all storage sets in the dataset are locked, as well as the data protection policy if one is assigned.

An edit lock must be obtained before invoking the following ZAPIs:

  • dataset-add-member
  • dataset-remove-member
  • dataset-add-member-by-dynamic-reference
  • dataset-remove-member-by-dynamic-reference
  • dataset-set-storageset
  • dataset-modify
  • dataset-modify-node
  • dataset-add-resourcepool
  • dataset-remove-resourcepool
  • dataset-provision-member
  • dataset-resize-member
  • dataset-member-delete-snapshots
  • dataset-add-to-exclusion-list
  • dataset-remove-from-exclusion-list
Use dataset-edit-commit to commit the changes to the database.

Use dataset-edit-rollback to undo the changes made to the dataset.

After 24 hours, the lock can be taken by another client without the force option. This will cause any edits pending on the aborted session to be lost.

Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or identifier of the dataset to edit.
force boolean
optional
By default, force is false. If true, and an edit is already in progress on the specified dataset or an object the dataset is dependent on (such as a data protection policy), the previous edit session is rolled back and a new edit session is begun.
 
Output Name Range Type Description
edit-lock-id integer
Identifier of the edit lock on the dataset. Range: [1..2^31-1]
 Errno  Description
 EDATASETFAILINGOVER
 EDATASETMIGRATING
 EOBJECTNOTFOUND
 EOBJECTAMBIGUOUS
 EACCESSDENIED
 EDATABASEERROR
 EEDITSESSIONINPROGRESS

 
dataset-edit-commit [top]
Commit changes made to a dataset into the database.

The edit lock on the dataset will be released after the changes have been successfully committed.

Use the dry-run option to test the commit. It invokes the conformance checker to return a list of actions that would be taken should the changes be actually committed. The dry-run option also returns a list of high level alerts to notify the user of rebaseline operations or system level issues related to successful conformance.

If dry-run is false, then before the call returns, the system begins a conformance run on the dataset. (See dataset-conform-begin for a description of conformance runs.) If the system is to perform a conformance run on the dataset it will be done with the current dataset edit session value for assume-confirmation. The default value for assume-confirmation is initially true when the edit session begins, but may be altered by certain changes to the dataset made through the use of dataset-modify. The optional assume-confirmation option may be used to specify if user confirmation is to be assumed or not for this dataset-edit-commit. One key, and sometimes undesirable, resolvable action that requires user confirmation is the possible re-baseline of a relationship.

Input Name Range Type Description
assume-confirmation boolean
optional
Value determining whether confirmation is given for all resolvable conformance actions that require user confirmation. If the value is true, all conformance actions which require user confirmation will be executed as if confirmation is already granted. If the value is false, all conformance actions which require user confirmation will not be executed. The default value is initially true when the edit session begins, but may be altered by certain changes to the dataset made through the use of dataset-modify. One key, and sometimes undesirable, resolvable action that requires user confirmation is the possible re-baseline of a relationship.
dry-run boolean
optional
If true, return the dry-run-results list as well as the conformance-alerts list. The dry-run-results list contains actions that would be taken should the changes be committed without actually committing the changes. The conformance-alerts list contains high level alerts to notify a user of conditions that will impact any attempt to commit the changes. A conformance alert may warn that if the changes are committed, one or more rebaseline operations may be done. The conformance alerts may also warn of conditions that exist that may prevent the succesful conformance of datasets. The edit lock is not released after a dry run. By default, dry-run is false.
edit-lock-id integer
Identifier of the edit lock on the dataset. Range: [1..2^31-1]
include-dry-run-reason-details boolean
optional
If true or omitted, then include any possible dry-run-reason-details along with the associated dry-run-result element. Default value is true. If false, the dry-run-reason-details will not be returned.
 
Output Name Range Type Description
conformance-alerts conformance-alert[]
optional
Alerts that apply to the conformance check. Each alert describes one type of condition that a user should be aware of before attempting to conform any more datasets. Only returned if dry-run is true.
dry-run-results dry-run-result[]
optional
Results of a dry run. Each result describes one action the system would take and the predicted effects of that action. Only returned if dry-run is true.
is-provisioning-failure boolean
optional
This element is returned only if dry-run is true and only when there was a provisioning request issued in the edit session. If the dry run shows errors for the provisioning request its value is TRUE, else FALSE. This element can be used by clients to distinguish the case where provisioning job will succeed, but the dry run contains dataset conformance related errors.
job-ids job-info[]
optional
Job identifiers of provisioning requests or dataset reexport jobs. This output element is present only if
  • 1. There were any provisioning requests issued in the edit session.
  • 2. The dataset is reexported due to change in provisioning policy.
This is returned only if dry-run is false.
 Errno  Description
 EACCESSDENIED
 EDATABASEERROR
 EEDITSESSIONNOTFOUND
 EDATASETFAILINGOVER
 EDATASETMIGRATING
 EDSCONFLICTALREADYINDATASET
 EDSCONFLICTSRCDESTINSAMEAGGR
 EDSCONFLICTALREADYINRESPOOL
 EDSCONFLICTCANTMIRROROSSV
 EDSCONFLICTCANTSNAPSHOTOSSV
 EDSCONFLICTINCOMPATIBLEPOLICY
 EDSCONFLICTOSSVNOTALLOWED
 EDSCONFLICTNOSMLICENSE
 EDSCONFLICTNOSMSVLICENSE
 EDSCONFLICTROOTNODE
 EDSCONFLICTNOTROOTNODE
 EDSCONFLICTNOTLEAFNODE

 
dataset-edit-rollback [top]
Roll back changes made to a dataset. The edit lock on the dataset will be released after the rollback.
Input Name Range Type Description
edit-lock-id integer
Identifier of the edit lock on the dataset. Range: [1..2^31-1]
 Errno  Description
 EEDITSESSIONNOTFOUND
 EACCESSDENIED
 EDATABASEERROR

 
dataset-exclusion-list-info-iter-end [top]
Ends iteration of dataset exclusion list.
Input Name Range Type Description
tag string
Tag from a previous dataset-exclusion-list-info-iter-start.
 Errno  Description
 EINVALIDTAG

 
dataset-exclusion-list-info-iter-next [top]
Get next records in the iteration started by dataset-exclusion-list-info-iter-start
Input Name Range Type Description
maximum integer
The maximum number of records to retrieve. Range: [1..2^31-1]
tag string
Tag from a previous dataset-exclusion-list-info-iter-start.
 
Output Name Range Type Description
exclusion-list excluded-object-info[]
List of the objects in the dataset to exclude from being backed up.
records integer
The number of records actually returned. Range: [1..2^31-1]
 Errno  Description
 EINVALIDTAG

 
dataset-exclusion-list-info-iter-start [top]
Starts iteration to retrieve the backup exclusion list of the dataset.
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or identifier of the dataset whose members will be listed.
include-deleted boolean
validate
optional
If present and true, members which are marked as deleted in the database are also returned. Otherwise, deleted members are not returned.
object-name-or-id obj-name-or-id
optional
Name or id in the DFM database, of a specific member of the dataset's exclusion list. If specified, details of only this object will be returned.
 
Output Name Range Type Description
records integer
Number of records that have been saved for future retieval with dataset-exclusion-list-info-iter-next. Range: [1..2^31-1]
tag string
Tag to be used in subsequent calls to dataset-exclusion-list-info-iter-next.
 Errno  Description
 EOBJECTNOTFOUND
 EACCESSDENIED
 EDATABASEERROR
 EINVALIDINPUT

 
dataset-io-metric-list-info-iter-end [top]
Ends iteration to list dataset I/O usage metric.
Input Name Range Type Description
tag string
Tag from a previous dataset-io-metric-list-info-iter-start.
 Errno  Description
 EINVALIDTAG

 
dataset-io-metric-list-info-iter-next [top]
Get next few records in the iteration started by dataset-io-metric-list-info-iter-start.
Input Name Range Type Description
maximum integer
The maximum number of entries to retrieve. Range: [1..2^31-1]
tag string
Tag from a previous dataset-io-metric-list-info-iter-start.
 
Output Name Range Type Description
dataset-io-metrics dataset-io-metric-info[]
List of I/O usage measurement information of datasets.
records integer
The number of records actually returned. Range: [0..2^31-1]
 Errno  Description
 EINVALIDTAG

 
dataset-io-metric-list-info-iter-start [top]
Starts iteration to list dataset's I/O usage measurements.
Input Name Range Type Description
day integer
optional
The day for which the usage metric is required. The month element is required along with this input. When present, the usage metrics for the day is returned. Range: [1..31]
month month
optional
The month for which the usage metric is required. If month is not specified, it defaults to the current month. If month element is provided without the day element in input, then the usage metrics available for the month is returned. If month and year element is not provided in input, then the usage measurements for the current month is returned. The start of the current month is determined by the chargebackDayOfMonth global option. Range: [1..12]
object-name-or-id obj-name-or-id
optional
Name or identifier of a dataset or resource group or storage service. If a resource group is given, usage measurement of the datasets which are direct members of the group are returned. If a storage service is given, usage measurement of datasets associated with the storage service is returned. If input is not given, usage measurement of all the datasets is returned.
year integer
optional
The year for which the usage metric is required. If year element is not provided in input, then the current year is selected. Range: [1900..2^31-1]
 
Output Name Range Type Description
records integer
Number of records that have been saved for future retrieval with dataset-io-metric-list-info-iter-next. Range: [0..2^31-1]
tag string
Tag to be used in subsequent calls to dataset-io-metric-list-info-iter-next.
 Errno  Description
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EACCESSDENIED
 EDATABASEERROR
 EINVALIDINPUT

 
dataset-list-info-iter-end [top]
Ends iteration to list datasets.
Input Name Range Type Description
tag string
Tag from a previous dataset-list-info-iter-start.
 Errno  Description
 EINVALIDTAG

 
dataset-list-info-iter-next [top]
Get next few records in the iteration started by dataset-list-info-iter-start.

If a dataset has a data protection policy assigned to it, the has-protection-policy field will be true. If the client has suspended the dataset, has-protection-policy is still true, but is-dp-suspended and is-suspended fields are also set to true to reflect this. When the client sets is-dp-ignored to true, nothing changes, except that, when the client requests the list of datasets which are not ignored, the ignored datasets will not be returned.

Input Name Range Type Description
maximum integer
The maximum number of entries to retrieve.
tag string
Tag from a previous dataset-list-info-iter-start.
 
Output Name Range Type Description
datasets dataset-info[]
List of datasets.
records integer
The number of records actually returned.
 Errno  Description
 EINVALIDTAG

 
dataset-list-info-iter-start [top]
Starts iteration to list datasets.
Input Name Range Type Description
application-name string
optional
Return only application datasets managed by a particular type of application. Up to 255 characters long.
application-resource-namespace application-resource-namespace
optional
Namespace of the application resources in the dataset. If specified, then only datasets containing application resources, which belong to this namespace, are returned. Ignored, if include-can-contain-application-resources-only is false. If not specified, when include-can-contain-application-resources-only is true, then all datasets which can contain application resources, are returned.
application-server-name string
optional
Return only application datasets managed by an application running on a particular server. Up to 255 characters long.
dr-state dr-state
optional
Filter by dr-state value. If no dr-state input is supplied, all datasets will be listed.
has-application-policy boolean
optional
If true, only list datasets which have an application policy assigned to them. If false, only list datasets which do not have any application policy assigned. If not set, list all datasets.
has-protection boolean
optional
If true, only list datasets which have a data protection policy and at least 1 relationship associated with them or the policy has only 1 node. If false, only list datasets which do not have any associated policy or datasets which have policy with more than 1 node but do not have any associated relationship. If not set, list all datasets.
has-protection-policy boolean
optional
If true, only list datasets which have a data protection policy assigned to them. If false, only list datasets which do not have any data protection policy assigned. If not set, list all datasets.
include-can-contain-application-resources-only boolean
optional
If true, restricts returned datasets to only those to which application resources can be added. If false or not specified, this restriction is not applied. Default is false.
include-can-contain-storage-resources-only boolean
optional
If true, restricts returned datasets to only those to which storage resources can be added. If false or not specified, this restriction is not applied. Default is false.
include-conformance-check-results boolean
optional
If true, return the detailed conformance check results. If false or omitted, the conformance check results, which are expensive to retrieve, will not be returned.
include-conformance-run-reason-details boolean
optional
If true or omitted and include-conformance-check-results is also true, then include any possible conformance-run-reason-details along with the associated conformance-run-result element. Default value is true. If false, the conformance-run-reason-details, will not be returned.
include-export-settings boolean
optional
If true, the export settings for the dataset nodes will be present in the output of dataset-list-info-iter-next. Default value is false.
include-metadata boolean
optional
If true, returns dataset's metadata. If false, metadata, which can be large in size, is not returned. Default is false.
include-migration-info boolean
optional
If true, the migration information for the dataset is returned in dataset-list-info-iter-next. Default is false.
include-protection-status-problems boolean
optional
If true, return the detailed protection-status-problems if the dataset does not have protection status as "protected". Setting include-protection-status-problems to true will generate an error unless only one dataset is specified from the other input parameters. If false or omitted, protection-status-problems, which can be expensive to retrieve, will not be returned.
is-application-data boolean
optional
If true, return only datasets managed by an application. If false, return only datasets which are not managed by an application. By default, return all datasets.
is-dp-ignored boolean
optional
If true, only list datasets that have been set to be ignored for purposes of data protection. If false, only list datasets that have been not set to be ignored for purposes of data protection. If not specified, list all datasets without taking into account whether they have been ignored or not.
is-dr-capable boolean
optional
If true, return only datasets with dp policies that are disaster recovery capable. If false, return only datasets with policies that are not disaster recovery capable. By default, return all datasets.
is-protected boolean
optional
If true, only list datasets which have a data protection policy assigned to them. If false, only list datasets which do not have any data protection policy assigned. If not set, list all datasets.

Deprecated field. Retained for backward compatibility. This field is deprecated and to be replaced by has-protection-policy.

object-name-or-id obj-name-or-id
optional
Name or identifier of a dataset or resource group or provisioning policy or storage service. If a resource group is given, only the datasets which are direct members of the group are returned. If a provisioning policy is given, only those datasets where one or more of its nodes is associated with the provisioning policy are returned. If storage service is given, only those datasets which are associated with the storage service are are returned.
requires-non-disruptive-restore requires-non-disruptive-restore
optional
If true, return only datasets requiring non-disruptive restore. If false, return only datasets which do not require non-disruptive restore. By default, return all datasets.
suppress-status-refresh boolean
optional
If true, do not refresh the dataset status. If false or omitted, the status of all queried datasets will be re-calculated before being returned.
volume-qtree-name-prefix string
optional
Return only datasets with a particular type of custom name prefix. Up to 60 characters long.
 
Output Name Range Type Description
records integer
Number of records that have been saved for future retrieval with dataset-list-info-iter-next.
tag string
Tag to be used in subsequent calls to dataset-list-info-iter-next.
 Errno  Description
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EACCESSDENIED
 EDATABASEERROR

 
dataset-member-dedupe-abort [top]
Abort in-progress dedupe operation on the given volume member of the dataset.
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or identifier of dataset.
volume-name-or-id obj-name-or-id
Name or identifier of a volume member of the dataset.
 
Output Name Range Type Description
job-id integer
optional
Id of the job that handles the deduplication operation. This is returned only if there is an on-demand deduplication job running and will not be present if the deduplication operation was triggered by the storage system.
Range: [1..2^31-1]
 Errno  Description
 EOBJECTNOTFOUND
 EOBJECTAMBIGUOUS
 EACCESSDENIED
 EINVALIDINPUT
 EINTERNALERROR
 EDATABASEERROR
 EDEDUPEABORTNOTSUPPORTED
 EJOBALREADYCOMPLETED
 EJOBALREADYABORTED
 EDEDUPENOTRUNNING
 EDEDUPEABORTNOTSUPPORTED

 
dataset-member-dedupe-start [top]
Start deduplication operation on specified volume member of the given dataset.
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or Identifier of the dataset.
dedupe-member-request-info dedupe-member-request-info
Details on member to be deduplicated.
 
Output Name Range Type Description
job-id integer
Id of the job that handles the deduplication operation.
Range: [1..2^31-1]
 Errno  Description
 EOBJECTNOTFOUND
 EOBJECTAMBIGUOUS
 ENOTINDATASET
 EACCESSDENIED
 EINVALIDINPUT
 EINTERNALERROR
 EDATABASEERROR
 EDEDUPENOTSUPPORTED
 EDEDUPEALREADYRUNNING

 
dataset-member-delete-snapshots [top]
Delete Snapshot copies of a volume which is a member of the effective primary node of the dataset.

The effective primary node for a non disaster recovery capable dataset or a disaster recovery capable dataset not in the DR state of "failed_over" is the root node of the dataset. The effective primary of a disaster recovery dataset in the DR state of "failed_over" is the disaster recovery capable node of the dataset.

The deletion of Snapshot copies happens in the background.

A provisioning job id is returned in dataset-edit-commit zapi that represents the job which will delete the specified Snapshot copies. The status of the job can be checked using dp-job-list-iter ZAPIs with the given job-id. Error conditions:

  • EACCESSDENIED - User does not have privileges to delete Snapshot copies of the member.
  • EDATABASEERROR - A database error occurred while processing the request.
  • EOBJECTNOTFOUND - No volume by the given name or identifier was found.
  • ENOTINDATASET - Member is not in the primary node of the specified dataset.
  • EOBJECTAMBIGUOUS - The specified member name could refer to two or more objects. Try again with the object identifier or object full name.
  • EINVALIDINPUT - No Snapshot copies are specified for deletion or both volume-id and volume-name are not given in input or at least one of the Snapshot copies specified for deletion is marked busy.
  • ESNAPSHOTNOTFOUND - At least one of the Snapshot copy specified is not found on the volume.
  • EEDITSESSIONNOTFOUND - If the edit session specified in input is not found
  • EEDITSESSIONOBJECTALREADYLOCKED - If the object being tried to lock in this operation is already locked by some other edit session
  • EEDITSESSIONCONFLICTINGOP - If this snapshot deletion operation is conflicting with some other edit operation in the same edit session
  • EDATASETNOTINSTABLEDRSTATE - The dataset is not in a stable disaster recovery state.
Input Name Range Type Description
delete-snapshots-request-info delete-snapshots-request-info
Details on the volume and Snapshot copies to be deleted.
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
 Errno  Description
 EACCESSDENIED
 EDATABASEERROR
 EOBJECTNOTFOUND
 ENOTINDATASET
 EOBJECTAMBIGUOUS
 EINVALIDINPUT
 EEDITSESSIONNOTFOUND
 EEDITSESSIONOBJECTALREADYLOCKED
 EEDITSESSIONCONFLICTINGOP
 EDATASETNOTINSTABLEDRSTATE

 
dataset-member-list-info-iter-end [top]
Ends iteration of dataset members.
Input Name Range Type Description
tag string
Tag from a previous dataset-member-list-info-iter-start.
 Errno  Description
 EINVALIDTAG

 
dataset-member-list-info-iter-next [top]
Get next records in the iteration started by dataset-member-list-info-iter-start
Input Name Range Type Description
maximum integer
The maximum number of records to retrieve.
tag string
Tag from a previous dataset-member-list-info-iter-start.
 
Output Name Range Type Description
dataset-members dataset-member-info[]
List of the members of the dataset.
records integer
The number of records actually returned.
 Errno  Description
 EINVALIDTAG

 
dataset-member-list-info-iter-start [top]
Starts iteration to list members of the dataset. Dynamic references are not returned by this API, nor are objects only associated with the dataset by their inclusion in a dynamic reference.
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or identifier of the dataset whose members will be listed.
dp-node-name dp-policy-node-name
optional
List only the members in this policy node. If none is specified, then list members in all policy nodes. If both dp-node-name and storageset-name-or-id are specified, then the value of dp-node-name is ignored.
include-deleted boolean
validate
optional
If present and true, members which are marked as deleted in the database are also returned. Otherwise, deleted members are not returned.
include-exports-info boolean
optional
If true, the export information of members is included in output. If the member is exported over NFS, the NFS export name is retuned in nfs-export-name element in dataset-member-info. If the member is exported over CIFS, the share names are returned in cifs-share-names array in dataset-member-info. In case the members are accessed using both NFS and CIFS (i.e Mixed mode) then both NFS export name and CIFS share names are returned. Default value is false.
include-indirect boolean
optional
If true, indirect members are included. By default they are not included. An example of an indirect member is a qtree in a volume which is a direct member of the dataset.
include-is-available boolean
optional
If true, the is-available status is calculated for each member which may make the call to this zapi take much longer. Default is false.
include-space-info boolean
optional
If true, the space status is computed for all members, the space status and detailed space conditions of every data set member is returned if the space status of the member is "warning" or "error". Default value is false.
member-id obj-id
optional
Id, in the DFM database, of a specific member of the dataset. If specified, details of only this object will be returned.
member-name-or-id obj-name-or-id
optional
Name or id in the DFM database, of a specific member of the dataset. If specified, details of only this object will be returned. If both member-id and member-name-or-id is specified, then member-id will take precedence over member-name-or-id.
member-type string
optional
Type of the member. Possible values for direct members are: "volume", "qtree" or "ossv_directory". When include-exports-info is true in dataset-member-list-info-iter-start, this can also be "lun_path". If present, only members of the specified type are returned.
storageset-name-or-id obj-name-or-id
optional
List only the members in this storage set. If none is specified, then list members in all storagesets mapped to this dataset's nodes. If both dp-node-name and storageset-name-or-id are specified, then the value of dp-node-name is ignored.
suppress-status-refresh boolean
optional
If true, do not refresh the member status. If false or omitted, the status of all members will be refreshed before being returned.
 
Output Name Range Type Description
records integer
Number of records that have been saved for future retieval with dataset-member-list-info-iter-next.
tag string
Tag to be used in subsequent calls to dataset-member-list-info-iter-next.
 Errno  Description
 EOBJECTNOTFOUND
 EACCESSDENIED
 ESTORAGESETNOTINDATASET
 EDPPOLICYNODENOTFOUND

 
dataset-member-undedupe-start [top]
Start undeduplication operation on specified volume member of the given dataset.
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or Identifier of the dataset.
undedupe-member-request-info undedupe-member-request-info
Details on member to be undeduplicated.
 
Output Name Range Type Description
job-id integer
Id of the job that handles the undeduplication operation.
Range: [1..2^31-1]
 Errno  Description
 EOBJECTNOTFOUND
 EOBJECTAMBIGUOUS
 ENOTINDATASET
 EACCESSDENIED
 EINVALIDINPUT
 EINTERNALERROR
 EDATABASEERROR
 EUNDEDUPENOTSUPPORTED

 
dataset-missing-member-list-info-iter-end [top]
Ends iteration of missing dataset members.
Input Name Range Type Description
tag string
Tag from a previous dataset-missing-member-list-info-iter-start.
 Errno  Description
 EINVALIDTAG

 
dataset-missing-member-list-info-iter-next [top]
Get next records in the iteration started by dataset-member-list-info-iter-start
Input Name Range Type Description
maximum integer
The maximum number of records to retrieve.
tag string
Tag from a previous dataset-member-list-info-iter-start.
 
Output Name Range Type Description
missing-members missing-member-info[]
List of the missing members of the dataset.
records integer
The number of records actually returned.
 Errno  Description
 EINVALIDTAG

 
dataset-missing-member-list-info-iter-start [top]
Starts iteration to list members of the dataset that have gone missing. The way the server determines if an object was not intentionally removed from the dataset is:
  1. The object is still a dataset member.
  2. The object's objDeleted flag is set.
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or identifier of the dataset whose members will be listed.
 
Output Name Range Type Description
records integer
Number of records that have been saved for future retieval with dataset-member-list-info-iter-next.
tag string
Tag to be used in subsequent calls to dataset-member-list-info-iter-next.
 Errno  Description
 EOBJECTNOTFOUND
 EACCESSDENIED

 
dataset-modify [top]
Modify attributes for a dataset.
Input Name Range Type Description
application-info application-info
optional
This input is used only if is-application-data is true. It contains information about the application which manages this dataset.
application-policy-name-or-id obj-name-or-id
optional
Name or identifier of the application policy to associate with this dataset.
An application policy can only be attached to an empty dataset or a dataset containing only virtualization objects.
Once an application policy is attached to a dataset, user can no longer assign volumes or qtrees to the root node of that dataset.
Depending on the application policy type, 'vmware' or 'hyperv', only virtualization objects of that type can be added to the dataset. Vmware objects and Hyper-V objects can not be mixed in a single dataset.
check-protection-policy-on-commit boolean
optional
In the default case for a protection policy change, we immediately check the dataset's membership configuration. However, in the case where we are changing the policy and the storage set assignments in the same edit session, the caller can set this flag to true to request that the server postpone the check of the protection policy configuration and root node membership until the call to edit-commit. Default value is false.
dataset-contact email-address-list
optional
Contact for the dataset, such as the owner's e-mail address.
dataset-description string
optional
Description of the dataset, up to 255 character long.
dataset-metadata dfm-metadata-field[]
optional
Opaque metadata for dataset. Metadata is usually set and interpreted by an application that is using the dataset. DFM does not look into the contents of the metadata.
dataset-name obj-name
optional
Name of the dataset. It cannot be all numeric. The allowed characters are a to z A to Z 0 to 9 ' ' (space) . (period) _ (underscore) - (hyphen) If any other characters are included, an error is returned.
dataset-owner string
optional
Name of the owner of the dataset, up to 255 characters long.
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
is-application-data boolean
optional
If true, the dataset is an application dataset managed by an external application. Conversion of a non-application dataset to an application dataset is not allowed. The default value is false.
is-dp-ignored boolean
optional
True if an administrator has chosen to ignore this dataset for purposes of data protection. Data sets with this attribute set to true are not returned when the client requests datasets which are not ignored. This attribute has no other significance to the system.
is-dp-suspended boolean
optional
Flag indicating whether or not the dataset should be protected. This also indicates whether conformance checking of the dataset is to be done or not. Default is False.

Should is-dp-suspended go from TRUE to FALSE the edit session assume-confirmation default setting will be be set to FALSE for this dataset. (See dataset-edit-commit for details)

Deprecated field. Retained for backward compatibility. This field is deprecated in favour of is-suspended, which suspends the dataset for all automated actions (data protection and conformance check of the dataset).

is-suspended boolean
optional
True if an administrator has chosen to suspend this dataset for all automated actions (data protection and conformance check of the dataset). Default is False. If present, this field takes precedence over is-dp-suspended.

Should is-suspended go from TRUE to FALSE the edit session assume-confirmation default setting will be be set to FALSE for this dataset. (See dataset-edit-commit for details)

primary-volume-name-format primary-volume-name-format
optional
Name format string for the primary volumes created by Provisioning Manager. This element is optional. If the value of this element is empty string "", then the global naming option will be used to create names for the primary volumes. Volume name can only be 60 characters long. Name would be truncated if it exceeds that limit. For name collisions, numeric suffix would be added at the end of the volume name. Volume name can have ASCII alphabets, ASCII numbers and underscore '_'. Volume name cannot start with a number. All other characters will be converted to character 'x'. By default, the value of the option would be empty string.
protection-policy-id obj-id
optional
Identifier of the protection policy to associate with this dataset. This legacy parameter is only used if protection-policy-name-or-id is not supplied. The dataprotection license is required for this input.
protection-policy-name-or-id obj-name-or-id
optional
Name or identifier of the protection policy to associate with this dataset. This input is preferred over protection-policy-id and if supplied then do not supply protection-policy-id because protection-policy-id will be ignored. The dataprotection license is required for this input.
requires-non-disruptive-restore requires-non-disruptive-restore
optional
Specifies whether the dataset requires a non-disruptive restore of LUNs so that the host need not get detached from the LUN.
This value will be ignored if application-policy-name-or-id is specified. Non-disruptive-restore is not supported for datasets containing virtualization objects.
Default value is false.
secondary-qtree-name-format secondary-qtree-name-format
optional
Name format for the secondary qtrees created by Protection Manager. This element is optional. If the value of this element is empty string "", then the global naming option will be used to create names for qtree Qtree name can only be 60 characters long. Name would be truncated if it exceeds that limit. For name collisions, numeric suffix would be added at the end of the qtree name. Qtree name can have ASCII alphabets, ASCII numbers, hypen '-', dot '.' and underscore '_'. All other characters will be converted to character 'x'. By default, the value of the option would be empty string. This option does not apply to names of primary qtrees.
secondary-volume-name-format secondary-volume-name-format
optional
Naming format string for the secondary volumes created by Protection Manager. This element is optional. If the value of this element is empty string "", then the global naming option will be used to create names for the secondary volumes. Volume name can only be 60 characters long. Name would be truncated if it exceeds that limit. For name collisions, numeric suffix would be added at the end of the volume name. Volume name can have ASCII alphabets, ASCII numbers and underscore '_'. Volume name cannot start with a number. All other characters will be converted to character 'x'. By default, the value of the option would be empty string.
snapshot-name-format snapshot-name-format
optional
Name format string for snapshots created by Protection Manager and Host Service's plug-ins. This element is optional. If the value of this element is empty string "", then the global naming option will be used to created names for snapshot. If %A is not specified as one of the substitution tokens in the format, plug-ins creating snapshots for application datasets will implicitly add %A at the end of the format string and the snapshot name will have application fields in them. Snapshot name length can only be 124 characters long. Name would be truncated if it exceeds that limit. For name collisions, numeric suffix would be added at the end of the snapshots. Snapshot name can have ASCII alphabets, ASCII numbers, underscore '_', hyphen '-', plus sign '+' and a dot '.'. All other characters will be converted to character 'x'. By default, the value of the option is an empty string.
volume-qtree-name-prefix string
optional
Prefix for volume and qtree names, up to 60 character long. The allowed characters are a to z A to Z 0 to 9 ' ' (space) . (period) _ (underscore) - (hyphen) If any other characters are included, an error is returned.
 Errno  Description
 EOBJECTNOTFOUND
 EOBJECTAMBIGUOUS
 EDATASETEXISTS
 EEDITSESSIONNOTFOUND
 EEDITSESSIONOBJECTALREADYLOCKED
 EEDITSESSIONCONFLICTINGOP
 EDATABASEERROR
 EDSCONFLICTALREADYINDATASET
 EDSCONFLICTSRCDESTINSAMEAGGR
 EDSCONFLICTALREADYINRESPOOL
 EDSCONFLICTCANTMIRROROSSV
 EDSCONFLICTCANTSNAPSHOTOSSV
 EDSCONFLICTINCOMPATIBLEPOLICY
 EDSCONFLICTOSSVNOTALLOWED
 EDSCONFLICTNOSMLICENSE
 EDSCONFLICTNOSMSVLICENSE
 EDSCONFLICTROOTNODE
 EDSCONFLICTNOTROOTNODE
 EDSCONFLICTNOTLEAFNODE
 EDSCONFLICTNDRESTORE
 EAPILICENSE
 ESERVICEISATTACHED

 
dataset-modify-node [top]
Modify attributes of a single storage set that is part of a dataset. The storage set is specified implicitly by the name of the data protection policy node that maps to it. You may change the storage set's resource pool and timezone using this call, but not its name or description.

Within the same edit session in which you call dataset-modify-node, you may also add or remove members or dynamic references, or change the dataset's name, description, is-dp-ignored, is-dp-suspended, or is-suspended. You may not change the data set's policy or storage sets within the same edit session.


Error conditions:
  • EEDITSESSIONNOTFOUND - No edit lock was foundthat has the given identifier.
  • EACCESSDENIED - User does not have permission to modify the storage set.
  • EOBJECTAMBIGUOUS - The name given for the storage set or resource pool matches multiple storage sets or resource pools.
  • EOBJECTNOTFOUND - No storage set or resource pool was found that has the given name or identifier.
  • EDATABASEERROR - A database error occurred while processing the request.
  • ESTORAGESETNOTINDATASET - The specified storage set is not a part of the dataset being edited.
  • EDPPOLICYNODENOTFOUND - No DP policy node was found that has the given name.
  • EEDITSESSIONCONFLICTINGOP - The requested modification conflicts with other changes performed during the edit session.
  • EINVALIDTIMEZONE - The given timezone name is not valid.
  • EDSCONFLICTALREADYINDATASET - Object, its ancestor or descendent is already in dataset.
  • EDSCONFLICTSRCDESTINSAMEAGGR - Source data and destination data are in the same aggregate.
  • EDSCONFLICTALREADYINRESPOOL - Object, its ancestor or descendent is already in resource pool.
  • EDSCONFLICTCANTMIRROROSSV - OSSV is not allowed in mirror source node.
  • EDSCONFLICTCANTSNAPSHOTOSSV - Cannot apply snapshot schedule to OSSV.
  • EDSCONFLICTINCOMPATIBLEPOLICY - Policy is not compatible with application dataset.
  • EDSCONFLICTOSSVNOTALLOWED - OSSV is not allowed in the dataset.
  • EDSCONFLICTNOSMLICENSE - There is no SnapMirror license installed.
  • EDSCONFLICTNOSMSVLICENSE - There is no SnapMirror or SnapVault license installed. Need to have at least one of them installed.
  • EDSCONFLICTROOTNODE - Operation cannot be performed on root node of dataset.
  • EDSCONFLICTNOTROOTNODE - Operation cannot be performed on non-root node of dataset.
  • EDSCONFLICTNOTLEAFNODE - Operation cannot be performed on non-leaf node of dataset.
  • EDSCONFLICTINVALIDVFILER - Dataset node has members that do not belong to the vFiler being attached.
  • EDSCONFLICTDEDUPLICATION - A deduplication schedule enabled provisioning policy cannot be associated with SnapVault destinations.
Input Name Range Type Description
dataset-access-details dataset-access-details
optional
Data access details for a dataset that needs to be configured and provisioned in a way that it is capable of transparent migration. This enables all the storage in the primary node of the dataset to be migrated to a different physical resource without having to reconfigure the clients accessing this storage. This input is valid only when: - There are no members in the dataset. - There is no vFiler unit attached to the dataset. - The node being edited is the primary node of the dataset.
dataset-export-info dataset-export-info
optional
Specifies the NAS or SAN export settings for members provisioned in this node of the dataset.
dp-node-name dp-policy-node-name
optional
Name of the node in the data protection policy that maps to the storage set. dp-node-name must match exactly the name of one of the nodes in the data protection policy that is currently assigned to the data set.

If dp-node-name is not specified, then the storage set associated with the root node is modified.

edit-lock-id integer
validate
Identifier of the edit lock for a dataset that was obtained by an earlier call to dataset-edit-begin.
online-migration boolean
optional
Indicates, that this dataset is capable of non-disruptive migration. This field is valid only when either dataset-access-details or vfiler-id is not empty. By default the migration will be assumed to be disruptive. Default: false.
provisioning-policy-name-or-id obj-name-or-id
optional
Name or object identifier of the provisioning policy to be attached to the node. The implications of this are:
  • Members of the storage set associated with node are checked for conformance with the provisioning policy.
  • Any new members provisioned into the storage set will be based on this provisioning policy.
relinquish-vfiler boolean
optional
If true, relinquish the vFiler unit associated with the dataset. This will destroy the vFiler unit, move all the storage owned by the vFiler unit to the hosting storage system and re-export the dataset over the storage system. This option can be specified only when:
  • The vFiler unit associated with the node of the dataset has been created by Provisioning Manager. In this case is-vfiler-created-for-migration will be true in dataset-info returned by dataset-list-info-iter APIs.
  • All storage of the vFiler unit belongs to the node of the dataset, except for the root storage.
Default value is false.
resourcepool-name-or-id obj-name-or-id
optional
Name or object identifier of a resource pool to assign to the storage set. If other resource pool(s) are already assigned to the storage set, then this one will replace it. This will delete all the attached resource pools and add the new one. If the input value is the empty string "", then no resource pool will be assigned to the storage set i.e. all the attached resource pools will be removed. If this parameter is not supplied, then the storage set's resource pool assignment will not be changed.

This is a legacy parameter. dataset-add-resourcepool and dataset-remove-resourcepool are preferred APIs for adding and removing resource pools to/from dataset nodes.

timezone-name string
optional
Timezone to assign to the storage set. The value must be either a timezone-name returned by timezone-list-info-iter-next, or the empty string "". If the value is "", no timezone is assigned to the storage set. Storage sets with no timezone assignment use the timezone of the resource pool assigned to them, or the system default if no timezone is assigned to the resource pool.
vfiler-name-or-id obj-name-or-id
optional
Name or object identifier of the vFiler unit to be attached to the node. If there are any members currently in the node, they should belong to this vFiler unit. Any new member provisioned for this node, will be exported over this vFiler unit.
 Errno  Description
 EEDITSESSIONNOTFOUND
 EACCESSDENIED
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EDATABASEERROR
 ESTORAGESETNOTINDATASET
 EDPPOLICYNODENOTFOUND
 ENODENOTDRCAPABLE
 EINVALIDINPUT
 EEDITSESSIONCONFLICTINGOP
 EINVALIDTIMEZONE
 EDSCONFLICTALREADYINDATASET
 EDSCONFLICTSRCDESTINSAMEAGGR
 EDSCONFLICTALREADYINRESPOOL
 EDSCONFLICTCANTMIRROROSSV
 EDSCONFLICTCANTSNAPSHOTOSSV
 EDSCONFLICTINCOMPATIBLEPOLICY
 EDSCONFLICTOSSVNOTALLOWED
 EDSCONFLICTNOSMLICENSE
 EDSCONFLICTNOSMSVLICENSE
 EDSCONFLICTROOTNODE
 EDSCONFLICTNOTROOTNODE
 EDSCONFLICTNOTLEAFNODE
 EDSCONFLICTINVALIDVFILER
 ESERVICEISATTACHED
 EDSCONFLICTTRANSPARENTMIGRATION

 
dataset-provision-member [top]
Provision a new member into the effective primary node of a dataset.

The effective primary node for a non disaster recovery capable dataset or a disaster recovery capable dataset not in the DR state of "failed_over" is the dataset root node. The effective primary node of a disaster recovery dataset in the DR state of "failed_over" is the disaster recovery capable node of the dataset.

Error conditions:

  • EINVALIDINPUT - If the inputs specified are not valid.
  • EEDITSESSIONNOTFOUND - No edit lock was found that has the given identifier.
  • EACCESSDENIED - User does not have permission to provision a member.
  • EDATABASEERROR - A database error occurred while processing the request.
  • EEDITSESSIONCONFLICTINGOP - The requested modification conflicts with other changes performed during the edit session.
  • EDATASETNOTINSTABLEDRSTATE - The dataset is not in a stable disaster recovery state.
Input Name Range Type Description
edit-lock-id integer
validate
Identifier of the edit lock for a dataset that was obtained by an earlier call to dataset-edit-begin. Range: [1..2^31-1]
provision-member-request-info provision-member-request-info
Information of the provisioning request.
 Errno  Description
 EINVALIDINPUT
 EEDITSESSIONNOTFOUND
 EACCESSDENIED
 EDATABASEERROR
 EEDITSESSIONCONFLICTINGOP
 EDATASETNOTINSTABLEDRSTATE
 ESTORAGESETNOTINDATASET

 
dataset-remove-from-exclusion-list [top]
Remove datastore objects from a dataset's exclusion list.

This API is for removing datastore objects from a dataset's exclusion list.

Input Name Range Type Description
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
objects-to-be-removed obj-name-or-id[]
List of datastore object names or IDs to be removed from the exclusion list.
 Errno  Description
 EAPIAUTHENTICATION
 EEDITSESSIONNOTFOUND
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EDATABASEERROR
 EACCESSDENIED
 EDSCONFLICTNOTEXCLUDED
 EDSCONFLICTNOSMLICENSE
 EDSCONFLICTNOSMSVLICENSE
 EINVALIDOBJECTTYPE

 
dataset-remove-member [top]
Remove member from a dataset. Only members explicitly added to the dataset (direct members) can be removed.

If "destroy" is true, even indirect members can be destroyed on the storage system and removed from the dataset.

If "destroy" is true, then it is applicable only on members of the effective primary node of the dataset.

The effective primary node for a non disaster recovery capable dataset or a disaster recovery capable dataset not in the DR state of "failed_over" is the dataset root node. The effective primary node of a disaster recovery dataset in the DR state of "failed_over" is the disaster recovery capable node of the dataset.

The destroy operation happens in the background.

A provisioning job id is returned in dataset-edit-commit api that represents the job which will resize the member as specified. The status of the job can be checked using dp-job-list-iter ZAPIs with the given job-id.

Input Name Range Type Description
dataset-member-parameters dataset-member-parameter[]
List of members to remove from the dataset.
destroy boolean
optional
Specifies whether the member should be destroyed on the filer. If not specified or false, the member will not be destroyed on the filer. "destroy" flag can be true, only when the members given in input are of type volume, qtree or lun. Also, when "destroy" is true, the volume, qtree or lun given can be indirect members of the dataset.
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
 Errno  Description
 EEDITSESSIONCONFLICTINGOP
 EEDITSESSIONNOTFOUND
 ENOTINDATASET
 EDPPOLICYNODENOTFOUND
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EDATABASEERROR
 EACCESSDENIED
 EINVALIDOBJECTTYPE
 ECANNOTDESTROYSTORAGE

 
dataset-remove-member-by-dynamic-reference [top]
Remove dynamic references from a dataset. Only dynamic_references explicitly added to the dataset can be removed.

Input Name Range Type Description
dataset-dynamic-reference-parameters dataset-dynamic-reference-parameter[]
List of dynamic-references to remove from the dataset.
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
 Errno  Description
 EEDITSESSIONCONFLICTINGOP
 EEDITSESSIONNOTFOUND
 ENOTINDATASET
 EDPPOLICYNODENOTFOUND
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EDATABASEERROR
 EACCESSDENIED

 
dataset-remove-resourcepool [top]
Remove resource pool from a single storage set that is part of a dataset. The storage set is specified implicitly by the name of the policy node that maps to it.

Within the same edit session in which you call dataset-remove-resourcepool, you may also add or remove members or dynamic references, or change the dataset's name, description, is-dp-ignored, is-dp-suspended, or is-suspended. You may not change the data set's protection policy or storage sets within the same edit session.


Error conditions:
  • EEDITSESSIONNOTFOUND - No edit lock was found that has the given identifier.
  • EACCESSDENIED - User does not have permission to modify the storage set.
  • EOBJECTAMBIGUOUS - The name given for the storage set or resource pool matches multiple storage sets or resource pools.
  • EOBJECTNOTFOUND - No storage set or resource pool was found that has the given name or identifier.
  • EDATABASEERROR - A database error occurred while processing the request.
  • ESTORAGESETNOTINDATASET - The specified storage set is not a part of the dataset being edited.
  • EDPPOLICYNODENOTFOUND - No DP policy node was found that has the given name.
  • EEDITSESSIONCONFLICTINGOP - The requested modification conflicts with other changes performed during the edit session.
  • EDSCONFLICTALREADYINDATASET - Object, its ancestor or descendent is already in dataset.
  • EDSCONFLICTSRCDESTINSAMEAGGR - Source data and destination data are in the same aggregate.
  • EDSCONFLICTALREADYINRESPOOL - Object, its ancestor or descendent is already in resource pool.
Input Name Range Type Description
dp-node-name dp-policy-node-name
optional
Name of the node in the data protection policy that maps to the storage set. dp-node-name must match exactly the name of one of the nodes in the data protection policy that is currently assigned to the data set.

If dp-node-name is not specified, then the storage set associated with the root node is modified.

edit-lock-id integer
validate
Identifier of the edit lock for a dataset that was obtained by an earlier call to dataset-edit-begin. Range: [1..2^31-1]
resourcepool-name-or-id obj-name-or-id
Name or object identifier of a resource pool to remove from the storage set.
 Errno  Description
 EEDITSESSIONNOTFOUND
 EACCESSDENIED
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EDATABASEERROR
 ESTORAGESETNOTINDATASET
 EDPPOLICYNODENOTFOUND
 EEDITSESSIONCONFLICTINGOP
 EDSCONFLICTALREADYINDATASET
 EDSCONFLICTSRCDESTINSAMEAGGR
 EDSCONFLICTALREADYINRESPOOL
 ESERVICEISATTACHED

 
dataset-replace-primary-members [top]
Replace primary members and relationships after a failover.

If a secondary volume or qtree is specified, it replaces the primary member for just that secondary volume or qtree. If neither are specified, it replaces all primary members that need to be replaced.

If dry-run is specified, it returns the results of the operation that would be taken should the operation be committed.

Input Name Range Type Description
cancel-edit-sessions boolean
optional
If true, any edit operations in progress on the data set are rolled back before replacing any primary members. If it is false and there are edit operations in progress on the dataset, EEDITSESSIONINPROGRESS is returned and no primary members will be replaced. By default, cancel-edit-sessions is false. If dry-run is true, canel-edit-sessions is ignored.
dataset-name-or-id obj-name-or-id
Name or identifier of the dataset whose primary members need to be replaced.
dry-run boolean
optional
If true, return a list of actions that would be taken should the operation be committed without actually committing them. Dry run does not affect any edit session in progress. By default, dry-run is false.
object-name-or-id obj-name-or-id
optional
Name or identifier of the secondary volume or qtree whose primary needs to be replaced. If object-name-or-id is not specified, it replaces all primary members in the dataset that need to be replaced.
 
Output Name Range Type Description
replace-results replace-result[]
optional
Results of the replace operation. Each result describes one action that was taken. If dry-run is true, it describes one action that would be taken should the operation be committed.
 Errno  Description
 EOBJECTNOTFOUND
 EDATASETFAILINGOVER
 EEDITSESSIONINPROGRESS
 EACCESSDENIED
 EOBJECTAMBIGUOUS
 EDATABASEERROR
 EDATASETNOTDRCAPABLE
 EDATASETNOTINFAILEDOVERSTATE

 
dataset-resize-member [top]
Resize, change maximum capacity and change snap reserve for a dataset member on the effective primary node of the dataset.

The effective primary node for a non disaster recovery capable dataset or a disaster recovery capable dataset not in the DR state of "failed_over" is the dataset root node. The effective primary of a disaster recovery data set in the DR state of "failed_over" is the disaster recovery capable node of the dataset.

The resize operation happens in the background.

A provisioning job id is returned in dataset-edit-commit zapi that represents the job which will resize the member as specified. The status of the job can be checked using dp-job-list-iter ZAPIs with the given job-id. Error conditions:

  • EACCESSDENIED - User does not have the capability DFM.ResourcePool.Provision on the containing resource pool for a volume that is being resized.
  • EDATABASEERROR - A database error occurred while processing the request.
  • EOBJECTNOTFOUND - No volume or qtree member by the given name or identifier was found.
  • ENOTINDATASET - Member is not in the primary node of the specified dataset.
  • EOBJECTAMBIGUOUS - The specified member name could refer to two or more objects. Try again with the object identifier or object full name.
  • EINVALIDINPUT - Both member-id and member-name are not specified, inputs other than new-size are specified for a qtree member, size parameters are being changed for traditional volumes.
  • EEDITSESSIONNOTFOUND - If the edit session specified in input is not found
  • EEDITSESSIONOBJECTALREADYLOCKED - If the object being tried to lock in this operation is already locked by some other edit session
  • EEDITSESSIONCONFLICTINGOP - If this resize operation is conflicting with some other edit operation in the same edit session
  • EDATASETNOTINSTABLEDRSTATE - The dataset is not in a stable disaster recovery state.
Input Name Range Type Description
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
resize-member-request-info resize-member-request-info
Details on member to be resized.
 Errno  Description
 EACCESSDENIED
 EDATABASEERROR
 EOBJECTNOTFOUND
 ENOTINDATASET
 EOBJECTAMBIGUOUS
 EINVALIDINPUT
 EEDITSESSIONNOTFOUND
 EEDITSESSIONOBJECTALREADYLOCKED
 EEDITSESSIONCONFLICTINGOP
 EDATASETNOTINSTABLEDRSTATE

 
dataset-set [top]
Set dataset options.
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or object identifier for the dataset whose options need to be set.
is-allow-custom-settings boolean
optional
If true, conformance check of some volume options is disabled for the dataset. These volume options include, fractional-reserve, autodelete commitment and autodelete trigger attributes only. This option is applicable only for datasets which have san thin provisioning policy associated. For other datasets the option is ignored. default value is false.
is-enable-write-guarantee-checks boolean
optional
If true, periodic write guarantee checks are enabled for the dataset. This option is applicable only for datasets which have SAN thin provisioning policy associated. Presence of lun-clones, flex-clones, SFSR operations in the volume may effect write guarantees in SAN thin provisioning configurations. Periodic write guarantee checks detect such condition and generate alerts. For other datasets the option is ignored. default value is true.
maximum-luns-per-volume integer
optional
Maximum luns to be provisioned from a volume in this dataset. If the value is empty, then the dataset level value of the global option maxLUNsPerVolume is applicable for the dataset.
maximum-qtrees-per-volume integer
optional
Maximum qtrees to be provisioned from a volume in this dataset. If the value is empty, then the dataset level value of the global option maxQtreesPerVolume is applicable for the dataset.
 Errno  Description
 EOBJECTNOTFOUND
 EACCESSDENIED
 EDATABASEERROR

 
dataset-set-storageset [top]
Change the storage sets associated with policy nodes. It is legal to change many storage set/node mappings in an edit session.
Input Name Range Type Description
dp-node-name dp-policy-node-name
optional
Name of the data protection policy node to associate the storage set to. If this input is not present the root node is used as the default.

If dp-node-name is the root node,

  • dataset must have a disaster recovery capable protection policy
  • dataset must be in a "failed_over" DR state
  • object-name-or-id specified must be the storage set mapped to the DR-capable node of the old protection policy.
Mapping the DR storage set to the root node of a new protection policy will have the side effect of changing the DR state to "ready" when the edit session is committed.
edit-lock-id integer
Identifier of the edit lock for a dataset obtained by calling dataset-edit-begin. Range: [1..2^31-1]
object-name-or-id obj-name-or-id
Name or identifier of the storage set to add.
 Errno  Description
 EOBJECTNOTFOUND
 EEDITSESSIONOBJECTALREADYLOCKED
 EEDITSESSIONNOTFOUND
 EEDITSESSIONCONFLICTINGOP
 EDPPOLICYNODENOTFOUND
 EACCESSDENIED
 EDSCONFLICTALREADYINDATASET
 EDSCONFLICTSRCDESTINSAMEAGGR
 EDSCONFLICTALREADYINRESPOOL
 EDSCONFLICTCANTMIRROROSSV
 EDSCONFLICTCANTSNAPSHOTOSSV
 EDSCONFLICTINCOMPATIBLEPOLICY
 EDSCONFLICTOSSVNOTALLOWED
 EDSCONFLICTNOSMLICENSE
 EDSCONFLICTNOSMSVLICENSE
 EDSCONFLICTROOTNODE
 EDSCONFLICTNOTROOTNODE
 EDSCONFLICTNOTLEAFNODE
 ESERVICEISATTACHED

 
dataset-space-metric-list-info-iter-end [top]
Ends iteration to list dataset space metric.
Input Name Range Type Description
tag string
Tag from a previous dataset-space-metric-list-info-iter-start.
 Errno  Description
 EINVALIDTAG

 
dataset-space-metric-list-info-iter-next [top]
Get next few records in the iteration started by dataset-space-metric-list-info-iter-start.
Input Name Range Type Description
maximum integer
The maximum number of entries to retrieve. Range: [1..2^31-1]
tag string
Tag from a previous dataset-space-metric-list-info-iter-start.
 
Output Name Range Type Description
dataset-space-metrics dataset-space-metric-info[]
List of space usage measurement of dataset.
records integer
The number of records actually returned. Range: [0..2^31-1]
 Errno  Description
 EINVALIDTAG

 
dataset-space-metric-list-info-iter-start [top]
Starts iteration to list dataset's space usage measurements.
Input Name Range Type Description
day integer
optional
The day for which the usage metric is required. The month element is required along with this input. When present, the usage metrics for the day is returned. Range: [1..31]
month month
optional
The month for which the usage metric is required. If month is not specified, it defaults to the current month. If month element is provided without the day element in input, then the usage metrics available for the month is returned. If month and year element is not provided in input, then the usage measurements for the current month is returned. The start of the current month is determined by the chargebackDayOfMonth global option. Range: [1..12]
object-name-or-id obj-name-or-id
optional
Name or identifier of a dataset or resource group or storage service. If a resource group is given, usage measurement of the datasets which are direct members of the group are returned. If a storage service is given, usage measurement of datasets associated with the storage service is returned. If this input is not given, usage measurements of all the datasets are returned.
year integer
optional
The year for which the usage metric is required. If year element is not provided in input, then the current year is selected. Range: [1900..2^31-1]
 
Output Name Range Type Description
records integer
Number of records that have been saved for future retrieval with dataset-space-metric-list-info-iter-next. Range: [0..2^31-1]
tag string
Tag to be used in subsequent calls to dataset-space-metric-list-info-iter-next.
 Errno  Description
 EOBJECTAMBIGUOUS
 EOBJECTNOTFOUND
 EACCESSDENIED
 EDATABASEERROR
 EINVALIDINPUT

 
dataset-update-dr-status [top]
Update disaster recovery status for a dataset.
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or object identifier for the dataset.
 Errno  Description
 EOBJECTNOTFOUND
 EACCESSDENIED
 EDATABASEERROR

 
dataset-update-protection-status [top]
Update protection status for a dataset.
Input Name Range Type Description
dataset-name-or-id obj-name-or-id
Name or object identifier for the dataset.
 Errno  Description
 EOBJECTNOTFOUND
 EACCESSDENIED
 EDATABASEERROR

 
Element definition: application-info [top]
Information about an application.
Name Range Type Description
application-name string
Name of an application, up to 255 characters long. For example: "SnapManager for Oracle"
application-server-name string
The name of the server the application is running on, up to 255 characters long. This is the name of the host server, rather than the name of the client application.
application-version string
Version of an application, up to 255 characters long. For example: "2.1"
carry-primary-backup-retention boolean
optional
If this input is true, retention type of the primary backup is assigned to its replicas on the other nodes of the dataset. An exception is made if the dp-backup-start API with retention-type specified, starts the replication. In that case, the retention type specified in dp-backup-start is assigned to the replicas thereby overriding the retention type of the primary backup. If a scheduled event starts the replication, retention type specified in the schedule event is ignored.

If this input is false, retention type of the primary backup is ignored when assigning retention type to its replicas. Depending on how the backup transfer job was started, the retention type specified either in dp-backup-start API or the one specified in the schedule is assigned to the replica of the primary backup.

When this input is false, replicas of the primary backup may get an undesired retention type if the schedules are not configured very carefully. Therefore, it is recommended that any new users of the API should always set this input to true.

Note that even if the retention type of primary and secondary backups is the same, the retention duration may be different for them. The retention duration is specified for each node in the data protection policy. See dp-policy-node-info for more details.

Always present in the output.

Default is true.

is-application-managing-primary-backup-retention boolean
optional
If this input is true, Protection Manager does not enforce retention settings in the policy on the primary backups. Application is responsible for deleting primary backups, possibly by invoking dp-backup-version-delete API.

If this input is false, Protection Manager deletes the primary backups according to the retention settings specified in the policy.

Always present in the output.

Default is false.

is-application-responsible-for-primary-backup boolean
DFM creates primary backup versions only if this option is false.

 
Element definition: application-resource-namespace [top]
Name of the application resource namespace. We cannot list all possible values for this type. Because, in theory, someone could write a new plugin and install it under a Host Service at run-time, and we will support such a plugin from the server side in future. Client should depend on the specific values only when they are writing plugin-specific code.
[none]

 
Element definition: conformance-alert [top]
A description of one conformance check alert that should be noted by a user.
Name Range Type Description
conformance-alert-effect string
optional
The predicted effect of the alert. If there is no effect, this element will not be present
conformance-alert-reason string
Specifies possible reasons for alert.
conformance-alert-severity obj-status
severity of the alert. Possible values are "information", "error" or "warning".
conformance-alert-suggestion string
optional
Present only if severity is error or warning. Specifies any suggestions to rectify the warnings, errors. If there are no suggestions to specify, this element will not be present.
conformance-alert-type conformance-alert-type
Indicates the type for this alert

 
Element definition: dataset-access-details [top]
The data access details of a dataset. Currently, this is used to configure a dataset in a way that it is capable of transparent migration. A dataset can be configured and provisioned in a way that it is capable of transparent migration. IP Address and netmask has to be configured on the dataset in order to make the dataset capable of transparent migration. Provisioning Manager will create a vFiler unit with this IP Address and all the storage provisioned for this dataset will be accessed from this vFiler unit or this IP address. As input, it is valid only when: - There are no members in the dataset. - There is no vFiler unit attached to the dataset.
Name Range Type Description
ip-address string
IP address in dotted decimal format. (for example, "192.168.11.12"). The length of this string cannot be more than 16 characters.
netmask string
Netmask for the IP Address in dotted decimal notation. As input, this is valid only when ip-address is also provided in dataset-access-details. Provisioning Manager will create a vFiler unit whose IP Address will be the one configured as ip-address and it will be bound to an interface with this netmask.

 
Element definition: dataset-dynamic-reference-info [top]
Information about one dynamic reference in a dataset.
Name Range Type Description
dp-node-name dp-policy-node-name
optional
Name of the policy node to which the dynamic reference is attached. This element is only included if a data protection policy is associated with the dataset.
dynamic-reference-id obj-id
Identifier of the dynamic reference.
dynamic-reference-name obj-name
Name of the dynamic reference.
dynamic-reference-status obj-status
Current status of the dynamic reference.
dynamic-reference-subtype string
optional
Subtype of dynamic reference. Present only when dynamic-reference-type is app_object. In that case this field contains the subtype returned by the Host Service.
dynamic-reference-type string
Type of the dynamic reference. Possible values are 'filer', 'vfiler', 'aggregate', 'ossv_host', and 'app_object'.
is-available boolean
optional
True if this member and all of it's parents are up or online. Only valid for members of type "ossv-host", "ossv-dir", "filer", "vfiler", "aggregate", "volume", or "qtree". This field is not set for "vm" or "datastore" types.
is-deleted boolean
optional
True if this member object is marked as deleted in the database.
storageset-id obj-id
Identifier of the storage set to which the dynamic reference belongs.
storageset-name obj-name
Name of the storage set to which the dynamic reference belongs.

 
Element definition: dataset-dynamic-reference-parameter [top]
Information about one dynamic reference in a dataset.
Name Range Type Description
dp-node-name dp-policy-node-name
optional
Name of the data protection policy node associated with the dynamic reference. If dp-node-name is not specified, the root data protection policy node is assumed.
object-name-or-id obj-name-or-id
Name or identifier of the dynamic reference to add to or remove from the dataset.

 
Element definition: dataset-export-info [top]
Specifies the NAS or SAN export settings for a dataset node.
Name Range Type Description
dataset-cifs-export-setting dataset-cifs-export-setting
optional
The CIFS export settings for storage exported over CIFS. This field may be present only if the dataset-export-protocol is 'cifs' or 'mixed'.
dataset-export-protocol dataset-export-protocol
optional
Specifies the protocol over which members of the dataset node will be exported. This value is always returned. If omitted during a modify operation, the existing value is not changed. If specified as 'none' in a modify operation, the existing settings will be cleared. Default value is 'none'. Depending on the export protocol, dataset-lun-mapping, or a combination of dataset-nfs-export-setting and dataset-cifs-share-permissions, should be specified in a modify operation, and will be returned in the iterator output.
dataset-lun-mapping-info dataset-lun-mapping-info
optional
Specifies the hosts and/or initiators to which LUNs in this dataset node will be mapped, and the igroup OS type. This field may be present only if the dataset-export-protocol is 'fcp' or 'iscsi'.
dataset-nfs-export-setting dataset-nfs-export-setting
optional
The NFS export settings for storage exported over NFS. This field may be present only if the dataset-export-protocol is 'nfs' or 'mixed'.

 
Element definition: dataset-info [top]
Information about a dataset.
Name Range Type Description
application-info application-info
optional
If is-application-data is true, then this element must be present and it will contain information about the application which manages this dataset.
application-policy-id obj-id
optional
Identifier of the application policy associated with this dataset.
application-policy-name obj-name
optional
Name of the application policy associated with this dataset.
application-resource-namespaces application-resource-namespace[]
optional
This is only returned if can-contain-application-resources is true. If this list is empty, then the dataset can contain any type of application resources. This would be the case where the dataset has no members and no application policy attached. Otherwise, it will list out an array of namespaces from which new members can be added to this dataset.
can-contain-application-resources boolean
optional
True, if application resources can be added to this dataset. Otherwise, false. Examples of application resources are virtual machines, datastores etc. An empty dataset without any policy can have both can-contain-application-resources and can-contain-storage-resources set to true at the same time. Always present in the output. Ignored in the input. Default is true.
can-contain-storage-resources boolean
optional
True, if storage resources can be added to this dataset. Otherwise, false. Examples of storage resources are hosts, aggregates, volumes, qtrees, OSSV directories etc. An empty dataset without any policy can have both can-contain-application-resources and can-contain-storage-resources set to true at the same time. Always present in the output. Ignored in the input. Default is true.
dataset-access-details dataset-access-details
optional
Data access details for a dataset. This is returned only when a dataset is configured to be capable of transparent migration.
dataset-contact email-address-list
optional
Contact information for the dataset, such as the owner's e-mail address.
dataset-description string
Description of the dataset, up to 255 characters long.
dataset-export-info dataset-export-info
optional
Specifies the NAS or SAN export settings for the root node of the dataset. This field is present only if the include-export-settings field was set to true in dataset-list-info-iter-start for this iteration.
dataset-id obj-id
Identifier of dataset.
dataset-map dataset-map-entry[]
optional
List the policy node to storage set mapping. This shows how the storage set are wired together based on the policy topology for the dataset.
dataset-metadata dfm-metadata-field[]
optional
Opaque metadata for dataset. Metadata is usually set and interpreted by an application that is using the dataset. DFM does not look into the contents of the metadata.
dataset-migration-info dataset-migration-info
optional
Dataset's migration information. This will be present only if include-migration-info is set to true in dataset-list-info-iter-start api. If the dataset is not migrating this element will not be present.
dataset-name obj-name
Name of dataset.
dataset-owner string
optional
Name of the owner of the dataset, up to 255 characters long.
dataset-status dataset-status
The complex status of the dataset at the time it was last calculated. If suppress-dataset-status was not set to true, then the resource status will be re-calculated as part of the iteration. The resource status is the only aspect of dataset-status that is ever refreshed when iterated.
dr-state dr-state
optional
Disaster recovery state of the dataset.

If the dataset list iteration's output element is-dr-capable is true, then this element appears in the output. Otherwise, if is-dr-capable is false, this element does not appear in the output.

dynamic-reference-count integer
The count of dynamic references to members in the dataset. Range: [0..2^31-1]
has-protection boolean
True if the dataset satisfies at least one of the following conditions:
  • A dataset with a single node protection policy assigned.
  • A dataset with no protection policy attached but has an application policy attached to it.
  • A dataset that has a multi-node protection policy attached to it and has conformed at least once.
has-protection-policy boolean
True if this dataset has a data protection policy associated with it.
is-allow-custom-settings boolean
optional
If true, conformance check of some volume options is disabled for the dataset. These volume options include, fractional-reserve, autodelete commitment and autodelete trigger attributes only. This option is applicable only for datasets which have san thin provisioning policy associated. For other datasets the option is ignored. default value is false.
is-application-data boolean
If true, the dataset is an application dataset managed by an external application. application-info element is required if this element is true.
is-dp-ignored boolean
True if an administrator has chosen to ignore this dataset for purposes of data protection. Data sets with this attribute set to true are not returned when the client requests datasets which are not ignored. This attribute has no other significance to the system.
is-dp-suspended boolean
True if an administrator has chosen to suspend data protection of this dataset.

Deprecated field. Retained for backward compatibility. This field is deprecated in favour of is-suspended, which suspends the dataset for all automated actions (data protection and conformance check of the dataset).

is-dr-capable boolean
True if this dataset has a data protection policy associated with it that is disaster recovery capable.
is-enable-write-guarantee-checks boolean
optional
If true, periodic write guarantee checks are enabled for the dataset. This option is applicable only for datasets which have SAN thin provisioning policy associated. Presence of lun-clones, flex-clones, SFSR operations in the volume may effect write guarantees in SAN thin provisioning configurations. Periodic write guarantee checks detect such condition and generate alerts. For other datasets the option is ignored. default value is true.
is-protected boolean
True if this dataset has a data protection policy associated with it.

Deprecated field. Retained for backward compatibility. This field is deprecated and to be replaced by has-protection-policy.

is-suspended boolean
True if an administrator has chosen to suspend this dataset for all automated actions (data protection and conformance check of the dataset).
is-vfiler-created-for-migration boolean
optional
Indicates whether the vFiler unit attached to the dataset node was created by Provisioning Manager for migration. This element is present only when vfiler-id element is present. Default: false.
maximum-luns-per-volume integer
optional
Dataset level option that specifies the maximum number of luns that can be provisioned in a volume. If the value is empty, then the value of the global option maxLUNsPerVolume is applicable for the dataset.
maximum-qtrees-per-volume integer
optional
Dataset level option that specifies the maximum number of qtrees that can be provisioned in a volume. If the value is empty, then the value of the global option maxQtreesPerVolume is applicable for the dataset.
member-count integer
The count of direct members in the dataset. Range: [0..2^31-1]
online-migration boolean
optional
Indicates, that this dataset is capable of non-disruptive migration. This field is valid only when either dataset-access-details or vfiler-id is not empty. By default the migration will be assumed to be disruptive. Default: false.
primary-volume-name-format primary-volume-name-format
Format for primary volume name
protection-policy-id obj-id
optional
Identifier of the protection policy governing this dataset.
protection-policy-name obj-name
optional
Name of the protection policy governing this dataset.
provisioning-policy-id obj-id
optional
Identifier of the provisioning policy associated with primary node of the dataset.
provisioning-policy-name obj-name
optional
Name of the provisioning policy associated with the primary node of the dataset.
requires-non-disruptive-restore requires-non-disruptive-restore
Specifies whether the dataset is configured to enable non-disruptive restores.
resourcepool-id obj-id
optional
Identifier of the resource pool assigned to the root storage set. The output element is omitted if no resouce pool has been assigned to the root storage set.

If more than one resource pool is assigned to the dataset node, then the resource pool with the least valued identifier is returned in this field.

This is a legacy parameter and resourcepools field should be used instead to get the list of all resource pools assigned to the dataset node.

resourcepool-name obj-name
optional
Name of the resource pool assigned to the root storage set. The output element is omitted if no resource pool has been assigned to the root storage set.

If more than one resource pool is assigned to the dataset node, then the name of the resource pool with the least valued identifier is returned in this field.

This is a legacy parameter and resourcepools field should be used instead to get the list of all resource pools assigned to the dataset node.

resourcepools dataset-resourcepool-info[]
optional
Information of the resource pool(s) assigned to the root storage set. The output element is omitted if no resource pool(s) has been assigned to the root storage set.
secondary-qtree-name-format secondary-qtree-name-format
Format for secondary qtree name.
secondary-volume-name-format secondary-volume-name-format
Format for secondary volume name
snapshot-name-format snapshot-name-format
Format for snapshot name
storage-service-id obj-id
optional
Identifier of the storage service to which this dataset is attached. This will not be present if the dataset is not attached to a storage service.
storage-service-name obj-name
optional
Name of the storage service to which this dataset is attached. This will not be present if the dataset is not attached to a storage service.
storageset-id obj-id
Identifier of the storage set representing the primary data, or "root," of the dataset.
storageset-name obj-name
Name of the storage set representing the primary data, or "root," of the dataset.
storageset-timezone string
Time zone, if any, of the root storage set. Return an empty string if no time zone has been assigned to the root storage set. Currently valid time zones can be listed by timezone-list-info-iter.
vfiler-id obj-id
optional
Identifier of the vFiler unit attached to the primary node of the dataset.
vfiler-name obj-full-name
optional
Name of the vFiler unit attached to the primary node of the dataset.
volume-qtree-name-prefix string
Prefix for volume and qtree names, up to 60 characters long.

 
Element definition: dataset-io-metric-info [top]
A single I/O usage measurement record for a dataset node.
Name Range Type Description
dataset-node metric-dataset-node-info
Information about the dataset node.
io-measurement io-measurement
I/O usage measurements.
is-io-data-partial boolean
optional
Is set to true if IO information for one or more volume belonging to the dataset node was not available while computing the usage metric. If not present in output, it defaults to false.
is-overcharge boolean
optional
Is set to true if the dataset has one or more qtree members while generating the metric. For qtree members of dataset, their containing volume information is used to compute the usage metric. So we flag such metrics as overcharge. If not present in output, it defaults to false.
timestamp dp-timestamp
Timestamp of the sample. The value is in seconds since January 1, 1970

 
Element definition: dataset-member-info [top]
Information about one member of a dataset.
Name Range Type Description
cifs-share-names cifs-share-name[]
optional
List of share names for accesing the storage container (volume/qtree) when access protocol of storage set is "CIFS" or "Mixed".
cifs-shares-info cifs-share-info[]
CIFS share settings of a dataset member. Applicable is the dataset member (volume/qtree) is exported over CIFS protocol.
dp-node-name dp-policy-node-name
optional
Display name of the policy node to which the member is attached. This element is only included if a data protection policy is associated with the dataset.
is-available boolean
optional
True if this object and all of its parents are up or online. Only valid for members of type "ossv-host," "ossv-dir," "filer," "vfiler," "aggregate," "volume," or "qtree".
is-deleted boolean
optional
True if this member object is marked as deleted in the database.
lun-igroups-info lun-igroup-info[]
optional
If the LUN has been mapped to any igroups or hosts, this field contains information relevant to the same. This field is present only for LUNs, and absent if the LUN is not mapped to any initiator groups.
member-id obj-id
Identifier of the member.
member-name obj-name
Display name of the member.
member-perf-status obj-status
Current status of the member based on the worst performance event.
member-status obj-status
Current status of the member.
member-type string
Type of the member. Possible values for direct members are: "volume", "qtree" or "ossv_directory". When include-exports-info is true in dataset-member-list-info-iter-start, this can also be "lun_path".
nfs-export-name string
optional
Name by which the storage container(volume/qtree) has been exported. The volume or qtree can be exported with a different path from its physical path on the filer (with -actual option in the NFS export rule. Example: "/vol/myvol/myqtree" can be exported as "myexport") if not this will be same as full path of the container.
nfs-export-rules nfs-export-rules
NFS export rule information of a dataset member. Applicatble if the dataset member (volume/qtree) is exported over NFS protocol.
space-info space-info
optional
Space related information of a dataset member. Included in the output only if include-space-info was true in the call to dataset-member-list-info-iter-start. Note that some members will not have space related information. Those type of members are:
  • Non qtree data
  • Qtrees without hard disk quota limit.
In these cases, it is considered that the space status of such members is unknown.
storageset-id obj-id
Identifier of the storage set to which the member belongs.
storageset-name obj-name
Name of the storage set to which the member belongs.

 
Element definition: dataset-member-parameter [top]
Information about one member of a dataset.
Name Range Type Description
dp-node-name dp-policy-node-name
optional
Name of the data protection policy node associated with the object. If dp-node-name is not specified, the object is added to the root data protection policy node.
object-name-or-id obj-name-or-id
Identifier of the object to add to or remove from the dataset.

 
Element definition: dataset-space-metric-info [top]
A single space usage measurement record for a dataset node.
Name Range Type Description
avg-space-measurement space-measurement
The average values of space usage measurements.
dataset-node metric-dataset-node-info
Information about the dataset node.
is-overcharge boolean
optional
Is set to true if the dataset has one or more qtree members while generating the metric. For qtree members of dataset, their containing volume information is used to compute the usage metric. So we flag such metrics as overcharge. If not present in output, it defaults to false.
is-space-data-partial boolean
optional
Is set to true if space information for one or more volume belonging to the dataset node was not available while computing the usage metric. If not present in output, it defaults to false.
max-space-measurement space-measurement
The maximum values of space usage measurements.
timestamp dp-timestamp
Timestamp of the sample. The value is in seconds since January 1, 1970

 
Element definition: dedupe-member-request-info [top]
Details of the dedupe member request.
Name Range Type Description
full-volume-dedupe boolean
optional
If true, full volume dedupe scan is performed. Otherwise only new data since last deduplication operation is scanned. Default value is false.
volume-id obj-id
optional
Identifier of a volume member of a dataset.
volume-name obj-name
optional
Name of a volume member of the dataset. Either volume-id or volume-name has to be specified. If volume-id is specified then volume-name is ignored.

 
Element definition: delete-snapshots-request-info [top]
Details on which Snapshot copies are to be deleted.
Name Range Type Description
snapshots snapshot[]
List of Snapshot copies to be deleted from the volume. A minimum of 1 and a maximum of 255 Snapshot copies can be listed for deletion.
volume-id obj-id
optional
Identifier of the volume whose Snapshot copies are to be deleted. This volume should be a member of the effective primary node of the dataset either through direct or indirect membership.
volume-name obj-name
optional
Name of the volume whose Snapshot copies are to be deleted. This volume should be a member of the effective primary node of the dataset either through direct or indirect membership. Either volume-id or volume-name has to be specified. If volume-id is specified then volume-name is ignored.

 
Element definition: dfm-metadata-field [top]
Named field in the metadata.
Name Range Type Description
field-name string
Name of the metadata field. Field names are up to 255 characters in length and are case- insensitive.
field-value string
Arbitrary, user-defined data expressed as a string. The string is opaque to the server and must not exceed 16384 (16k) characters in length.

 
Element definition: dp-policy-node-name [top]
Name of a node in a DP policy graph. This typedef is an alias for the builtin ZAPI type string. A node name may contain from 1 to 64 characters. It may start with any character and may contain any combination of characters, except that it may not consist solely of decimal digits ('0' through '9').

The name of each node in a DP policy must be unique, but nodes in different policies may share the same name. Node names are always compared in a case-insensitive manner. This means that, for example, "a" and "A" are considered to be the same name for purposes of: creating new nodes for a new policy, renaming nodes of an existing policy, or looking up a policy's nodes by name. On the other hand, ZAPIs that return node names do not change the capitalization at all. For example, if a node's name has been set to "Backup", then dp-policy-list-iter-next returns its name as "Backup".

Note that a node name has the same format as an obj-name, and has similar properties such as case-insensitivity. However, a node name is not a kind of obj-name because a DP policy node is a part of a DP policy object, but is not itself a first-class DFM object.

[none]

 
Element definition: dp-timestamp [top]
Seconds since 1/1/1970 in UTC. Range: [0..2^31-1]. This runs out in 2036, so update the API some time before then.
[none]

 
Element definition: dr-state [top]
Disaster recovery states of a dataset. Possible values are:
  • "ready": The dataset is prepared to fail over.
  • "failing_over": The dataset is in the process of failing over. Eventually, the state of the dataset will change to either "failed_over" or "failover_error".
  • "failed_over": The dataset has failed over. The primary data is now considered unavailable and the mirror relationships from the primary to the DR node have been broken.
  • "failover_error": The dataset attempted to fail over but encountered an error. User intervention is required to change the state to either "failed_over" or "ready".
[none]

 
Element definition: dry-run-result [top]
A description of one action and the predicted effects of taking that action.
Name Range Type Description
dry-run-action string
An action the system would take.
dry-run-effect string
The predicted effect of the action.
dry-run-reason string
optional
Present only if severity is error or warning. Specifies possible reasons for the error, warning. If there are no reasons to specify, this element will not be present.
dry-run-reason-details result-detail[]
optional
These details apply to the associated dry-run-reason within the same dry-run-result. These offer additional information such as the reasons individual reasources may not have been selected for the dry-run-action in this same dry-run-result.
dry-run-severity obj-status
severity of the dry-run result. Possible values are "information", "error" or "warning".
dry-run-suggestion string
Present only if severity is error or warning. Specifies any suggestions to rectify the warnings, errors. If there are no suggestions to specify, this element will not be present.

 
Element definition: email-address-list [top]
A list of email addresses. If more than one email address is specified, the addresses must be seperated by a ','. Spaces (and other white space) are not allowed, either between addresses or in them. Unprintable characters are also invalid. The list may contain up to 255 characters.
[none]

 
Element definition: excluded-object-info [top]
Information about a datastore in a dataset.
Name Range Type Description
object-id obj-id
Identifier of the object to be excluded.
object-name obj-name
Display name of the object.
object-type string
Type of the object.

 
Element definition: job-info [top]
Job information of provisioning request.
Name Range Type Description
job-id integer
Identifier of job started for the provisioning request.

 
Element definition: missing-member-info [top]
Information about one missing member of a dataset.
Name Range Type Description
aggregate-id obj-id
Identifier of the aggregate to which the member belongs.
aggregate-name obj-name
Name of the aggregate to which the member belongs.
cifs-share-names cifs-share-name[]
optional
List of share names for accesing the storage container (volume/qtree) when access protocol of storage set is "CIFS" or "Mixed". Example \\server\sharename.
deleted-timestamp dp-timestamp
The time and date when the object was deleted.
host-id obj-id
Identifier of the host to which the member belongs.
hostname obj-name
Name of the host to which the member belongs.
member-id obj-id
Identifier of the missing member.
member-name obj-name
Display name of the missing member.
member-type string
Type of the missing member. Possible values are 'volume', 'qtree'.
nfs-export-name string
optional
Name by which the storage container(volume/qtree) has been exported, when access protocol of storage set is "NFS" or "Mixed". The volume or qtree can be exported with a different path from its physical path on the filer (with -actual option in the NFS export rule. Ex "/vol/myvol/myqtree" can be exported as "myexport") if not this will be same as full path of the container.
quota-hard-limit integer
optional
The hard limit on the amount of space a user can use in kilobytes. Range: [1..2^63-1] Valid only for qtree members.
quota-soft-limit integer
optional
The soft limit on the amount of space a user can use in kilobytes. Range: [1..2^63-1] Valid only for qtree members.
space-guarantee string
optional
The space guarantee setting for a volume member. Possible values are "none," "file," or "volume." Valid only for volume members.
total-space integer
optional
Specifies the total capacity of the dataset member, in kilobytes. Range: [1..2^63-1] Valid only for volume members.

 
Element definition: month [top]
Month of year. Possible values : 'january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november' or 'december'
[none]

 
Element definition: obj-id [top]
Identification number (ID) for a DFM object. This typedef is an alias for the builtin ZAPI type integer. Object IDs are unsigned integers in the range [1..2^31 - 1]. In some contexts, an object ID is also allowed to be 0, which is interpreted as a null value, e.g., a reference to no object at all.

The ID for a DFM object is always assigned by the system; the user is never allowed to assign an ID to an object. Therefore, an input element of type obj-id is always used to refer to an existing object by its ID. The ZAPI must specify the object's DFM object type (e.g. dataset, host, DP policy, etc.). Some ZAPIs allow the object to be one of several different types.

If the value of an obj-id input element does not match the ID of any existing DFM object of the specified type or types, then typically the ZAPI fails with error code EOBJECTNOTFOUND. A ZAPI may deviate from this general rule, for example, it may return a more specific error code. In either case, the ZAPI specification must document its behavior.

[none]

 
Element definition: obj-name [top]
Name of a DFM object. This typedef is an alias for the built in ZAPI type string. An object name must conform to the following format:
  • It must contain between 1 and 64 characters.
  • It may start with any character and may contain any combination of characters, except that it may not consist solely of decimal digits ('0' through '9').
  • In some contexts, a name may be the empty string (""), which is interpreted as a null value, e.g., a reference to no object at all.
The behavior of a ZAPI when it encounters an error involving an obj-name input element depends on how the ZAPI uses the input element. Here are the general rules:
  • If the input name element is used to create a new object with the given name, or rename an existing object to that name, and the name does not conform to the above format, then the ZAPI fails with error code EINVALIDINPUTERROR. Note that because EINVALIDINPUTERROR is such a common error code, ZAPI specifications are not required to document cases when they may return it.
  • If the input name element is used to refer to an existing object with that name, and there is no object with that name, then the ZAPI fails with error code EOBJECTNOTFOUND. Generally the ZAPI specification documents cases when it may return this error code.
A ZAPI may deviate from these general rules, for example, it may return more specific error codes. In such cases, the ZAPI specification must document its behavior.

If an input name element is used to refer to an existing object, then the ZAPI specification must specify which DFM object type (e.g. data set, host, DP policy, etc.) is allowed. Some ZAPIs allow the object to be one of several different types. See the description of obj-full-name for examples of valid input formats.

Note that there is no requirement that all object names must be unique. However, the names for some specific types of objects are constrained such that no two objects of that type may have the same name. For example, this constraint applies to datasets, DP schedules, and DP policies. This means that no two datasets may have the same name, but a dataset may have the same name as a DP schedule or DP policy.

In general, object names are compared in a case-insensitive manner. This means that, for example, "MyObject" and "MYOBJECT" are considered to be the same name for purposes of: creating new objects, renaming existing objects, or looking up an object by name. On the other hand, ZAPIs that return an obj-name generally do not change the capitalization at all. For example, if an object's name has been set to "MyObject", then list iteration ZAPIs that return the object's name return it as "MyObject" rather than "MYOBJECT" or "myobject".

ZAPIs that operate on obj-name values and do not follow these general rules about case sensitivity must document the rules that they do follow.

One important exception to these general rules is that volumes, qtrees, OSSV directories, SRM paths, interfaces, FCP targets and FC switch ports all have case-sensitive names. When looking up objects of these types by name, the case must match the object name.

[none]

 
Element definition: obj-name-or-id [top]
Name or internal ID of a DFM object. This typedef is an alias for the builtin ZAPI type string. An obj-name-or-id must contain between 1 and 64 characters, and must conform to one of the following formats:
  • It must have the format of an obj-name, or
  • It must be the decimal numeric string form of a positive integer whose value is in the range [1..2^31 - 1].
  • In case of application resources from the Host Service, this field can contain unique identifier assigned to the object by the Host Service e.g. for a Virtual Machine, it can be a GUID of the VM. One exception is when such unique identifier is a decimal numeric string containing only digits from 0 through 9. In that case, you cannot use such identifier as obj-name-or-id input.
Elements of type obj-name-or-id are used only as inputs to ZAPIs. The value must match either the name or internal ID of an existing DFM object. The ZAPI must specify the object's DFM object type (e.g. dataset, host, DP policy, etc.). Some ZAPIs allow the object to be one of several different types.

If the format of an obj-name-or-id input element does not conform, or the value does not match the name or ID of an existing object, then generally the ZAPI documents that it fails with error code EOBJECTNOTFOUND. A ZAPI may return more specific error codes. In such cases, the ZAPI specification must document its behavior.

If a ZAPI can accept a null value (e.g. reference to no object at all) for such an element, then the element is declared optional, and the absence of the input element represents a null value.

[none]

 
Element definition: primary-volume-name-format [top]
Name format string for the primary volumes created by Provisioning Manager. Allowed values for this element "" (empty string) OR free form text with substitution tokens. The allowed tokens are:
  1. %L: Dataset label (dl), previously called the dataset prefix. This is the volume-qtree-name-prefix element specified in dataset-create or dataset-modify. If the dataset label is not set, substitute the dataset name instead.
  2. %D: Dataset name.
      For configurable naming using %L and %D, users can use all the attributes or some of them and they can order them anyway they want combined by user defined text e.g. %L_%D. Order of the attributes can change for example. %D_%L.
[none]

 
Element definition: provision-member-request-info [top]
Details specific to the 'provision_member' request.
Name Range Type Description
comments provision-member-comment[]
optional
Comment values to assign to the newly provisioned storage object.
create-new-vfiler boolean
optional
True, if new vFiler Unit needs to be created during provisioning. The provisioned storage container is then moved to the vFiler Unit. This input is applicable only in the context of resourcepool-member-list-info-iter-start zapi and run-provisioning-checks is specified as 'true'. This input is ignored in dataset-provision-member and storage-service-dataset-provision zapi. The default value is 'false'.
dataset-export-info dataset-export-info
optional
Specifies the NAS or SAN export settings for the the provisioning member. Member level export settings cannot be specified, if export settings have been configured at node level.
description string
optional
Description of the provisioning request. The length of this string cannot be more than 255 characters.
initial-snapshot-space integer
optional
Applicable when provisioning members in SAN data sets (i.e. datasets associated with provisioning policy of type 'san'). Specify the initial disk space in bytes that needs to be allocated upfront for Snapshot copies of the member. Range: [1..2^63-1]
maximum-data-size integer
validate
optional
Maximum storage space for the dataset member. Applicable when provisioning members in NFS data sets (i.e. datasets associated with provisioning policy of type 'nas' and export over 'NFS' protocol). Storage clients can write data up to this limit if the containing aggregate has space. The value is specified in bytes. Range: [1..2^63-1]
maximum-snapshot-space integer
optional
Applicable when provisioning members in SAN data sets (i.e. datasets associated with provisioning policy of type 'san'). Specify the maximum disk space in bytes for the Snapshot copies of the member. Once the space consumed by Snapshot copies reaches this value, further Snapshot copies will fail. Range: [1..2^63-1]
name string
Name of the storage container. If this is a NAS dataset, i.e the provisioning policy associated with the primary node of the dataset is of type 'nas', then this name corresponds to the qtree or volume created. If this is a SAN dataset, i.e the provisioning policy associated with the primary node of the dataset is of type 'san', then this name corresponds to the LUN or volume that will be provisioned as part of this request. The length of this string cannot be more than 255 characters.
online-migration boolean
optional
Indicates whether pre checks related to online migration has to be performed on the storage system during provisioning. This input is applicable only in the context of resourcepool-member-list-info-iter-start API and run-provisioning-checks is specified as true and either create-new-vfiler is true or vfiler-name-or-id is specified. This input is ignored in storage-service-dataset-provision and dataset-provision-member APIs.
provisioning-policy-id obj-id
optional
Name or identifier of the provisioning policy used with this request. Ignored for dataset-provision-member and storage-service-dataset-provision and is used only when listing provisioning requests and jobs.
provisioning-policy-name obj-full-name
optional
Name of the provisioning policy used with this request. Present only if the request type is 'provision_member'. Ignored for dataset-provision-member and storage-service-dataset-provision and is used only when listing provisioning requests and jobs.
resource-name-or-id obj-name-or-id
optional
Name or identifier of the resource object from which storage space will be provisioned. valid types of objects are:-
  • Filer
  • Aggregate
The filer or aggregate specified should belong to the resource pool(s) associated with primary node of the dataset.
size integer
validate
Amount of storage space for data. Whether this space has to allocated on demand or reserved upfront from an aggregate in resource pool is decided based on the provisioning policy settings. The value is specified in bytes. Range: [1..2^63-1]
vfiler-name-or-id obj-name-or-id
optional
Name or id of the vFiler Unit, if specified the newly provisioned dataset member will be moved to the specified vFiler Unit and accessed via the vFiler Unit's IP addresses. Ignored for storage-service-dataset-provision.

 
Element definition: replace-result [top]
A description of one replace action.
Name Range Type Description
dp-node-name dp-policy-node-name
optional
Name of the data protection policy node associated with the secondary volume or qtree.
member-type string
Type of the object replaced. Possible values are "volume", or "qtree".
new-primary-member-id obj-id
optional
Identifier of the new primary member replacing the old. new-primary-member-id is omitted if the replace-status is "not_found".
new-primary-member-name obj-name
optional
Display name of the new primary member replacing the old. new-primary-member-name is omitted if the replace-status is "not_found".
old-primary-member-id obj-id
optional
Identifier of the primary member that needs to be replaced. old-primary-member-id is omitted if the replace-status is "not_required".
old-primary-member-name obj-name
optional
Display name of the primary member that was replaced. old-primary-member-name is omitted if the replace-status is "not_required".
replace-status string
Possible values are "not_found", "not_required", or "replaced". "not_found" is returned if a replacement primary was not found. "not_required" is returned if the primary did not need to be replaced. "replaced" is returned if the primary was successfully replaced.
secondary-member-id obj-id
Identifier of the secondary member whose primary member needs to be replaced.
secondary-member-name obj-name
Displayed name of the secondary member whose primary member needs to be replaced.

 
Element definition: requires-non-disruptive-restore [top]
When this attribute is set, the dataset is configured to allow LUNs to be restored from backups in such a way that the host need not detach from the LUN.

Configuring the dataset for non-disruptive restore does not guarantee that all backup instances may be restored non-disruptively. It only applies to backup instances reached through a Backup connection. The caller must check the supports-non-disruptive-restore output element returned by dp-backup-list-info-next to tell whether a given backup instance can be restored non-disruptively.

Specifically, when this attribute is set:

  • All storage systems must be running ONTAP 7.3 or later.
  • Protection Manager must have working ZAPI credentials for all storage systems in use by this dataset.
  • All Backup connections will be implemented using SnapVault, not Qtree SnapMirror.
  • All non-primary storage systems used by the data set must have a SnapVault Secondary license.

If any of these constraints is not met when adding a member to the dataset, the dataset will not be in conformance and the addition will generate conformance errors. Addition of members with ONTAP version less than 7.3 to the primary node of the dataset will fail with errors.

requires-nondisruptive-restore may only be specified if:

  • No Backup connection in the protection policy used by the dataset is DR capable (i.e. the is-dr-capable attribute may not be set for any Backup connection of the policy).
  • The dataset must be an application dataset.
Thus, if requires-non-disruptive-restore is specified as true, is-application-data must also be present and true. Callers may check the non-disruptive-restore-compatible output element of the dp-policy-list-info-iter-next API to tell which policies may be applied to datasets requiring non-disruptive restores.
[none]

 
Element definition: resize-member-request-info [top]
Details of the resize request.
Name Range Type Description
maximum-capacity integer
optional
Specify the new maximum capacity value for a flexbile volume. The value is specified in bytes. Valid only if the filer to which the volume belongs is of ONTAP version 7.1 or above only. This input is valid only if member-id or member-name refers to a flexible volume. Range: [1..2^63-1]
member-id obj-id
optional
Identifier of the dataset member on which the resize operation has to be carried out. This member can be either a flexible volume or a qtree which is a member of the effective primary node of the dataset either through direct or indirect membership.
member-name obj-name
optional
Name of the dataset member on which the resize operation has to be carried out. This member can be either a flexible volume or a qtree which is a member of the effective primary node of the dataset either through direct or indirect membership. Either member-id or member-name has to be specified. If member-id is specified then member-name is ignored.
new-size integer
optional
Specify the new size of the dataset member. The value is specified in bytes. If the member is a volume, this corresponds to the size of the volume. If the member is a qtree, this corresponds to hard disk quota limit for the qtree. Range: [1..2^63-1]
snap-reserve integer
optional
Specifies the percetage of space set aside for snapshots in a volume. The value is specified in percentage of the total size of the volume. This input is valid only if member-id or member-name refers to a flexible volume. Range: [0..100]

 
Element definition: secondary-qtree-name-format [top]
Name format string for the secondary qtrees created by Protection Manager. This string is free form text with substitution tokens. The allowed substitution tokens are:
  1. %Q: Primary qtree name.
  2. %L: Dataset label (dl), previously called the dataset prefix. This is the volume-qtree-name-prefix element specified in dataset-create or dataset-modify. If the dataset label is not set, substitute the dataset name instead.
  3. %S: Primary storage system name. The name of the storage system of the source volume in the primary root node to which the current secondary volume has a relationship with.
  4. %V Primary volume name. It is the name of the source volume in the primary root node to which the current secondary volume has a relationship with.
Users can use any or all of the substitution tokens in any order.
[none]

 
Element definition: secondary-volume-name-format [top]
Format string used to generate names for secondary volumes created by Protection Manager. Allowed values for this element "" (empty string) OR free form text with substitution tokens. The allowed tokens are
  1. %L: Dataset label (dl), previously called the dataset prefix. This is the volume-qtree-name-prefix element specified in dataset-create or dataset-modify. If the dataset label is not set, substitute the dataset name instead.
  2. %S: Primary storage system name. The name of the storage system of the source volume in the primary root node to which the current secondary volume has a relationship with.
  3. %V: Primary volume name. It is the name of the source volume in the primary root node to which the current secondary volume has a relationship with.
  4. %C: Type of connection. It has only two values, "mirror" or "backup"
For configurable naming using %L, %C, %S and %V, users can use all the attributes or some of them and they can order them anyway they want combined by user defined text e.g. %L_%C_%S_%V. Order of the attributes can change for example. %C_%S_%L.
[none]

 
Element definition: snapshot-name-format [top]
Format string for creating snapshot names. This string is free form text with substitution tokens. Allowed substitution tokens are:
  1. %T: Scheduled creation time of snapshot in format yyyy-mm-dd_hh.mm.ss. The time is in the dataset time zone and if no time zone is assigned to the dataset, then default system time zone will be used. is the offset from utc in standard format (+hhmm or –hhmm). For example, "-0430" means 4 hours 30 minutes behind UTC (west of Greenwich). If the timezone is "UTC" or "GMT", no offset is included in the name.
  2. %R: Retention type of snapshot. Values are "hourly", "daily", "weekly" "monthly" or "unlimited".
  3. %L: Dataset label (dl), previously called the dataset prefix. This is the volume-qtree-name-prefix element specified in dataset-create or dataset-modify. If the dataset label is not set, substitute the dataset name instead.
  4. %H: Name of storage system which owns the volume which will contain the snapshot.
  5. %N: Name of volume which will contain the snapshot.
  6. %A: Application-specific data. When included, allow the utility, creating the snapshot name for the application, to embed any application specific data that the utility wants in the snapshot name. User has no control over what goes in this field. Format string can include any or all substitution tokens in any order. %T is mandatory.
[none]

 
Element definition: undedupe-member-request-info [top]
Details of the undedupe member request.
Name Range Type Description
volume-id obj-id
optional
Identifier of a volume member of a dataset.
volume-name obj-name
optional
Name of a volume member of the dataset. Either volume-id or volume-name has to be specified. If volume-id is specified then volume-name is ignored.

 
Element definition: application-info [top]
Information about an application.
Name Range Type Description
application-name string
Name of an application, up to 255 characters long. For example: "SnapManager for Oracle"
application-server-name string
The name of the server the application is running on, up to 255 characters long. This is the name of the host server, rather than the name of the client application.
application-version string
Version of an application, up to 255 characters long. For example: "2.1"
carry-primary-backup-retention boolean
optional
If this input is true, retention type of the primary backup is assigned to its replicas on the other nodes of the dataset. An exception is made if the dp-backup-start API with retention-type specified, starts the replication. In that case, the retention type specified in dp-backup-start is assigned to the replicas thereby overriding the retention type of the primary backup. If a scheduled event starts the replication, retention type specified in the schedule event is ignored.

If this input is false, retention type of the primary backup is ignored when assigning retention type to its replicas. Depending on how the backup transfer job was started, the retention type specified either in dp-backup-start API or the one specified in the schedule is assigned to the replica of the primary backup.

When this input is false, replicas of the primary backup may get an undesired retention type if the schedules are not configured very carefully. Therefore, it is recommended that any new users of the API should always set this input to true.

Note that even if the retention type of primary and secondary backups is the same, the retention duration may be different for them. The retention duration is specified for each node in the data protection policy. See dp-policy-node-info for more details.

Always present in the output.

Default is true.

is-application-managing-primary-backup-retention boolean
optional
If this input is true, Protection Manager does not enforce retention settings in the policy on the primary backups. Application is responsible for deleting primary backups, possibly by invoking dp-backup-version-delete API.

If this input is false, Protection Manager deletes the primary backups according to the retention settings specified in the policy.

Always present in the output.

Default is false.

is-application-responsible-for-primary-backup boolean
DFM creates primary backup versions only if this option is false.

 
Element definition: application-resource-namespace [top]
Name of the application resource namespace. We cannot list all possible values for this type. Because, in theory, someone could write a new plugin and install it under a Host Service at run-time, and we will support such a plugin from the server side in future. Client should depend on the specific values only when they are writing plugin-specific code.
[none]

 
Element definition: cifs-share-info [top]
Specifies the properties of a CIFS share on Data ONTPAP system.
Name Range Type Description
cifs-share-name cifs-share-name
Name of the CIFS share.
cifs-share-permissions cifs-share-permission[]
ACL information of a CIFS share.

 
Element definition: cifs-share-name [top]
CIFS share name of the storage container (volumes, qtrees). Example \\server\sharename.
[none]

 
Element definition: conformance-alert-type [top]
The type of alert that is being issued is indicated by a field of this type. The alert-type may apply to the conformance-alerts.

Possible values are: 'diskspace' and 'rebaseline'.

  • diskspace: An alert can be issued for when DFM station disk space is so low as to impact the operation of DFM.
  • rebaseline: When the system detects that existing relationships are in need of migration an alert of this type may be issued to warn that a rebaseline may be done should the user confirm conformance for non-conformant datasets.
Please see conformance-alerts where the above values may be used for additional information.
[none]

 
Element definition: dataset-access-details [top]
The data access details of a dataset. Currently, this is used to configure a dataset in a way that it is capable of transparent migration. A dataset can be configured and provisioned in a way that it is capable of transparent migration. IP Address and netmask has to be configured on the dataset in order to make the dataset capable of transparent migration. Provisioning Manager will create a vFiler unit with this IP Address and all the storage provisioned for this dataset will be accessed from this vFiler unit or this IP address. As input, it is valid only when: - There are no members in the dataset. - There is no vFiler unit attached to the dataset.
Name Range Type Description
ip-address string
IP address in dotted decimal format. (for example, "192.168.11.12"). The length of this string cannot be more than 16 characters.
netmask string
Netmask for the IP Address in dotted decimal notation. As input, this is valid only when ip-address is also provided in dataset-access-details. Provisioning Manager will create a vFiler unit whose IP Address will be the one configured as ip-address and it will be bound to an interface with this netmask.

 
Element definition: dataset-cifs-export-setting [top]
If storage inside this dataset node is exported over CIFS, this specifies some of the common properties that will be applied to all such provisioned storage.
Name Range Type Description
cifs-domain string
optional
Name of the CIFS domain. If present, then only filers or vFilers belonging to this CIFS domain is considered for provisioning. If not present, then any filer is picked. Up to 255 characters.
dataset-cifs-share-permissions dataset-cifs-share-permission[]
optional
Specifies the permissions granted to users on storage provisioned in this dataset node. This field may be present only if the dataset-export-protocol is 'cifs' or 'mixed'.

 
Element definition: dataset-export-info [top]
Specifies the NAS or SAN export settings for a dataset node.
Name Range Type Description
dataset-cifs-export-setting dataset-cifs-export-setting
optional
The CIFS export settings for storage exported over CIFS. This field may be present only if the dataset-export-protocol is 'cifs' or 'mixed'.
dataset-export-protocol dataset-export-protocol
optional
Specifies the protocol over which members of the dataset node will be exported. This value is always returned. If omitted during a modify operation, the existing value is not changed. If specified as 'none' in a modify operation, the existing settings will be cleared. Default value is 'none'. Depending on the export protocol, dataset-lun-mapping, or a combination of dataset-nfs-export-setting and dataset-cifs-share-permissions, should be specified in a modify operation, and will be returned in the iterator output.
dataset-lun-mapping-info dataset-lun-mapping-info
optional
Specifies the hosts and/or initiators to which LUNs in this dataset node will be mapped, and the igroup OS type. This field may be present only if the dataset-export-protocol is 'fcp' or 'iscsi'.
dataset-nfs-export-setting dataset-nfs-export-setting
optional
The NFS export settings for storage exported over NFS. This field may be present only if the dataset-export-protocol is 'nfs' or 'mixed'.

 
Element definition: dataset-export-protocol [top]
Specifies the export protocols that members in this dataset node will be exported over. Possible values are 'nfs', 'cifs', 'mixed', 'fcp', 'iscsi' and 'none'. Specifying 'mixed' implies that the storage in the dataset should be exported over both NFS and CIFS.
[none]

 
Element definition: dataset-lun-mapping-info [top]
Specifies the hosts and/or initiators to which LUNs in this dataset node will be mapped, and the igroup OS type.
Name Range Type Description
igroup-os-type string
Specifies the OS type for initiators to map LUNs in the dataset node to. Possible values are: 'windows', 'windows_gpt', 'windows_2008', 'hpux', 'aix, 'linux, 'solaris', 'vmware', 'netware', 'hyper_v', 'xen', 'solaris_efi', and 'openvms' Here "windows_gpt" refers to Windows using GPT (GUID Partition Type) partitioning style and "windows_2008" refers to Windows Longhorn systems.
lun-mapping-initiators lun-mapping-initiator[]
Specifies the initiators to map LUNs in the dataset node to, and, optionally, the host to which they belong.

 
Element definition: dataset-map-entry [top]
Map a storage set to a policy node. The root node is not included in the map.
Name Range Type Description
dataset-access-details dataset-access-details
optional
Data access details for a dataset. This is returned only when a dataset is configured to be capable of transparent migration.
dataset-export-info dataset-export-info
optional
Specifies the NAS or SAN export settings for the storage set. This field is present only if the include-export-settings field was set to true in dataset-list-info-iter-start for this iteration.
dp-node-id integer
ID of the node in the data protection policy. Range: [1..2^31-1].
dp-node-name dp-policy-node-name
Name of the node in the data protection policy topology.
is-dr-capable boolean
True if this node is the destination of a disaster recovery capable connection in the data protection policy.
is-vfiler-created-for-migration boolean
optional
Indicates whether the vFiler unit attached to the dataset node was created by Provisioning Manager This element is present only when vfiler-id element is present. Note: This field will be also be true if vFiler unit was created by Provisioning manager and attached to secondary nodes, although secondary nodes do not support migration.
provisioning-policy-id obj-id
optional
Identifier of the provisioning policy associated with the dataset node.
provisioning-policy-name obj-name
optional
Name of the provisioning policy associated with the dataset node.
resourcepool-id obj-id
optional
Identifier of the resource pool assigned to the storage set that maps to the policy node. The output element is omitted if no resource pool has been assigned to the storage set.

If more than one resource pool is assigned to the dataset node, then one of them is returned in this field.

This is a legacy parameter and resourcepools field should be used instead to get the list of all resource pools assigned to the dataset node.

resourcepool-name obj-name
optional
Name of the resource pool assigned to the storage set that maps to the policy node. The output element is omitted if no resource pool has been assigned to the storage set.

If more than one resource pool is assigned to the dataset node, then the name of the resource pool with the least valued identifier is returned in this field.

This is a legacy parameter and resourcepools field should be used instead to get the list of all resource pools assigned to the dataset node.

resourcepools dataset-resourcepool-info[]
optional
Name Information of the resource pool(s) assigned to the storage set that maps to the policy node. The output element is omitted if no resource pool(s) has been assigned to the storage set.
storageset-id obj-id
Identifier of the storage set that maps to the policy node.
storageset-name obj-name
Name of the storage set that maps to the node.
storageset-timezone string
Time zone specification, if any, of the storage set. Storage sets without time zones use a time zone from the resource pool the storage came from, or from a default time zone. Return an empty string if no time zone has been assigned to the storage set. Currently valid time zones can be listed by timezone-list-info-iter.
vfiler-id obj-id
optional
Identifier of the vFiler unit attached to the dataset node.
vfiler-name obj-full-name
optional
Name of the vFiler unit attached to the dataset node.

 
Element definition: dataset-migration-info [top]
Dataset's migration information.
Name Range Type Description
description string
optional
description associated with the migration task
destination-filer-id obj-id
Database ID of the destination storage system
destination-filer-name obj-full-name
Full name of the destination storage system
destination-vfiler-id obj-id
optional
Database ID of the destination vfiler. If the migration status is 'migrate_failed' and the destination vfiler has been destroyed as a result of rollback activity. this field will not be present.
destination-vfiler-name obj-full-name
optional
Full name of the destination vfiler. If the migration status is 'migrate_failed' and the destination vfiler has been destroyed as a result of rollback activity. this field will not be present.
migration-status migration-status
Migration status of the dataset
provisioning-policy-id obj-id
optional
Provisioning policy used to provision the migration destination
provisioning-policy-name obj-full-name
optional
Name of the provisioning policy used to provision the migration destination.
source-filer-id obj-id
Database ID of the source storage system
source-filer-name obj-full-name
Full name of the source storage system
source-vfiler-id obj-id
Database ID of the source vfiler
source-vfiler-name obj-full-name
Full name of the source vfiler

 
Element definition: dataset-nfs-export-setting [top]
If storage inside this dataset node is exported over NFS, this specifies some of the common properties that will be applied to all such provisioned storage.
Name Range Type Description
anonymous-access-user string
optional
If the client accessing the export is not present in the root access list for the export, the effective user for root is the value specified for this field. Default value is 65534 which maps to user nobody. It could be an integer Range: [0..65534] or a user name not more than 255 characters.
disable-setuid boolean
optional
If true, causes the server file system to ignore attempts to enable the setuid or setgid mode bits. Default value is true.
is-readonly-for-all-hosts boolean
optional
Specifies that all hosts receive read-only permissions on nfs exports in this dataset node. Equivalent to specifying "ro" on the filer. Default value is false. If true, is-readwrite-for-all-hosts must be false.
is-readwrite-for-all-hosts boolean
optional
Specifies that all hosts receive read-write permissions on nfs exports in this dataset node. Equivalent to specifying "rw" on the filer. Default value is false. If true, is-readonly-for-all-hosts must be false.
nfs-export-ro-hosts nfs-export-host[]
optional
A list of hosts with read-only permissions on exports in this dataset node. If a non empty list of nfs-export-ro-hosts is present along with is-readonly-for-all-hosts as true, then ZAPI will throw an error.
nfs-export-root-hosts nfs-export-host[]
optional
A list of hosts with the root user having read-only or read-write permissions on exports in this dataset node.
nfs-export-rw-hosts nfs-export-host[]
optional
A list of hosts with read-write permissions on exports in this dataset node. If a non empty list of nfs-export-rw-hosts is present along with is-readwrite-for-all-hosts as true, then ZAPI will throw an error.
nfs-protocol-version string
optional
NFS protocol version, valid values are "v2", "v3" and "v4". Default value is "v3". If set, the storage systems that have the given version enabled will be selected to provision storage for the dataset.
nfs-security-flavors nfs-security-flavor[]
optional
List of strings specifying the security flavors supported on exports in this dataset node. If this field is not specified, the default value of 'sys' is assumed.

 
Element definition: dataset-resourcepool-info [top]
Information about resource pools associated with dataset.
Name Range Type Description
resourcepool-id obj-id
Identifier of the resource pool assigned to the storage set.
resourcepool-name obj-name
Name of the resource pool assigned to the storage set. storage set.

 
Element definition: dataset-status [top]
The complex status of the dataset at the time it was last re-calculated.
Name Range Type Description
conformance-check-results conformance-run-result[]
optional
Results of the most recent conformance check. If the dataset does not have a data protection policy assigned to it, this element will not be present.
conformance-status string
A dataset is in conformance if it is configured according to policy. For example, a data protection policy might require provisioned secondary and tertiary volumes and the creation of backup and mirroring relationships. If they are properly configured, then the dataset is conformant.

If the dataset is not conformant, but the system is currently in the process of bringing the data set into conformance, then the dataset is conforming. If the system is unable to satisfy one or more policy requirements, then the dataset is nonconformant.

Possible values are: 'conformant', 'conforming', 'nonconformant'.

dr-protection-status string
optional
The DR protection status only applies to datasets with data protection policies and only to protection policy connections which are disaster recovery capable.

A system may be up and running and properly configured, yet not protecting data. For example, if the lag thresholds specified by the policy are exceeded, then the data is not being sufficiently protected.

Possible values are

  • protected : Dataset has complete backup versions on all nodes of the dataset that are to retain backups as per policy. This is a normal condition.
  • no_app_policy : Dataset doesn't have an application policy. This is a normal condition.
  • uninitialized : Dataset is missing some data protection relationships. This is a warning condition.
  • protection_suspended : Dataset has been suspended as administrator requested and is not performing data protection or conformance operations. This is a warning condition.
  • protection_failure : Dataset has a job failure while protecting data. This is a warning condition.
  • lag_warning : Last successful data transfer on the connection or the most recent protected data on the primary node is older than the lag warning threshold. This is a warning condition.
  • lag_error : Last successful data transfer on the connection or the most recent protected data on the primary node is older than the lag error threshold. This is an error condition.
  • baseline_failure : Dataset has a baseline job failure and is not able to register any backup version. This is an error condition.

dr-status dr-status
optional
The status of the dataset with regard to Disaster Recovery. The DR status determines how successful a DR operation such as a failover likely would be if it were performed on the dataset.
dr-status-problems dr-status-problem[]
optional
A list of the problems found that cause the data set not to have a dr-status of "normal". This list is not guaranteed to contain all problems related to DR status.

If dr-status is present and does not have the value "normal", then this element appears in the output, and the list contains at least one item. Otherwise, it does not appear.

performance-status obj-status
Performance status of the dataset based on the worst performance events on its members.
protection-status string
optional
A system may be up and running and properly configured, yet not protecting data. For example, if the lag thresholds specified by the policy are exceeded, then the data is not being sufficiently protected.

Possible values are

  • protected : Dataset has complete backup versions on all nodes of the dataset that are to retain backups as per policy. This is a normal condition.
  • no_app_policy : Dataset doesn't have an application policy. This is a normal condition.
  • uninitialized : The dataset either doesn't have any data in it or it has a "local snapshots only" policy (it is a one-node dataset) and the schedule for that policy haven't kicked off any jobs as of yet (or there is no schedule at all). An application dataset could also reach this status after it has been created and no scheduled job is run. This is a warning condition.
  • protection_suspended : Dataset has been suspended as administrator requested and is not performing data protection or conformance operations. This is a warning condition.
  • protection_failure : Dataset has a job failure while protecting data. This is a warning condition.
  • lag_warning : Last successful data transfer on the connection or the most recent protected data on the primary node is older than the lag warning threshold. This is a warning condition.
  • lag_error : Last successful data transfer on the connection or the most recent protected data on the primary node is older than the lag error threshold. This is an error condition.
  • baseline_failure : Dataset has a baseline job failure and is not able to register any backup version. This is an error condition.

protection-status-problems protection-status-problem[]
optional
A list of the problems found that cause the dataset not to have a protection-status of "protected". This list is not guaranteed to contain all problems related to protection status.

If protection-status does not have the value "protected", then this element will be present in the output as long as the include-protection-status-problems is set to true and only one dataset is specified in the dataset-list-info-iter-start api. Otherwise, it does not appear.

resource-status obj-status
The resource status is the "worst" status of the resources relevant to the dataset. Resource status is calculated using the same rules as for DFM resource group status.
space-status space-status
optional
Space status of the dataset. Space status of every member of every node of the data set is considered and the worst space status is considered as the space status of the dataset. Space status for members of a dataset node is calculated only if a provisioning policy is associated with that dataset node.

 
Element definition: dp-policy-node-name [top]
Name of a node in a DP policy graph. This typedef is an alias for the builtin ZAPI type string. A node name may contain from 1 to 64 characters. It may start with any character and may contain any combination of characters, except that it may not consist solely of decimal digits ('0' through '9').

The name of each node in a DP policy must be unique, but nodes in different policies may share the same name. Node names are always compared in a case-insensitive manner. This means that, for example, "a" and "A" are considered to be the same name for purposes of: creating new nodes for a new policy, renaming nodes of an existing policy, or looking up a policy's nodes by name. On the other hand, ZAPIs that return node names do not change the capitalization at all. For example, if a node's name has been set to "Backup", then dp-policy-list-iter-next returns its name as "Backup".

Note that a node name has the same format as an obj-name, and has similar properties such as case-insensitivity. However, a node name is not a kind of obj-name because a DP policy node is a part of a DP policy object, but is not itself a first-class DFM object.

[none]

 
Element definition: dp-timestamp [top]
Seconds since 1/1/1970 in UTC. Range: [0..2^31-1]. This runs out in 2036, so update the API some time before then.
[none]

 
Element definition: io-measurement [top]
Dataset node's I/O usage measurements.
Name Range Type Description
data-read integer
Total bytes read by the user. Range: [0..2^63-1]
data-written integer
Total bytes written by the user. Range: [0..2^63-1]

 
Element definition: lun-igroup-info [top]
If the LUN has been mapped to any igroups or hosts, this structure contains information relevant to the same.
Name Range Type Description
igroup-initiators lun-mapping-initiator[]
optional
Specifies the initiators and/or hosts to which the LUN is mapped, if any.
igroup-lun-id integer
If the LUN has been mapped to any initiator groups, this field contains the ID generated by the storage system for the LUN. Range: [1..2^31-1]
igroup-name obj-name
Name of the igroup.
igroup-os-type string
Specifies the OS type of the igroup. Possible values: "solaris", "windows_gpt", "windows_2008", "windows", "hpux", "aix", "linux", "netware", "vmware", "hyper_v", "xen", "solaris_efi" and "openvms". Here "windows_gpt" refers to Windows using GPT (GUID Partition Type) partitioning style and "windows_2008" refers to Windows Longhorn systems.
igroup-protocol string
Specifies the protocol for the initiator group. Possible values: "fcp", "iscsi".

 
Element definition: metric-dataset-node-info [top]
Information about the dataset node
Name Range Type Description
dataset-id obj-id
Identifier of dataset.
dataset-name obj-name
Name of dataset.
deleted-timestamp dp-timestamp
optional
For deleted datasets this field give the time of deletion. This element is absent for non-deleted datasets. The value is in seconds since January 1, 1970.
dp-node-name dp-policy-node-name
optional
Name of the dataset node e.g. primary, backup, mirror, etc. Can be absent if no protection policy is associated with the dataset.
protection-policy-name obj-name
optional
Name of the protection policy associated with the dataset at the time of the metric sample. Can be absent if no protection policy was associated with the dataset.
provisioning-policy-name obj-name
optional
Name of the provisioning policy associated with the dataset node at the time of the metric sample. Can be absent if no provisioning policy was associated with the dataset node.
storage-service-name obj-name
optional
Name of the storage service associated with the dataset at the time of the metric sample. Can be absent if no storage service was associated with the dataset.

 
Element definition: nfs-export-rules [top]
Specifies the NFS security configuration options provided by Data ONTAP operating system.
Name Range Type Description
anonymous-access-user string
optional
If the client accessing the export is not present in the root access list for the export, the effective user for root is the value specified for this field. Default value is 65534 which maps to user nobody. It could be an integer Range: [0..65534] or a user name not more than 255 characters.
disable-setuid boolean
optional
If true, causes the server file system to ignore attempts to enable the setuid or setgid mode bits. Default value is true.
is-readonly-for-all-hosts boolean
optional
Specifies that all hosts receive read-only permissions on nfs exports in this dataset node. Equivalent to specifying "ro" on the filer. Default value is false. If true, is-readwrite-for-all-hosts must be false.
is-readwrite-for-all-hosts boolean
optional
Specifies that all hosts receive read-write permissions on nfs exports in this dataset node. Equivalent to specifying "rw" on the filer. Default value is false. If true, is-readonly-for-all-hosts must be false.
nfs-export-ro-hosts nfs-export-host[]
optional
A list of hosts with read-only permissions on exports in this dataset node. If a non empty list of nfs-export-ro-hosts is present along with is-readonly-for-all-hosts as true, then ZAPI will throw an error.
nfs-export-root-hosts nfs-export-host[]
optional
A list of hosts with the root user having read-only or read-write permissions on exports in this dataset node.
nfs-export-rw-hosts nfs-export-host[]
optional
A list of hosts with read-write permissions on exports in this dataset node. If a non empty list of nfs-export-rw-hosts is present along with is-readwrite-for-all-hosts as true, then ZAPI will throw an error.
nfs-security-flavors nfs-security-flavor[]
optional
List of strings specifying the security flavors supported on exports in this dataset node. If this field is not specified, the default value of 'sys' is assumed.

 
Element definition: obj-full-name [top]
Full name of a DFM object. This typedef is an alias for the builtin ZAPI type string. An object full name conforms to all the rules of an obj-name, except that the full name may be up to 255 characters long.

DFM creates full names by concatenating an object name with any parent object names, so as to create a unique name for an object. The format of full names is as follows:

  • Host full names are the either the fully-qualified domain name or the IP address of the host.
  • Aggregate full names are the host name and the aggregate name, separated by a colon, e.g. hostname:aggr0.
  • Volume full names are the host name and the volume name, separated by ":/", e.g. hostname:/volume. Note this does not include "/vol". Volume and aggregate full names are distinguished by the presence of a forward slash after the colon.
  • Qtree full names are the containing volume full name and the qtree name, separated by a slash, e.g. hostname:/volume/qtree. The data not contained by any qtree may be represented by "-", e.g. hostname:/volume/-.
  • Lun Path full names are either a volume or qtree full name and the LUN path, separated by a slash, e.g. hostname:/volume/LUN or hostname:/volume/qtree/LUN.
  • Network full names are a network address block in CIDR format, e.g. 1.2.3.0/8.
  • OSSV Directory full names are the OSSV host name and the OSSV path, separated by a colon, e.g. host-lnx:/usr/local or host-w2k:c:/temp
  • Include any others here...
  • Initiator Group full names are host name and the initiator group name, separated by a colon, e.g. hostname:igroup.

For any DFM object not listed above, the obj-name and obj-full-name are identical.

[none]

 
Element definition: obj-id [top]
Identification number (ID) for a DFM object. This typedef is an alias for the builtin ZAPI type integer. Object IDs are unsigned integers in the range [1..2^31 - 1]. In some contexts, an object ID is also allowed to be 0, which is interpreted as a null value, e.g., a reference to no object at all.

The ID for a DFM object is always assigned by the system; the user is never allowed to assign an ID to an object. Therefore, an input element of type obj-id is always used to refer to an existing object by its ID. The ZAPI must specify the object's DFM object type (e.g. dataset, host, DP policy, etc.). Some ZAPIs allow the object to be one of several different types.

If the value of an obj-id input element does not match the ID of any existing DFM object of the specified type or types, then typically the ZAPI fails with error code EOBJECTNOTFOUND. A ZAPI may deviate from this general rule, for example, it may return a more specific error code. In either case, the ZAPI specification must document its behavior.

[none]

 
Element definition: obj-name [top]
Name of a DFM object. This typedef is an alias for the built in ZAPI type string. An object name must conform to the following format:
  • It must contain between 1 and 64 characters.
  • It may start with any character and may contain any combination of characters, except that it may not consist solely of decimal digits ('0' through '9').
  • In some contexts, a name may be the empty string (""), which is interpreted as a null value, e.g., a reference to no object at all.
The behavior of a ZAPI when it encounters an error involving an obj-name input element depends on how the ZAPI uses the input element. Here are the general rules:
  • If the input name element is used to create a new object with the given name, or rename an existing object to that name, and the name does not conform to the above format, then the ZAPI fails with error code EINVALIDINPUTERROR. Note that because EINVALIDINPUTERROR is such a common error code, ZAPI specifications are not required to document cases when they may return it.
  • If the input name element is used to refer to an existing object with that name, and there is no object with that name, then the ZAPI fails with error code EOBJECTNOTFOUND. Generally the ZAPI specification documents cases when it may return this error code.
A ZAPI may deviate from these general rules, for example, it may return more specific error codes. In such cases, the ZAPI specification must document its behavior.

If an input name element is used to refer to an existing object, then the ZAPI specification must specify which DFM object type (e.g. data set, host, DP policy, etc.) is allowed. Some ZAPIs allow the object to be one of several different types. See the description of obj-full-name for examples of valid input formats.

Note that there is no requirement that all object names must be unique. However, the names for some specific types of objects are constrained such that no two objects of that type may have the same name. For example, this constraint applies to datasets, DP schedules, and DP policies. This means that no two datasets may have the same name, but a dataset may have the same name as a DP schedule or DP policy.

In general, object names are compared in a case-insensitive manner. This means that, for example, "MyObject" and "MYOBJECT" are considered to be the same name for purposes of: creating new objects, renaming existing objects, or looking up an object by name. On the other hand, ZAPIs that return an obj-name generally do not change the capitalization at all. For example, if an object's name has been set to "MyObject", then list iteration ZAPIs that return the object's name return it as "MyObject" rather than "MYOBJECT" or "myobject".

ZAPIs that operate on obj-name values and do not follow these general rules about case sensitivity must document the rules that they do follow.

One important exception to these general rules is that volumes, qtrees, OSSV directories, SRM paths, interfaces, FCP targets and FC switch ports all have case-sensitive names. When looking up objects of these types by name, the case must match the object name.

[none]

 
Element definition: obj-name-or-id [top]
Name or internal ID of a DFM object. This typedef is an alias for the builtin ZAPI type string. An obj-name-or-id must contain between 1 and 64 characters, and must conform to one of the following formats:
  • It must have the format of an obj-name, or
  • It must be the decimal numeric string form of a positive integer whose value is in the range [1..2^31 - 1].
  • In case of application resources from the Host Service, this field can contain unique identifier assigned to the object by the Host Service e.g. for a Virtual Machine, it can be a GUID of the VM. One exception is when such unique identifier is a decimal numeric string containing only digits from 0 through 9. In that case, you cannot use such identifier as obj-name-or-id input.
Elements of type obj-name-or-id are used only as inputs to ZAPIs. The value must match either the name or internal ID of an existing DFM object. The ZAPI must specify the object's DFM object type (e.g. dataset, host, DP policy, etc.). Some ZAPIs allow the object to be one of several different types.

If the format of an obj-name-or-id input element does not conform, or the value does not match the name or ID of an existing object, then generally the ZAPI documents that it fails with error code EOBJECTNOTFOUND. A ZAPI may return more specific error codes. In such cases, the ZAPI specification must document its behavior.

If a ZAPI can accept a null value (e.g. reference to no object at all) for such an element, then the element is declared optional, and the absence of the input element represents a null value.

[none]

 
Element definition: obj-status [top]
A status value which can be associated with a DFM object. This typedef is an alias for the builtin ZAPI type string. The severity associated with an event has this type.

Possible values are: 'unknown', 'normal', 'information', 'unmanaged' 'warning', 'error', 'critical', 'emergency'.

  • unknown: An object has an unknown status when it transitions from one state to another. Ideally, an object will have this status briefly. For example, when an object has been added, but not yet discovered.
  • normal: An object has normal status when it is working within the thresholds specified in DFM.
  • information: The information events are normal occurrences on an object for which you can define alarms.
  • unmanaged: An object is considered to be unmanaged when the login and password are not set for the storage system or agent.
  • warning: An object has the warning status when an event related to the object occurred that an administrator should know about. The event will not cause service disruption.
  • error: An object has error status when it does not cause any service disruption, but it may affect performance.
  • critical: An object has critical status when it is still performing, but service disruption may occur if corrective action is not taken immediately.
  • emergency: An object is in emergency status when it stops performing unexpectedly and could lose data.
In some contexts, it is important that severities are ordered (as above). For example, an alarm might be triggered if an event with a given severity "or worse" occurs. In this example, worse means "after" in the list above.
[none]

 
Element definition: provision-member-comment [top]
One comment field to fill in as part of the request
Name Range Type Description
comment-field-name-or-id comment-field-name-or-id
Name or identifier of the comment field.
comment-value comment-value
Value of the comment field. An empty string can be used to unset the value of the comment field for this object.

 
Element definition: result-detail [top]
Details on a specific action that adds information intended to explain more about a higher level result. For example, the detail may be used to explain a dry-run result by explaining why resources were not selected.
Name Range Type Description
action string
An action or check the system had taken.
effect string
The result of the action or check.
reason string
optional
Specifies possible reasons for the this result. If there are no reasons to specify, this element will not be present.
severity obj-status
severity of the result result. Possible values are "information", "error" "warning". It is normal for "information" to be used to explain why a resource was not selected.
suggestion string
Specifies any suggestions to rectify the information, warnings, errors. If there are no suggestions to specify, this element will not be present.

 
Element definition: snapshot [top]
Information of one Snapshot copy. Either unique-id or name of the Snapshot copy should be specified.
Name Range Type Description
snapshot-name string
optional
Name of the Snapshot copy. If unique-id is specified, then this element is ignored.
unique-id string
optional
Unique identifier of the Snapshot copy. Currently, this is the Snapshot copy's creation time.

 
Element definition: space-info [top]
Specifies the total, available and used space in a dataset member, the space status and various space related conditions of the member.
Name Range Type Description
available-space integer
optional
Specifies the space available in the dataset member, in bytes. Range: [1..2^63-1]
space-conditions space-condition[]
optional
Various space conditions of a dataset member. Present only if the space-status of the dataset member is one of 'error' or 'warning'.
space-status space-status
optional
Space status of the member.
total-space integer
optional
Specifies the total capacity of the dataset member, in bytes. Range: [1..2^63-1]
used-space integer
optional
Specifies the capacity used in the dataset member, in bytes. Range: [1..2^63-1]

 
Element definition: space-measurement [top]
Dataset node's space usage measurements.
Name Range Type Description
effective-used-data-space integer
Effective data space used in bytes. This is the space used before data sharing (dedupe and sis clones) Range: [0..2^63-1]
guaranteed-space integer
Physical space allocated for data and snapshot in bytes. This is the space used by the dataset node from the aggregate. Range: [0..2^63-1]
physical-used-data-space integer
Physical space used in bytes. This is the space used after data sharing (dedupe and sis clones). Range: [0..2^63-1]
snapshot-reserve integer
optional
Total space allocated for snapshot in bytes. This element will be present only for dataset's primary node. Range: [0..2^63-1]
total-data-space integer
optional
Total space allocated for data in bytes. This element will be present only for dataset's primary node. Range: [0..2^63-1]
total-space integer
optional
Total space allocated for data and snapshot in bytes. This element will be present only for dataset's primary node. Range: [0..2^63-1]
used-snapshot-space integer
Physical space used in bytes by volume snapshots. Range: [0..2^63-1]

 
Element definition: cifs-share-permission [top]
CIFS ACL information configured for a CIFS share.
Name Range Type Description
cifs-username string
Name of the user configured to access a CIFS share.
permission string
CIFS permission configured for the user accessing a CIFS share.

 
Element definition: comment-field-name-or-id [top]
Name or identifier of the comment field. It must conform to one of the following formats:
  • It must be of the format of comment-field-name
  • It must be of the format of comment-field-id
[none]

 
Element definition: comment-value [top]
Value of the specified comment field to be set on the object. This can be of maximum 1024 characters.
[none]

 
Element definition: conformance-run-result [top]
A description of one action and the predicted effects of taking that action.
Name Range Type Description
conformance-job-id obj-id
optional
job id of the conformance job.
conformance-run-action string
An action the system has taken.
conformance-run-effect string
The result of the action.
conformance-run-reason string
optional
Present only if severity is error or warning. Specifies possible reasons for error, warning. If there are no reasons to specify, this element will not be present.
conformance-run-reason-details result-detail[]
optional
These details apply to the associated conformance-run-reason within the same conformance-run-result. These offer additional information such as the reasons individual reasources may not have been selected for the conformance-run-action in this same conformance-run-result.
conformance-run-severity obj-status
severity of conformance action. Possible values are "information", "error", "warning".
conformance-run-suggestion string
optional
Present only if severity is error or warning. Specifies any suggestions to rectify warnings or errors. If there are no suggestions to specify, this element will not be present.

 
Element definition: dataset-access-details [top]
The data access details of a dataset. Currently, this is used to configure a dataset in a way that it is capable of transparent migration. A dataset can be configured and provisioned in a way that it is capable of transparent migration. IP Address and netmask has to be configured on the dataset in order to make the dataset capable of transparent migration. Provisioning Manager will create a vFiler unit with this IP Address and all the storage provisioned for this dataset will be accessed from this vFiler unit or this IP address. As input, it is valid only when: - There are no members in the dataset. - There is no vFiler unit attached to the dataset.
Name Range Type Description
ip-address string
IP address in dotted decimal format. (for example, "192.168.11.12"). The length of this string cannot be more than 16 characters.
netmask string
Netmask for the IP Address in dotted decimal notation. As input, this is valid only when ip-address is also provided in dataset-access-details. Provisioning Manager will create a vFiler unit whose IP Address will be the one configured as ip-address and it will be bound to an interface with this netmask.

 
Element definition: dataset-cifs-export-setting [top]
If storage inside this dataset node is exported over CIFS, this specifies some of the common properties that will be applied to all such provisioned storage.
Name Range Type Description
cifs-domain string
optional
Name of the CIFS domain. If present, then only filers or vFilers belonging to this CIFS domain is considered for provisioning. If not present, then any filer is picked. Up to 255 characters.
dataset-cifs-share-permissions dataset-cifs-share-permission[]
optional
Specifies the permissions granted to users on storage provisioned in this dataset node. This field may be present only if the dataset-export-protocol is 'cifs' or 'mixed'.

 
Element definition: dataset-cifs-share-permission [top]
A single permission granted to a user on CIFS shares within a dataset node.
Name Range Type Description
cifs-username string
Name of a user in the specified domain. The username may be the name of an actual domain user or one of the built-in names - 'administrator' or 'everyone'.
permission cifs-permission
Specifies the permissions granted to a user.

 
Element definition: dataset-export-info [top]
Specifies the NAS or SAN export settings for a dataset node.
Name Range Type Description
dataset-cifs-export-setting dataset-cifs-export-setting
optional
The CIFS export settings for storage exported over CIFS. This field may be present only if the dataset-export-protocol is 'cifs' or 'mixed'.
dataset-export-protocol dataset-export-protocol
optional
Specifies the protocol over which members of the dataset node will be exported. This value is always returned. If omitted during a modify operation, the existing value is not changed. If specified as 'none' in a modify operation, the existing settings will be cleared. Default value is 'none'. Depending on the export protocol, dataset-lun-mapping, or a combination of dataset-nfs-export-setting and dataset-cifs-share-permissions, should be specified in a modify operation, and will be returned in the iterator output.
dataset-lun-mapping-info dataset-lun-mapping-info
optional
Specifies the hosts and/or initiators to which LUNs in this dataset node will be mapped, and the igroup OS type. This field may be present only if the dataset-export-protocol is 'fcp' or 'iscsi'.
dataset-nfs-export-setting dataset-nfs-export-setting
optional
The NFS export settings for storage exported over NFS. This field may be present only if the dataset-export-protocol is 'nfs' or 'mixed'.

 
Element definition: dataset-export-protocol [top]
Specifies the export protocols that members in this dataset node will be exported over. Possible values are 'nfs', 'cifs', 'mixed', 'fcp', 'iscsi' and 'none'. Specifying 'mixed' implies that the storage in the dataset should be exported over both NFS and CIFS.
[none]

 
Element definition: dataset-lun-mapping-info [top]
Specifies the hosts and/or initiators to which LUNs in this dataset node will be mapped, and the igroup OS type.
Name Range Type Description
igroup-os-type string
Specifies the OS type for initiators to map LUNs in the dataset node to. Possible values are: 'windows', 'windows_gpt', 'windows_2008', 'hpux', 'aix, 'linux, 'solaris', 'vmware', 'netware', 'hyper_v', 'xen', 'solaris_efi', and 'openvms' Here "windows_gpt" refers to Windows using GPT (GUID Partition Type) partitioning style and "windows_2008" refers to Windows Longhorn systems.
lun-mapping-initiators lun-mapping-initiator[]
Specifies the initiators to map LUNs in the dataset node to, and, optionally, the host to which they belong.

 
Element definition: dataset-nfs-export-setting [top]
If storage inside this dataset node is exported over NFS, this specifies some of the common properties that will be applied to all such provisioned storage.
Name Range Type Description
anonymous-access-user string
optional
If the client accessing the export is not present in the root access list for the export, the effective user for root is the value specified for this field. Default value is 65534 which maps to user nobody. It could be an integer Range: [0..65534] or a user name not more than 255 characters.
disable-setuid boolean
optional
If true, causes the server file system to ignore attempts to enable the setuid or setgid mode bits. Default value is true.
is-readonly-for-all-hosts boolean
optional
Specifies that all hosts receive read-only permissions on nfs exports in this dataset node. Equivalent to specifying "ro" on the filer. Default value is false. If true, is-readwrite-for-all-hosts must be false.
is-readwrite-for-all-hosts boolean
optional
Specifies that all hosts receive read-write permissions on nfs exports in this dataset node. Equivalent to specifying "rw" on the filer. Default value is false. If true, is-readonly-for-all-hosts must be false.
nfs-export-ro-hosts nfs-export-host[]
optional
A list of hosts with read-only permissions on exports in this dataset node. If a non empty list of nfs-export-ro-hosts is present along with is-readonly-for-all-hosts as true, then ZAPI will throw an error.
nfs-export-root-hosts nfs-export-host[]
optional
A list of hosts with the root user having read-only or read-write permissions on exports in this dataset node.
nfs-export-rw-hosts nfs-export-host[]
optional
A list of hosts with read-write permissions on exports in this dataset node. If a non empty list of nfs-export-rw-hosts is present along with is-readwrite-for-all-hosts as true, then ZAPI will throw an error.
nfs-protocol-version string
optional
NFS protocol version, valid values are "v2", "v3" and "v4". Default value is "v3". If set, the storage systems that have the given version enabled will be selected to provision storage for the dataset.
nfs-security-flavors nfs-security-flavor[]
optional
List of strings specifying the security flavors supported on exports in this dataset node. If this field is not specified, the default value of 'sys' is assumed.

 
Element definition: dp-policy-node-name [top]
Name of a node in a DP policy graph. This typedef is an alias for the builtin ZAPI type string. A node name may contain from 1 to 64 characters. It may start with any character and may contain any combination of characters, except that it may not consist solely of decimal digits ('0' through '9').

The name of each node in a DP policy must be unique, but nodes in different policies may share the same name. Node names are always compared in a case-insensitive manner. This means that, for example, "a" and "A" are considered to be the same name for purposes of: creating new nodes for a new policy, renaming nodes of an existing policy, or looking up a policy's nodes by name. On the other hand, ZAPIs that return node names do not change the capitalization at all. For example, if a node's name has been set to "Backup", then dp-policy-list-iter-next returns its name as "Backup".

Note that a node name has the same format as an obj-name, and has similar properties such as case-insensitivity. However, a node name is not a kind of obj-name because a DP policy node is a part of a DP policy object, but is not itself a first-class DFM object.

[none]

 
Element definition: dp-timestamp [top]
Seconds since 1/1/1970 in UTC. Range: [0..2^31-1]. This runs out in 2036, so update the API some time before then.
[none]

 
Element definition: dr-status [top]
The DR status has one of the following values:
  • normal : A DR operation would likely succeed, and the amount of lost data would be within the duration specified by the lag warning threshold.
  • warning : A DR operation would likely succeed, but the amount of lost data would exceed that specified by the policy's lag warning threshold.
  • error : A DR operation would likely fail, or would succeed but the amount of lost data would be unacceptable.

The DR status is computed based on all of the following:

  • The resource status of the dataset's DR secondaries. The specific condition that impacts the resource status is the availability of the secondary filers and volumes. The status will be error if either is unavailable.
  • Whether there is sufficient space on the DR secondaries to meet the space guarantees of the primaries.
  • The existence and state of the relationships associated with the dataset's disaster recovery capable connection.
  • Whether the relationships associated with the dataset's DR-capable connection are within their thresholds for lag warnings and errors.

If the dataset list iteration's output element is-dr-capable is true, then this element appears in the output. Otherwise, if is-dr-capable is false, this element does not appear in the output.

[none]

 
Element definition: dr-status-problem [top]
An explanation of a single problem that causes the dataset not to have a dr-status of "normal".
Name Range Type Description
dr-status-description string
A human-readable message describing the problem.
dr-status-severity string
Value is "warning" if the problem causes the data set to have a dr-status of at least "warning". Value is "error" if the problem causes the dataset to have a dr-status of at least "error".

 
Element definition: lun-mapping-initiator [top]
Specifies an initiator to map LUNs in the dataset node to, and, optionally, the host to which it belongs.
Name Range Type Description
hostname string
optional
Specifies the name of the host which owns the initiator.
initiator-id initiator-id
Specifies an initiator id on a host to which a LUN should be mapped.

 
Element definition: migration-status [top]
Migration status for an ongoing vFiler unit migration. Possible values: "in_progress", "migrating", "migrated", "migrated_with_errors", "migrate_failed", "rolled_back", "rolled_back_with_errors".
[none]

 
Element definition: nfs-export-host [top]
Specifies a single host or all-hosts. A host can be a host name (DNS name), an IP address, a subnet or a domain name. If an 'all-hosts' entry is present, all other host name entries must be negated.
Name Range Type Description
hostname string
optional
Specifies a single host name entry. A host name may be a DNS name, an IP address, a subnet (specified as <subnet address>/<prefix length> i.e. CIDR notation or '[network] <subnet-address> [netmask] <netmask>'), a domain, or a workgroup.
is-an-exception boolean
optional
Specifies that the rule does not apply to this host. Should be used when it is required to grant permissions to hosts in a subnet or a domain or all hosts excluding some. Default value is false.

 
Element definition: nfs-security-flavor [top]
A security flavor to be applied on nfs exports. Possible values are 'none', 'sys' (Unix Style), 'krb5' (Kerberos v5) , krb5i' (Kerberos v5 integrity) and 'krb5p' (Kerberos v5 privacy). Default value is 'sys'.
[none]

 
Element definition: obj-id [top]
Identification number (ID) for a DFM object. This typedef is an alias for the builtin ZAPI type integer. Object IDs are unsigned integers in the range [1..2^31 - 1]. In some contexts, an object ID is also allowed to be 0, which is interpreted as a null value, e.g., a reference to no object at all.

The ID for a DFM object is always assigned by the system; the user is never allowed to assign an ID to an object. Therefore, an input element of type obj-id is always used to refer to an existing object by its ID. The ZAPI must specify the object's DFM object type (e.g. dataset, host, DP policy, etc.). Some ZAPIs allow the object to be one of several different types.

If the value of an obj-id input element does not match the ID of any existing DFM object of the specified type or types, then typically the ZAPI fails with error code EOBJECTNOTFOUND. A ZAPI may deviate from this general rule, for example, it may return a more specific error code. In either case, the ZAPI specification must document its behavior.

[none]

 
Element definition: obj-status [top]
A status value which can be associated with a DFM object. This typedef is an alias for the builtin ZAPI type string. The severity associated with an event has this type.

Possible values are: 'unknown', 'normal', 'information', 'unmanaged' 'warning', 'error', 'critical', 'emergency'.

  • unknown: An object has an unknown status when it transitions from one state to another. Ideally, an object will have this status briefly. For example, when an object has been added, but not yet discovered.
  • normal: An object has normal status when it is working within the thresholds specified in DFM.
  • information: The information events are normal occurrences on an object for which you can define alarms.
  • unmanaged: An object is considered to be unmanaged when the login and password are not set for the storage system or agent.
  • warning: An object has the warning status when an event related to the object occurred that an administrator should know about. The event will not cause service disruption.
  • error: An object has error status when it does not cause any service disruption, but it may affect performance.
  • critical: An object has critical status when it is still performing, but service disruption may occur if corrective action is not taken immediately.
  • emergency: An object is in emergency status when it stops performing unexpectedly and could lose data.
In some contexts, it is important that severities are ordered (as above). For example, an alarm might be triggered if an event with a given severity "or worse" occurs. In this example, worse means "after" in the list above.
[none]

 
Element definition: protection-status-problem [top]
Information about a problem that resulted in the dataset to not have protection-status as "protected".
Name Range Type Description
protection-status-description string
A human readable description of why protection-status was not found to be "protected". The description may also contain suggestions that may be helpful in resolving the protection status problem.
protection-status-job-details protection-status-job-detail[]
optional
Details about one or more jobs that caused this protection-status-problem.
protection-status-name string
A short name for a type of protection-status problem. This name is intended to ease machine readability and is not expected to be displayed to a user.

Possible values are

  • uninitialized_no_dp_policy : No protection policy is assigned.
  • uninitialized_dp_policy_none : The policy named 'No Protection' is assigned.
  • uninitialized_no_data_to_protect : The dataset does not contain any data to be protected.
  • uninitialized_no_destination_storage : The dataset does not contain storage for one or more destination nodes.
  • uninitialized_no_relationships : The dataset has no relationships in one or more connections.
  • uninitialized_conforming : The dataset is conforming.
  • uninitialized_nonconformant : The dataset is not in a conformant state.
  • suspended : Dataset is suspended so no protection schedules will create backup versions in this state.
  • uninitialized_single_node_no_backups : Dataset has one node and no backups have finished
  • no_backup_version : The multi-node dataset does not have any backup versions.
  • uninitialized_application_dataset : Application dataset requires at least one backup version.
  • failed_baseline : At least one initial baseline data transfer failed to create a relationship.
  • failed_local_backup : Local backups failed on the primary node.
  • failed_backup_job : One or more backup jobs has failed.
  • failed_mirror_job : One or more mirror copy jobs has failed.
  • lag_warning_local_backup : The most recent local backup (Snapshot copy) on the primary node is older than the threshold setting permits.
  • lag_warning_since_last_backup : The time since the last successful backup job exceeds the lag warning threshold.
  • lag_warning_since_last_mirror : The time since the last successful mirror copy job exceeds the lag warning threshold.
  • lag_error_local_backup : The most recent local backup (Snapshot copy) on the primary node is older than the threshold setting permits.
  • lag_error_since_last_backup : The time since the last successful backup job exceeds the lag error threshold.
  • lag_error_since_last_mirror : The time since the last successful mirror copy job exceeds the lag error threshold.


 
Element definition: result-detail [top]
Details on a specific action that adds information intended to explain more about a higher level result. For example, the detail may be used to explain a dry-run result by explaining why resources were not selected.
Name Range Type Description
action string
An action or check the system had taken.
effect string
The result of the action or check.
reason string
optional
Specifies possible reasons for the this result. If there are no reasons to specify, this element will not be present.
severity obj-status
severity of the result result. Possible values are "information", "error" "warning". It is normal for "information" to be used to explain why a resource was not selected.
suggestion string
Specifies any suggestions to rectify the information, warnings, errors. If there are no suggestions to specify, this element will not be present.

 
Element definition: space-condition [top]
Represents a space condition of a dataset member.
Name Range Type Description
condition string
Space condition. Possible values:
  • "volume-used-vs-size-above-nearly-full" Used space of the volume vs volume usable data space has crossed nearly full threshold specified in the policy
  • "volume-used-vs-size-above-full" Used space of the volume vs volume usable data space has crossed full threshold specified in the policy
  • "volume-used-vs-maximum-size-above-nearly-full" Used space of the volume vs volume usable maximum data space has crossed nearly full threshold specified in the policy
  • "volume-used-vs-maximum-size-above-full" Used space of the volume vs volume usable maximum data space has crossed full threshold specified in the policy
  • "qtree-used-vs-quota-above-nearly-full" Qtree used space vs qtree hard limit has crossed nearly full threhsold specified in policy
  • "qtree-used-vs-quota-above-full" Qtree used space vs qtree hard limit has crossed full threhsold specified in policy
  • "volume-snapshot-used-above-full-threshold" Snapshot used space in the volume has crossed volSnapshotFullThreshold specified in Operations Manager.
  • "volume-no-next-snapshot" Next snapshot is not possible in the volume due to space contraints
reason string
optional
Reason for this space condition. This can be a maximum of 1024 characters.
severity string
optional
Severity of this space condition. Possible values are: "unknown", "ok", "warning", "error"
suggestion string
optional
Possible action that can be taken to correct this. This can be a maximum of 1024 characters.

 
Element definition: space-status [top]
Worst space status of a dataset or a member. Possible values are: 'unknown', 'ok', 'warning', 'error'
[none]

 
Element definition: cifs-permission [top]
Permission granted to a CIFS user on a share. Possible values are 'no_access', 'read', 'change' and 'full_control'
[none]

 
Element definition: dataset-cifs-export-setting [top]
If storage inside this dataset node is exported over CIFS, this specifies some of the common properties that will be applied to all such provisioned storage.
Name Range Type Description
cifs-domain string
optional
Name of the CIFS domain. If present, then only filers or vFilers belonging to this CIFS domain is considered for provisioning. If not present, then any filer is picked. Up to 255 characters.
dataset-cifs-share-permissions dataset-cifs-share-permission[]
optional
Specifies the permissions granted to users on storage provisioned in this dataset node. This field may be present only if the dataset-export-protocol is 'cifs' or 'mixed'.

 
Element definition: dataset-cifs-share-permission [top]
A single permission granted to a user on CIFS shares within a dataset node.
Name Range Type Description
cifs-username string
Name of a user in the specified domain. The username may be the name of an actual domain user or one of the built-in names - 'administrator' or 'everyone'.
permission cifs-permission
Specifies the permissions granted to a user.

 
Element definition: initiator-id [top]
For FCP initiators, this is a string composed of 16 hexadecimal digits. For iSCSI initiators, this is an initiator name in the dotted-domain notation.
[none]

 
Element definition: obj-status [top]
A status value which can be associated with a DFM object. This typedef is an alias for the builtin ZAPI type string. The severity associated with an event has this type.

Possible values are: 'unknown', 'normal', 'information', 'unmanaged' 'warning', 'error', 'critical', 'emergency'.

  • unknown: An object has an unknown status when it transitions from one state to another. Ideally, an object will have this status briefly. For example, when an object has been added, but not yet discovered.
  • normal: An object has normal status when it is working within the thresholds specified in DFM.
  • information: The information events are normal occurrences on an object for which you can define alarms.
  • unmanaged: An object is considered to be unmanaged when the login and password are not set for the storage system or agent.
  • warning: An object has the warning status when an event related to the object occurred that an administrator should know about. The event will not cause service disruption.
  • error: An object has error status when it does not cause any service disruption, but it may affect performance.
  • critical: An object has critical status when it is still performing, but service disruption may occur if corrective action is not taken immediately.
  • emergency: An object is in emergency status when it stops performing unexpectedly and could lose data.
In some contexts, it is important that severities are ordered (as above). For example, an alarm might be triggered if an event with a given severity "or worse" occurs. In this example, worse means "after" in the list above.
[none]

 
Element definition: protection-status-job-detail [top]
Details about a job that led to a protection-status-problem
Name Range Type Description
protection-status-job-description string
Description of what the job is trying to accomplish.
protection-status-job-id integer
Identifier of the job. Range: [1..2^31-1].
protection-status-job-status dp-job-overall-status
Overall status of the job based on job-progress and job-state.
protection-status-job-type dp-job-type
Type of data protection job.

 
Element definition: cifs-permission [top]
Permission granted to a CIFS user on a share. Possible values are 'no_access', 'read', 'change' and 'full_control'
[none]

 
Element definition: dp-job-overall-status [top]
The overall status of the data protection/provisioning job. The possible values are "queued", "canceling", "canceled", "running", "running_with_failures", "partially_failed", "succeeded", and "failed". This field is derived from dp-job-state and dp-job-progress.
The current mappings are as follow:
 dp-job-state    dp-job-progress dp-job-overall-status 
=====================================================
queued * queued
running in_progress running
running success running
running partial_success running_with_failures
running failure running_with_failures
aborting * canceling
aborted * canceled
completed partial_success partially_failed
completed failure failed
completed success succeeded
completed in_progress canceled
[none]

 
Element definition: dp-job-type [top]
The type of data protection, provisioning, migration, space management, configuration and Host Service related jobs.

Valid values for data protection jobs are "local_backup", "local_then_remote_backup", "remote_backup", "mirror", "on_demand_backup", "local_backup_confirmation", "restore", "create_relationship", "destroy_relationship", "failover", "backup_mount" and "backup_unmount".

Valid values for provisioning job types are "provision_member", "resize_member", "destroy_member", "delete_snapshots", "dedupe_member", "undedupe_member", "dedupe_volume" and "pm_re_export".

Valid space management jobs are: "dedupe_volume", "migrate_volume", "resize_volume", "delete_snapshot" and "delete_backup". "resize_lun" and "destroy_lun".

Valid migration job types are: "migrate_start", "migrate_complete", "migrate_cancel", "migrate_cleanup", "migrate_update".

Valid configuration job type is: "configuration".

Valid Host Service related jobs are: "hs_configure", "hs_discover", "hs_import_storage_config".

[none]