Subscribe

ontapi HOSTS style connection problem.

Any one can help me to understand whats going on here.

[root@xxxxx ~xxxx/bin]# date ; ./apitest.pl -h netapp101 system-get-version

Thu Mar 28 17:08:47 PDT 2013


OUTPUT:

<results status="failed" reason="User  does not have capability to invoke API system-get-version." errno="13003"></results>

[root@xxxxx ~xxxx/bin]# date ; ./apitest.pl -h netapp101 system-get-version

Thu Mar 28 17:08:49 PDT 2013

OUTPUT:

<results status="failed" reason="User  does not have capability to invoke API system-get-version." errno="13003"></results>

[root@xxxxx ~xxxx/bin]# date ; ./apitest.pl -h netapp101 system-get-version

Thu Mar 28 17:08:50 PDT 2013

OUTPUT:

<results status="passed">

          <version>NetApp Release 8.1.2 7-Mode: Tue Oct 30 19:56:51 PDT 2012</version>

          <is-clustered>false</is-clustered>

</results>

[root@xxxxx ~xxxx/bin]# date ; ./apitest.pl -h netapp101 system-get-version

Thu Mar 28 17:08:51 PDT 2013

OUTPUT:

<results status="passed">

          <version>NetApp Release 8.1.2 7-Mode: Tue Oct 30 19:56:51 PDT 2012</version>

          <is-clustered>false</is-clustered>

</results>

[root@xxxxx ~xxxx/bin]# date ; ./apitest.pl -h netapp101 system-get-version

Thu Mar 28 17:08:52 PDT 2013

OUTPUT:

<results status="passed">

          <version>NetApp Release 8.1.2 7-Mode: Tue Oct 30 19:56:51 PDT 2012</version>

          <is-clustered>false</is-clustered>

</results>

[root@xxxxx ~xxxx/bin]# date ; ./apitest.pl -h netapp101 system-get-version

Thu Mar 28 17:08:53 PDT 2013

OUTPUT:

<results status="failed" reason="User  does not have capability to invoke API system-get-version." errno="13003"></results>

[root@xxxxx ~xxxx/bin]# date ; ./apitest.pl -h netapp101 system-get-version

Thu Mar 28 17:08:54 PDT 2013

OUTPUT:

<results status="failed" reason="User  does not have capability to invoke API system-get-version." errno="13003"></results>

[root@xxxxx ~xxxx/bin]#

From the above cases all the test is ran in few sec difference against same filer and of-course there is no changes to the filer in between this test.

some of the API calls are successful some are not.  How we can explain this and where to look for some information.

Any type of information will be helpful.

thanks in advance.

Re: ontapi HOSTS style connection problem.

Hi - we have same issue here. In our case it's a vfiler we're connecting to - but the same "sometimes fails" and "sometimes succeeds" behaviour is seen from consecutive calls to:

./apitest.pl -h vfiler01  system-get-version

Very strange - very much like to hear if you found an explanation & workaround.

Thx...