Quantcast
Channel: ONTAP Discussions topics
Viewing all articles
Browse latest Browse all 4954

Netapp.manage.NaAPIFailedException: Unable to find API:

$
0
0

Hi ,

     I have wriiten a cpde to fetch volume information from Oncommand Unified manager 6.3 .I am using OnCommand DFm command (dfm-schedule-create) to fetch the information but iam getting an exception  Netapp.manage.NaAPIFailedException: Unable to find API:  dfm-schedule-create (errno=13001) . Can anyone help in resolving this issue . The onepart of my code snippet is given below for your reference. 

             server = new NaServer(args[0]);
            server.setTransportType(NaServer.TRANSPORT_TYPE_HTTPS);
            server.setPort(Integer.parseInt(args[1]));
            server.setStyle(NaServer.STYLE_LOGIN_PASSWORD);
            server.setAdminUser(args[3],args[4]);
            server.setServerType(NaServer.SERVER_TYPE_DFM);
            NaElement api = new NaElement("dfm-schedule-create");
            NaElement newElem = server.invokeElem(api);
            System.out.println(newElem.toString());

 


Viewing all articles
Browse latest Browse all 4954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>