biolocal:Ntpservers
From Wiki CEINGE
(Difference between revisions)
Revision as of 16:01, 10 November 2009 (edit) Mauro (Talk | contribs) ← Previous diff |
Revision as of 16:02, 10 November 2009 (edit) (undo) Mauro (Talk | contribs) Next diff → |
||
Line 6: | Line 6: | ||
ntp1 and ntp2 are configured as follows, in the /etc/ntpd.conf file | ntp1 and ntp2 are configured as follows, in the /etc/ntpd.conf file | ||
- | + | # restriction to CEINGE DBBM network only | |
- | # restriction to CEINGE DBBM network only | + | restrict 143.225.151.0 mask 255.255.255.0 nomodify notrap |
- | 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 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.208.0 mask 255.255.255.0 nomodify notrap | + | restrict 143.225.149.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 | + | # servers used for clock sync |
- | server 0.it.pool.ntp.org | + | server 0.it.pool.ntp.org |
- | server 1.it.pool.ntp.org | + | server 1.it.pool.ntp.org |
- | server 2.it.pool.ntp.org | + | server 2.it.pool.ntp.org |
- | server 3.it.pool.ntp.org | + | server 3.it.pool.ntp.org |
- | server 0.centos.pool.ntp.org | + | server 0.centos.pool.ntp.org |
- | server 1.centos.pool.ntp.org | + | server 1.centos.pool.ntp.org |
- | server 2.centos.pool.ntp.org | + | server 2.centos.pool.ntp.org |
- | # restriction for limiting remote servers access | + | # restriction for limiting remote servers access |
- | restrict 0.centos.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery | + | 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 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 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 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 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 | + | restrict 2.it.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery |
- | + | ||
== NTP client configuration == | == NTP client configuration == | ||
In order to use them, in the client /etc/ntp.conf file, comment all other servers and add the lines: | 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 ntp1.ceinge.unina.it | + | server ntp2.ceinge.unina.it |
- | server ntp2.ceinge.unina.it | + | restrict ntp1.ceinge.unina.it mask 255.255.255.255 nomodify notrap noquery |
- | 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 |
- | restrict ntp2.ceinge.unina.it mask 255.255.255.255 nomodify notrap noquery | + | |
- | + | ||
== Cluster nodes ntp server == | == Cluster nodes ntp server == | ||
- | + | Cluster nodes ntp server is '''ntp.computing.ceinge.unina.it''' (=ceingeauth01). All cluster nodes points to it. |
Revision as of 16:02, 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
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). All cluster nodes points to it.