Article Number: 000162236
If nodes within an Avamar system are not time synchronized, we can expect the following types of behavior:
Examples of error messages commonly reported as a result of loss of time synchronization:
This article helps the reader determine whether the Avamar system is experiencing a time synchronization issue. Resolving the issue is beyond the scope of this article.
There are many websites which cover NTP troubleshooting and the reader is encouraged to investigate them. Helpful web URLs available at the time of writing are listed in the 'external links' section.
To proceed:
1. Log in to the Avamar server as admin per KB Avamar: How to Log in to an Avamar Server and Load Various Keys..
2. To determine whether Avamar nodes are time synchronized, check the current time and date of each node on the Avamar system. See APPENDIX A for sample output.
mapall --all --parallel '/bin/date'
When all nodes report the same date and time this means that the time is fully synchronized between all the nodes on this system.
3. To keep time synchronized on the nodes, Avamar uses Network Time Protocol (NTP). The Linux command "ntpq -pn" returns the state of time synchronization. See APPENDIX B for sample output.
mapall --all --noerror '/usr/sbin/ntpq -p'
4. General Avamar Server Observations:
5. Looking at the ntpq output for node 0.2;
(0.2) ssh -x admin@10.64.18.164 '/usr/sbin/ntpq -p' remote refid st t when poll reach delay offset jitter ============================================================================== 128.xxx.xxx.xx .INIT. 16 u - 1024 0 0.000 0.000 4000.00 *avmtest1.emcvmw LOCAL(0) 9 u 54 256 377 0.085 -0.116 0.002 +avmtest2.emcvmw xx.xx.xx.xxx 10 u 56 256 377 0.090 0.073 0.012
NTP configuration (/etc/ntp.conf):
If reviewing the /etc/ntp.conf file on node 0.2 it corresponds to the ntpq output above.
#Customer premises / external time servers. # server xxx.xxx.xxx.xx <-- Primary time source (this is an external server located remote to the Avamar grid) # - - - - - # DPN time servers here and in the other module(s). # server xx.xx.xx.xxx <-- Secondary time source (this is the utility node) server xx.xx.xx.xxx <-- Tertiary time source (this is node 0.0)
Logging:
NTP logging is directed to the /var/log/messages file.
To view NTP-related logging, grep the contents of /var/log/messages* for 'ntp'
If an external time server is unreliable, as in the example given above, it is acceptable to use an internal time server. The internal time may drift slowly from UTC, but the most important consideration is that data nodes are time synchronized with one another.
The Avamar utility asktime tool can be used to select new, preferred time sources for NTP.
See Avamar: How to configure NTP on an Avamar Server using asktime
Additional Information:
http://support.microsoft.com/kb/939322 - Windows Domain controllers should not be used for good time keeping.
Note: The '--parallel' flag runs the command on each node simultaneously. On a system where time is synchronized you see an output similar to the following:
Note: The utility node (0.x) is set to the local time zone, in this example 'BST' whereas the data nodes are set to the 'UTC' time zone. This is expected behavior.
mapall --all --parallel 'date' Using /usr/local/avamar/var/probe.xml (0.s) ssh -x admin@xx.xx.xx.xxx 'date' (0.0) ssh -x admin@xx.xx.xx.xxx 'date' (0.1) ssh -x admin@xx.xx.xx.xxx 'date' (0.2) ssh -x admin@xx.xx.xx.xxx 'date' Mon Jun 20 12:01:12 BST 2011 Mon Jun 20 11:01:12 UTC 2011 Mon Jun 20 11:01:12 UTC 2011 Mon Jun 20 11:01:12 UTC 2011
APPENDIX B:
mapall --all --noerror '/usr/sbin/ntpq -p' (0.s) ssh -x admin@10.xx.xx.xxx '/usr/sbin/ntpq -p' remote refid st t when poll reach delay offset jitter ============================================================================== 128.xxx.xxx.xx .INIT. 16 u - 1024 0 0.000 0.000 4000.00 *LOCAL(0) LOCAL(0) 8 l 8 64 377 0.000 0.000 0.001 (0.0) ssh -x admin@10.xx.xx.xxx '/usr/sbin/ntpq -p' remote refid st t when poll reach delay offset jitter ============================================================================== 128.xxx.xxx.xx .INIT. 16 u - 1024 0 0.000 0.000 4000.00 *avmtest1.emcvmw LOCAL(0) 9 u 750 1024 377 0.126 -0.197 0.001 (0.1) ssh -x admin@10.xx.xx.xxx '/usr/sbin/ntpq -p' remote refid st t when poll reach delay offset jitter ============================================================================== 128.xxx.xxx.xx .INIT. 16 u - 1024 0 0.000 0.000 4000.00 *avmtest1.emcvmw LOCAL(0) 9 u 194 256 377 0.095 -0.139 0.004 +avmtest2.emcvmw xx.xx.xx.xxx 10 u 189 256 377 0.097 0.062 0.005 (0.2) ssh -x admin@10.xx.xx.xxx '/usr/sbin/ntpq -p' remote refid st t when poll reach delay offset jitter ============================================================================== 128.xxx.xxx.xx .INIT. 16 u - 1024 0 0.000 0.000 4000.00 *avmtest1.emcvmw LOCAL(0) 9 u 54 256 377 0.085 -0.116 0.002 +avmtest2.emcvmw xx.xx.xx.xxx 10 u 56 256 377 0.090 0.073 0.012
Avamar
Avamar
21 Aug 2023
3
How To