メインコンテンツへスキップ

ONTAPクラスタの時刻をUTCでドメイン コントローラと照合する方法

Views:
181
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

 

環境

  • ONTAP 9
  • Microsoft Active Directory ドメイン コントローラ(DC)

概要

次の記事では、DC 時刻と一致するようにクラスター時間を UTC で調整する方法について説明します

手順

  1. DCから時刻を確認してください:
    • Powershellを使用して、[System.DateTime]::UtcNowを実行します

例:

PS C:\> [System.DateTime]::UtcNow

Wednesday, January 25, 2023 3:49:00 PM

  1. ONTAP CLIからクラスタ時間を調整する:
    • CLIからdate -u yyyymmddhhmm.ssを実行します
      • コマンドの形式は次のとおりです:   
        • YYYY は 4 桁の年
        • MM は 2 桁の月
        • DD は月の 2 桁の日
        • HH は 24 時間形式の 2 桁の時間
        • MM は 2 桁の分  
        • .SS は 2 桁の秒
      • 次の例では、日付を2023年1月25日、午後3時49分に設定します
        • Cluster::> date -u 202301251549.00
  2. クラスタの時刻を確認します:
    • CLIから date -u を実行します

例:

Cluster::> date -u
Node        UTC Date
----------------- ------------------------
Node1       Wed Jan 25 15:49:00 2023
Node2       Wed Jan 25 15:49:00 2023
2 entries were displayed.

 

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

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.

 

  • この記事は役に立ちましたか?