- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Setup NTP broadcast server/client
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-27-2007 09:25 PM
05-27-2007 09:25 PM
i would like to setup NTP braodcast server and client within my LAN.
First of all, all system do not have internet connection. I would like to setup 1 system as a refrece server to others system.
I read from online manual and i found that it can be done easily by setup NTP broadcasting. I follow the procedure as :
for Broadcasting server:
SAM -> Time -> NTP Broadcasting -> Action -> Add Broadcast Client Network ->
then i add the client address at the broadcast address field.
after that -> Start NTP
for Broadcasting client:
SAM -> Time -> NTP Broadcasting -> Action ->
Enable Receiving Time Broadcasts -> Start NTP
This is what i did in order to setup NTP in my system. I not sure whether the step is correct, but it dosent funtction. The time wont synchronize.
Besides, i read from online and i found it can be done 2nd way, which is client poll time from server. I follow this step, but it cant function as well.
for server:
Sam -> Time -> NTP Network Time Sources -> Action -> Configure NTP Local Clock -> Use System clock -> Start NTP
for Client:
Sam -> Time -> NTP Network Time Sources -> Action -> Add Remote Server or Peer -> key in Server address and choose "SERVER" as relationship -> Start NTP
This way cant work as well ! i do not sure where the problem come from. Please advice me on this.
THank you very much !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 09:29 PM
05-27-2007 09:29 PM
Re: Setup NTP broadcast server/client
All workstation and server are without internet connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 10:04 PM
05-27-2007 10:04 PM
Re: Setup NTP broadcast server/client
take a look at /var/adm/syslog/syslog.log
tail -f the file and try the setup again.
Note that many can routers block port 123 and this interferes (nice word for it) with ntp
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 10:17 PM
05-27-2007 10:17 PM
Re: Setup NTP broadcast server/client
thank for replying, but i not really good in UNIX. I read through the syslog.log and i cant figure out anything went wrong. Is it any others ways to SYNC the clock ??
Just now i read a topic :
https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1035339
according to that thread,
Then set up a cron job to execute '/usr/sbin/ntpdate
i try this, but it give me another error which is
28 May 17:47:38 ntpdate[20026]: no server suitable for synchronization found
what could be the possible root cause for that error ?? thank in advance !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 11:18 PM
05-27-2007 11:18 PM
Re: Setup NTP broadcast server/client
"/usr/sbin/ntpdate -d 10.192.200.7"
,i dont know how to analysis it, please help to have a look :
# /usr/sbin/ntpdate -d 10.192.200.5
28 May 19:14:00 ntpdate[20747]: ntpdate version 3.5f: Thu Oct 21 18:32:44 GMT 19
99 PHNE_19710
transmit(10.192.200.5)
transmit(10.192.200.5)
transmit(10.192.200.5)
transmit(10.192.200.5)
tr ansmit(10.192.200.5)
server 10.192.200.5, port 123
stratum 0, precision 0, leap 00, trust 000
refid [0.0.0.0], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 14:28:16.000
originate timestamp: 00000000.00000000 Thu, Feb 7 2036 14:28:16.000
transmit timestamp: ca0537fb.5489c000 Mon, May 28 2007 19:14:03.330
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000
28 May 19:14:04 ntpdate[20747]: no server suitable for synchronization found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 03:43 AM
05-28-2007 03:43 AM
Re: Setup NTP broadcast server/client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 03:30 PM
05-28-2007 03:30 PM
Re: Setup NTP broadcast server/client
# /usr/sbin/ntpdate -d 10.192.200.5
29 May 11:21:14 ntpdate[8656]: ntpdate version 3.5f: Thu Oct 21 18:32:44 GMT 199
9 PHNE_19710
transmit(10.192.200.5)
receive(10.192.200.5)
transmit(10.192.200.5)
receive(10.192.200.5)
transmit(10.192.200.5)
receive(10.192.200.5)
transmit(10.192.200.5)
receive(10.192.200.5)
transmit(10.192.200.5)
server 10.192.200.5, port 123
stratum 16, precision -18, leap 11, trust 000
refid [0.0.0.0], delay 0.02620, dispersion 0.00003
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 14:28:16.000
originate timestamp: ca061a0b.69437000 Tue, May 29 2007 11:18:35.411
transmit timestamp: ca061aab.15640000 Tue, May 29 2007 11:21:15.083
filter delay: 0.02641 0.02620 0.02654 0.02621
0.00000 0.00000 0.00000 0.00000
filter offset: -159.672 -159.672 -159.672 -159.672
0.000000 0.000000 0.000000 0.000000
delay 0.02620, dispersion 0.00003
offset -159.672779
29 May 11:21:15 ntpdate[8656]: no server suitable for synchronization found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 05:22 PM
05-28-2007 05:22 PM
Re: Setup NTP broadcast server/client
Do the following in your NTP Server:
Can you check /etc/ntp.conf & /etc/rc.config.d/netdaemons file.
Then
1. Start the daemon using the startup script
#/sbin/init.d/xntpd start
2. Verify whether the daemon process is running using the following command:
#ps â ef |grep ntp
3. Stopping the NTP daemon xntpd, To stop xntpd, issue the following command:
#/sbin/init.d/xntpd stop
4. Start the NTP daemon xntpd, To start xntpd, issue the following command:
#/sbin/init.d/xntpd start
5. Verifying the NTP Status
#/usr/sbin/ntpq -p
#/usr/sbin/ntpq -pn
Thanks
Khairul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 07:41 PM
05-28-2007 07:41 PM
SolutionThe ntpdate output in your first test suggests it does not respond like a real NTP server. Maybe it uses only SNTP?
SNTP is a stripped-down version of the NTP protocol, which is designed to allow embedded devices get a reasonably correct time from a real NTP server and distribute it among other embedded devices if necessary. SNTP is less precise than NTP.
With a complete NTP implementation, the server and client communicate with each other, measure the travel time of the messages and compensate for it as much as possible to get accurate real time.
With SNTP, this measurement and compensation process is omitted.
In your second test, the server indicates "stratum 16", which means the server is either a chain of 16 or more NTP hosts between you and a known-good clock (which is not too good), or the server is still in the start-up phase and isn't yet certain about the accuracy of its time.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 04:42 PM
05-30-2007 04:42 PM
Re: Setup NTP broadcast server/client
Thanks very much !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 05:01 PM
05-30-2007 05:01 PM
Re: Setup NTP broadcast server/client
The 10.192.200.5 is my local NTP server.