- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ntp server, how to?
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
04-02-2008 10:21 AM
04-02-2008 10:21 AM
I'm looking for a procedure to set up a ntp server. I don't care where the time is set, i just want all my boxes have the same timestamp.
Regards!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 10:49 AM
04-02-2008 10:49 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 11:53 AM
04-02-2008 11:53 AM
Re: ntp server, how to?
At client side.
root [/root] cat /etc/ntp.conf
#
#
# eXtended Network Time Protocol configuration file - ntp.conf
#
# Configuration file for all systems outside the stratum-3 peer group
#
# 11/30/95 Bj Miller Initial Coding (412)553-3126
#
#
# 05/12/2003 By Dan Copeland, Vijay Nallapati & Shankar Basa -- Change ticket #C0032030
# Replaced OLD stratum-2 servers (hpeas01, bkmstr01 and acapr01)
# The NTP peer group...
#
server server1.com version 3
server server2.com version 3
server server3.com version 3
#
# Allow server to sync to its own clock in case of network outage.
# Clock is configured as a stratum-9 clock
server 127.127.1.0
fudge 127.127.1.0 stratum 10 # show poor quality
driftfile /etc/ntp.drift
At server side(server1.com)
#cat /etc/ntp.conf
#
#
# eXtended Network Time Protocol configuration file - ntp.conf
#
# Configuration file for all systems outside the stratum-3 peer group
#
# 11/30/95 Bj Miller Initial Coding (412)553-3126
#
#
# The NTP peer group...
#
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
peer server2.com
peer server3.com
# Allow server to sync to its own clock in case of network outage.
# Clock is configured as a stratum-9 clock
server 127.127.1.1
fudge 127.127.1.1 stratum 5
#fudge 127.127.1.1 stratum 10 # show poor quality
driftfile /etc/ntp.drift
server 127.127.1.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 02:12 PM
04-02-2008 02:12 PM
Re: ntp server, how to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 02:13 PM
04-02-2008 02:13 PM
Re: ntp server, how to?
Try this:
On the server side:
# vi /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=
export XNTPD=1
export XNTPD_ARGS=
# vi /etc/ntp.conf
server 127.127.1.1
fudge 127.127.1.1 stratum 10
# /sbin/init.d/xntpd stop
# /sbin/init.d/xntpd start
Client side:
# vi /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=your_server_name
export XNTPD=1
export XNTPD_ARGS=
# vi /etc/ntp.conf
server your_server_name
driftfile /etc/ntp.drift
# /sbin/init.d/xntpd stop
# /sbin/init.d/xntpd start
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2008 02:16 PM
04-02-2008 02:16 PM