Dell Unity:stratum値が6以上のNTPサーバーと同期できない

Summary: Unityアレイは、階層値が6以上のNTPサーバーと同期できません。 Unisphereではエラーは表示されませんが、Unityクロックは同期されません。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

この例では、NTPサーバーにアクセスできますが、Stratum値が6に設定されているため、UnityはNTPサーバーと同期できません。これはコマンドの svc_ntp -i 出力から判断できます。NTPサーバーの行の先頭に「*」記号はありません。
 
06:40:01 service spb:~/user# svc_ntp -i
NTP Status:
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 xxx.xxx.xxx.xxx    LOCAL(0)      6 u   67   64  377    0.156  637.565   0.105
*peer            127.0.0.1        6 s   15   64  376    0.026    0.089   0.124

List of associations:
ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 45538  9024   yes   yes  none    reject   reachable  2
  2 45539  961a   yes   yes  none  sys.peer    sys_peer  1

List of servers in ntp.conf:
server      xxx.xxx.xxx.xxx iburst prefer                                          

Timestamps:
hwclock:1667976004 systime:1667976004 uptime:434601.65

Detailed Timestamps:
Wed Nov  9 06:40:05 UTC 2022
Wed Nov  9 06:40:06 2022  -0.953423 seconds
 06:40am  up 5 days  0:43,  6 users,  load average: 112.37, 112.83, 113.09


Cause

では /etc/ntp.conf、次の行を使用すると、ntpdが階層値6以上のNTPサーバーとの同期を妨げています。

tos orphan 6

Resolution

 
この問題を解決するには、2つのオプションがあります。
  1. 階層値5以下で構成されたNTPサーバーを使用します。  
10分ほど待ってから、 コマンドを svc_ntp -s 実行してntpdがNTPサーバーと同期していることを確認します。出力にはNTPエントリーの左側にアスタリスクが付き、stratum値(st)は5以下にする必要があります。
 
06:58:01 service spb:~/user# svc_ntp -i
NTP Status:
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
* xxx.xxx.xxx.xxx   LOCAL(0)      5 u   35   64  377    0.170   -0.123   0.041
 peer            127.0.0.1        6 s   47   64   37    0.059  -637.13   0.102

List of associations:
ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 25293  961a   yes   yes  none  sys.peer    sys_peer  1
  2 25294  9014   yes   yes  none    reject   reachable  1

List of servers in ntp.conf:
server      xxx.xxx.xxx.xxx iburst prefer                                          

Timestamps:
hwclock:1667977331 systime:1667977331 uptime:435927.21

Detailed Timestamps:
Wed Nov  9 07:02:12 UTC 2022
Wed Nov  9 07:02:13 2022  -0.953428 seconds
 07:02am  up 5 days  1:05,  7 users,  load average: 112.32, 112.49, 112.74
  1. この方法ではrootアクセスが必要な場合は、Dellテクニカル サポートまたはライセンスサービスプロバイダに連絡してファイルを編集 /etc/ntp.conf し、次の行の値を変更してデフォルトの5より大きい stratum 値をサポートします。
tos orphan 6

サポートされる最大値は15です。

例:
# cp /etc/ntp.conf /cores/service/user/ntp.conf.bak
# sed -i -e 's/tos orphan 6/tos orphan 7/g' /etc/ntp.conf
# diff /etc/ntp.conf /cores/service/user/ntp.conf.bak
86c86
< tos orphan 7
---
> tos orphan 6

次のコマンドを実行します。


svc_ntp -s
注: の値/etc/ntp.conftos orphan、Unity OEのアップグレード後に元の値に戻る場合があります。

メモ:時間差が大きすぎる場合は、変更を有効にするためにSP(ストレージ プロセッサー)の再起動が必要になる場合があります。

Affected Products

Dell EMC Unity
Article Properties
Article Number: 000205159
Article Type: Solution
Last Modified: 09 Jun 2023
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.