The time difference between the server and client is
I get about 2-3 times per hour the following error with different time values each time in the server.
"The time difference between the server and client is -59 Minutes 44 Seconds."
Do you have a suggestion?
Voted best answer
There seems to be obviously a problem in the time sync of your system
- Check if the time master is properly configured.
- In the service structure, Check if service providers of Time service are configured and they are in service state.
- In the "Time Difference" tab see if all 800xA nodes are appearing there and check the difference.
- Check window time service in clients is disabled.
- IF you have a domain controller, try to execute the below command to see if there are any issues.
If you still have issues, please share more details about your time sync layout. Like what is your server etc..
What is the clock sync setup?
In my expert workshops I sometimes talk about clock sync; and in the workshop material I have borrowed a picture from the Swedish Emergency/SOS organization (where you get connected when dialing the emergency number, 112 in Sweden) which gives a clue to how I believe time should propagate in a system.
Only one (1) way into any node, but multiple ways out is possible (you call 112, they call the others...)
I suspect the node reporting a deviation intermittently takes time from another source and you need to figure out from where and eliminate that.
Apart from AfwTime the second most common clock sync method is Win32Time so I suggest you check its configuration (in most cases it should be set to Disable to let AfwTime work in peace). In case you are running on a Windows Domain, the Domain Controller nodes need to run the same time as the 800xA System; how this can be accomplished is listed in the Automation Network Configuration user's guide, 3BSE034463-510.
Remember, AfwTime will report time deviation between AfwTime server and each client; a client off by one hour does not necessarily mean the time in the client is wrong... maybe the server get disturbed? If you only have two nodes (server + client) it can be hard to tell which is wrong. The AfwTime service in the service structure has a Time Differences tab with which you can monitor differences.
There might be multiple reasons behind the time difference between server and the clients. It needs step to step checking approach in order to find out the root cause of the problem.
1. The Time differenc between the Clock master and the Server: If they are in time sync, then you should concentrate on the clients otherwise check if AC800m Time adaptor is installed properly.
2. Status of afwtime service: It must be in 'Service' state and Windows time service must be disabled in the server so that it syns with Clock master. Also make it sure that the check box for 'Client allowed to set time' under 'special configuration' tab is unchecked.
3. Check if the windows time service in all the client nodes is running: It must be disabled in all the client nodes so that it can time sync with Server.
4. if the time synchronization is established through SNTP server, check the configuration. Also check if domain controller (if any) is also synchronized with time master.
I feel that if the investigation is done as per the above approach or steps, it will be easy to attack the root cause of the problem.