The timesync command interface, Add command, 1 add command – HP NonStop G-Series User Manual
Page 50
![background image](/manuals/397971/50/background.png)
HP NonStop Time Synchronization User’s Guide
Page 50 of 81
6. The TimeSync Command
Interface
The TimeSync product provides a command interpreter (CI) that can communicate with
the local version of TimeSync as well as remote versions of TimeSync.
The TimeSync CI (TimeCom) provides both command-line and interactive interfaces to
execute commands against the TimeSync server process. The commands supported by
TimeCom can: retrieve information about configuration settings in the TimeSync server;
alter configuration settings online without restarting the TimeSync server; and retrieve
status about time settings on any of the systems controlled by TimeSync. TimeCom loads
the local TimeSync configuration file (timesync.conf/TSCONF) at startup in order to
determine how to communicate with the TimeSync process.
When commands are specified on the command-line, the TimeCom CI will execute them
and then terminate. The only exception is when the SERVERCONF command is specified
and is the only or last command given. In that case the CI will execute commands through
the SERVERCONF command and then enter interactive mode using the new configuration
information.
When multiple commands are specified on the command line, each command must be
separated by a semi-colon.
All commands can be entered with or without a preceding dash, “-“.
6.1 ADD Command
The ADD command adds a new TimeSource to the TimeSync configuration. The
command can be issued as a command-line parameter or can be entered interactively at a
TimeCom prompt. The ADD command can only be issued against the local TimeSync
server.
ADD TimeSources {<IP address> | <host name>}[:<remote port number>], …