Software Development Kit (SDK) and API Discussions
Software Development Kit (SDK) and API Discussions
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.
Solved! See The Solution
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 -
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.)
It does.
I can create, mount, remove volumes but I can not clone them. I get an error daying the aggregate doesn't exist.
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.
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.)