2012-06-13 05:37 AM
If so, what is needed to get it working? I keep seeing:
perl apitest.pl host user pass system-get-version
<results status="failed" reason="in Zapi::invoke, cannot connect to socket" errno="13001:></results>
Trying to create a script to collect specific details about all the volumes. I suspect if I query from the vserver
point of view, I will not pickup the node-based (i.e. root) volumes.
It *is* working to the cluster interface and the node interfaces.
2012-06-13 10:05 AM
With 5.0, you can see 2 set of APIs - Cluster APIs and vserver APIs. You can connect to a vserver with vserver admin credentials and use vserver APIs.
Alternatively you can connect with Cluster admin credentials, and choose vserver tunneling to use vserver APIs.
Here is a screenshot of how you can do that in ZEDI -
2012-06-13 10:12 AM
I would use the volume-get-iter c-mode API to the cluster LIF. If you want vserver specific information, you can use vserver tunneling on the cluster LIF or send the API to the vserver management LIF.
- Rick -