Software Development Kit (SDK) and API Discussions

Different 'rights' depending on access path

glen_eustace

I am struggling converting a number of our powershell scripts from 7-mode to cluster-mode.

 

I want to be able to access an SVM directly using cached credentials

i.e.

get-nccredential <filer>

connect-nccontroller <filer>

 

but when I try to use new-ncvolclone, I get an error saying the aggregate doesn't exist.

If instead I access the SVM via the controller

i.e.

connect-nccontroller <cluster> -vserver <filer> -credential <as above>

 

the clone works fine.

 

It would appear to be an issue with not having rights on the cluster but we can't seem to work out what we need to change or whether what we are doing should even work.

1 ACCEPTED SOLUTION

ekashpureff

 

Glen -

 

The SVM admin account you use needs to have aggregate permissions to create new volumes or clones.


I hope this response has been helpful to you.

At your service,

Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, IT Learning Solutions http://sg.itls.asia/netapp
(P.S. I appreciate 'kudos' on any helpful posts.)

View solution in original post

4 REPLIES 4

ekashpureff

 

Glen -

 

The SVM admin account you use needs to have aggregate permissions to create new volumes or clones.


I hope this response has been helpful to you.

At your service,

Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, IT Learning Solutions http://sg.itls.asia/netapp
(P.S. I appreciate 'kudos' on any helpful posts.)

View solution in original post

glen_eustace

It does.

 

I can create, mount, remove volumes but I can not clone them.  I get an error daying the aggregate doesn't exist.

 

glen_eustace

This did turn out to be permissions, the storage engineer had not delegated access to the aggregate to the SVM.  So although I could see the volumes and activity that resulted in a change at the aggregate got the error about the agreegate not existing.

 

ekashpureff

 

Glen -

 

That was the only thing that made sense to me.

Glad you were able to resolve it.

Thank you for the update post...


At your service,

Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, IT Learning Solutions http://sg.itls.asia/netapp
(P.S. I appreciate 'kudos' on any helpful posts.)

Announcements
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