ONTAP Discussions

Unable to connect to filer using connect-NcController (Netapp 7.3.7p1)

Krissh_9
9,521 Views

Hi, I am new to Netapp. When I use "  Connect -NController X.X.X.X " with credentials, I am getting this error. can someone help me with this?

 

Connect-NcController : Not a clustered Data ONTAP controller
At line:1 char:1
+ Connect-NcController 192.168.2.16 -Http
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (192.168.2.16:NcController) [Connect-NcController], InvalidOperationExc
   tion
    + FullyQualifiedErrorId : Not a clustered Data ONTAP controller,DataONTAP.C.PowerShell.SDK.ConnectNcController

 

Thanks.

1 ACCEPTED SOLUTION

JGPSHNTAP
9,516 Views

Are you trying to connect to cdot or 7-mode

 

if 7-mode you need connect-nacontroller

View solution in original post

6 REPLIES 6

JGPSHNTAP
9,517 Views

Are you trying to connect to cdot or 7-mode

 

if 7-mode you need connect-nacontroller

Krissh_9
9,508 Views

Hi,

 

I am not sure about cdotor 7-mode but the device is not clustered.

 

 

When I use Connect-NaconnectorI am getting this:

 

PS C:\Windows\system32> Connect-NaController 192.168.2.16


Connect-NaController : Failed to load ntapadmin64 DLL
At line:1 char:1
+ Connect-NaController 192.168.2.16
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (192.168.2.16:NaController) [Connect-NaController], Exception
    + FullyQualifiedErrorId : RpcConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController

 

Thanks

 

Krissh_9
9,496 Views

Hi,

 

I am not sure about cdotor 7-mode but the device is not clustered.

 

 

When I use Connect-NaconnectorI am getting this:

 

PS C:\Windows\system32> Connect-NaController 192.168.2.16


Connect-NaController : Failed to load ntapadmin64 DLL
At line:1 char:1
+ Connect-NaController 192.168.2.16
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (192.168.2.16:NaController) [Connect-NaController], Exception
    + FullyQualifiedErrorId : RpcConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController

 

Thanks

 

 

sinhaa
9,098 Views

@Krissh_9 @JGPSHNTAP

 

What is the windows version you are using? I'm facing the same issue and my windws is win server 2016.

 

Does anyone know how to get out of it?

 

sinhaa

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

Pumpith
8,322 Views

Please try use command

 

$connection = Connect-NaController $filername -credential ${Credential}

buddystorage
4,989 Views

Netapp cdot 9.8 we have used powershell to connect i got below error.Please help me.

PS C:\Program Files (x86)\PowerShell> Connect-NaController 10.178.16.27 -credential {admin}
Connect-NaController : The term 'Connect-NaController' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ Connect-NaController 10.178.16.27 -credential {admin}
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Connect-NaController:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Public