#POST /storage/qos/policies can create "cluster" scope ?

1 messages · Page 1 of 1 (latest)

glacial grove
#

Our customer wants to create QoS Policy "templates" that would be able to apply to any SVM, any volume across a cluster. They want to consolidate their hundreds of individual QoS policies that are created 1:1 for each volume into using several fixed performance tiers. Their thought is they need a "cluster scope" QoS policy to accomplish that. Per a recent Support case, the Performance team said that the CLI command does not offer a "scope" option and that the highest level object to define a QoS policy is an SVM.

NOTE: ONTAP defines 3 fixed "cluster" scoped QoS policies but their throughputs cannot be changed to a customer's needs (see system policies named extreme-fixed, performance-fixed, and value-fixed).

However, the REST API "POST /storage/qos/policies" has in its Request Body a field called "scope" that supposedly can be set to either "cluster" or "svm". Can someone confirm if they have found this REST API call to be successful in creating a custom "cluster" scoped policy (with capacity_shared set to false)?

https://docs.netapp.com/us-en/ontap-restapi-9161/post-storage-qos-policies.html

fervent pasture
#

@glacial grove no, scope is read only.

quick atlas
#

The way I'm interpreting the POST /storage/qos/policies documentation is that if the POST is to the cluster, it's the cluster scope. If the post is to an SVM, the policy is SVM-scoped. I'm assuming that you're using ONTAP 9.16 as that's the verison of API docs you posted. I'm grabbing a 9.16 lab from Lab on Demand to test out that theory.
Lab for employees and partners: https://labondemand.netapp.com/lab/ontapansible
Same lab for but customers - https://labondemand.netapp.com/lab/ontapansible-hol