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>
80 lines
29 KiB
HTML
80 lines
29 KiB
HTML
<a name="EN-US_TOPIC_0000001188362580"></a><a name="EN-US_TOPIC_0000001188362580"></a>
|
|
|
|
<h1 class="topictitle1">gds_ctl</h1>
|
|
<div id="body32001227"><div class="section" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_section15840227154615"><h4 class="sectiontitle">Context</h4><p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p3898238114613"><strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b350711319228">gds_ctl</strong> is a script tool used for starting or stopping GDS service processes in batches. You can start or stop GDS service processes, which use the same port, on multiple nodes at a time, and set a daemon for each GDS process during the startup.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_section20467174214462"><h4 class="sectiontitle">Precautions</h4><ul id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_ul94581233511"><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li890516543132">Before running the script, switch to a GDS user. You must run the <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b7442123102513">gds_ctl</strong> script as a common user.</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li176115413484">The script must be executed in the Python 3 environment.</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li823372951116"><strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b2314103517253">gds_ctl</strong> inherits the main command-line parameters of GDS. Except <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b3586164917259">-p</strong> and <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b1310165302515">-h</strong>, the meanings of other parameters remain unchanged. In <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b348965932517">gds_ctl</strong>, <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b4770847267">-p</strong> is used only to specify a port.</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li19625121185113">The nodes to be operated in batches using <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b17521203902610">gds_ctl</strong> must have been installed and deployed using <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b1917934472612">gds_install</strong>.</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_section11129174864617"><h4 class="sectiontitle">Syntax</h4><ul id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_ul1516715224184"><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li14167192215184">Startup command<pre class="screen" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_screen7398417142715">gds_ctl start --host [/path/to/hostfile | ipaddr1,ipaddr2...] -p PORT -d DATADIR -H ALLOW_IPs [gds other original options]</pre>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li3167122211182">Stop command<pre class="screen" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_screen9918142222710">gds_ctl stop --host [/path/to/hostfile | ipaddr1,ipaddr2...] -p PORT</pre>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li111673227183">Restart command<pre class="screen" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_screen1588410281271">gds_ctl restart --host [/path/to/hostfile | ipaddr1,ipaddr2...] -p PORT</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_section73901652104610"><h4 class="sectiontitle">Parameter Description</h4><ul id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_ul125091121182216"><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li980022712221">--host<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p134347291223"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li980022712221"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li980022712221"></a>IP addresses of the GDS nodes to be run. The value can be a file name or a character string.</p>
|
|
<ul id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_ul97621527192812"><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li2113152619281">File format: Each IP address occupies a row, for example:<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p1073732914282"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li2113152619281"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li2113152619281"></a>192.168.2.200</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p159071308289">192.168.2.201</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li980433611285">Character string format: IP addresses are separated by commas (,), for example:<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p138211037192817"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li980433611285"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li980433611285"></a>192.168.2.200,192.168.2.201</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
<ul id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_ul1865141252314"><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1486571282313">-p<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p512412215234"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1486571282313"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1486571282313"></a>Listening port.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p89673843817">Value range: an integer ranging from 1024 to 65535</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p92751021172717">Default value: <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b13654918183713">8098</strong></p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li42276141235">--help<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p19911353112311"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li42276141235"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li42276141235"></a>Help information.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li66061716172315">-V<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p774414115242"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li66061716172315"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li66061716172315"></a>Version information.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_section2727171112420"><h4 class="sectiontitle">Compatible with Original GDS Parameters</h4><ul id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_ul6874171811268"><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li48749189261">-d dir<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p7697346266"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li48749189261"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li48749189261"></a>Sets the directory of the data file to be imported. If the GDS process has the permission, the directory specified by <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b3531159103815">-d</strong> will be automatically created.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li208744188261">-l log_file<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p79571840102817"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li208744188261"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li208744188261"></a>Sets the log file.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p120183432811">This parameter is used together with the <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b162364152393">-R</strong> parameter to support automatic log splitting. After the <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b143335191391">-R</strong> parameter is set, GDS generates a new file based on the set value to prevent a single log file from being too large.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p112019348281">Generation rule: By default, GDS identifies only files with the <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b10579840143914">.log</strong> extension name and generates new log files.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p16201143412289">For example, if <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b10358149133917">-l</strong> is set to <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b53586498392">gds.log</strong> and <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b11359949163919">-R</strong> is set to 20 MB, a <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b1735911499399">gds-2020-01-17_115425.log</strong> file will be created when the size of <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b15359649193912">gds.log</strong> reaches 20 MB.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p15201203472815">If the log file name specified by <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b125248214314">-l</strong> does not end with <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b852572134311">.log</strong>, for example, <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b15258216435">gds.log.txt</strong>, the name of the new log file is <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b115266219434">gds.log-2020-01-19_122739.txt</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p120111345281">When GDS is started, it checks whether the log file specified by <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b05231153114314">-l</strong> exists. If the log file exists, a new log file is generated based on the current date and time, and the original log file is not overwritten.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li6874718172614">-H address_string<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p10762154515302"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li6874718172614"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li6874718172614"></a>Sets the hosts that can be connected to GDS. This parameter must be the CIDR format and it supports the Linux system only. If multiple network segments need to be configured, use commas (,) to separate them. For example, <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b1820518287446">-H 10.10.0.0/24, 10.10.5.0/24</strong>.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li138741185268">-e dir<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p1100462311"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li138741185268"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li138741185268"></a>Sets the saving path of error logs generated when data is imported.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p14100196133119">Default value: data file directory</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li13874111820263">-E size<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p1485419334310"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li13874111820263"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li13874111820263"></a>Sets the upper threshold of error logs generated when data is imported.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p3854103393110">Value range: 0 < size < 1 TB. The value must be a positive integer plus the unit. The unit can be KB, MB, or GB.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li787421882612">-S size<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p13793185463114"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li787421882612"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li787421882612"></a>Sets the upper limit of the exported file size.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p10793454133115">Value range: 1 MB < size < 100 TB. The value must be a positive integer plus the unit. The unit can be KB, MB, or GB. If KB is used, the value must be greater than 1024 KB.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li987415183268">-R size<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p1542512192325"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li987415183268"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li987415183268"></a>Sets the maximum size of a single GDS log file specified by <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b156048811457">-l</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p1342531913329">Value range: 1 MB < size < 1 TB. The value must be a positive integer plus the unit. The unit can be KB, MB, or GB. If KB is used, the value must be greater than 1024 KB.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p134251919113217">Default value: <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b842352706195033">16</strong><strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b86079180103"> MB</strong></p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li987421882617">-t worker_num<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p121543354414"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li987421882617"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li987421882617"></a>Sets the number of concurrent imported and exported working threads.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p21541835114117">Value range: The value is a positive integer ranging between 0 and 200 (included).</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p16154635194111">Default value: <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b4944114634516">8</strong></p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p19154113510419">Recommended value: 2 x CPU cores in the common file import and export scenario; in the pipe file import and export scenario, set the value to <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b75462486458">64</strong>.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_note317445994113"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p1317405944111">If a large number of pipe files are imported and exported concurrently, the value of this parameter must be greater than or equal to the number of concurrent services.</p>
|
|
</div></div>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1187421812620">-s status_file<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p115091511153518"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1187421812620"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1187421812620"></a>Sets the status file. This parameter supports the Linux system only.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1387471822618">-D<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p2905101863515"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1387471822618"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1387471822618"></a>Sets the background GDS. Only the Linux OS is supported.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li08741318122610">-r<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p1689511444351"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li08741318122610"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li08741318122610"></a>Traverse files in the recursion directory and this parameter supports the Linux system only.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1787519184268">--enable-ssl<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p10382253614"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1787519184268"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1787519184268"></a>Uses the SSL authentication mode to communicate with clusters.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1487511822616">--ssl-dir cert_file<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p1970918613367"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1487511822616"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1487511822616"></a>Sets the path for storing the authentication certificates when the SSL authentication mode is used.</p>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li187513180263">--debug-level<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p189318415361"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li187513180263"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li187513180263"></a>Sets the debug log level of the GDS to control the output of GDS debug logs.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p79317418362">Value range: 0, 1, and 2</p>
|
|
<ul id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_ul1822883810374"><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li9245113513712"><strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b842352706202724">0</strong>: Only the file list related to log import and export is printed. If the log volume is small, set the parameter to this value only when the system is at normal state.</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li172451435173717"><strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b11561252124615">1</strong>: All the log information is printed, including the connection information, session switch information, and statistics on each node. You are advised to set the parameter to this value only during troubleshooting.</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li19246163583710"><strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b52001557184617">2</strong>: Detailed interaction logs and their status are printed to generate a huge number of debug logs to help identify the fault causes. You are advised to set the parameter to this value only during troubleshooting.</li></ul>
|
|
</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1187510180261">--pipe-timeout<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p199219554376"><a name="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1187510180261"></a><a name="en-us_topic_0000001188521158_en-us_topic_0000001098810826_li1187510180261"></a>Sets the timeout period for GDS to wait for operating a pipe.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p11068483914">Value range: greater than 1s. Use a positive integer with the time unit, seconds (s), minutes (m), or hours (h). Example: <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b65471922114714">3600s</strong>, <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b13552222144718">60m</strong>, or <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b1755314222478">1h</strong>, indicating one hour.</p>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p610616483914">Default value: <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b9602325184712">1h</strong>/<strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b18602132554713">60m</strong>/<strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b126025251475">3600s</strong></p>
|
|
<div class="note" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_note86961247389"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_ul1558293043814"><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li16582163010386">This parameter is used to prevent the following situation: One end of the pipe file is not read or written for a long time due to human or program problems. As a result, the read or write operation on the other end of the pipe is hung.</li><li id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_li9582153015387">This parameter does not indicate the maximum duration of a data import or export task. It indicates the maximum timeout duration of each read, open, or write operation on the pipe. If the timeout duration exceeds the value of <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b698233115473">--pipe-timeout</strong>, an error is reported to the frontend.</li></ul>
|
|
</div></div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_section126151569461"><h4 class="sectiontitle">Examples</h4><p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p861710298433">Start a GDS process. Its data files are stored in the <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b11138339122820">/data</strong> directory, the IP address is 192.168.0.90, and the listening port number is 5000.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_screen434919459264">gds_ctl start --host 192.168.0.90 -d /data/ -p 5000 -H 10.10.0.1/24 -D</pre>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p8291642445">Start GDS processes in batches. The data files are stored in the <strong id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_b198508211299">/data</strong> directory, the IP addresses are 192.168.0.90, 192.168.0.91, and 192.168.0.92, and the listening port number is 5000.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_screen173101153142617">gds_ctl start --host 192.168.0.90,192.168.0.91,192.168.0.92 -d /data/ -p 5000 -H 0/0 -D</pre>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p168211345472">Stop GDS processes on nodes 192.168.0.90, 192.168.0.91, and 192.168.0.92 whose port number is 5000 in batches.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_screen1884785992617">gds_ctl stop --host 192.168.0.90,192.168.0.91,192.168.0.92 -p 5000</pre>
|
|
<p id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_p2381184994815">Restart GDS processes on nodes 192.168.0.90, 192.168.0.91, and 192.168.0.92 whose port number is 5000 in batches.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001188362580__en-us_topic_0000001188521158_en-us_topic_0000001098810826_screen0297135172710">gds_ctl restart --host 192.168.0.90,192.168.0.91,192.168.0.92 -p 5000</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>
|
|
|