Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-tenant SVM support #355

Open
cgrinds opened this issue Jul 27, 2021 · 3 comments
Open

Add multi-tenant SVM support #355

cgrinds opened this issue Jul 27, 2021 · 3 comments
Labels

Comments

@cgrinds
Copy link
Collaborator

cgrinds commented Jul 27, 2021

The goal is to restrict what information Harvest pulls for multi-tenancy.

What's been attempted:

  • a) Point Harvest at the cluster IP but only provide SVM credentials
  • b) Point Harvest at the SVM IP fails since Harvest still tries to send cluster ZAPIs
{"level":"warn","Poller":"netapp-ontap","time":"2021-07-26T17:54:32-07:00",
"message":"init collector-object (ZapiPerf:SystemNode): connection error => 
api request rejected => Unable to find API: cluster-identity-get"}
@cgrinds cgrinds added the feature New feature or request label Jul 27, 2021
@cgrinds
Copy link
Collaborator Author

cgrinds commented Jul 27, 2021

We should be able to make b work with some changes to Harvest.
Perhaps something like this:

  • Add a new svm_tenant key/value to harvest.yml
Pollers:
  infinity:
    datacenter: nane1
    svm_tenant: svm1
    exporters:
      - prometheus1
  • Change the collectors to use svm tunneling when that keys is present

@chrishenzie
Copy link
Contributor

Yes this design would work, so long as it allows us to use SVM credentials to fetch that SVM's specific metrics.

Would this require any changes to ONTAP?

@cgrinds
Copy link
Collaborator Author

cgrinds commented Aug 12, 2021

should be achievable Harvest side, no ONTAP changes required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants