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>
94 lines
13 KiB
HTML
94 lines
13 KiB
HTML
<a name="ALM-12042"></a><a name="ALM-12042"></a>
|
|
|
|
<h1 class="topictitle1">ALM-12042 Incorrect Configuration of Key Files</h1>
|
|
<div id="body906005"><div class="section" id="ALM-12042__sc3cca1c900634e64b9bcb9236c56da57"><h4 class="sectiontitle">Description</h4><p id="ALM-12042__en-us_topic_0070543617_p6246726">The system checks whether critical configurations are correct every 5 minutes. This alarm is generated when the configurations are abnormal.</p>
|
|
<p id="ALM-12042__en-us_topic_0070543617_p56220539">This alarm is cleared when the configurations become normal.</p>
|
|
</div>
|
|
<div class="section" id="ALM-12042__sa04974fe3bf94125b8210b81160d194e"><h4 class="sectiontitle">Attribute</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-12042__en-us_topic_0070543617_table57569777" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-12042__en-us_topic_0070543617_row9019511"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="ALM-12042__en-us_topic_0070543617_p59491808">Alarm ID</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.2"><p id="ALM-12042__en-us_topic_0070543617_p54107113">Alarm Severity</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.3"><p id="ALM-12042__en-us_topic_0070543617_p20599994">Auto Clear</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-12042__en-us_topic_0070543617_row57986812"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="ALM-12042__en-us_topic_0070543617_p66420182">12042</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="ALM-12042__en-us_topic_0070543617_p11325681">Major</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="ALM-12042__en-us_topic_0070543617_p44964981">Yes</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-12042__s7d7aa6df80b94fc798bdb00904628c42"><h4 class="sectiontitle">Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-12042__en-us_topic_0070543617_table18284808" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-12042__en-us_topic_0070543617_row52279956"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="ALM-12042__en-us_topic_0070543617_p6818037">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="ALM-12042__en-us_topic_0070543617_p15390090">Meaning</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-12042__row0134145115516"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12042__p192431315431">Source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12042__p692551319435">Specifies the cluster or system for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-12042__en-us_topic_0070543617_row38637755"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12042__en-us_topic_0070543617_p42650482">ServiceName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12042__en-us_topic_0070543617_p32136980">Specifies the service name for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-12042__en-us_topic_0070543617_row20797370"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12042__en-us_topic_0070543617_p6865386">RoleName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12042__en-us_topic_0070543617_p19225403">Specifies the role name for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-12042__en-us_topic_0070543617_row38810903"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12042__en-us_topic_0070543617_p56675452">HostName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12042__en-us_topic_0070543617_p27308885">Specifies the object (host ID) for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-12042__en-us_topic_0070543617_row44453377"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12042__en-us_topic_0070543617_p43953764">PathName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12042__en-us_topic_0070543617_p3485103">Specifies the path or name of the abnormal file.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-12042__scc749176d57847ee9dbe5ce2057bf3bd"><h4 class="sectiontitle">Impact on the System</h4><p id="ALM-12042__en-us_topic_0070543617_p13857931">Functions related to the file are abnormal.</p>
|
|
</div>
|
|
<div class="section" id="ALM-12042__s0ed39bd436594cd2af2414af2dd189c3"><h4 class="sectiontitle">Possible Causes</h4><p id="ALM-12042__en-us_topic_0070543617_p48750623">The file configuration is modified manually or the system is powered off unexpectedly.</p>
|
|
</div>
|
|
<div class="section" id="ALM-12042__sa72cb081ce9546069c49fa0a37a80746"><h4 class="sectiontitle">Procedure</h4><p class="tableheading" id="ALM-12042__en-us_topic_0070543617_p56486420"><strong id="ALM-12042__b364765131137">Check abnormal file configuration.</strong></p>
|
|
<ol id="ALM-12042__ol5061051711317"><li id="ALM-12042__li181336611310"><span>On the FusionInsight Manager portal, choose <strong id="ALM-12042__b5239726811310">O&M > Alarm<strong id="ALM-12042__b27872374104950"> > Alarms</strong></strong>.</span></li><li id="ALM-12042__li4687569511310"><span>Check the value of <strong id="ALM-12042__b1632029711310">HostName</strong> to obtain the host name involved in this alarm. Check the value of <strong id="ALM-12042__b1266495111310">PathName</strong> to obtain the path or name of the abnormal file.</span></li><li id="ALM-12042__li3883495711310"><span>Log in to the node for which the alarm is generated as user <strong id="ALM-12042__b1922807611310">root</strong>. <span id="ALM-12042__text43649449460"></span></span></li><li id="ALM-12042__li5862385211310"><span>View the $BIGDATA_LOG_HOME/nodeagent/scriptlog/checkfileconfig.log file and analyze the cause based on the error log. Locate the check standards of the file in the <a href="#ALM-12042__en-us_topic_0070543617_cab">Related Information</a> and manually check and modify the file based on the standards.</span><p><p id="ALM-12042__p181921481219">Run the <strong id="ALM-12042__b18909133892210">vi </strong><em id="ALM-12042__i14910133813227">file name</em> command to enter the editing mode, and then press <strong id="ALM-12042__b25755449228">Insert</strong> to start editing.</p>
|
|
<p id="ALM-12042__p16192108152119">After the modification is complete, press <strong id="ALM-12042__b976905012226">Esc</strong> to exit the editing mode and enter<strong id="ALM-12042__b161181354142215"> :wq</strong> to save the settings and exit.</p>
|
|
<p id="ALM-12042__p830792372214">For example:</p>
|
|
<p id="ALM-12042__p1819218813219"><strong id="ALM-12042__b0943142682220">vi /etc/ssh/sshd_config</strong></p>
|
|
</p></li><li id="ALM-12042__li3021967611310"><span>Wait a hour and check whether the alarm is cleared.</span><p><ul class="subitemlist" id="ALM-12042__ul3019924411310"><li id="ALM-12042__li5785262811310">If yes, no further action is required.</li><li id="ALM-12042__li5555125411310">If no, go to <a href="#ALM-12042__li1843685711310">6</a>.</li></ul>
|
|
</p></li></ol>
|
|
<p class="tableheading" id="ALM-12042__p335774111310"><strong id="ALM-12042__b2285498211323">Collect fault information.</strong></p>
|
|
<ol start="6" id="ALM-12042__ol3443027411326"><li id="ALM-12042__li1843685711310"><a name="ALM-12042__li1843685711310"></a><a name="li1843685711310"></a><span>On the FusionInsight Manager portal, choose <strong id="ALM-12042__b354163311310">O&M</strong> > <strong id="ALM-12042__b3187470111310">Log > Download</strong>.</span></li><li id="ALM-12042__li3405016711310"><span>Select <strong id="ALM-12042__b3171399011310">NodeAgent</strong> from the <strong id="ALM-12042__b1699046211310">Service</strong> and click <strong id="ALM-12042__b3991118545">OK</strong>.</span></li><li id="ALM-12042__li1145664103113"><span>Click <span><img id="ALM-12042__image1945644173117" src="en-us_image_0269383857.png"></span> in the upper right corner, and set <strong id="ALM-12042__b6456941173117">Start Date</strong> and <strong id="ALM-12042__b11456154113318">End Date</strong> for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click <strong id="ALM-12042__b13456164113319">Download</strong>.</span></li><li id="ALM-12042__li495644512588"><span>Contact the <span id="ALM-12042__text4614151421417">O&M personnel</span> and send the collected log information.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="ALM-12042__section1529716184534"><h4 class="sectiontitle">Alarm Clearing</h4><p id="ALM-12042__p4677152685316">After the fault is rectified, the system automatically clears this alarm.</p>
|
|
</div>
|
|
<div class="section" id="ALM-12042__en-us_topic_0070543617_cab"><a name="ALM-12042__en-us_topic_0070543617_cab"></a><a name="en-us_topic_0070543617_cab"></a><h4 class="sectiontitle">Related Information</h4><ul id="ALM-12042__en-us_topic_0070543617_ul41538621"><li id="ALM-12042__en-us_topic_0070543617_li38303271"><strong id="ALM-12042__en-us_topic_0070543617_b9185121">Check standards of /etc/fstab</strong><p id="ALM-12042__en-us_topic_0070543617_p15557228">Check whether the partitions configured in the <strong id="ALM-12042__en-us_topic_0070543617_b5797330">/etc/fstab</strong> file can be found in <strong id="ALM-12042__en-us_topic_0070543617_b52175970">/proc/mounts</strong>.</p>
|
|
<p id="ALM-12042__p7844577162652">Check whether the swap partitions configured in fstab correspond to those in /proc/swaps.</p>
|
|
</li><li id="ALM-12042__en-us_topic_0070543617_li52665528"><strong id="ALM-12042__en-us_topic_0070543617_b4227711">Check the /etc/hosts configuration file.</strong><p id="ALM-12042__en-us_topic_0070543617_p38049407">Run <strong id="ALM-12042__en-us_topic_0070543617_b6900343">cat /ect/hosts</strong>. If any of the following situations occurs, the <strong id="ALM-12042__en-us_topic_0070543617_b62103089">/etc/hosts</strong> configuration file is abnormal:</p>
|
|
<ol id="ALM-12042__en-us_topic_0070543617_ol22056895"><li id="ALM-12042__en-us_topic_0070543617_li64294328">The <strong id="ALM-12042__en-us_topic_0070543617_b41778047">/etc/hosts</strong> file does not exist.</li><li id="ALM-12042__en-us_topic_0070543617_li40458108">The host name is not configured in the file.</li><li id="ALM-12042__en-us_topic_0070543617_li28578656">The host name maps to multiple IP addresses in the file.</li><li id="ALM-12042__en-us_topic_0070543617_li55881316">The IP address corresponding to the host name does not exist in the command output of the <strong id="ALM-12042__b482923119409">ifconfig </strong>command.</li><li id="ALM-12042__en-us_topic_0070543617_li33169801">One IP address maps to multiple host names in the file.</li></ol>
|
|
</li><li id="ALM-12042__en-us_topic_0070543617_li30092761"><strong id="ALM-12042__en-us_topic_0070543617_b2399395">Check standards of /etc/ssh/sshd_config</strong><p id="ALM-12042__en-us_topic_0070543617_p21594562">Run the <strong id="ALM-12042__en-us_topic_0070543617_b60133334">vi /etc/ssh/sshd_config</strong> command to check whether configuration items are configured as follows:</p>
|
|
<ol id="ALM-12042__en-us_topic_0070543617_ol4329096"><li id="ALM-12042__en-us_topic_0070543617_li38961865">The value of <strong id="ALM-12042__en-us_topic_0070543617_b15112466">UseDNS</strong> must be set to <strong id="ALM-12042__en-us_topic_0070543617_b1794468">no</strong>.</li><li id="ALM-12042__en-us_topic_0070543617_li16150216">The value of <strong id="ALM-12042__en-us_topic_0070543617_b11134224">MaxStartups</strong> must be greater than or equal to 1000.</li><li id="ALM-12042__en-us_topic_0070543617_li33099156">At least one of the <strong id="ALM-12042__en-us_topic_0070543617_b29456948">PasswordAuthentication</strong> and <strong id="ALM-12042__en-us_topic_0070543617_b63785947">ChallengeResponseAuthentication</strong> parameters must be left blank or at least one of the parameters be set to <strong id="ALM-12042__en-us_topic_0070543617_b37202617">yes</strong>.</li></ol>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1298.html">Alarm Reference (Applicable to MRS 3.x)</a></div>
|
|
</div>
|
|
</div>
|
|
|