Find Protection Policy operation
The find-protection-policy operation finds the details of Data Protection (DP) Policies that meet the required filter criteria specified in the request.
The following table describes the elements for this request.
Adapter request elements for the Find Protection Policy operation
Element |
Definition |
Required |
---|---|---|
|
Specifies the name of the operation: |
Yes |
|
Specifies a list of arguments that is required for this operation |
Yes |
|
Contains the parent XML element for the |
Conditional; required if the adapter configuration is empty in Grid Manager |
|
Contains the child XML Notes
|
Conditional; required if |
|
Specifies the host name or IP address of the server on which NetApp DataFabric Manager is running |
Conditional; required if |
|
Specifies the user name required to log on to the NetApp DataFabric Manager |
Conditional; required if |
|
Specifies the password that corresponds to the |
Conditional; required if |
|
Specifies the communication protocol used by the adapter |
No |
|
Specifies the port on which NetApp DataFabric Manager is enabled |
No |
|
Specifies the child XML element of the
|
No |
|
Specifies the name or ID of a DP policy |
No |
|
Returns data sets that are capable of disaster recovery |
No |
A sample adapter request for this operation is given in the following figure.
Sample adapter request for the Find Protection Policy operation
<netapp-storage-request>
<operation-name>find-protection-policy</operation-name>
<arguments>
<targets>
<target>
<host>172.11.11.111</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<dp-policy-name-or-id>Test-1</dp-policy-name-or-id>
<is-dr-capable>false</is-dr-capable>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure:
Sample adapter response for the Find Protection Policy operation
<netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<output>
<dp-policy-info>
<id>299</id>
<is-modifiable>true</is-modifiable>
<is-application-compatible>true</is-application-compatible>
<is-non-disruptive-restore-compatible>true</is-non-disruptive
-restore-compatible>
<dp-policy-content>
<name>Server 1</name>
<description>Server 1 description</description>
<dp-policy-connections>
<dp-policy-connection-info>
<backup-schedule-name>First Sunday at 8:00 PM
plus weekly and daily</backup-schedule-name>
<backup-schedule-id>48</backup-schedule-id>
<id>1</id>
<type>backup</type>
<is-lag-error-enabled>true</is-lag-error-enabled>
<lag-error-threshold>172800</lag-error-threshold>
<is-lag-warning-enabled>true</is-lag-warning-enabled>
<lag-warning-threshold>129600</lag-warning-threshold>
<is-dr-capable>false</is-dr-capable>
<from-node-id>1</from-node-id>
<from-node-name>Test1 $ Node Name</from-node-name>
<to-node-id>2</to-node-id>
<to-node-name>Test1-Backup-NodeName</to-node-name>
<throttle-schedule-name>Nightly transfer
window</throttle-schedule-name>
<throttle-schedule-id>53</throttle-schedule-id>
</dp-policy-connection-info>
<dp-policy-connection-info>...</dp-policy-connection-info>
</dp-policy-connections>
<dp-policy-nodes>
<dp-policy-node-info>
<backup-script-path>C:\Test\hometest.txt</backup-script-path>
<backup-script-run-as>Test1BackupScript-Run
As</backup-script-run-as>
<failover-script-path />
<failover-script-run-as />
<daily-retention-count>2</daily-retention-count>
<daily-retention-duration>604800</daily-retention-duration>
<hourly-retention-count>2</hourly-retention-count>
<hourly-retention-duration>86400</hourly-retention-duration>
<monthly-retention-count>0</monthly-retention-count>
<monthly-retention-duration>0</monthly-retention-duration>
<name>Test1 $ Node Name</name>
<id>1</id>
<snapshot-schedule-name>Sunday at midnight
with daily and hourly</snapshot-schedule-name>
<snapshot-schedule-id>45</snapshot-schedule-id>
<weekly-retention-count>1</weekly-retention-count>
<weekly-retention-duration>1209600</weekly-retention-duration>
<is-lag-error-enabled>true</is-lag-error-enabled>
<lag-error-threshold>172800</lag-error-threshold>
<is-lag-warning-enabled>true</is-lag-warning-enabled>
<lag-warning-threshold>129600</lag-warning-threshold>
</dp-policy-node-info>
<dp-policy-node-info>...</dp-policy-node-info>
...
</dp-policy-nodes>
</dp-policy-content>
</dp-policy-info>
</output>
</response>
</responses>
</netapp-storage-response>
Comments
Log in or register to comment.