forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
97 lines
17 KiB
HTML
97 lines
17 KiB
HTML
<a name="alm_12012"></a><a name="alm_12012"></a>
|
|
|
|
<h1 class="topictitle1">ALM-12012 NTP Service Is Abnormal</h1>
|
|
<div id="body8662426"><div class="section" id="alm_12012__en-us_topic_0191813955_section43607363172441"><h4 class="sectiontitle">Description</h4><p id="alm_12012__en-us_topic_0191813955_p417100321263">This alarm is generated when the NTP service on the current node fails to synchronize time with the NTP service on the active OMS node.</p>
|
|
<p id="alm_12012__en-us_topic_0191813955_p137490921263">This alarm is cleared when the NTP service on the current node synchronizes time properly with the NTP service on the active OMS node. </p>
|
|
</div>
|
|
<div class="section" id="alm_12012__en-us_topic_0191813955_section1266102017250"><h4 class="sectiontitle">Attribute</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="alm_12012__en-us_topic_0191813955_table602057071263" frame="border" border="1" rules="all"><thead align="left"><tr id="alm_12012__en-us_topic_0191813955_row102559131263"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="alm_12012__en-us_topic_0191813955_p343074211263"><strong id="alm_12012__b11165162918215">Alarm ID</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.2"><p id="alm_12012__en-us_topic_0191813955_p105814441263"><strong id="alm_12012__b12898112919213">Alarm Severity</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.3"><p id="alm_12012__en-us_topic_0191813955_p214780531263"><strong id="alm_12012__b1957643012110">Auto Clear</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="alm_12012__en-us_topic_0191813955_row551545991263"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="alm_12012__en-us_topic_0191813955_p646357441263">12012</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="alm_12012__en-us_topic_0191813955_p298423611263">Major</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="alm_12012__en-us_topic_0191813955_p433034491263">Yes</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="alm_12012__en-us_topic_0191813955_section3372054217259"><h4 class="sectiontitle">Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="alm_12012__en-us_topic_0191813955_table91987361263" frame="border" border="1" rules="all"><thead align="left"><tr id="alm_12012__en-us_topic_0191813955_row189395241263"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="alm_12012__en-us_topic_0191813955_p668658261263"><strong id="alm_12012__b0756134172119">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="alm_12012__en-us_topic_0191813955_p146874361263"><strong id="alm_12012__b14447113514218">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="alm_12012__en-us_topic_0191813955_row219579991263"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="alm_12012__en-us_topic_0191813955_p356185261263">ServiceName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="alm_12012__en-us_topic_0191813955_p549782411263">Specifies the service for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="alm_12012__en-us_topic_0191813955_row85896551263"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="alm_12012__en-us_topic_0191813955_p662404731263">RoleName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="alm_12012__en-us_topic_0191813955_p365850281263">Specifies the role for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="alm_12012__en-us_topic_0191813955_row647122371263"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="alm_12012__en-us_topic_0191813955_p89268291263">HostName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="alm_12012__en-us_topic_0191813955_p367579931263">Specifies the host for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="alm_12012__en-us_topic_0191813955_section43557444172517"><h4 class="sectiontitle">Impact on the System</h4><p id="alm_12012__en-us_topic_0191813955_p91477991263">The time on the node is inconsistent with that on other nodes in the cluster. Therefore, some MRS applications on the node may not run properly.</p>
|
|
</div>
|
|
<div class="section" id="alm_12012__en-us_topic_0191813955_section11916493172522"><h4 class="sectiontitle">Possible Causes</h4><ul id="alm_12012__en-us_topic_0191813955_ul2832586172543"><li id="alm_12012__en-us_topic_0191813955_li43463790172543">The NTP service on the current node cannot start properly.</li><li id="alm_12012__en-us_topic_0191813955_li20369422172543">The current node fails to synchronize time with the NTP service on the active OMS node.</li><li id="alm_12012__en-us_topic_0191813955_li1876453172543">The key value authenticated by the NTP service on the current node is inconsistent with that on the active OMS node.</li><li id="alm_12012__en-us_topic_0191813955_li5960069172543">The time offset between the node and the NTP service on the active OMS node is large.</li></ul>
|
|
</div>
|
|
<div class="section" id="alm_12012__en-us_topic_0191813955_section25927826172547"><h4 class="sectiontitle">Procedure</h4><ol id="alm_12012__en-us_topic_0191813955_ol10180699173024"><li id="alm_12012__en-us_topic_0191813955_li2899908173024"><span>Check the NTP service on the current node.</span><p><ol type="a" id="alm_12012__en-us_topic_0191813955_ol274184517350"><li id="alm_12012__en-us_topic_0191813955_li4724650417352">Check whether the ntpd process is running on the node using the following method. Log in to the node for which the alarm is generated and run the <strong id="alm_12012__b10779204372218">sudo su - root</strong> command to switch to user <strong id="alm_12012__b10784194311226">root</strong>. Then run the following command to check whether the command output contains the ntpd process: <p id="alm_12012__en-us_topic_0191813955_p562059217358"><strong id="alm_12012__en-us_topic_0191813955_b377097917358">ps -ef | grep ntpd | grep -v grep</strong></p>
|
|
<ul id="alm_12012__en-us_topic_0191813955_ul62697695174248"><li id="alm_12012__en-us_topic_0191813955_li48000202174248">If yes, go to <a href="#alm_12012__en-us_topic_0191813955_li64213271174322">2.a</a>.</li><li id="alm_12012__en-us_topic_0191813955_li54535754174248">If no, go to <a href="#alm_12012__en-us_topic_0191813955_li6445073917350">1.b</a>.</li></ul>
|
|
</li><li id="alm_12012__en-us_topic_0191813955_li6445073917350"><a name="alm_12012__en-us_topic_0191813955_li6445073917350"></a><a name="en-us_topic_0191813955_li6445073917350"></a>Run <strong id="alm_12012__b13400175122317">service ntp start</strong> to start the NTP service.</li><li id="alm_12012__en-us_topic_0191813955_li6129106917434">Wait 10 minutes and check whether the alarm is cleared.<ul id="alm_12012__en-us_topic_0191813955_ul61008790174319"><li id="alm_12012__en-us_topic_0191813955_li40884206174319">If yes, no further action is required.</li><li id="alm_12012__en-us_topic_0191813955_li7147913174319">If no, go to <a href="#alm_12012__en-us_topic_0191813955_li64213271174322">2.a</a>.</li></ul>
|
|
</li></ol>
|
|
</p></li><li id="alm_12012__en-us_topic_0191813955_li42639852173211"><span>Check whether the current node can synchronize time properly with the NTP service on the active OMS node.</span><p><ol type="a" id="alm_12012__en-us_topic_0191813955_ol32996130173539"><li id="alm_12012__en-us_topic_0191813955_li64213271174322"><a name="alm_12012__en-us_topic_0191813955_li64213271174322"></a><a name="en-us_topic_0191813955_li64213271174322"></a>Check whether the node can synchronize time with the NTP service on the active OMS node based on additional information of the alarm.<p id="alm_12012__en-us_topic_0191813955_p16514727174342"><a name="alm_12012__en-us_topic_0191813955_li64213271174322"></a><a name="en-us_topic_0191813955_li64213271174322"></a>If yes, go to <a href="#alm_12012__en-us_topic_0191813955_li14178567173544">2.b</a>.</p>
|
|
<p id="alm_12012__en-us_topic_0191813955_p12359558174322">If no, go to <a href="#alm_12012__en-us_topic_0191813955_li65673991173316">3</a>.</p>
|
|
</li><li id="alm_12012__en-us_topic_0191813955_li14178567173544"><a name="alm_12012__en-us_topic_0191813955_li14178567173544"></a><a name="en-us_topic_0191813955_li14178567173544"></a>Check whether the synchronization with the NTP service on the active OMS node is faulty.<p id="alm_12012__en-us_topic_0191813955_p373724721263"><a name="alm_12012__en-us_topic_0191813955_li14178567173544"></a><a name="en-us_topic_0191813955_li14178567173544"></a>Log in to the node for which the alarm is generated, run the <strong id="alm_12012__b6499582248">sudo su - root</strong> command to switch to user <strong id="alm_12012__b1450175814242">root</strong>, and run the <strong id="alm_12012__b5501758112416">ntpq -np</strong> command.</p>
|
|
<p id="alm_12012__en-us_topic_0191813955_p236564231263">If an asterisk (*) exists before the IP address of the NTP service on the active OMS node in the command output, the synchronization is in normal state. The command output is as follows:</p>
|
|
<pre class="screen" id="alm_12012__en-us_topic_0191813955_screen18199238173243">remote refid st t when poll reach delay offset jitter
|
|
==============================================================================
|
|
*10.10.10.162 .LOCL. 1 u 1 16 377 0.270 -1.562 0.014</pre>
|
|
<p id="alm_12012__en-us_topic_0191813955_p320592411263">If there is no asterisk (*) before the IP address of the NTP service on the active OMS node, as shown in the following command output, and the value of <strong id="alm_12012__b5792192216273">refid</strong> is <strong id="alm_12012__b18213172715277">.INIT.</strong>, the synchronization is abnormal.</p>
|
|
<pre class="screen" id="alm_12012__en-us_topic_0191813955_screen28292365173253">remote refid st t when poll reach delay offset jitter
|
|
==============================================================================
|
|
10.10.10.162 .INIT. 1 u 1 16 377 0.270 -1.562 0.014</pre>
|
|
<ul id="alm_12012__en-us_topic_0191813955_ul7248054174552"><li id="alm_12012__en-us_topic_0191813955_li3655359174552">If yes, go to <a href="#alm_12012__en-us_topic_0191813955_li25713785173557">2.c</a>.</li><li id="alm_12012__en-us_topic_0191813955_li24950064174552">If no, go to <a href="#alm_12012__en-us_topic_0191813955_li65673991173316">3</a>.</li></ul>
|
|
</li><li id="alm_12012__en-us_topic_0191813955_li25713785173557"><a name="alm_12012__en-us_topic_0191813955_li25713785173557"></a><a name="en-us_topic_0191813955_li25713785173557"></a>Rectify the fault, wait 10 minutes, and then check whether the alarm is cleared.<p id="alm_12012__en-us_topic_0191813955_p446375041263"><a name="alm_12012__en-us_topic_0191813955_li25713785173557"></a><a name="en-us_topic_0191813955_li25713785173557"></a>An NTP synchronization failure is usually related to the system firewall. If the firewall can be disabled, disable it and then check whether the fault is rectified. If the firewall cannot be disabled, check the firewall configuration policies and ensure that port <strong id="alm_12012__b498744613276">UDP 123</strong> is enabled (you need to follow specific firewall configuration policies of each system).</p>
|
|
<ul id="alm_12012__en-us_topic_0191813955_ul22224351174554"><li id="alm_12012__en-us_topic_0191813955_li31866206174554">If yes, no further action is required.</li><li id="alm_12012__en-us_topic_0191813955_li30069191174554">If no, go to <a href="#alm_12012__en-us_topic_0191813955_li65673991173316">3</a>.</li></ul>
|
|
</li></ol>
|
|
</p></li><li id="alm_12012__en-us_topic_0191813955_li65673991173316"><a name="alm_12012__en-us_topic_0191813955_li65673991173316"></a><a name="en-us_topic_0191813955_li65673991173316"></a><span>Check whether the key value authenticated by the NTP service on the current node is consistent with that on the active OMS node.</span><p><p id="alm_12012__en-us_topic_0191813955_p50674303174611">Run <strong id="alm_12012__b324324517287">cat</strong> <strong id="alm_12012__en-us_topic_0191813955_b1974604110278">/etc/ntp.keys</strong><strong id="alm_12012__en-us_topic_0191813955_b49728674144940">/etc/ntp/ntpkeys</strong> to check whether the authentication code whose key value index is 1 is the same as the value of the NTP service on the active OMS node.</p>
|
|
<ul id="alm_12012__en-us_topic_0191813955_ul46149519174627"><li id="alm_12012__en-us_topic_0191813955_li37356591174627">If yes, go to <a href="#alm_12012__en-us_topic_0191813955_li50308011174636">4.a</a>.</li><li id="alm_12012__en-us_topic_0191813955_li15025516174627">If no, go to <a href="#alm_12012__en-us_topic_0191813955_li572522141314">5</a>.</li></ul>
|
|
</p></li><li id="alm_12012__en-us_topic_0191813955_li1876727173325"><span>Check whether the time offset between the node and the NTP service on the active OMS node is large.</span><p><ol type="a" id="alm_12012__en-us_topic_0191813955_ol61917922173633"><li id="alm_12012__en-us_topic_0191813955_li50308011174636"><a name="alm_12012__en-us_topic_0191813955_li50308011174636"></a><a name="en-us_topic_0191813955_li50308011174636"></a>Check whether the time offset is large in additional information of the alarm.<ul id="alm_12012__en-us_topic_0191813955_ul37448919174719"><li id="alm_12012__en-us_topic_0191813955_li43176037142826">If yes, go to <a href="#alm_12012__en-us_topic_0191813955_li25272675173633">4.b</a>.</li><li id="alm_12012__en-us_topic_0191813955_li5897050142835">If no, go to <a href="#alm_12012__en-us_topic_0191813955_li572522141314">5</a>.</li></ul>
|
|
</li><li id="alm_12012__en-us_topic_0191813955_li25272675173633"><a name="alm_12012__en-us_topic_0191813955_li25272675173633"></a><a name="en-us_topic_0191813955_li25272675173633"></a>On the <strong id="alm_12012__b05153431292">Hosts</strong> page, select the host of the node, and choose <strong id="alm_12012__b95151643172913">More</strong> > <strong id="alm_12012__b165161243182916">Stop All Roles</strong> to stop all the services on the node.<p id="alm_12012__en-us_topic_0191813955_p47997279173638">If the time on the alarm node is later than that on the NTP service of the active OMS node, adjust the time of the alarm node. After adjusting the time, choose <strong id="alm_12012__b1162310473012">More</strong> > <strong id="alm_12012__b06298433014">Start All Roles</strong> to start the services on the node.</p>
|
|
<p id="alm_12012__en-us_topic_0191813955_p29322334173638">If the time on the alarm node is earlier than that on the NTP service of the active OMS node, wait until the time offset is due and adjust the time of the alarm node. After adjusting the time, choose <strong id="alm_12012__b1353317156306">More</strong> > <strong id="alm_12012__b65391215103015">Start All Roles</strong> to start the services on the node.</p>
|
|
<div class="note" id="alm_12012__en-us_topic_0191813955_note46158124173647"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="alm_12012__en-us_topic_0191813955_p9641306173913">If you do not wait, data loss may occur.</p>
|
|
</div></div>
|
|
</li><li id="alm_12012__en-us_topic_0191813955_li825400173920">Wait 10 minutes and check whether the alarm is cleared.<ul id="alm_12012__en-us_topic_0191813955_ul27315966142930"><li id="alm_12012__en-us_topic_0191813955_li32716087142930">If yes, no further action is required.</li><li id="alm_12012__en-us_topic_0191813955_li36106103142930">If no, go to <a href="#alm_12012__en-us_topic_0191813955_li572522141314">5</a>.</li></ul>
|
|
</li></ol>
|
|
</p></li><li id="alm_12012__en-us_topic_0191813955_li572522141314"><a name="alm_12012__en-us_topic_0191813955_li572522141314"></a><a name="en-us_topic_0191813955_li572522141314"></a><span>Collect fault information.</span><p><ol type="a" id="alm_12012__en-us_topic_0191813955_en-us_topic_0191813935_ol6089206913036"><li id="alm_12012__en-us_topic_0191813955_en-us_topic_0191813935_li4478836213036">On MRS Manager, choose <span class="menucascade" id="alm_12012__menucascade1281584515302"><b><span class="uicontrol" id="alm_12012__uicontrol208155451301">System</span></b> > <b><span class="uicontrol" id="alm_12012__uicontrol188151445143012">Export Log</span></b></span>.</li><li id="alm_12012__li18574327401">Contact technical support engineers for help. For details, see <a href="https://docs.otc.t-systems.com/en-us/public/learnmore.html" target="_blank" rel="noopener noreferrer">technical support</a>.</li></ol>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="alm_12012__en-us_topic_0191813955_section13081136172452"><h4 class="sectiontitle">Reference</h4><p id="alm_12012__en-us_topic_0191813955_p509006751263">None</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0241.html">Alarm Reference (Applicable to Versions Earlier Than MRS 3.x)</a></div>
|
|
</div>
|
|
</div>
|
|
|