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>
24 lines
4.1 KiB
HTML
24 lines
4.1 KiB
HTML
<a name="mrs_01_0395"></a><a name="mrs_01_0395"></a>
|
|
|
|
<h1 class="topictitle1">Using the Encryption Tool of the Flume Client</h1>
|
|
<div id="body1589421630495"><div class="section" id="mrs_01_0395__s55c3f97a316444e6b36134c417ab8eab"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0395__a960d51bb41604a2b924688d82ac52b42">You can use the encryption tool provided by the Flume client to encrypt some parameter values in the configuration file.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_0395__se9242ba07c734351a263eea107331724"><h4 class="sectiontitle">Prerequisites</h4><p id="mrs_01_0395__en-us_topic_0069042429_p276058217201">The Flume client has been installed.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_0395__sd0bff737a915402e9a871ad44b24879c"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_0395__o77ce074188fe466a81e63bdbad3f9c93"><li id="mrs_01_0395__l104f86ac05e2439f8f5d92f2e259f4bf"><span>Log in to the Flume client node and go to the client installation directory, for example, <span class="filepath" id="mrs_01_0395__f528a369d5b4446818e762e3e26867b77"><b>/opt/FlumeClient</b></span>.</span></li><li id="mrs_01_0395__la850c196adc8463b938a2f7b74086cf6"><span>Run the following command to switch the directory:</span><p><p id="mrs_01_0395__a0e7218b971b446ffb06097a4968b704d"><strong id="mrs_01_0395__b18799512506">cd fusioninsight-flume-</strong><em id="mrs_01_0395__i676484016478">Flume component version number</em><strong id="mrs_01_0395__b12805112506">/bin</strong></p>
|
|
</p></li><li id="mrs_01_0395__l38bf2f447334485485009ee2b0f56db0"><span>Run the following command to encrypt information:</span><p><p id="mrs_01_0395__aedfe742e1c0d4628ba9b2d159b29f7fc"><strong id="mrs_01_0395__a9836b5fd040644a79559309896bf1330">./genPwFile.sh</strong></p>
|
|
<p id="mrs_01_0395__ae4d80d8349774378b1edeb13ff5d0e2b">Input the information that you want to encrypt twice.</p>
|
|
</p></li><li id="mrs_01_0395__l777ec4fa20444c8e9e89c6aa01b423bf"><span>Run the following command to query the encrypted information:</span><p><p id="mrs_01_0395__a1982bbd4c23944f583f1cbd27cc2efeb"><strong id="mrs_01_0395__ae4e01b0eb4e3499f89667da2f2784621">cat password.property</strong></p>
|
|
<div class="note" id="mrs_01_0395__n4f035cfbf1c14f0389b098811d3422c1"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_0395__a79158588517244c7a44dfb969583808a">If the encryption parameter is used for the Flume server, you need to perform encryption on the corresponding Flume server node. You need to run the encryption script as user <strong id="mrs_01_0395__b91127131510">omm</strong> for encryption.</p>
|
|
<ul id="mrs_01_0395__u2c639ff385be4e83980656c751fbe0fe"><li id="mrs_01_0395__lddf24aa97b5f4d68b92c8b23a897afbd">For versions earlier than MRS 1.9.2, the encryption path is <span class="filepath" id="mrs_01_0395__f4128dffa4aa146c897abd75e1ba2942c"><b>${BIGDATA_HOME}/FusionInsight/FusionInsight-Flume-<span id="mrs_01_0395__text7470648191919"><em id="mrs_01_0395__i684321164915">Flume component version number</em></span>/flume/bin/genPwFile.sh</b></span>.</li><li id="mrs_01_0395__li10508114151117">For versions earlier than MRS 3.x, the encryption path is <span class="filepath" id="mrs_01_0395__filepath13513141491110"><b>/opt/Bigdata/MRS_XXX/install/FusionInsight-Flume-<span id="mrs_01_0395__text105131214131120"><em id="mrs_01_0395__i551271441116">Flume component version number</em></span>/flume/bin/genPwFile.sh</b></span>.</li><li id="mrs_01_0395__la1d4d0a75dd643cbbd5aa2a688913235">For MRS 3.<em id="mrs_01_0395__i112812615308">x</em> or later, the encryption path is <span class="filepath" id="mrs_01_0395__filepath14890632101120"><b>/opt/Bigdata/FusionInsight_Porter_XXX/install/FusionInsight-Flume-<span id="mrs_01_0395__text889112320110"><em id="mrs_01_0395__i189133210114">Flume component version number</em></span>/flume/bin/genPwFile.sh</b></span>. <em id="mrs_01_0395__i10448430113015">XXX</em> indicates the product version number.</li></ul>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0390.html">Using Flume</a></div>
|
|
</div>
|
|
</div>
|
|
|