Synchronizing the Time of ADC and ADA
Function
Synchronizes the time of servers of the ADC and ADA, subject to the time of the server of ADC.
Syntax
adc --host <host_ip>:<port> --time
Options
Option |
Description |
Required or Not |
---|---|---|
--host |
|
Yes |
--time |
If both --host and --time are used, the time of the server of ADC is used, that is, the time on the server of ADA is synchronized to be that of the server of ADC. During the execution of adc, if --host is included, --time (optional) can be added. For example: adc --host <host_ip>:<port> --detect --time |
Yes |
Example
- Prepare the environment by referring to Environment Preparation.
- Log in to the server installed with Toolkit as the running user.
- Run the command to synchronize the time after the heartbeat is detected:
adc --host xx.xx.xx.xx:22118 --detect --time
Replace xx.xx.xx.xx with the actual IP address of the host.