system license show-aggregates

Display status of aggregates leases and license used.

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

Description

This command displays the status of all ONTAP aggregates.

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.
[-node {<nodename>|local}] - Node
If you use this parameter, the command displays information only about aggregates that match the given node.
[-aggr-name <text>] - Aggregate Name
If you use this parameter, the command displays information only about aggregate that match the given aggregate.
[-aggr-size {<integer>[KB|MB|GB|TB|PB]}] - Aggregate Size
If you use this parameter, the command displays information only about aggregates that match the given physical size of an aggregate.
[-licensed-size {<integer>[KB|MB|GB|TB|PB]}] - Licensed Size
If you use this parameter, the command displays information only about aggregates that match the given licensed-size.
[-expiration <MM/DD/YYYY HH:MM:SS>] - Lease Expiration
If you use this parameter, the command displays information only about aggregates that match the given lease expiration.
[-status <AggrLicStatus>] - Aggregate Status
If you use this parameter, the command displays information only about aggregates that match the given status.
[-compliant {true|false}] - Is Aggregate Compliant
If you use this parameter, the command displays information only about aggregates that match the given state of compliance.
[-aggr-uuid <UUID>] - Aggregate UUID
If you use this parameter, the command displays information only about aggregate that match the given aggregate uuid.

Examples

The following example displays the license status of the cluster:

cluster1::> system license show-aggregates

                              Licensed Physical
Node      Aggregate               Size     Size Lease Expiration   Status
--------- ------------------- -------- -------- ------------------ ------------
node1
          root1                     0B      2GB -                  lease-not-required
          root2 (mirror)            0B      2GB -                  lease-not-required
          aggr1                   20GB     20GB 6/21/2018 18:10:00 lease-up-to-date
          aggr2 (mirror)          10GB     10GB 6/21/2018 20:00:00 lease-up-to-date
node2
          root1 (mirror)            0B      2GB -                  lease-not-required
          root2                     0B      2GB -                  lease-not-required
          aggr1 (mirror)          20GB     20GB 6/21/2018 18:10:00 lease-up-to-date
          aggr2                   10GB     10GB 6/21/2018 20:00:00 lease-up-to-date
node3
          root3                     0B      2GB -                  lease-not-required
          root4 (mirror)            0B      2GB -                  lease-not-required
          aggr3                   15GB       0B 6/21/2018 20:00:00 aggregate-deleted
          aggr4 (mirror)          15GB     15GB 6/21/2018 12:00:00 lease-expired
          aggr5 (mirror)          15GB     15GB 6/21/2018 21:00:00 lease-up-to-date
          aggr6                   15GB     15GB 6/21/2018 21:00:00 plex-deleted
          aggr7                   15GB     14GB 6/21/2018 21:00:00 aggregate-license-size-decreased
          aggr8 (mirror)            0B     14GB -                  lease-missing
node4
          root3 (mirror)            0B      2GB -                  lease-not-required
          root4                     0B      2GB -                  lease-not-required
          aggr3 (mirror)          15GB       0B 6/21/2018 20:00:00 aggregate-deleted
          aggr4                   15GB     15GB 6/21/2018 12:00:00 lease-expired
          aggr5                   15GB     15GB 6/21/2018 21:00:00 lease-up-to-date
          aggr6 (mirror)          15GB       0B 6/21/2018 21:00:00 plex-deleted
          aggr7 (mirror)          15GB     14GB 6/21/2018 21:00:00 aggregate-license-size-decreased
          aggr8                     0B     14GB -                  lease-missing