This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HA asynch. time on slave machine

Hi,

problem. Huge time difference between the master and the slave, because the slave can't reach the NTP server. Only had a few appliances that where prone to this strange clock problem.

Solution (still testing, and not static so it gets removed if a takeover/reboot takes place)

1. master: define the HA network
2. master: insert a filter rule to allow NTP-ASYNC from the ha-network to the NTP server.
3. master: insert a masq rule for the ha-network to mask on external interface.
4. got to slave via ssh console, and get root privilege
5. add a route to your ntp-server via the masters ha ip-address

Now the hourly ntp cronjob can sync its time with the external ntp-server. Slave and Master now have the same time. 

Maybe this could be inserted into a smaller patch, because the HA will go nuts if the time difference is more than 6 hours between master and slave. 

UPDATE
!! only works for a short period, till the slave pulls the config from the master, then the routing table gets reseted !!

Chris


This thread was automatically locked due to age.