Why does my CollabNet SourceForge Enterprise site show a different time than the host machine it is running on?

In some cases it is possible for the clock in the CollabNet SourceForge Enterprise VMware image to drift from that of the host machine. If you notice this issue, you can set the CollabNet SourceForge Enterprise VMware image to synchronize time with an external NTP server.

A script is provided to enable you to configure time synchronization easily. The configure-ntp.sh script sets up a manual periodic time sync once per hour between the VMware image and the NTP server.

Important: Before running this script, your virtual machine must be able to access an external NTP server. If your virtual machine is running inside a firewall, and is unable to access an external public NTP server, you may need to talk to your system administrator to find an accessible NTP server within your network.

While logged into the virtual machine, run /root/configure-ntp.sh <ntp server>.

If you do not enter an NTP server, the script will try to use pool.ntp.org, a publicly available time service, by default.

Note: VMware advises against setting up the VMware image to use NTP directly because it can interfere with VMware's own built-in time syncing mechanism.

For detailed information about timekeeping in VMware, see http://www.vmware.com/pdf/vmware_timekeeping.pdf