Skip to content
Chris Grindstaff edited this page Nov 10, 2021 · 37 revisions

How do I migrate from Harvest 1.6 to 2.0?

There currently is not a tool to migrate data from Harvest 1.6 to 2.0. The most common workaround is to run both, 1.6 and 2.0, in parallel. Run both, until the 1.6 data expires due to normal retention policy, and then fully cut over to 2.0.

Technically, it’s possible to take a Graphite DB, extract the data, and send it to a Prometheus db, but it’s not an area we’ve invested in. If you want to explore that option, check out the promtool which supports importing, but probably not worth the effort.

Multi-tenancy

Question

Is there a way to allow per SVM level user views? I need to offer 1 tenant per SVM. Can I limit visibility to specific SVMs? Is there an SVM dashboard available?

Answer

You can do this with Grafana. Harvest can provide the labels for SVMs. The pieces are there but need to be put together.

Grafana templates support the $__user variable to make pre-selections and decisions. You can use that + metadata mapping the user <-> SVM. With both of those you can build SVM specific dashboards.

There is a German service provider who is doing this. They have service managers responsible for a set of customers – and only want to see the data/dashboards of their corresponding customers.

Harvest Authentication and Permissions

Question

What permissions does Harvest need to talk to ONTAP?

Answer

Permissions, authentication, role based security, and creating a Harvest user are covered here.

ONTAP counters are missing

Question

How do I make Harvest collect additional ONTAP counters?

Answer

Instead of modifying the out-of-the-box templates in the conf/ directory, it is better to create your own custom templates following these instructions.

Capacity Metrics

Question

How are capacity and other metrics calculated by Harvest?

Answer

Each collector has its own way of collecting and post-processing metrics. Check the documentation of each individual collector (usually under section #Metrics). Capacity and hardware-related metrics are collected by the Zapi collector which emits metrics as they are without any additional calculation. Performance metrics are collected by the ZapiPerf collector and the final values are calculated from the delta of two consequent polls.

Tagging Volumes

Question

How do I tag ONTAP volumes with metadata and surface that data in Harvest?

Answer

See volume tagging issue and volume tagging via sub-templates

REST and Zapi Documentation

Question

How do I relate ONTAP REST endpoints to ZAPI APIs and attributes?

Answer

Please refer to the ONTAPI to REST API mapping document.

Sizing

Question

How much disk space is required by Prometheus?

Answer

A rough approximation is outlined https://devops.stackexchange.com/questions/9298/how-to-calculate-disk-space-required-by-prometheus-v2-2

Clone this wiki locally