Forum Discussion

preslav_ilevski's avatar
Aug 18, 2017

NTP settings for HA cluster

Hello everyone,

I have two vcmp vm-s in cluster with ConfigSync and I configure one of them for NTP with a key. My settings are

1. From bash ->
    echo "1 M   MD5 key"
2. From tmsh -> 
    edit /sys ntp all-properties

and edit it to look like that:

modify ntp {
    description none
    include "server { IP1 IP2 } key 1 iburst trustedkey 1"
    restrict none
    servers replace-all-with { IP1 IP2 }
    timezone xxx

And when I check the connection(with ntpq -np) to NTP server all is ok. After that when I logged in into the second vm I see that some settings are synced, but the key is not. In spite of it when I check the ntp status with ntpq -np all is ok. I am wondering how, on the second vm without key, the ntp communication is ok. Just for clarification - vm-s are with 12.1.2.

Do you have any ideas?

Thanks in advance.

Regards