Skip to main content
NetApp Knowledge Base

How to check the time on Cluster and Domain Controllers in UTC

Views:
2,651
Visibility:
Public
Votes:
2
Category:
ontap-9
Specialty:
nas
Last Updated:

 

Applies to

ONTAP 9

Description

  • Domain Controllers and Clusters are not required to have the same time zone
    • Use the below information to address KRB5KRB_AP_ERR_SKEW errors.

Procedure

Check the current time

ONTAP
Cluster01::> date -u
dateu.png
 
Windows DC (Using PowerShell)
[System.DateTime]::UtcNow
PoweShellUTCNow.png
 

Adjust the time

If the difference is greater than the acceptable skew (5 minutes by default)
ONTAP
dateuquestionmark.png
Example: The following example sets the date to January 15, 2018, 3:26pm
Cluster01::> date -u 201801151526.00
 
Windows DC (Using PowerShell)
Windows does not have a way to natively set the time as UTC without changing the time zone, so you will have to convert the UTC time to the desired time zone prior to using the below command.
setdate.png

Example: The following example sets the date to January 15, 2018, 3:26pm in the time zone set on the DC
PS Z:\> Set-Date -date "01/15/2018 15:26"

If you are unsure of the time zone set on your Domain Controller
mangettimezone.png
PS Z:\> Get-TimeZone
gettimezone.png

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device