ONTAP Discussions

PowerShell Toolkit 9.1x .x very slow, timing out and missing results

EdZ1
621 Views

We have been using the 4.5.0 version of the PS toolkit for many years. I am in the process of migrating to the later versions. I am running into issues with simple commands like:

 

Get-NcSnapshot -Volume $VolumeName

 

Old Toolkit will return results instantly and have the full list of results. New versions I have tested all timeout or return 1-3 of the total 45 snapshots and can take a long time. If I use the -ZapiCall parameter on the connect-nccontroller cmdlet, the results are fast and complete as with 4.5.0.

 

The account used to connect is in the admin role and have tested version 9.12.1.2302 and 9.14.1.2401 of the toolkit.

 

The same performance penalty is seen with other commands making my scripts unusable.

 

Any ideas on what I am missing?

1 REPLY 1

TzwaynY
602 Views

This is a common problem. As far as I know, there is no fix besides to use -zapicall. I think this is a problem with the NetApp API itself. Everytime you want something like this, make a manual API call instead of using the NetApp Module.

 

Best regards

Kai

Public