Find your PDC Emulator
[ps]Get-ADDomainController -Discover -Service PrimaryDC[/ps]
Transfer domain roles if needed
https://technet.microsoft.com/pt-pt/library/cc816944(v=ws.10).aspx
ntp Servers Pt
http://www.pool.ntp.org/zone/pt
pool.ntp.org
Set NTP
Using w32tm.exe
Run the following command on the PDC emulator:
[ps]w32tm /config /manualpeerlist:timeserver /syncfromflags:manual /reliable:yes /update[/ps]
(where timeserver is a –space delimited– list of your time source servers)
Once done, restart W32Time service.
[ps]net stop w32time[/ps]
[ps]net start w32time[/ps]
Run the following command on all other DCs (that are not PDC):
[ps]w32tm /config /syncfromflags:domhier /update[/ps]
Once done, restart W32Time service.
FIND DC’servers
[ps]PS nltest /dclist:mydomain.local[/ps]
Configurar o NTP no Linux
1- Vamos começar por instalar o ntp
[ps]yum install ntp[/ps]
2- Agora activamos o serviço
[ps]chkconfig ntpd on[/ps]
Indicação do servidor a usar para sincronizar o nosso relógio. Para esse vou usar um dos disponibilizados pelo Observatório Astronómico de Lisboa
[ps]ntpdate ntp02.oal.ul.pt[/ps]
Nota: O Observatório Astronómico de Lisboa disponibiliza 2 servidores para configuração dos relógios. Quem pretender usar os dois deve editar o ficheiro /etc/ntp.conf e incluir a seguinte informação:
[ps]server ntp02.oal.ul.pt[/ps]
[ps]server ntp04.oal.ul.pt[/ps]
3- Iniciar o serviço do ntpd
[ps]/etc/init.d/ntpd start [/ps]
Home