Hy,
I have a physical machine ( DNS ) whit a NTP server and i want connect my esx to this machine for set my clock and after enable Sync in my VM's WHIT VMWARE TOOLS.
I have enable ntp client whit this command;
esxcfg-firewall --enableService ntpClient
But i don't known for conf my esx.
Sorry for my english.
Remain waiting a your inadvertent replies.
By
Ok,
i have watch this doc, but i don't understand the 3 step;Edit the contents of the default /etc/ntp.conf, which the ESX Server installation creates for you, so the file looks like this:
restrict 127.0.0.1
restrict default kod nomodify notrap
server 0.vmware.pool.ntp.org
server 1.vmware.pool.ntp.org
server 2.vmware.pool.ntp.org
driftfile /var/lib/ntp/drift
In the file ntp.conf i insert the my machine master for the date?
es.
estrict 127.0.0.1
restrict default kod nomodify notrap
ip_machine server_name
o my pool ESX MACHINE?
and the file /etc/ntp/step-tickers
Thanks foryour help
Ivan
Ok,
i have watch this doc, but i don't understand the 3 step;Edit the contents of the default /etc/ntp.conf, which the ESX Server installation creates for you, so the file looks like this:
restrict 127.0.0.1
restrict default kod nomodify notrap
server 0.vmware.pool.ntp.org
server 1.vmware.pool.ntp.org
server 2.vmware.pool.ntp.org
driftfile /var/lib/ntp/drift
In the file ntp.conf i insert the my machine master for the date?
es.
estrict 127.0.0.1
restrict default kod nomodify notrap
ip_machine server_name
o my pool ESX MACHINE?
and the file /etc/ntp/step-tickers
Thanks foryour help
Ivan
Step 3 is wrong. These are the lines you need to edit:
restrict mytrustedtimeserverip mask 255.255.255.255 nomodify notrap noquery
server mytrustedtimeserverip
Replace both lines of the mytrustedtimeserverip with your internal time server ip address along with the subnet mask adddress then save the file
Then in the step-tickers file just put the ip address of the internal time server
Then follow the rest of the instructions
Then type service ntpd restart
Then type ntpq -p to check the status.
Michael
Perfect,
this is is ultimate question.
Now, whit command ntpq -p i have this message,
remote refid st t when poll reach delay offset jitter
==============================================================================
*Machine_time LOCAL(0) 13 u 37 64 17 2.731 -23.002 13.526
LOCAL(0) LOCAL(0) 10 l 52 64 17 0.000 0.000 0.008
The offset is the different time Server_time to server_client?
( Because first no * and now yes ? )
And if i want do test i want change the date and time ( manual ) the time resync in automatic?
And the date with command
date
date -u
hwclock
Whats the different?
Because i test the modify the file clock
Before:
ZONE="Europe/Rome"
UTC=true
ARC=false
Now
ZONE="Europe/Rome"
UTC=false
ARC=false
Is correct o is
indifferent?
Sorry for my stress
Thanks
Ivan