The requested article is not available. Either it doesn't apply to this version of the product or the relevant information is organized differently in this version of the docs. You can search, browse, or go back to the other version.
A newer release of this product is available.
vserver data-policy validate
Contributors
-
PDF of this doc site

Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Validate a data policy without import
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver data-policy validate command checks a data policy for errors, without modifying the data policy for the Vserver with Infinite Volume.
Parameters
-vserver <vserver name>
- Vserver Name-
This specifies the Vserver with Infinite Volume for which the data policy will be validated.
Examples
The following examples show first a problem with a given data policy, and then an example of a valid data policy.
cluster1::> vserver data-policy validate -vserver vs1 Enter the contents of the file data policy for Vserver "vs1": Press <Enter> when done { "foo" : "bar" } Error: command failed: Data Policy validation failed: 'ruleset_format_version' is a required field. cluster1::> vserver data-policy validate -vserver vs1 Enter the contents of the file data policy for Vserver "vs1": Press <Enter> when done { "ruleset_format_version" : "1.0", "rules" : [ { "rule_label" : "default", "rule_id" : "ec17a05f-7785-11e1-baf4-123478563412", "rule_scope" : [], "rule_epoch" : { "epoch_reference" : "ctime" }, "rule_epochs" : { "0" : { "local" : { "metadata" : { "storageservice" : "-" } } } } } ] } Data Policy validation succeeded: No errors found.