forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
170 lines
27 KiB
HTML
170 lines
27 KiB
HTML
<a name="EN-US_TOPIC_0000001234200661"></a><a name="EN-US_TOPIC_0000001234200661"></a>
|
|
|
|
<h1 class="topictitle1">gds_check</h1>
|
|
<div id="body32001227"><div class="section" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_section13849131684410"><h4 class="sectiontitle">Context</h4><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p783192916443">gds_check is used to check the GDS deployment environment, including the OS parameters, network environment, and disk usage. It also supports the recovery of system parameters. This helps detect potential problems during GDS deployment and running, improving the execution success rate.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_section2340517125117"><h4 class="sectiontitle">Precautions</h4><ul id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_ul16126582106"><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li5164913162012">Set environment variables before executing the script. For details, see "Importing Data > Using a Foreign Table to Import Data In Parallel > Installing, Configuring, and Starting GDS" in the <em id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_i79731459112818">Developer Guide</em>.</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li176115413484">The script must be executed in the Python 3 environment.</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li7612358191017">This script must be run by user <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b9296144271618">root</strong>.</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li11613125881012">The <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b64264931615">-t</strong> and <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b25971752111618">--host</strong> parameters must be specified.</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li5981154114143">If <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b19288184215241">--host</strong> specifies the network address 0.0.0.0 or 127.0.0.1, the MTU and NIC multi-queue are not checked.</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li20562444151519">The NIC multi-queue check and recovery require that the NIC be at least 10 GE.</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li39222258163">The passwords of all nodes specified by the <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b11681195913103">--host</strong> parameter must be the same so that the script can perform remote check successfully.</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li11660958123016">During the recovery, set the OS configuration items according to the recommended values. For details, see the following table.
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_table145482361145" frame="border" border="1" rules="all"><caption><b>Table 1 </b>OS configuration items</caption><thead align="left"><tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row25480365420"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.8.1.2.3.1.1"><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p42868583410"><strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b1081114511296">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.8.1.2.3.1.2"><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1228645813416"><strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b9491171751711">Recommended Value</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row654914368410"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p13286105814412">net.core.somaxconn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p428616581544">65535</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row954918361746"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p9286105814420">net.ipv4.tcp_max_syn_backlog</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1928610583411">65535</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row2549836345"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p12879585419">net.core.netdev_max_backlog</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1228710581044">65535</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row165505361047"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1628725815415">net.ipv4.tcp_retries1</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p52872058143">5</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row14550103614414"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p028725819412">net.ipv4.tcp_retries2</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p18287558645">12</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row055063619418"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1028795817415">net.ipv4.ip_local_port_range</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p162871958844">26000 to 65535</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row20550113614415"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p22871158441">MTU</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p142875586418">1500</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row98428491146"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p128811580414">net.core.wmem_max</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p16288145814410">21299200</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row168431649546"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p32881358146">net.core.rmem_max</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p112883581343">21299200</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row18440498419"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p20288358948">net.core.wmem_default</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p528815581543">21299200</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row6844104914415"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1028811581749">net.core.rmem_default</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1828835815415">21299200</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row784419491649"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p112888584410">max handler</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p12881558744">1000000</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row198457491244"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p228925819418">vm.swappiness</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p22897581448">10</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_table1428505945510" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Disk check</caption><thead align="left"><tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row1228519592554"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.8.2.2.3.1.1"><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1228685910557">Check Item</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.8.2.2.3.1.2"><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p828611594559">Warning</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row1228695905512"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p328615597555">Disk space usage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p122863593554">Greater than or equal to 70% and less than 90%</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row2028695912551"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1128685914552">Inode usage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p10286205915512">Greater than or equal to 70% and less than 90%</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_table656474312586" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Network conditions</caption><thead align="left"><tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row16565184335817"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.8.3.2.3.1.1"><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p8565643145812">Check Item</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.8.3.2.3.1.2"><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p2565144395818">Error</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row1856518434588"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p756520432584">Network connectivity</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1356594317582">100% packet loss</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_row11565443145811"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p856594315817">NIC multi-queue</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.8.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p125651043105819">When NIC multi-queue is enabled and different CPUs are bound, <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b18446122714397">fix</strong> can be modified.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_section1039323216515"><h4 class="sectiontitle">Syntax</h4><ul id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_ul7933649175514"><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li4933164985519"><strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b13953115818523">check</strong> command<pre class="screen" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_screen12427402112">gds_check -t check --host [/path/to/hostfile | ipaddr1,ipaddr2...] --ping-host [/path/to/pinghostfile | ipaddr1,ipaddr2...] [--detail]</pre>
|
|
</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li57371952195516"><strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b1882381613539">fix</strong> command<pre class="screen" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_screen14292231116">gds_check -t fix --host [/path/to/hostfile | ipaddr1,ipaddr2...] [--detail]</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_section1515812425514"><h4 class="sectiontitle">Parameter Description</h4><ul id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_ul1924714411589"><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li124718413585">-t<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p14525183114011"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li124718413585"></a><a name="en-us_topic_0000001234042137_en-us_topic_0000001098650744_li124718413585"></a>Operation type, indicating check or recovery.</p>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p25311412115818">The value can be <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b174651811184">check</strong> or <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b19471184181">fix</strong>.</p>
|
|
</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li52471946580">--host<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p7511945724"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li52471946580"></a><a name="en-us_topic_0000001234042137_en-us_topic_0000001098650744_li52471946580"></a>IP addresses of the nodes to be checked or recovered.</p>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p328016441414">Value: IP address list in the file or character string format</p>
|
|
<ul id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_ul343321111317"><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1682293117127">File format: Each IP address occupies a row, for example:<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p11879992519"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1682293117127"></a><a name="en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1682293117127"></a>192.168.1.200</p>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1925135391211">192.168.1.201</p>
|
|
</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li19601923111413">Character string format: IP addresses are separated by commas (,), for example:<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p5761624161418"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li19601923111413"></a><a name="en-us_topic_0000001234042137_en-us_topic_0000001098650744_li19601923111413"></a>192.168.1.200,192.168.1.201</p>
|
|
</li></ul>
|
|
</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1248164185816">--ping-host<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p65661837541"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1248164185816"></a><a name="en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1248164185816"></a>Destination IP address for the network ping check on each node to be checked.</p>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p123431331785">Value: IP address list in the file or character string format. Generally, the value is the IP address of a DN, CN, or gateway.</p>
|
|
<ul id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_ul115331237171313"><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li13150035121311">File format: Each IP address occupies a row, for example:<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1479164131313"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li13150035121311"></a><a name="en-us_topic_0000001234042137_en-us_topic_0000001098650744_li13150035121311"></a>192.168.2.200</p>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p10483134211315">192.168.2.201</p>
|
|
</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1626314116142">Character string format: IP addresses are separated by commas (,), for example:<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p19216122161417"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1626314116142"></a><a name="en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1626314116142"></a>192.168.2.200,192.168.2.201</p>
|
|
</li></ul>
|
|
</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li17248134125815">--detail<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1057124113912"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li17248134125815"></a><a name="en-us_topic_0000001234042137_en-us_topic_0000001098650744_li17248134125815"></a>Displays detailed information about check and repair items and saves the information to logs.</p>
|
|
</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_li922814381758">-V<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_p1322812385517"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_li922814381758"></a><a name="en-us_topic_0000001234042137_li922814381758"></a>Version information.</p>
|
|
</li><li id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1124815419587">-h, --help<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1776813417108"><a name="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1124815419587"></a><a name="en-us_topic_0000001234042137_en-us_topic_0000001098650744_li1124815419587"></a>Help information.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_section1764430153718"><h4 class="sectiontitle">Examples</h4><p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p195109336370">Perform a check. Both <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b87211542212">--host</strong> and -<strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b6694151722217">-ping-host</strong> are in character string format.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_screen16149122218720">gds_check -t check --host 192.168.1.100,192.168.1.101 --ping-host 192.168.2.100</pre>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p1847953915375">Perform a check. <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b26539111052">--host</strong> is in character string format and <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b17653211550">--ping-host</strong> is in file format.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_screen268595214919">gds_check -t check --host 192.168.1.100,192.168.1.101 --ping-host /home/gds/iplist
|
|
|
|
cat /home/gds/iplist
|
|
192.168.2.100
|
|
192.168.2.101</pre>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p107221752132115">Perform a check. <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b13681735162312">--host</strong> is in file format and <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b1223215459236">--ping-host</strong> is in character string format.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_screen986271415105">gds_check -t check --host /home/gds/iplist --ping-host 192.168.1.100,192.168.1.101</pre>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_p3855134016377">Perform a recovery. <strong id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_b18202421202410">--host</strong> is in character string format.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_en-us_topic_0000001098650744_screen494553251016">gds_check -t fix --host 192.168.1.100,192.168.1.101</pre>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_p14501551144">Run the following command to perform the check, print the detailed information, and save the information to logs:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_screen18529715151510">gds_check -t check --host 192.168.1.100 --detail</pre>
|
|
<p id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_p34811255191515">Run the following command to perform the repair, print the detailed information, and save the information to logs:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001234200661__en-us_topic_0000001234042137_screen737113120165">gds_check -t fix --host 192.168.1.100 --detail</pre>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_07_0100.html">Server Tool</a></div>
|
|
</div>
|
|
</div>
|
|
|