ONTAP Discussions

Error while loading while connecting using NetApp.ONTAP module on Linux.

stephenbuchanan
1,091 Views

Does the module supports Linux?

PWSH: Connect-NaController mycontroller

Connect-NaController: Unable to load shared library 'kernel32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libkernel32.dll: cannot open shared object file: No such file or directory.

 

I also tried using another module called dataontp but it threw pssapin errors on my Linux machine every time I tried importing.

Import-Module: Could not load type 'System.Management.Automation.PSSnapIn' from assembly 'System.Management.Automation, Version=7.2.1.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35

2 REPLIES 2

Ontapforrum
1,069 Views

Never tried on linux, but just make sure the installation requirements are met for linux.
https://mysupport.netapp.com/site/tools/tool-eula/ontap-powershell-toolkit

 

Installation requirements for Linux using RHEL.
Operating system Version: RHEL 7 | Microsoft Windows PowerShell 7.0.3 and later

 

For redhat or other *nixes, Install instruction are given in this pdf .
https://mysupport.netapp.com/api/tools-service/toolsbinary/ontap-powershell-toolkit/download/NetApp%20PowerShell%20Toolkit%209.11.1%20Cmdlet%20Excepti...

 

TMACMD
1,068 Views

Also, the “Na” commands are for 7 mode controllers. Look at the “Nc” commands when you get powershell working

Public