vserver export-policy config-checker rule show

Show error entries for rules in export policy configuration checker job

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The vserver export-policy config-checker rule show command displays information about error related to configuration in export policy rules. If a rule has any issues the configuration checker job will log information about such errors on the node where the job runs. The command displays the following information:

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields parameter, the command only displays the fields that you specify.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all entries.
[-node {<nodename>|local}] - Node
If you specify this parameter, the command displays detailed error information for node that matches the specified value.
[-vserver <vserver name>] - Vserver
If you specify this parameter, the command displays detailed error information for Vservers that match the specified value.
[-policy <export policy name>] - Policy Name
If you specify this parameter, the command displays detailed error information for policy that match the specified value.
[-rule-index <integer>] - Rule Index
If you specify this parameter, the command displays detailed error information for rule-index that match the specified value.
[-error <text>] - Error Details
If you specify this parameter, the command displays rule index information for error that match the specified value. The complete error string needs to be specified within "{}".

Examples

The following example displays information about error related to export rules:
cluster1::> vserver export-policy config-checker rule show -node node-vsim3 -vserver vs34 -policy test
  (vserver export-policy config-checker rule show)
                        Rule
Node       Vserver      Policy    Index     Error
---------- ------------ --------- --------- ----------------------------------
node-vsim3
           vs34         test      1         DNS lookup for host "h1" failed
           vs34         test      2         Entry not found for "UserName: testuser", DNS lookup for host "h2" failed
2 entries were displayed.
cluster1::> vserver export-policy config-checker rule show -node node-vsim3 -vserver vs34 -policy test -rule-index 1
  (vserver export-policy config-checker rule show)

         Node: node-vsim3
      Vserver: vs34
  Policy Name: test
   Rule Index: 1
Error Details: DNS lookup for host "h1" failed
cluster1::> vserver export-policy config-checker rule show -node node-vsim3 -vserver vs34 -policy test -error  {DNS lookup for host "h1" failed}
  (vserver export-policy config-checker rule show)
                        Rule
Node       Vserver      Policy    Index     Error
---------- ------------ --------- --------- ----------------------------------
node-vsim3
           vs34         test      1         DNS lookup for host "h1" failed