Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I auto make alpha system time to be the same as windows ?

 
likuair_1
Advisor

How can I auto make alpha system time to be the same as windows ?

I need to make the alpha system time to be the same as windows every day,I know that the Windows system has the function of synchronization with Internet ,does alpha system have this function?
13 REPLIES 13
Heinz W Genhart
Honored Contributor

Re: How can I auto make alpha system time to be the same as windows ?

hi likuair

You can configure NTP on OpenVMS. What Version of OpenVMS do you have?
Normaly you can configure NTP with @SYS$STARTUP:TCPIP$CONFIG. Select Client Components and then NTP. After doing this, you will find the NTP Configuration File TCPIP$NTP.CONF in SYS$SPECIFIC:[TCPIP$NTP] and there you can define Your NTP Servers

Hope that helps

Regards

Geni
Karl Rohwedder
Honored Contributor

Re: How can I auto make alpha system time to be the same as windows ?

Typically the NTP service is used to synchroniize the system with an external time provider. Read up the TCPIP manuals and setup using @SYS$MANAGER:TCPIP$CONFIG. Check your windows system for the address of your time servers.

regards Kalle
likuair_1
Advisor

Re: How can I auto make alpha system time to be the same as windows ?

Dear Heinz Genhart ,

I just checked the TCPIP$CONFIG,in the Client components,i did not found NTP server;is it because i did not install this ?
I found that in Server components there is NTP server ,and i tested that windows synchronized with alpha system ,but did not successful.
Heinz W Genhart
Honored Contributor

Re: How can I auto make alpha system time to be the same as windows ?

Hi Likuair

you are right, you find the NTP configuration part in TCPIP$CONFIG Server Components.

There you have to enable NTP and after this ypu can find a file called SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.TEMPLATE. You have to copy this file to TCPIP$NTP.CONF. In this configuration file (TCPIP$NTP.CONF) you have to specify your NTP Servers (you can find examples within this conf file).

After defining you NTP Servers you have to restart NTP.
(1. @SYS$STARTUP:TCPIP$NTP_SHUTDOWN,
2. @SYS$STARTUP:TCPIP$NTP_STARTUP)

NTP will start synchronizing within the next minutes (Be patient for 5-10 min). You can check this with:

$ NTPQ :== $SYS$SYSTEM:TCPIP$NTPQ
$ NTPQ
ntpq> ass
ind assID status conf reach auth condition last_event cnt
===========================================================
1 42188 9614 yes yes none sys.peer reachable 1
2 42189 9414 yes yes none candidat reachable 1
3 42190 9414 yes yes none candidat reachable 1
ntpq>
ntpq> readvar 42188 ! (42188 is the assID displayed by ntpq

Hope that helps

Regards

Geni
likuair_1
Advisor

Re: How can I auto make alpha system time to be the same as windows ?

Dear Heinz Genhart ,

I just test as what you said,and found some error.
My computer IP address is 192.168.100.62,and the alpha server IP is 192.168.100.201,i wanted the two to be synchronization.
I just modified the TCPIP$NTP.CONF :
peer 192.168.100.62
peer quickly
peer 192.168.100.20

server 192.168.100.62
server 192.168.100.20
server quickly

and restart the server,the result is :
ntpq> ass
ind assID status conf reach auth condition last_event cnt
===========================================================
1 9204 8000 yes yes none reject
2 9205 8000 yes yes none reject
3 9206 8000 yes yes none reject
4 9207 8000 yes yes none reject

what's wrong with me?