#ONTAP: FlexCache
1 messages · Page 1 of 1 (latest)
hi @peak ferry can you upload your support bundle to https://upload.nabox.org/tijo-rydu-fyze and we'll take a look
Uploaded
thanks
Please don't add any sensitive information here on this thread from the logs 🙂
thanks for the upload. No worries, we won't
it looks like most of your clusters don't have FlexCache instances, but some do. For one of the clusters that does (I can give you the poller name of one if you want), can you edit your /etc/nabox/harvest/harvest.yml and change the collectors to:
collectors:
- Rest
- ZapiPerf
- RestPerf
- Zapi
``` instead of what you have right now? Save the file and restart
fine to leave
it was not included in the poller I looked at so I did not include in the list above, but it's fine to leave
Interesting. I changed a few and now lost access to the GUI for Nabox and grafana.
perhaps you made an error in editing the file? Maybe used tabs instead of spaces?
Well this is not good.
we can fix it
Hmmm
what happens if you run this after sshing into nabox
docker exec havrest bin/harvest doctor
Error response from daemon: No such contanier: havrest
did you use vim to edit /etc/nabox/harvest/harvest.yml?
vi
ok let's open the file again in vi. After you open it, let's search for any tab characters by typing
/\t then Enter
you can also tell vi to show you the tabs by typing
:list
tabs will be shown with a ^I like so
Yeah I don't have any of that in the file.
and the search for tabs returned nothing?
correct
did you change one poller or several?
Yes, but changed them back.
ok with your reverted changes, does the container start?
Negative
what about
docker logs havrest --since 1h
try
dc down
dc up -d
Hmmm
the restart problem was caused by a bad edit to the harvest.yml
But there is nothing wrong with changing multiple corect?
I mean, I will test with one single and see if that works.
nothing at all
I will try vim for what it's worth since it's newer
they're the same - vi is a symlink to vim. If memory serves, running vi will run vim in vi mode when it is symlinked
I changed just one item and restarted. I will give it some time I take it to display some data on that report.
cool, so everything restarted fine this time?
Yes just with changing the setting for one host.
I assume I just need to wait a few for the data correct?
yes, ~4 minutes. We can also check the log files if you prefer
I will give it a few
Hmmm I guess it really didn't like when I did multiple at once, who knows. I did another one and it restarted just fine as well.
Now let's hope I see some data 🙂
indeed
No extra data yet.
please upload another support bundle at the same location
I use rest collectors.
ok
Before I do that. The "Defaults", I don't need to change do I? I only changed the ones under each array I have with Flexcache.
right, the defaults will only be used if a poller does not define its own
thanks for the log files, they explain the problems. You changed three clusters - one has the wrong collector Zapiperf it should be ZapiPerf. The other two pollers have the correct poller name, but Zapis are disabled on the cluster so the ZapiPerf collector isn't going to work.
The issue with FlexCache is ONTAP does not support collecting that object via RestPerf. You choices are either a) enable ZAPI for those clusters b) Setup the StatPerf collector to collect FlexCache performance metrics (assuming these clusters are not FSx). If you want to setup the StatPerf collector see https://netapp.github.io/harvest/25.11/prepare-cdot-clusters/#statperf-least-privilege-role