Microsoft Virtualization Discussions

Powershell Toolkit API fails with error Cluster Admin required but cmdlet in vServer family

bobalon

Hi there

 

We use powershell to manage volumes within a Vserver creating new clones, adding snapmirrors etc etc. We have recently decided to add the volumes into a QoS Policy Group and have amended the script to apply the relevant group when performing the volume operations.

 

As an Example we use New-NCVolClone to create a volume clone, and have now added the -QosPolicyGroup option to the call. this commandlet is in the Vserver family, yet after adding the above option it fails with an error [

 

You cannot use Quality of Service (Qos) feature in Vserver Context. Qos is available to cluster administrators only.]

 

Can you please clarify if this a bug in the API or documentation?

 

It seems strange that Qos Policy Groups are defined and applied at the Vserver level, but volumes cannot be added to the group by the Vserver admin via a normally successful api call

 

Thank you

1 REPLY 1

bobalon

just to add from further testing NC-NewVol and NC-NewVolclone both fail with the error defined, but update-NCvol does not report an error, but fails to assign the required QoS  policy provided in the VolumeQosAttributes

 

So appears to be an inconsistent approach to this

 

Announcements
Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public