ONTAP 9.13.1 commands

vserver services name-service nis-domain group-database status

Display NIS group database status of the local node

Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.

Description

The vserver services name-service nis-domain group-database status command displays the status of local NIS group.byuser db across a cluster. This enables you to verify that NIS group.byuser db are consistent across all nodes.

The command displays the following information:

  • Vserver name

  • Node name

  • Last build time of NIS group.byuser db

  • Hash value of the NIS group.byuser db

  • File size of the NIS group.byuser db

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <vserver name>] - Vserver

If you specify this parameter, the command displays the NIS group.byuser db status only for the specified Vserver.

[-node {<nodename>|local}] - Node

If you specify this parameter, the command displays the NIS group.byuser db status only for the specified node.

[-timestamp <MM/DD/YYYY HH:MM:SS>] - Load Time

If you specify this parameter, the command displays the status only for the NIS group.byuser db that were built at the specified time. Specify time in the format MM/DD/YYYY HH:MM:SS. Note that the load time stamps for identical definitions are different on different nodes, because each node extracts the db individually.

[-filesize {<integer>[KB|MB|GB|TB|PB]}] - File Size

If you specify this parameter, the command displays the status only for the NIS group.byuser db that have the specified file size. Note that the primary purpose of the command is to verify that the definitions on all nodes have the same file size, so querying on a specific file size is not useful in most cases.

[-hashvalue <text>] - Hash Value

If you specify this parameter, command displays the status only for the NIS group.byuser db that have the specified hash value. Note that the primary purpose of the command is to verify that the definitions on all nodes have the same hash value, so querying on a specific hash value is not useful in most cases.

Examples

The following example displays the NIS group.byuser db status for vserver vs0 :

cluster1::*> vserver services name-service nis-domain group-database status -vserver vs0
Vserver   Node            Last Build Time     File Size
--------- --------------- ------------------- ----------
Hash Value
--------------------------------
vs0
          node1           2/14/2017 11:39:56  136KB
a30b7d6d03197a7af25de72dcc4bd64f
Top of Page