Quote:>We are in the process of bringing our source code under configuration
>management using CaseWare/CM. We have found that a time difference in the
>clocks on the configuration management machine and the host machine is
>preventing the [Build] function registering changes and recompiling the changed
>files. Is there a way to synchronize the clocks periodically on all the
>connected machines? (The machines in question are Sun and RS6000s)
People will recommend ntpd as a good solution. But here is a quick work
around while you explore other solutions.
On the Sun's, specify one machine to be the 'datehost' in the hosts
file (NIS or whatever). This is most likely the server where the
configuration management files reside. On the other machines, add cron
entries for root to do an 'rdate datehost' on a periodic basic. Once
per day at 6am ought to be enough, as long as the time does not drift
too badly. This allows the time to be close during normal working
hours.
I do not know if the IBM machines have 'rdate', so if they don't, the
next best thing there is to do a simple script that invokes 'date' on
'datehost' and then parses the values into the correct format and
invokes the AIX command to set the date and time locally. Then add this
script to be run by cron (or whatever is the equiv for AIX) for root.
By the way, you do not have to define 'datehost' - you could simply use
the name of the configuration management server.
Second point to note is, that for this type of software, it is not the
absolute time that matters, merely that the time be the same on all
accessing hosts. But if you want to be precisely accurate too, then you
can have the 'datehost' machine dial into the NBS service that provides
this capability and set the time (just before all the workstations are
due to do the 'rdate' via cron).
Quote:>It has been suggested that we look into timed or ntpd but I don't know what
>they are let alone applicability to our problem.
--
-------------------------------------------------------------------------
| Syed Zaeem Hosain P. O. Box 610097 (408) 441-7021 |
-------------------------------------------------------------------------