Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 07:52 PM
05-31-2006 07:52 PM
NTP
broadcastclient yes
server 0.uk.pool.ntp.org
server 1.uk.pool.ntp.org
server 2.uk.pool.ntp.org
This that correct?
The following output from ntpd -q
ash.oak-wood.co 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
nakor.amazing-i 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
skylar.fbagroup 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
Is that all that needs to be done?
The tail end of the /etc/ntp.conf file on one of my NTP clients reads: -
fudge 127.127.1.1 stratum 10
server
This that correct?
The following output from ntpd -q
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 08:03 PM
05-31-2006 08:03 PM
Re: NTP
a) Configuring a Client to Use Server Polling
A polling client has information about its server and contacts it for time information over a network. A typical /etc/ntp.conf file for a client that is using gama as its timeserver is as shown next.
# vi /etc/ntp.conf
server gama
driftfile /var/adm/ntp.drift
Multiple timeservers may be used in the configuration file. The default polling time for the timeserver is once every 64 seconds. At every poll time, drift in the local time and the server time is recorded. If the drift is high, the next polling time is scheduled to occur earlier. If the drift is low, the next polling time is later.
b )Configuring a Client to Use Server Broadcast
A broadcast client does not contact any server for time information but listens for broadcast time information from a broadcast timeserver. The configuration for the broadcast NTP client is like the following.
# vi /etc/ntp.conf
broadcastclient yes
driftfile /var/adm/ntp.drift
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 08:06 PM
05-31-2006 08:06 PM
Re: NTP
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=981174
-Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 09:48 PM
05-31-2006 09:48 PM
Re: NTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:18 PM
05-31-2006 10:18 PM
Re: NTP
There seems some discripency in the configuration:
a) Server Side:
/etc/ntp.conf file on the server should look like
broadcastclient yes
server 0.uk.pool.ntp.org
server 1.uk.pool.ntp.org
server 2.uk.pool.ntp.org
b) Client Side :
#vi /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=
export XNTPD=1
export XNTPD_ARGS=
NTP client configuration is also made in the /etc/ntp.conf file. An NTP client may be a polling client or a broadcast client. In the cases of a polling client, you provide the server name in the /etc/ntp.conf file.
/etc/ntp.conf file on the client should look like
a) Configuring a Client to Use Server Polling
# vi /etc/ntp.conf
server
driftfile /var/adm/ntp.drift
b)Configuring a Client to Use Server Broadcast
# vi /etc/ntp.conf
broadcastclient yes
driftfile /var/adm/ntp.drift
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 02:35 AM
06-01-2006 02:35 AM
Re: NTP
I have done exactly what you have suggested. However, when I /sbin/rc2.d/disabled/S660xntpd stop then /sbin/rc2.d/disabled/S660xntpd start. The following message apeers: -
1 Jun 15:31:03 ntpdate[22095]: no server suitable for synchronization found
Please advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 02:41 AM
06-01-2006 02:41 AM
Re: NTP
The message that no suitable server for synchronization exists often occurs when the difference in time between your time source(s) and your server exceeds 1000 seconds. In that case, to prevent insane time adjustments, NTP gives up.
Adjust your server's time, if this is the case, and stop and restart 'xntpd'.
I suggest that you configure NTP to set the server time to that of its time source(s) during bootup (by configuring the NTPDATE_SERVER variable in '/etc/rc.config.d/netdaemons') and thereafter let NTP run continuously.
Setting your local time forward isn't a problem. Setting time backwards can cause great problems with database recovery, transaction synchronization, logs and cron tasks. Should you need to step the time backwards, having configured the NTPDATE_SERVER variable means that the time the change is made during startup before the time-sensitive things (databases) are started.
Hence, if you need to move time backwards, I would arrange a point where you can simply reboot with the above configuration in place. If your local time is behind true time, you can simply step (with 'date mmddhhmm') the time to very near what is correct and thereafter let NTP synchronize your clock.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 05:11 AM
06-01-2006 05:11 AM
Re: NTP
As mentioned, you'll get no sync if your local time is way off (more than 10 minutes). As mentioned, you can 'jump' the time with ntpdate but you must make sure the jump will not affect your current applications. The simplest way is to manually set the date/time to something close and then start xntpd. Always check syslog -- no server means NTP is not working.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 12:45 PM
06-01-2006 12:45 PM