Files
doc-exports/docs/mrs/umn/admin_guide_000109.html
yangtong c285e88a17 MRS UMN 20250806 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: yangtong <yangtong2@huawei.com>
Co-committed-by: yangtong <yangtong2@huawei.com>
2025-09-02 10:43:57 +00:00

20 lines
4.9 KiB
HTML

<a name="admin_guide_000109"></a><a name="admin_guide_000109"></a>
<h1 class="topictitle1">Adding a Resource Pool</h1>
<div id="body8662426"><div class="section" id="admin_guide_000109__en-us_topic_0165590189_sdcb8082f8b464e638cc29d8001c15467"><h4 class="sectiontitle">Scenario</h4><p id="admin_guide_000109__en-us_topic_0165590189_p1790015118423">In a cluster, you can logically group Yarn NodeManagers into Yarn resource pools. Each NodeManager belongs to only one resource pool. You can create a custom resource pool on <span id="admin_guide_000109__text15946118176">MRS</span> Manager and add the hosts that have not been added to any custom resource pools to this resource pool so that specified queues can use the computing resources provided by these hosts.</p>
<p id="admin_guide_000109__en-us_topic_0165590189_a35ab9a7fa1cb4927b094d697c9e80740">The system contains a <strong id="admin_guide_000109__b6400756161716">default</strong> resource pool by default. All NodeManagers that are not added to custom resource pools belong to this resource pool.</p>
</div>
<div class="section" id="admin_guide_000109__en-us_topic_0165590189_section44511020204115"><h4 class="sectiontitle">Procedure</h4><ol id="admin_guide_000109__en-us_topic_0165590189_o18f71854e7994a9087e4620d8fa63e60"><li id="admin_guide_000109__en-us_topic_0165590189_l4063be04b46e4b8abe520ccb01b7ab00"><span>Log in to <span id="admin_guide_000109__text2027451754714">MRS</span> Manager.</span></li><li id="admin_guide_000109__en-us_topic_0165590189_ld5c91f1ba6e943d2ba513a93d6a7dbe1"><span>Choose <span class="menucascade" id="admin_guide_000109__en-us_topic_0165590189_menucascade9278174694315"><b><span class="uicontrol" id="admin_guide_000109__en-us_topic_0165590189_uicontrol827844618434">Tenant Resources</span></b> &gt; <b><span class="uicontrol" id="admin_guide_000109__en-us_topic_0165590189_uicontrol1155284810439">Resource Pool</span></b></span>.</span></li><li id="admin_guide_000109__en-us_topic_0165590189_l2e189a0fc9974c2da3577cf00552a0e2"><span>Click <strong id="admin_guide_000109__b1881425345112216">Add Resource Pool</strong>.</span></li><li id="admin_guide_000109__en-us_topic_0165590189_lf7f5a625ec774d2fa8a3813999281c22"><span>Set resource pool attributes.</span><p><ul id="admin_guide_000109__en-us_topic_0165590189_u04ea65affc254685a9eae87743cc1ed0"><li id="admin_guide_000109__en-us_topic_0165590189_li156521592228"><strong id="admin_guide_000109__b1836950102117">Cluster</strong>: Select the cluster to which the resource pool is to be added. (This parameter is unavailable for clusters of MRS 3.3.0 or later.)</li><li id="admin_guide_000109__en-us_topic_0165590189_lf2a335f4f7174240ae5bdf1f585ab697"><strong id="admin_guide_000109__b477720386112216">Name</strong>: Enter the name of the resource pool. The name contains 1 to 50 characters, including digits, letters, and underscores (_), and cannot start with an underscore (_).</li><li id="admin_guide_000109__li21691730182514"><strong id="admin_guide_000109__b1069951713237">Resource Label</strong>: Enter the resource label of the resource pool. The value can contain 1 to 50 characters, including digits, letters, underscores (_), and hyphens (-), and must start with a digit or letter.</li><li id="admin_guide_000109__en-us_topic_0165590189_l4b93b797e43645129c61bf72acc775ad"><strong id="admin_guide_000109__b123248715241">Resource</strong>: In the <strong id="admin_guide_000109__b1961316264249">Available Hosts</strong> area, select specified hosts and click <span><img id="admin_guide_000109__en-us_topic_0165590189_image18311839204516" src="en-us_image_0000001442494081.png"></span> to add the hosts to the <strong id="admin_guide_000109__b972985410240">Selected Hosts</strong> area. Only hosts in the cluster can be selected. The host list in the resource pool can be left blank.<div class="note" id="admin_guide_000109__en-us_topic_0165590189_note8814172316711"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="admin_guide_000109__en-us_topic_0165590189_p481417231675">You can filter hosts by host name, number of CPU cores, memory, operating system, or platform type based on service requirements.</p>
</div></div>
</li></ul>
</p></li><li id="admin_guide_000109__en-us_topic_0165590189_ldd9281f02c6144e4bc70ffbad90cc687"><span>Click <strong id="admin_guide_000109__b364365358112216">OK</strong>.</span><p><p id="admin_guide_000109__en-us_topic_0165590189_a9249d11cde344e5a8f95567ee3217e23">After the resource pool is created, you can view its name, members, and mode in the resource pool list. Hosts that are added to the custom resource pool are no longer members of the <strong id="admin_guide_000109__b654073548112216">default</strong> resource pool.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000108.html">Managing Resources</a></div>
</div>
</div>