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>
22 lines
6.2 KiB
HTML
22 lines
6.2 KiB
HTML
<a name="mrs_01_2394"></a><a name="mrs_01_2394"></a>
|
|
|
|
<h1 class="topictitle1">Changing the Ranger Data Source to LDAP for a Normal Cluster</h1>
|
|
<div id="body32001227"><p id="mrs_01_2394__en-us_topic_0000001173949984_p14933932417">By default, the Ranger data source of the security cluster can be accessed by FusionInsight Manager LDAP users. By default, the Ranger data source of a common cluster can be accessed by Unix users.</p>
|
|
<div class="section" id="mrs_01_2394__en-us_topic_0000001173949984_section1962618202513"><h4 class="sectiontitle">Prerequisites</h4><ul id="mrs_01_2394__en-us_topic_0000001173949984_ul114830314266"><li id="mrs_01_2394__en-us_topic_0000001173949984_li174838392615">Check whether the cluster is in normal mode.</li><li id="mrs_01_2394__en-us_topic_0000001173949984_li3483103142610">The Ranger component has been installed.</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_01_2394__en-us_topic_0000001173949984_section187568105275"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_2394__en-us_topic_0000001173949984_ol1063312256295"><li id="mrs_01_2394__en-us_topic_0000001173949984_li492475445719"><span>Log in to the MRS management console.</span></li><li id="mrs_01_2394__en-us_topic_0000001173949984_li1892419547578"><span>Choose <strong id="mrs_01_2394__en-us_topic_0000001173949984_b1239923318414">Clusters</strong> > <strong id="mrs_01_2394__en-us_topic_0000001173949984_b12405333543">Active Clusters</strong>, select a running cluster, and click its name to switch to the cluster details page.</span></li><li id="mrs_01_2394__en-us_topic_0000001173949984_li5924135465716"><span>Click the <strong id="mrs_01_2394__en-us_topic_0000001173949984_b6381320559">Nodes</strong> tab and select the node group whose <strong id="mrs_01_2394__en-us_topic_0000001173949984_b12386520558">Node Type</strong> is <strong id="mrs_01_2394__en-us_topic_0000001173949984_b1538611201755">Master</strong>.</span></li><li id="mrs_01_2394__en-us_topic_0000001173949984_li6924754195717"><span>Go to the ECS page of the active Master node and click <strong id="mrs_01_2394__en-us_topic_0000001173949984_b1974133120514">Remote Login</strong>.</span></li></ol><ol start="5" id="mrs_01_2394__en-us_topic_0000001173949984_ol17236153314318"><li id="mrs_01_2394__en-us_topic_0000001173949984_li20236103313111"><span>Log in to the active Master node as user <strong id="mrs_01_2394__en-us_topic_0000001173949984_b53085401652">root</strong>, go to the <strong id="mrs_01_2394__en-us_topic_0000001173949984_b2245245956">/opt/Bigdata/components/FusionInsight_HD_<span id="mrs_01_2394__en-us_topic_0000001173949984_text1833465813714">8.1.2.2</span>/Ranger</strong> directory, and change the value of <strong id="mrs_01_2394__en-us_topic_0000001173949984_b1274314536516">ranger.usersync.sync.source</strong> in the <strong id="mrs_01_2394__en-us_topic_0000001173949984_b1595412571551">configurations.xml</strong> file to <strong id="mrs_01_2394__en-us_topic_0000001173949984_b9560222065">ldap</strong>.</span><p><pre class="screen" id="mrs_01_2394__en-us_topic_0000001173949984_screen752617121293">ranger.usersync.sync.source
|
|
<value model="NoSec"><strong id="mrs_01_2394__en-us_topic_0000001173949984_b1733221191310">ldap</strong></value></pre>
|
|
</p></li><li id="mrs_01_2394__en-us_topic_0000001173949984_li01683365337"><span>Run the following commands on the active Master node to restart the controller process:</span><p><p id="mrs_01_2394__en-us_topic_0000001173949984_p1794937133317"><strong id="mrs_01_2394__en-us_topic_0000001173949984_b193818502712">su - omm</strong></p>
|
|
<p id="mrs_01_2394__en-us_topic_0000001173949984_p64949952418"><strong id="mrs_01_2394__en-us_topic_0000001173949984_b1145850471">sh /opt/Bigdata/om-server_<span id="mrs_01_2394__en-us_topic_0000001173949984_text4558531980">8.1.2.2</span>/om/sbin/restart-controller.sh</strong></p>
|
|
<div class="note" id="mrs_01_2394__en-us_topic_0000001173949984_note127694358916"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_2394__en-us_topic_0000001173949984_p1977053515912">When the controller process is restarted, the Manager page cannot be accessed for a short period of time, which is normal. After the controller process is restarted, you can access the MRS Manager page properly.</p>
|
|
</div></div>
|
|
</p></li><li id="mrs_01_2394__en-us_topic_0000001173949984_li1080017419347"><span>Log in to FusionInsight Manager. For details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager</a>. Choose <strong id="mrs_01_2394__en-us_topic_0000001173949984_b6723141131219">Clusters</strong> > <strong id="mrs_01_2394__en-us_topic_0000001173949984_b16279155116127">Services</strong> > <strong id="mrs_01_2394__en-us_topic_0000001173949984_b18211125414128">Ranger</strong>. In the upper right corner of the <strong id="mrs_01_2394__en-us_topic_0000001173949984_b3897135171310">Dashboard</strong> page, click <strong id="mrs_01_2394__en-us_topic_0000001173949984_b87086711318">More</strong> and choose <strong id="mrs_01_2394__en-us_topic_0000001173949984_b19616142121315">Synchronize Configuration</strong>.</span></li><li id="mrs_01_2394__en-us_topic_0000001173949984_li2075315151819"><span>On the Ranger instance page, select the <strong id="mrs_01_2394__en-us_topic_0000001173949984_b2144173011317">UserSync</strong> instance and choose <strong id="mrs_01_2394__en-us_topic_0000001173949984_b16808103516134">More</strong> > <strong id="mrs_01_2394__en-us_topic_0000001173949984_b1662718386130">Restart Instance</strong>.</span></li><li id="mrs_01_2394__en-us_topic_0000001173949984_li16954121420341"><span>On the <strong id="mrs_01_2394__en-us_topic_0000001173949984_b165401311176">Dashboard</strong> page of the Ranger service, click <strong id="mrs_01_2394__en-us_topic_0000001173949984_b1227818816182">RangerAdmin</strong> and choose <strong id="mrs_01_2394__en-us_topic_0000001173949984_b133242158189">Settings</strong> > <strong id="mrs_01_2394__en-us_topic_0000001173949984_b131187171184">Users/Groups/Roles</strong> to check whether LDAP users exist.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1849.html">Using Ranger</a></div>
|
|
</div>
|
|
</div>
|
|
|