Hi I am using the Linux machine. I am configuring it for the session repication of the tomcat. My requirement is that both the machine must be synchronise with some standard time. May be with some internate time.If any one ans me how to synchronise both the machine?
thanks.
setup ntp http://www.debianadmin.com/ntp-server-and-client-configuration-in-debian.html
prefer ntpd over ntpdate since ntpdate is deprecated
Use an NTP server and ntpdate is an option:
ntpdate -u pool.ntp.org
Run this as a crontab every minute on both servers.EDIT: I'm not sure if this option is available on Debian. Apologies if not, let me know and I'll delete.