Microsoft Virtualization Discussions

Reallocate using powershell on CDOT

dpeverley
4,274 Views

There is no Start-NcReallocate for clustered mode.

 

Does the Start-NaReallocate command work for clustered mode?

 

I am having trouble getting it to work as it says the following

 

Parameter name: Controller parameter neither specified nor set in $global:CurrentNaController

 

If I specify the clustername in the controller parameter

 

Start-NaReallocateMeasure : Cannot bind parameter 'Controller'. Cannot convert the "ltc-netapp-01" value of type "NetApp.Ontapi.Filer.C.NcController" to type "NetApp.Ontapi.Filer.NaController".

 

If I specify the vserver in $global:CurrentNaController or the controller parameter gives a generic error

 

Start-NaReallocateMeasure : Object reference not set to an instance of an object.

1 ACCEPTED SOLUTION

mbeattie
4,256 Views

Hi,

 

Have you considered using the "Invoke-NcSsh" CmdLet with the CLI command

 

/matt

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

View solution in original post

1 REPLY 1

mbeattie
4,257 Views

Hi,

 

Have you considered using the "Invoke-NcSsh" CmdLet with the CLI command

 

/matt

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