Servidores NTP
  • 1 minuto de leitura
  • Tema escuro
    Tema claro
  • Pdf

Servidores NTP

  • Tema escuro
    Tema claro
  • Pdf

Article Summary

Configure quais servidores NTP a instância deve consultar para manter o horário sincronizado, através do comando orbit ntp. Essa configuração será aplicada imediatamente.

A alteração de servidores NTP podem afetar o uso de tokens OTP.

mt4adm@vmdf-giskard:~$ sudo orbit ntp --help
Usage: orbit ntp

The Network Time Protocol (NTP) management tools

Flags:
      --help                       Show context-sensitive help.

  -s, --servers=SERVERS,...        NTP servers list
  -l, --listen-interface=STRING    NTP listen interface
      --force                      Force the command execution, never prompt
      --show

Para listar a configuração ativa, basta utilizar o argumento –show.

mt4adm@vmdf-giskard:~$ sudo orbit ntp --show
NTP Status
Servers

a.ntp.br
b.ntp.br
Listen interface eth0

remote       refid           st t when poll reach   delay   offset  jitter
==========================================================================
*a.ntp.br    200.160.7.186    2 u   34  128  377    5.196   -0.647   0.585
+b.ntp.br    200.160.7.186    2 u    2  128  377   47.750   -3.436   8.249
Tue 09 Jun 2020 04:49:55 PM -03

Para configurar novos servidores que irão substituir a configuração atual, utilize os demais argumentos conforme o exemplo.

mt4adm@vmdf-giskard:~$ sudo orbit ntp  
    --servers=a.ntp.br,b.ntp.br --listen-interface=eth0
Are you sure you want to proceed: y
Done!
No errors reported

Este artigo foi útil?