Usar Active Directory para sincronizar reloj del sistema (Ubuntu, SNTP)

Fecha publicación
#
11
Dificultad
Básico
3 more properties
Publicado
tags
i40sys, industry 4.0, industry40.systems, industrial, remote access, acceso remoto, plc, siemens, omron, vpn, vxlan, sntp, simple network time porotcol, ntp, network time protocol, time, ubuntu, linux, iot gateway, gateway, iot, internet of things

El servidor de domino de Microsoft, o sea, Active Directory casi siempre tiene el servicio de servidor de hora habilitado para sus clientes de dominio. Este servicio típicamente funciona con el protocolo SNTP (Simple Network Time Protocol).

Instalar rdate

Bash
apt install rdate

Comando para sincronizar la hora

Bash
rdate -n IP_AD_SERVER

Programación periódica del comando

Bash
crontab -e
añadimos
Plain Text
*/5 * * * * /usr/bin/rdate -n IP_AD_SERVER