- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NTP "gateway"
Operating System - HP-UX
1752794
Members
5660
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО03-01-2004 04:21 AM
тАО03-01-2004 04:21 AM
I'd like to setup NTP so that one server on a subnet would synchronize itself to an external source, and then all other servers on that subnet would synchronize to my "gateway" server.
It is possible? Can the same machine be NTP server and client at the same time?
Thanks,
Vitek
It is possible? Can the same machine be NTP server and client at the same time?
Thanks,
Vitek
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2004 04:34 AM
тАО03-01-2004 04:34 AM
Solution
Absolutely. That is how I have my servers set up.
I have 2 NTP servers. They are set up like:
# cat /etc/ntp.conf
server tick.uh.edu # U of Houston
server ntp2.usno.navy.mil # US Naval Observatory
server ntp-cup.external.hp.com # HP
server time.twc.weather.com # The Weather Channel, Atlanta
server bonehed.lcs.mit.edu # MIT, Boston
peer timeserver2
driftfile /etc/ntp.drift
All the server lines are the time sources I sync to. The peer line is my other internal NTP box which also syncs to external time sources.
My ntp clients are set up like:
#cat /etc/ntp.conf
server timeserver1
server timeserver2
driftfile /etc/ntp.drift
I have 2 NTP servers. They are set up like:
# cat /etc/ntp.conf
server tick.uh.edu # U of Houston
server ntp2.usno.navy.mil # US Naval Observatory
server ntp-cup.external.hp.com # HP
server time.twc.weather.com # The Weather Channel, Atlanta
server bonehed.lcs.mit.edu # MIT, Boston
peer timeserver2
driftfile /etc/ntp.drift
All the server lines are the time sources I sync to. The peer line is my other internal NTP box which also syncs to external time sources.
My ntp clients are set up like:
#cat /etc/ntp.conf
server timeserver1
server timeserver2
driftfile /etc/ntp.drift
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2004 04:45 AM
тАО03-01-2004 04:45 AM
Re: NTP "gateway"
Internet facing server (ip address x.x.x.x)
-------------------------------------------
This will talk to the clock at Manchester University in the UK.
/etc/ntp.conf
server ntp2a.mcc.ac.uk
server ntp2b.mcc.ac.uk
server ntp2c.mcc.ac.uk
server ntp2d.mcc.ac.uk
Start xntpd at boot - edit /etc/rc.config.d/netdaemons and point it at Manchester University
export NTPDATE_SERVER="ntp2a.mcc.ac.uk"
export XNTPD=1
Internal server (ip address y.y.y.y)
------------------------------------
statsdir /var/tmp/ntp
driftfile /var/adm/ntp.drift # path for drift file
server x.x.x.x
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10 # fudge to be a lower level stratum
driftfile /etc/ntp.drift
Start xntpd at boot - edit /etc/rc.config.d/netdaemons
XNTPD=1
Client
------
/etc/ntp.conf
server y.y.y.y
/etc/rc.config.d/netdaemons
export NTPDATE_SERVER="y.y.y.y"
export XNTPD=1
HTH.
Regards,
Dave.
-------------------------------------------
This will talk to the clock at Manchester University in the UK.
/etc/ntp.conf
server ntp2a.mcc.ac.uk
server ntp2b.mcc.ac.uk
server ntp2c.mcc.ac.uk
server ntp2d.mcc.ac.uk
Start xntpd at boot - edit /etc/rc.config.d/netdaemons and point it at Manchester University
export NTPDATE_SERVER="ntp2a.mcc.ac.uk"
export XNTPD=1
Internal server (ip address y.y.y.y)
------------------------------------
statsdir /var/tmp/ntp
driftfile /var/adm/ntp.drift # path for drift file
server x.x.x.x
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10 # fudge to be a lower level stratum
driftfile /etc/ntp.drift
Start xntpd at boot - edit /etc/rc.config.d/netdaemons
XNTPD=1
Client
------
/etc/ntp.conf
server y.y.y.y
/etc/rc.config.d/netdaemons
export NTPDATE_SERVER="y.y.y.y"
export XNTPD=1
HTH.
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 05:36 AM
тАО03-02-2004 05:36 AM
Re: NTP "gateway"
Pay careful note to the redundancy in those example configs. It is a very good thing (assume it to be required whenever possible) to have more than one NTP server at the different strata.
To think of the strata, think of say a family tree. The top strata are the grand family patriarchs that have the best, finest old pocketwatches that keep the best time. "Time" is served down the heirarchy in a tree fashion to make it most scalable.
To think of the strata, think of say a family tree. The top strata are the grand family patriarchs that have the best, finest old pocketwatches that keep the best time. "Time" is served down the heirarchy in a tree fashion to make it most scalable.
there is no rest for the wicked yet the virtuous have no pillows
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP