NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

PoSH Toolkit cluster/node connection cDOT 9.2

Nick_Talbot
3,633 Views

I am trying 'connect-nacontroller' and supplying the ip address of one of my 9.2 controllers and it appears to connect, but then every command I try after that fails

 

 

 

initial connection:

 

 

λ  Connect-NcController 10.xx.xx.xx

Name                 Address           Vserver              Version
----                 -------           -------              -------
10.xx.xx.xx       10.xx.xx.xx                           NetApp Release 9.2: Tue Jun 20 03:20:03 UTC 2017

 

Evey command after that fails with....

 

λ  get-nasystemlog -auditlog -starttime 10/21/2017
get-nasystemlog : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController

 

 

1 REPLY 1

asulliva
3,600 Views

The cmdlets are divided into two families: *-Nc* for clustered sytems, and *-Na* for 7-mode systems.  You'll want to use the *-Nc* cmdlets for your operations.

 

For example, to get the logs for a node use the command:

 

Get-NcEmsMessage -Node $nodeName

Hope that helps.

 

Andrew

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