Microsoft Virtualization Discussions

Time and NTP


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: ( [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: ( [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


Re: Time and NTP


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



View solution in original post

Re: Time and NTP


Thank you!  The -node worked for me for the Get-NcTime

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums