Microsoft Virtualization Discussions

Time and NTP

mcgue

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

1 ACCEPTED SOLUTION

markweber

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

View solution in original post

2 REPLIES 2

markweber

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

View solution in original post

mcgue

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

Announcements
Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public