Operating System - HP-UX
1833445 Members
2949 Online
110052 Solutions
New Discussion

primary clock to ntp server

 
omy
Frequent Advisor

primary clock to ntp server

hi my dear friends

we have hp-unix 10.22 run on ntp server this server has
its primary clock from gps connected to the serial port of the server
so the following configuration at its /etc/ntp.conf
server 127.127.26.1 #gps clock
server 127.127.1.1 #local clock

we want to take the primary clock from csu/dsu
(acculink model 3172 )instead of gps
could you tell me the changes should be done with the /etc/ntp.conf?
and any other configuration related to ntp server?
thanks for help
omyma
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: primary clock to ntp server

NTP is designed for a network clock.

If you are attaching a clock directly then my first thought would be to disable ntp because it will override the clock input from the local source.

I'd probably look at this file:

/etc/rc.config.d/netdaemons contains
export NTPDATE_SERVER=
export XNTPD=1
export XNTPD_ARGS=

and change XNTPD=0

Its been a long time since I used a non-ntp clock and it had a utility that had to be run to update the time on the server.

I used this thread for info and it may be more useful to you than me.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=59218

Why I got points in that thread is anybody's guess.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TwoProc
Honored Contributor

Re: primary clock to ntp server

Wouldn't the csu/dsu still present you with an IP address of where the time can be found in from an ntp compliant server? If so, just change the IP address in the ntp.conf file to that of the csu/dsu or its dedicated time server address. I would expect that your csu/dsu is being used to bridge you over to another network, and that it's still all IP based - which means that as far as your HP server is concerned, it's just a network device.
We are the people our parents warned us about --Jimmy Buffett
D Block 2
Respected Contributor

Re: primary clock to ntp server

omyma,

can you get to a public one ? here's reference is you need to try:

http://ntp.isc.org/bin/view/Servers/WebHome

are you using: ntpdate command on the other servers, just wondering. I have a few servers running ntpdate from the cron, which hits our main server. the main server has the proper time by running the xntpd daemon.

Golf is a Good Walk Spoiled, Mark Twain.
omy
Frequent Advisor

Re: primary clock to ntp server

hi every body,
i need to use clock of E1 connected to our
csu/dsu(acculink model 3172 ),so i ask about the address of this csu to write it in /etc/ntp.conf ,or any web site includes this information
as far as i know every device (gps or csu/dsu) has a specific address so i ask about this special list of addresses

note : all our network do not access internet ,lan and wan parts are closed no connection through internet.

omy
Frequent Advisor

Re: primary clock to ntp server

hi every one ,

the situation now is the master clock is "cesium beam frequency standered Model 3000" is manufactured by Ericcson company

this clock come to us through E1 and we need to synch our hp servers using this clock by attatch the serial port of server to E1.

any one know the pseudo ip address of this kind of clock , if it has no Number is there another method to configure it as stratum 0 in /etc/ntp.conf ?
waiting your reply
omyma
D Block 2
Respected Contributor

Re: primary clock to ntp server

try using 2 tools to begin:

# ntptrace -v YOUR-Stratum-Name

# nslookup YOUR-Stratum-Name

# man ntpq

# USE ntpq TO INTERACTIVE MODE and DEBUG

# ntpq
ntpq> help
Commands available:
addvars associations authenticate cl clearvars
clocklist clockvar cooked cv debug
delay exit help host hostnames
keyid keytype lassociations lopeers lpassociations
lpeers mreadlist mreadvar mrl mrv
ntpversion opeers passociations passwd peers
poll pstatus quit raw readlist
readvar rl rmvars rv showvars
timeout version writelist writevar
ntpq>
Golf is a Good Walk Spoiled, Mark Twain.
omy
Frequent Advisor

Re: primary clock to ntp server

hi every body
as a result of all trials are failed so
now i make a simulation for this external clock on lab

i connect an external clock source(square wave from function generator)to the serial port of hp server

now i want to configure hp server to synch form this clock ?
please tell me what is the device files should i create ?
and the configuration of /etc/ntp.conf
is that method will work or not?
omyma
Bill Thorsteinson
Honored Contributor

Re: primary clock to ntp server

Documentation on local clock drivers is at:
http://www.eecis.udel.edu/~mills/ntp/html/refclock.html
I don't see the Aculink model listed.

Clock driver will be at 127.127.n.1 where n
is the driver id from the list on the site above.
omy
Frequent Advisor

Re: primary clock to ntp server

hi every one
our NTP server has hp-unix version 10.2 .
shall i use pps driver with following data

Address: 127.127.22.u
Reference ID: PPS
Driver ID: PPS
Serial or Parallel Port: /dev/ppsu
Requires: PPSAPI interface

and i want to know , does hp unix version 10.2 support PPSAPI interface or not ?
if not what can i do to use this driver?

omyma