Files
doc-exports/docs/mrs/umn/admin_guide_000091.html
Yang, Tong 2195db241c MRS UMN 20231220 version update
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2024-05-16 09:40:21 +00:00

72 lines
12 KiB
HTML

<a name="admin_guide_000091"></a><a name="admin_guide_000091"></a>
<h1 class="topictitle1">Multi-Tenant Management</h1>
<div id="body1529658735913"><div class="section" id="admin_guide_000091__sb7350597f14e4edfaed0568eb3709b84"><h4 class="sectiontitle">Unified Multi-Tenant Management</h4><p id="admin_guide_000091__a3c051fd7bcbc40e4a3a8994bc0a67cf5">Log in to <span id="admin_guide_000091__text15946118176">MRS</span> Manager and choose <strong id="admin_guide_000091__b63212114819">Tenant Resources</strong> &gt; <strong id="admin_guide_000091__b204971545482">Tenant Resources Management</strong>. On the page that is displayed, you can find that <span id="admin_guide_000091__text1515217348459">MRS</span> Manager is a unified multi-tenant management platform that integrates multiple functions such as tenant lifecycle management, tenant resource configuration, tenant service association, and tenant resource usage statistics, delivering a mature multi-tenant management model and achieving centralized tenant and service management.</p>
<p id="admin_guide_000091__ac3ea93124b634c90ae82faf3ca2e6c10"><strong id="admin_guide_000091__afdae344944c34ef09abf7404c6f67339">Graphical User Interface</strong></p>
<p id="admin_guide_000091__a5f27f6b5f83b423f8aab376fe893706c"><span id="admin_guide_000091__text18146227194520">MRS</span> Manager provides the graphical multi-tenant management interface and manages and operates multiple levels of tenants using the tree structure. Additionally, <span id="admin_guide_000091__text5935541174514">MRS</span> Manager integrates the basic information and resource quota of the current tenant in one interface to facilitate O&amp;M and management, as shown in <a href="#admin_guide_000091__fig2773161717323">Figure 1</a>.</p>
<div class="fignone" id="admin_guide_000091__fig2773161717323"><a name="admin_guide_000091__fig2773161717323"></a><a name="fig2773161717323"></a><span class="figcap"><b>Figure 1 </b>Tenant management page of <span id="admin_guide_000091__text15071856114512">MRS</span> Manager</span><br><span><img id="admin_guide_000091__image4466549131417" src="en-us_image_0000001442653677.png"></span></div>
<p id="admin_guide_000091__a2d95523ae6bb4eb8b9ea2abe38848e37"><strong id="admin_guide_000091__ac1c824adce81466fbf726cce9e156568">Hierarchical Tenant Management</strong></p>
<p id="admin_guide_000091__a33bec8d367c24e0c8d0227ebf53b5fca"><span id="admin_guide_000091__text936095844519">MRS</span> Manager supports a hierarchical tenant management model in which you can add sub-tenants to an existing tenant to re-configure resources. Sub-tenants of level-1 tenants are level-2 tenants. So on and so forth. <span id="admin_guide_000091__text64551098460">MRS</span> Manager provides enterprises with a field-tested multi-tenant management model, enabling centralized tenant and service management.</p>
</div>
<div class="section" id="admin_guide_000091__s9ad44f2c29df46199a818080fedf742d"><h4 class="sectiontitle">Simplified Permission Management</h4><p id="admin_guide_000091__ac806e30bdb384d8691166576cc8aa234"><span id="admin_guide_000091__text62441312174612">MRS</span> Manager hides internal permission management details from common users and simplifies permission management operations for administrators, improving usability and user experience of tenant permission management.</p>
<ul id="admin_guide_000091__u6f80597df2744828956a7c6b7935c7ed"><li id="admin_guide_000091__li5662105085516"><span id="admin_guide_000091__text59151114204619">MRS</span> Manager employs role-based access control (RBAC) to configure different permissions for users based on service scenarios during multi-tenant management.</li><li id="admin_guide_000091__l2519bcfa555942a0b3f765599e8cc93a">The administrator of tenants has tenant management permissions, including viewing resources and services of the current tenant, adding or deleting sub-tenants of the current tenant, and managing permissions of sub-tenants' resources. <span id="admin_guide_000091__text19931161664620">MRS</span> Manager supports setting of the administrator for a single tenant so that the management over this tenant can be delegated to a user who is not the system administrator.</li><li id="admin_guide_000091__lf04a6fe8fcf24de5a818fb7ba303b20d">Roles of a tenant have all permissions on the computing resources and storage resources of the tenant. When a tenant is created, the system automatically creates roles for this tenant. You can add a user and bind the user to the tenant roles so that the user can use the resources of the tenant.</li></ul>
</div>
<div class="section" id="admin_guide_000091__se126803e643e41359d5da5bf175ce4c3"><h4 class="sectiontitle">Clear Resource Management</h4><ul id="admin_guide_000091__ul482692112551"><li id="admin_guide_000091__li482620217558"><strong id="admin_guide_000091__b75732291222">Self-Service Resource Configuration</strong><p id="admin_guide_000091__a3703a1a1526b44af92088d0b5f0bb4d1">In <span id="admin_guide_000091__text321141944615">MRS</span> Manager, you can configure the computing resources and storage resources during the creation of a tenant and add, modify, or delete the resources of the tenant.</p>
<p id="admin_guide_000091__aab0e47a0edaa4a7499cbf82a1bcf45da">Permissions of the roles that are associated with a tenant are updated automatically when you modify the computing or storage resources of the tenant.</p>
</li><li id="admin_guide_000091__li1450021218488"><strong id="admin_guide_000091__b2354173313222">Resource Usage Statistics</strong><p id="admin_guide_000091__ab430b8200bfc4048b4e85126dc2de752">Resource usage statistics are critical for administrators to determine O&amp;M activities based on the status of cluster applications and services, improving the cluster O&amp;M efficiency. <span id="admin_guide_000091__text3339112119464">MRS</span> Manager displays the resource statistics of tenants in <strong id="admin_guide_000091__b104471324105">Resource Quota</strong>, including the vCores, memory, and HDFS storage resources.</p>
<div class="note" id="admin_guide_000091__note19703114814568"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="admin_guide_000091__ul61701521195510"><li id="admin_guide_000091__li3702214134413"><strong id="admin_guide_000091__b87151218178">Resource Quota</strong> dynamically calculates the resource usage of tenants.<p id="admin_guide_000091__p1656072654415"><span><img id="admin_guide_000091__image10574175447" src="en-us_image_0000001442413881.png"></span></p>
<div class="p" id="admin_guide_000091__p2844182844412">The available resources of the Superior scheduler are calculated as follows:<ul id="admin_guide_000091__ul9714191810209"><li id="admin_guide_000091__li171221516172015">Superior<p id="admin_guide_000091__p2051274442818"><a name="admin_guide_000091__li171221516172015"></a><a name="li171221516172015"></a>The available Yarn resources (memory and CPU) are allocated in proportion based on the queue weight.</p>
</li></ul>
</div>
</li><li id="admin_guide_000091__li1817032114556">When the tenant administrator is bound to a tenant role, the tenant administrator has the permissions to manage the tenant and use all resources of the tenant.</li></ul>
</div></div>
</li><li id="admin_guide_000091__li38261401567"><strong id="admin_guide_000091__b182562481475">Graphical Resource Monitoring</strong><p id="admin_guide_000091__p183758014010">Graphical resource monitoring supports the graphical display of monitoring metrics listed in <a href="#admin_guide_000091__table3621114917574">Table 1</a>, as shown in <a href="#admin_guide_000091__fig136061232032">Figure 2</a>.</p>
<div class="fignone" id="admin_guide_000091__fig136061232032"><a name="admin_guide_000091__fig136061232032"></a><a name="fig136061232032"></a><span class="figcap"><b>Figure 2 </b>Refined monitoring</span><br><span><img id="admin_guide_000091__image48411229123418" src="en-us_image_0000001392414410.png"></span></div>
<p id="admin_guide_000091__p6421113413507">By default, the real-time monitoring data is displayed. You can click <span><img id="admin_guide_000091__image519271310317" src="en-us_image_0000001392733966.png"></span> to customize a time range. The default time ranges include 4 hours, 8 hours, 12 hours, 1 day, 1 week, and 1 month. Click <span><img id="admin_guide_000091__image152952034112912" src="en-us_image_0000001392254886.png"></span> and select <span class="uicontrol" id="admin_guide_000091__uicontrol1364582141114"><b>Export</b></span> to export the monitoring metric information.</p>
<div class="tablenoborder"><a name="admin_guide_000091__table3621114917574"></a><a name="table3621114917574"></a><table cellpadding="4" cellspacing="0" summary="" id="admin_guide_000091__table3621114917574" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Monitoring metrics</caption><thead align="left"><tr id="admin_guide_000091__row1162118491577"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.2.3.5.2.4.1.1"><p id="admin_guide_000091__p86217498574">Service</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35%" id="mcps1.3.3.2.3.5.2.4.1.2"><p id="admin_guide_000091__p862124915712">Metric Item</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="48%" id="mcps1.3.3.2.3.5.2.4.1.3"><p id="admin_guide_000091__p39551246388">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="admin_guide_000091__row56211649135710"><td class="cellrowborder" rowspan="2" valign="top" width="17%" headers="mcps1.3.3.2.3.5.2.4.1.1 "><p id="admin_guide_000091__p3621154945714">HDFS</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.3.2.3.5.2.4.1.2 "><p id="admin_guide_000091__p8621134955720">HDFS Tenant Space Details</p>
<ul id="admin_guide_000091__ul1739993754210"><li id="admin_guide_000091__li12399113715422">Allocated Space</li><li id="admin_guide_000091__li12399203714420">Used Space</li></ul>
</td>
<td class="cellrowborder" rowspan="2" valign="top" width="48%" headers="mcps1.3.3.2.3.5.2.4.1.3 "><p id="admin_guide_000091__p264032381215">HDFS can monitor a specified storage directory. The storage directory is the same as the directory added by the current tenant in <strong id="admin_guide_000091__b393045801715">Resource</strong>.</p>
</td>
</tr>
<tr id="admin_guide_000091__row156211849155718"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.3.5.2.4.1.1 "><p id="admin_guide_000091__p1962174913578">HDFS Tenant File Object Details</p>
<ul id="admin_guide_000091__ul43331760425"><li id="admin_guide_000091__li233376184213">Number of Used File Objects</li></ul>
</td>
</tr>
<tr id="admin_guide_000091__row962124919572"><td class="cellrowborder" rowspan="2" valign="top" width="17%" headers="mcps1.3.3.2.3.5.2.4.1.1 "><p id="admin_guide_000091__p1363894913578">Yarn</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.3.2.3.5.2.4.1.2 "><p id="admin_guide_000091__p463824913575">Yarn Allocated Cores</p>
<ul id="admin_guide_000091__ul6446355183514"><li id="admin_guide_000091__li124467555352">Maximum Number of CPU Cores in an AM</li><li id="admin_guide_000091__li244619554356">Allocated Cores</li><li id="admin_guide_000091__li1944685513519">Number of Used CPU Cores in an AM</li></ul>
</td>
<td class="cellrowborder" rowspan="2" valign="top" width="48%" headers="mcps1.3.3.2.3.5.2.4.1.3 "><p id="admin_guide_000091__p087319580147">Monitoring information of the current tenant is displayed. If no sub-item is configured for a tenant, this information is not displayed.</p>
<p id="admin_guide_000091__p12994131113383">The monitoring data is obtained from <strong id="admin_guide_000091__b188216194189">Scheduler</strong> &gt; <strong id="admin_guide_000091__b182112199189">Application Queues</strong> &gt; <strong id="admin_guide_000091__b682121918184">Queue:</strong> <em id="admin_guide_000091__i2821181917189">Tenant name</em> on the native web UI of Yarn.</p>
</td>
</tr>
<tr id="admin_guide_000091__row15638649115714"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.3.5.2.4.1.1 "><p id="admin_guide_000091__p1663813493579">Yarn Allocated Memory</p>
<ul id="admin_guide_000091__ul1901726103714"><li id="admin_guide_000091__li2901202620373">Allocated Maximum AM Memory</li><li id="admin_guide_000091__li109011626103719">Allocated Memory</li><li id="admin_guide_000091__li990113261372">Used AM Memory</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000090.html">Technical Principles</a></div>
</div>
</div>