Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We're trying to do a simple qtree create. I've attached the simple script that we are using to do the create. The script outputs this:
qtree: is on svm_villa_rootvol with status normal
qtree: is on fahome with status normal
qtree: username is on fahome with status normal
qtree: is on dusers with status normal
qtree: is on svm_villa_rootvol_lsm01 with status readonly
qtree: is on svm_villa_rootvol_lsm02 with status readonly
Unable to find API: qtree-create
It appears that qtree-list-iter is supported, but qtree-create is unsupported in the current version? I'm looking at the OntapClusterAPI.html document for the documentation of the api, and it has documentation for qtree-create. (Also the api bindings have underscores separating the words, and we've found that you have to use dashes.)
Any info you can get us would be appreciated. Thanks!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The likely cause is that you're running this script against the cluster management LIF rather than a Vserver. The qtree-create API is a Vserver API in cDOT, so you need to either a) point your script at a Vserver management LIF, or b) use Vserver tunneling with the NaServer.set_vserver() method.
Let me know if you have any trouble getting it working.
-Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Ben,
We had to use the correct login ID. That fixed the issue.
~S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sgreer,
maybe you can help me with this, i even tried the vsadmin login and I have the same problem that the api just shows the *-iter* commands but nothing else....
Thanks in advance for your help!
![](/skins/images/B38C252077B5AFBEEB101AABF3DD2460/responsive_peak/images/icon_anonymous_message.png)