TimeSynchronisation » History » Version 1

Anonymous, 09/14/2007 09:47 AM

1 1 Anonymous
= Time Synchronisation =
2 1 Anonymous
The system time on all nodes must be synchronized as 
3 1 Anonymous
 a) data is written/read on/from a common, shared file system or even expires after a certain period of time and must be deleted, and 
4 1 Anonymous
 b) system logs are maintained independently but entries must be able to be associated with each other.
5 1 Anonymous
6 1 Anonymous
 * Add your own time server to ''/etc/ntp/ntpservers'': 
7 1 Anonymous
   {{{   
8 1 Anonymous
   128.243.21.16 #marian.cs.nott.ac.uk
9 1 Anonymous
   128.243.21.17 #robin.cs.nott.ac.uk
10 1 Anonymous
   128.243.21.18 #tuck.cs.nott.ac.uk
11 1 Anonymous
   128.243.21.19 #pat.cs.nott.ac.uk
12 1 Anonymous
   }}}
13 1 Anonymous
14 1 Anonymous
 * Modify ''/etc/ntp.conf'' in order to permit systems on the subnet to synchronise with this time service:
15 1 Anonymous
   {{{
16 1 Anonymous
   # -- CLIENT NETWORK -------
17 1 Anonymous
   restrict 192.168.199.0 mask 255.255.255.0 nomodify notrap
18 1 Anonymous
   broadcastclient
19 1 Anonymous
   }}}
20 1 Anonymous
 
21 1 Anonymous
 * Modify ''/etc/ntp.conf'' and add further time servers:
22 1 Anonymous
   {{{
23 1 Anonymous
   # --- OUR TIMESERVERS -----
24 1 Anonymous
   server 128.243.21.16 #marian.cs.nott.ac.uk
25 1 Anonymous
   restrict 128.243.21.16 mask 255.255.255.255 nomodify notrap noquery
26 1 Anonymous
   server 128.243.21.17 #robin.cs.nott.ac.uk
27 1 Anonymous
   restrict 128.243.21.17 mask 255.255.255.255 nomodify notrap noquery
28 1 Anonymous
   server 128.243.21.18 #tuck.cs.nott.ac.uk
29 1 Anonymous
   restrict 128.243.21.18 mask 255.255.255.255 nomodify notrap noquery
30 1 Anonymous
   server 128.243.21.19 #pat.cs.nott.ac.uk
31 1 Anonymous
   restrict 128.243.21.19 mask 255.255.255.255 nomodify notrap noquery
32 1 Anonymous
   }}}
33 1 Anonymous
34 1 Anonymous
 * Make the NTP daemon start at bootup. Enter at the command line of the master node and each slave node:
35 1 Anonymous
   {{{
36 1 Anonymous
   /sbin/chkconfig  --add ntpd
37 1 Anonymous
   /sbin/chkconfig  ntpd  on
38 1 Anonymous
   }}}
39 1 Anonymous
40 1 Anonymous
 * Start the NTP daemon. Enter at the command line of the master node and each slave node:
41 1 Anonymous
   {{{
42 1 Anonymous
   /sbin/service ntpd start
43 1 Anonymous
   }}}