#"no instances, entering standby Poller=aces collector=Zapi:SnapMirror task=data""
1 messages · Page 1 of 1 (latest)
hi @violet radish can you screenshot the actual log line or send the log files to ng-harvest-files@netapp.com
no instances typically means there are not instances of that object on the cluster. In this case, no SnapMirrors. It should be an INFO message and not an error for that reason
does the cluster in question have SnapMirrors configured on it?
I have lots if snapmirrors, both volume and SVM
This is not the destination
They just rebooted my box, I can't see what the destination is saying, that is a positive message, but I still don't see any SMs. I'll get it in a few
looking at the log files you shared earlier, I see the same in those logs.
INF collector/collector.go:342 > no instances, entering standby Poller=aces collector=Zapi:SnapMirror task=data - that Zapi is returning nada. Let me find the right curl for you
try this, replacing user,pass, and $ip
curl --user user:pass -snk 'https://$ip/api/private/cli/snapmirror'
Getting a user is not authorized on both source and destination
do you get similar with the following? Same as before, replace user, pass, and ip with your values
curl --user user:pass -snk --data-ascii '<?xml version="1.0" encoding="UTF-8"?> <netapp xmlns="http://www.netapp.com/filer/admin" version="1.30"> <snapmirror-get-iter/> </netapp>' -H "Content-Type: text/xml" -X POST 'https://$ip/servlets/netapp.servlets.admin.XMLrequest_filer'
Should I assume the curl command is trying to get to netapp.com? I live in a dark site
no, the curl command is talking to your ontap cluster. Make sure you replace $ip with your cluster admin ip, same as what you specifiy in your harvest.yml file
I think I typed it erroneously, no output; let me try again
sorry, that's rough to type out. Was hoping your could copy/paste
i tried locally and it also works without the XML namespace so you can use this too
curl --user user:pass -snk --data-ascii '<?xml version="1.0" encoding="UTF-8"?> <netapp version="1.30"> <snapmirror-get-iter/> </netapp>' -H "Content-Type: text/xml" -X POST 'https://$ip/servlets/netapp.servlets.admin.XMLrequest_filer'
I think I finally got it correct: here is what it said on the SM source:
<?xml version'='1.0' encoding='UTF-8' ?>
<!DOCTYPE netapp SYSTEM 'file:/etc/netapp_gx.dtd'>
<netapp version='1.221' xmlns='http://www.netapp.com/filer/admin'>
<results status="passed"><num-records>0</num-records></results></netapp>
thanks. that matches the log message we started this conversation with. <num-records>0</num-records> means there are no instances
Should I try on the destination?
the log message you pasted at the top is about talking to cluster aces. Is that the cluster you used in the curl commands above? If so, no need to look further. The log message is correct, Harvest sends that ZAPI to ONTAP asking for all snapmirror instances and ONTAP tells Harvest there are none. We print that message so we (and you) understand there won't be any metrics for that object
Got a lot of output on the on acesd which is the SM destination
So how do I collect data?
Can you explain what you think should be happening that is not happening? I thought you question was about the log message you pasted, which hopefully I've explained. And yes, acesd has 263 instances
When I open the SnapMirror dashboard, I get 0's and 'No data'. I see the Datacenter as my Secondary, but SourceClusteer is ALL and I cannot see individual source clusters. The same for Nodes, and SVM's, Volumes and Source Volumes
ok, that's the first mention of dashboard, got it
I'm sorry, sometimes I ass-u-me. 😉
no worries! easy to do when you've been troubleshooting
what version of Harvest are you on?
Thank you... You are a gentleman and a scholar
and sounds like when you click the SourceCluster dropdown you only see All and not clusters like this?
23.11.0-1
I only see my Secondary Dattacenter, which is the SM/DR cluster
But no omdividual cluster, just ALL
the datacenter variable gets its values from this query
and the sourcecluster variable gets its values from this query
which is a join of snapmirror_labels and volume_labels so either the SnapMirror collector or the Volume collector must have errors if you aren't see the data you expect
can you send your log files to ng-harvest-files@netapp.com and/or check for any ERR in them?
How did I create a Primary and Secondary Datacenter?
datacenter is taking directly from your harvest.yml like so
I didn't do it via yml, I am pretty sure it was a configuration item. Oh well, yes I can send logs, but my partner is on vacation and won't be in until Wed. I'll send them then. Thank you
Duh, found it
Nabox is a front-end to Harvest which means Nabox added datacenter: what-you-typed-for-group in your harvest.yml
Yes. Part of the config instructions, I believe
glad you got it sorted
Now I just need to get it working
I've got to run to a meeting. I'll catch you later
@zealous marsh Yann, have you seen any issues with the SnapMirror dashboard not reporting any data in NABOX 3.3, Harvest 23.11.0-1?
hi @violet radish how is the snapmirror dashboard looking today?
Same sir. 0's and "No data" ; I haven't had a chance to look in logs
did you fix the datacenter problem we dicussed yesterday?
No I think it's the first time I see this
@violet radish As you have seen this info panel for SnapMirror dashboard that both the source and destination cluster must be monitored by Harevst and export the metrics in same Prometheus instance. Just to make sure, Could you please share the query result for this in your NABox prometheus instance.
You can access the prometheus here, https://[nabox ip]/prometheus/ replace [nabox ip] with your nabox address.
Run this query in promQL
group by (datacenter, cluster)(snapmirror_labels)
I presume this is the prometheus screen; I executed the above, the only response was, "{cluster="acesd",datacenter="Secondary"}
hi @violet radish yes, the PromQL Hardik shared is meant to be run in Prometheus
your response means there is only one cluster being monitored that is exporting snapmirror metrics. Is that what you expected?
hi @violet radish can you send you log files so we can check if there are any issues? email them to ng-harvest-files@netapp.com