Dell Unity: Impossibile eseguire la sincronizzazione con server NTP con valore stratum pari o superiore a 6

Summary: Gli array Unity non possono essere sincronizzati con i server NTP con un valore stratum pari o superiore a 6. Nessun errore viene visualizzato in Unisphere, ma l'orologio Unity non viene sincronizzato. ...

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

In questo esempio, il server NTP è raggiungibile, ma Unity non può sincronizzarsi con esso perché il valore stratum è impostato su 6. Questa condizione può essere determinata dall'output del svc_ntp -i comando; non è presente alcun simbolo "*" all'inizio della riga per il server 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

In /etc/ntp.confè presente la riga seguente che impedisce la sincronizzazione di ntpd con i server NTP con un valore stratum pari o superiore a 6.

tos orphan 6

Resolution

 
Sono disponibili due opzioni per risolvere il problema.
  1. Utilizzare i server NTP configurati con un valore stratum pari o inferiore a 5.  
Attendere circa 10 minuti, quindi eseguire il svc_ntp -s comando per verificare che ntpd sia in sincronizzazione con il server NTP. L'output deve avere un asterisco a sinistra della voce NTP e il valore stratum (st) deve essere pari o inferiore a 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. Contattare il supporto tecnico Dell o il fornitore di servizi con licenza per modificare il /etc/ntp.conf file e modificare il valore nella riga seguente per supportare valori stratum maggiori del valore predefinito 5, in quanto questo metodo richiede l'accesso root.
tos orphan 6

Il valore massimo supportato è 15.

Esempio:
# 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

Quindi, eseguire il seguente comando:


svc_ntp -s
Nota: Il tos orphan valore in /etc/ntp.conf può essere riportato al valore originale dopo un aggiornamento di Unity OE.

Nota: Se la differenza di orario è troppo grande, potrebbe essere necessario riavviare uno storage processor (SP) per rendere effettiva la modifica.

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.