OpenVMS
1748076 會員
5434 線上
108758 解決方案
發表新文章

How to correct time automatically?

 
watermelonyu
教授

How to correct time automatically?

Hi,



To set the time and date in OpenVMS, use the SET TIME command.

UCX>SET TIME=01-FAB-2007:08:30:00

How to correct time automatically?
3則回覆 3
watermelonyu
教授

How to correct time automatically?

There is no set time command under UCX>.



>>How to correct time automatically?

Do you mean sync. time to, like ntp, time server?
watermelonyu
教授

How to correct time automatically?

I want to keep my system clocks synchronized.How to correct other system clocks from one of my workstation automatically?
watermelonyu
教授

How to correct time automatically?

If all the systems/workstations are VMS based you can use NTP or DTSS(in decnet-plus).



If all the system/workstations are within a single VMS Cluster, you can use

$ mc sysman

SYSMAN> set e/c

SYSMAN> CONFIGURATION SET TIME



If the system/workstations contain unix, Windows, you should use NTP.



>>from one of my workstation automatically?

If the workstation that as the NTP time source is Windows based, then

1. w32time of Windows cannot be used aa NTP time server but is ok as a NTP client!

2. To configure Windows as NTP server, you need to install a NTP kit on Windows

(see http://www.eecis.udel.edu/~mills/ntp/html/build/hints/winnt.html),



There are examples in UCX 4.2 and TCPIP 5.X management guide for NTP configurations.



And you had better use the NTP of VMS/TCPIP 5.X (which is a port of xntpd from unix).

UCX 4.x NTP is buggy!