Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
I am getting some itneresting errors with 3.2.1 toolkit and Get-NcTime and Get-NcNtpServer. I have put them below. I haven't used these before so I can't say if this is something new.
PS C:\Users\Administrator> Get-NcTime
Get-NcTime : Unable to find API: clock-get-clock
At line:1 char:1
+ Get-NcTime
+ ~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (10.61.83.241:NcController) [Get-NcTime], EAPINOTFOUND
+ FullyQualifiedErrorId : ClockGetClockFailed,DataONTAP.C.PowerShell.SDK.Cmdlets.Clock.GetNcTime
PS C:\Users\Administrator> Get-NcNtpServer
Get-NcNtpServer : Unable to find API: ntp-server-get-iter
At line:1 char:1
+ Get-NcNtpServer
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (10.61.83.241:NcController) [Get-NcNtpServer], EAPINOTFOUND
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.NtpServer.GetNcNtpServer
PS C:\Users\Administrator> Get-NcSystemImage
Node Image IsCurrent IsDefault InstallTimeDT Version
---- ----- --------- --------- ------------- -------
cm3170-rtp3-01 image1 True True 3/21/2015 6:08:38 PM 8.2.3P1
cm3170-rtp3-01 image2 False False 3/5/2015 3:30:24 AM SierraNevada__8.2.2
cm3170-rtp3-02 image1 True True 3/21/2015 6:30:28 PM 8.2.3P1
cm3170-rtp3-02 image2 False False 3/5/2015 3:25:10 AM SierraNevada__8.2.2
Solved! See The Solution
from the help for get-nctime:
To run the command below ONTAP 8.3, it is necessary to either specify the -Node switch or be connected to the node vserver. From ONTAP 8.3 this command can be run on the cluster, without specifying node information.
i would guess that get-ncntpserver is 8.3+
it works on my 8.3 test system, but not 8.2.3P1
m
from the help for get-nctime:
To run the command below ONTAP 8.3, it is necessary to either specify the -Node switch or be connected to the node vserver. From ONTAP 8.3 this command can be run on the cluster, without specifying node information.
i would guess that get-ncntpserver is 8.3+
it works on my 8.3 test system, but not 8.2.3P1
m
Thank you! The -node worked for me for the Get-NcTime