Statistics commands are not working for a node
Applies to
- ONTAP 9
- Counter Manager Daemon (CMD)
Issue
- Statistics commands fail to gather information for a node when the
cluster_mgmt
LIF is not local:
cluster1::> network interface show -vserver cluster1 -lif cluster_mgmt -field curr-node
vserver lif curr-node
-------- ------------ -----------
cluster1 cluster_mgmt cluster1-02
cluster1::> statistics aggregate show -interval 5 -iterations 5 -max 25 -node cluster1-01
Error: command failed: There are no entries matching your query
- The commands work again once the
cluster_mgmt
is local again:
cluster1::> network interface show -vserver cluster1 -lif cluster_mgmt -field curr-node
vserver lif curr-node
-------- ------------ -----------
cluster1 cluster_mgmt cluster1-01
cluster1::*> statistics aggregate show -interval 5 -iterations 1 -node cluster1-01
cluster1 : 4/18/2023 10:10:29
*Total Read Write Read Write Latency
Aggregate Node Ops Ops Ops (Bps) (Bps) (us)
----------------- ----------- ------ ---- ----- ----- ----- -------
aggr0_cluster1_01 cluster1-01 1 0 1 0 7372 491
cluster1_01_SSD_1 cluster1-01 0 0 0 0 0 0