Software Development Kit (SDK) and API Discussions

Different 'rights' depending on access path

glen_eustace
4,285 Views

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
4,277 Views

 

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
4,278 Views

 

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.)

glen_eustace
4,273 Views

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
4,229 Views

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
4,226 Views

 

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.)

Public