To Configure NTP server in Aria Automation cluster
Symptoms:
When we try to configure NTP we get the following error from CLI and also from the in the Aria Suite Lifecycle.
logs:
Failed to set NTP server(s) - <OUR NTP> to the host . Error stream: executing /usr/local/bin/vracli on
xxxxxx.xxxx.corp failed: b'command terminated with exit code 1\n' executing /usr/local/bin/vracli on
xxxxxx.xxxx.corp failed: b'command terminated with exit code 1\n' executing /usr/local/bin/vracli on
xxxxxx.xxxx.corp failed: b'command terminated with exit code 1\n'
The same error comes up if we try to run the 'vracli ntp systemd --set <<OUR NTP>'
command.
Aria Automation 8.x
This is a known issue where the NTP sync conf file has a stale entry causing NTP configuration failure
Impact/Risks:
Unable to configure an NTP source on a Aria Automation cluster
Workaround:
1. Login to the Primary Aria Automation node as root
2. Navigate to /etc/systemd/ntpsyncd.conf
3. Using vi editor remove all the stale entries from the ntpsyncd.conf
file :
4 .Save the file.
5. Try now to setup the new NTP source:
vracli ntp systemd --set "NTP_Server"
6. Repeat steps 1 -5 on all the nodes.