doc-exports/docs/dws/dev/dws_04_0197.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

25 lines
3.6 KiB
HTML

<a name="EN-US_TOPIC_0000001188642130"></a><a name="EN-US_TOPIC_0000001188642130"></a>
<h1 class="topictitle1">Stopping GDS</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001188642130__saa42cb359f584cc5b02b22b95aea2f4b"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_p95592281610">Stop GDS after data is imported successfully.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001188642130__sbc23e54b0c004470abf94caefa347023"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0000001188642130__o699f1b3305844c3795531a1ba56dba7a"><li id="EN-US_TOPIC_0000001188642130__l624ac3bf06c54bf39a557dbffeb3d543"><span>Log in as user <strong id="EN-US_TOPIC_0000001188642130__b842352706185540">gds_user</strong> to the data server where GDS is installed.</span></li><li id="EN-US_TOPIC_0000001188642130__l510e68e50bbf480c8f56ff8312f8258c"><span>Select the mode of stopping GDS based on the mode of starting it.</span><p><ul id="EN-US_TOPIC_0000001188642130__u9fcc0920949d4a309bb04f960d0d40ff"><li id="EN-US_TOPIC_0000001188642130__l09d7b45c9e7f48ea8c63081fb608819e">If GDS is started using the <strong id="EN-US_TOPIC_0000001188642130__b842352706114038">gds</strong> command, perform the following operations to stop GDS:<ol type="a" id="EN-US_TOPIC_0000001188642130__oeb2457d1964a4ddf9c1d371151a011b4"><li id="EN-US_TOPIC_0000001188642130__l211c982d7a9142cab7624e50965261e0">Query the GDS process ID:<pre class="screen" id="EN-US_TOPIC_0000001188642130__s957ea2db072b4eaabaeb08d74d6a766c"><strong id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_b456209221610">ps -ef|grep gds</strong></pre>
<p id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_p79351151610">For example, the GDS process ID is 128954.</p>
<pre class="screen" id="EN-US_TOPIC_0000001188642130__sb5c41e289f264f10bf3270b7154da3c5"><strong id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_b387646181610">ps -ef|grep gds</strong>
gds_user <strong id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_b591788581610">128954</strong> 1 0 15:03 ? 00:00:00 gds -d /input_data/ -p 192.168.0.90:5000 -l /log/gds_log.txt -D
gds_user 129003 118723 0 15:04 pts/0 00:00:00 grep gds</pre>
</li><li id="EN-US_TOPIC_0000001188642130__ld82fed6c87864229a43810eadc42d960">Run the <strong id="EN-US_TOPIC_0000001188642130__b2953641315517">kill</strong> command to stop GDS. <strong id="EN-US_TOPIC_0000001188642130__b84235270611429">128954</strong> in the command is the GDS process ID.<pre class="screen" id="EN-US_TOPIC_0000001188642130__s5e005701d4174c2eb342914f787e68b2"><strong id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_b393406761610">kill -9</strong> <em id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_i185217721610">128954</em></pre>
</li></ol>
</li><li id="EN-US_TOPIC_0000001188642130__leeb73a0092bb462097e74188c94000df">If GDS is started using the <strong id="EN-US_TOPIC_0000001188642130__b2111042418">gds_ctl.py</strong> command, run the following commands to stop GDS:<pre class="screen" id="EN-US_TOPIC_0000001188642130__s56ea44304d2e40d5a29182df1b76b81d"><strong id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_b134903531610">cd </strong><em id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_i543043151610">/opt/bin/dws/gds</em>/bin
<strong id="EN-US_TOPIC_0000001188642130__en-us_topic_0117443414_b189767881610">python3 gds_ctl.py stop</strong></pre>
</li></ul>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0189.html">Using GDS to Import Data from a Remote Server</a></div>
</div>
</div>