2015-02-12 09:51 AM
If I look at the SDK docs (for 5.2.1, 5.2.2 and 5.3) for cluster mode there are a group of API calls file_get_* listed. Now if I call them (file-get-file-info specifically) I get no such API back from our 8.2.2P1 Cmode installs (two of them). So I tried a 'system-api-list' and sure enough they are missing. So, are the docs out of date?
I should mention this works just fine in 7mode.
Solved! SEE THE SOLUTION
2015-02-12 04:31 PM
Yes, the context of whether an API call is made (Cluster or SVM) matters.
There are other instances I've found where API docs don't match the actual APIs.
I always use system-api-list, as well as the system-get-api-elements to verify APIs and their repective input/output elements.
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.)
2015-02-13 06:09 AM
Yes, thanks for the reply. I also discovered (incase anyone else comes across this) that you when you create the NaServer you need to specify a minimum of 1.15 as the version in order to get set_vserver to work. Older versions always return a 0 for failure.