biolocal:Ntpservers

From Wiki CEINGE

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:39, 10 November 2009 (edit)
Mauro (Talk | contribs)
(Cluster nodes ntp server)
← Previous diff
Revision as of 16:41, 10 November 2009 (edit) (undo)
Mauro (Talk | contribs)
(Cluster nodes ntp server)
Next diff →
Line 40: Line 40:
== Cluster nodes ntp server == == Cluster nodes ntp server ==
Cluster nodes ntp server is '''ntp.computing.ceinge.unina.it''' (=ceingeauth01). Cluster nodes ntp server is '''ntp.computing.ceinge.unina.it''' (=ceingeauth01).
-Differently from other servers, they are synchronized by script launched by cron hourly, which is located in /etc/cron.hourly/ntpdate.cron. It is:+Differently from other servers, nodes are synchronized by ntpdate launched by cron hourly through a script (/etc/cron.hourly/ntpdate.cron):
#!/bin/sh #!/bin/sh
/usr/sbin/ntpdate -s -b -p 8 -u ntp.computing.ceinge.unina.it /usr/sbin/ntpdate -s -b -p 8 -u ntp.computing.ceinge.unina.it

Revision as of 16:41, 10 November 2009

Ceinge NTP servers

Ceinge NTP servers are:

  • ntp1.ceinge.unina.it (=ceingeauth01)
  • ntp2.ceinge.unina.it (=ceingeauth02).
  • ntp.ceinge.unina.it (=pc-network): OLD, will be dismissed
  • ntp.computing.ceinge.unina.it (=bpe): OLD, it has been dismissed

ntp1 and ntp2 are configured as follows, in the /etc/ntpd.conf file

# restriction to CEINGE DBBM network only
restrict 143.225.151.0 mask 255.255.255.0 nomodify notrap
restrict 192.168.0.0 mask 255.255.0.0 nomodify notrap
restrict 143.225.208.0 mask 255.255.255.0 nomodify notrap
restrict 143.225.149.0 mask 255.255.255.0 nomodify notrap
# servers used for clock sync
server 0.it.pool.ntp.org
server 1.it.pool.ntp.org
server 2.it.pool.ntp.org
server 3.it.pool.ntp.org
server 0.centos.pool.ntp.org
server 1.centos.pool.ntp.org
server 2.centos.pool.ntp.org
# restriction for limiting remote servers access
restrict 0.centos.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 1.centos.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 2.centos.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 0.it.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 1.it.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 2.it.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery

NTP client configuration

In order to use them, in the client /etc/ntp.conf file, comment all other servers and add the lines:

server ntp1.ceinge.unina.it
server ntp2.ceinge.unina.it
restrict ntp1.ceinge.unina.it mask 255.255.255.255 nomodify notrap noquery
restrict ntp2.ceinge.unina.it mask 255.255.255.255 nomodify notrap noquery

Cluster nodes ntp server

Cluster nodes ntp server is ntp.computing.ceinge.unina.it (=ceingeauth01). Differently from other servers, nodes are synchronized by ntpdate launched by cron hourly through a script (/etc/cron.hourly/ntpdate.cron):

#!/bin/sh

/usr/sbin/ntpdate -s -b -p 8 -u ntp.computing.ceinge.unina.it
Personal tools