Professional Documents
Culture Documents
Determining Whether An Avamar System Is Experiencing A Time Synchronization (NTP) Issue. - Dell US
Determining Whether An Avamar System Is Experiencing A Time Synchronization (NTP) Issue. - Dell US
Determining Whether An Avamar System Is Experiencing A Time Synchronization (NTP) Issue. - Dell US
Issue How to determine whether an Avamar system is experiencing a time synchronization (NTP) issue.
Time synchronization amongst all nodes is essential for the healthy operation of an Avamar system.
If nodes within an Avamar system are not time synchronized, we can expect the following types of behavior:
An Avamar system may experience problems with NTP time synchronization for various reasons but to begin diagnosing such an issue
we need to first of all recognize that it exists.
The scope of this KB article is to help the reader determine whether an Avamar system is experiencing a time synchronization
issue.
Resolving the time synchronization issue is beyond the scope of this article. There are many excellent websites which cover NTP
troubleshooting and the reader is encouraged to investigate them. Helpful web URLs available at the time of writing will be listed in
the 'external links' section.
Cause There may be one of several possible causes for time (NTP) related issues.
Problems with the time synchronisation (ntpd) server.
Problems with the time synchronisation client.
Network problems.
Note: This KB article was written with references to Avamar v5.x but the principles of time synchronization are applicable to all current
versions of Avamar.
Resolution Workaround:
1. Login to the Avamar server as admin per KB Link Error 95614.
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 the time is fully synchronized between all the nodes on this system.
3. To keep time synchronised on the nodes, Avamar makes use of NTP (Network Time Protocol). The Linux OS command "ntpq -
pn" can be used to assess the state of NTP / time synchronisation on an Avamar node. See APPENDIX B for sample output.
All nodes in the grid are set to prefer 128.xxx.xxx.xx as the primary time source.
The secondary time source for all nodes in the grid is the local BIOS clock on "avmtest1" (node 0.s).
The tertiary time source is set to be avmtest2 (node 0.0) which is itself referring to avmtest1.
All nodes are synchronising with avmtest1. The time server marked with an asterisk (*) is the one that the node is currently
synchronizing with.
In this case, 128.xxx.xxx.xx is located remote to the grid and has a 'reach' value of 0 (currently unreachable). It is useless as a
time source.
avmtest1 and avmtest2 both have a reachability register of octal 377. This is the highest figure attainable and therefore the nodes
are all synchronizing with the secondary source.
Note: The 'reach' field: A full discussion of reach-ability is beyond the scope of this article. However, the 'reach' value is essentially a
report on the status of the previous eight transactions between the NTP client and NTP server. A value of 377 means that the last eight
transactions were all successful. Please refer to the external references given below for more information on how to understand the
how 'reach' value works.
5. Specifically looking at the ntpq output for node 0.2 ;
==============================================================================
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
#
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'
The Avamar utility 'asktime' tool can be used to select new, preferred time sources for NTP. Please refer to KB Link Error 108926 -
How to Change 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.
Notes APPENDIX A:
Example of all nodes showing synchronized time.
Note: The '--parallel' flag executes the command on each node simultaneously. On a system where time is synchronized you will 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 normal and expected behavior.
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:
Example of ntpq output from an Avamar system (1 utility node and 3 data nodes):
Note: If adding an 'n' flag to the command below (ntpq -pn), name resolution will not be used. Output will be returned more quickly, and
IP addresses will be shown instead of hostnames, which may reduce human readability.
Attachments
Article Properties