Subscribe

UNABLE to connect ontap filer using connect-nacontroller

Hello All,

 

I'm new to the Netapp Powershell...

After succesfulling installing the Netapp powershell module, unable to connect to the filer using "Connect-NaController"

 

Fas version : 8.1.4

 

Powershell version :

 

Major  Minor  Build  Revision
-----  -----  -----  --------
3      0      -1     -1

 

http,https,tls/ssl is enabled...  used force secure/unsecure option.. But, stil unable to login.. Could you please share your thoughts here ?

 

options ssl
ssl.enable                   on        
ssl.v2.enable                on         (same value required in local+partner)
ssl.v3.enable                on         (same value required in local+partner)

 

httpd.access                 legacy    
httpd.admin.access           *         
httpd.admin.enable           on        
httpd.admin.hostsequiv.enable off       
httpd.admin.max_connections  512       
httpd.admin.ssl.enable       on        
httpd.admin.top-page.authentication on        
httpd.autoindex.enable       off       
httpd.bypass_traverse_checking off       
httpd.enable                 off       
httpd.ipv6.enable            off       
httpd.log.format             common     (value might be overwritten in takeover)
httpd.method.trace.enable    off       
httpd.rootdir                /vol/vol0/home/http
httpd.timeout                300        (value might be overwritten in takeover)
httpd.timewait.enable        off        (value might be overwritten in takeover)

 

options tls
tls.enable                   on         (same value required in local+partner)

 

PS C:\Windows\system32> Connect-NaController 172.27.10.111
Connect-NaController : Failed to load ntapadmin64 DLL
At line:1 char:1
+ Connect-NaController 172.27.10.111
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (172.27.10.111:NaController) [Connect-NaController], Exception
    + FullyQualifiedErrorId : RpcConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController

 

 

PS C:\Windows\system32> Connect-NaController 172.27.10.111 -ForceUnsecure
Connect-NaController : Connection to 172.27.10.111 on port 80 for protocol HTTP timed out.
At line:1 char:1
+ Connect-NaController 172.27.10.111 -ForceUnsecure
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (172.27.10.111:NaController) [Connect-NaController], NaConnectionTimeoutE
   xception
    + FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController

 

 

PS C:\Windows\system32> Connect-NaController 172.27.10.111 -Forcesecure
Connect-NaController : Connection to 172.27.10.111 using HTTPS failed - The request was aborted: Could not create
SSL/TLS secure channel.
The error may be resolved by generating a new certificate on the storage controller, with a longer key length.
At line:1 char:1
+ Connect-NaController 172.27.10.111 -Forcesecure
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (172.27.10.111:NaController) [Connect-NaController], NaConnectionSSLExcep
   tion
    + FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController

 

Re: UNABLE to connect ontap filer using connect-nacontroller

Hello @AJAYKUMARN,

 

We just had a discussion on the issue you're encountering ("Failed to load ntapadmin64 DLL") over here.  Hopefully the workaround suggested there works for you.

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.