doc-exports/docs/dws/umn/dws_01_72362.html
Lu, Huayi 95132e24fc DWS UMN 830.201_new version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-27 11:54:34 +00:00

44 lines
12 KiB
HTML

<a name="EN-US_TOPIC_0000001707293965"></a><a name="EN-US_TOPIC_0000001707293965"></a>
<h1 class="topictitle1">Managing Resource Management Plans</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_section0267276414"><h4 class="sectiontitle">Overview</h4><p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_p07392021956">The resource management plan is an advanced resource management feature provided by GaussDB(DWS). You can create a resource management plan, add multiple stages to the plan, and configure different queue resource ratios for the stages. After a plan is started, it automatically changes the resource configurations in different stages as scheduled. If you need to run services in different stages with different proportions of resources, you can create a resource management plan to automatically change resource configurations in different stages.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_section362781111518"><h4 class="sectiontitle">Creating a Resource Management Plan</h4><ol id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_ol1394718431656"><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_li1994710439518"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_li11947943054"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b128291728123712">Clusters</strong>. Click the name of a cluster.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_li6948114312519"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b1242662115378">Resource Management Configurations</strong>.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_li1094818431518"><span>Click to the <strong id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_b1281185814113">Resource Management Plans</strong> tab and click <strong id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_b1782658114">Add</strong>.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_li594874311513"><span>Enter a plan name and click <strong id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_b127351831217">OK</strong>.</span><p><div class="notice" id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_note11949164311512"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="EN-US_TOPIC_0000001707293965__ul396104053917"><li id="EN-US_TOPIC_0000001707293965__li15961134003917">Before creating a resource management plan, you must design and create a resource pool. For details, see <a href="dws_01_07233.html">Creating a Resource Pool</a>.</li><li id="EN-US_TOPIC_0000001707293965__li1896174010395">You can create up to 10 resource management plans.</li></ul>
</div></div>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_section186335541056"><h4 class="sectiontitle">Starting a Resource Management Plan</h4><ol id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_o0730ba7101d24e5ab24c3ca8d2afe2dc"><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l2193c28ba7d540e990ec38159fdff43a"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l770e0157369d4aad83186692007c1a66"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b1351234208">Clusters</strong>. Click the name of a cluster.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l604d99521d4a469eace6790d9579e32b"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b1902021156">Resource Management Configurations</strong>.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l78d5c9bc4bb549b3840c533d1fb85c76"><span>Enter the plan details page and click <strong id="EN-US_TOPIC_0000001707293965__b6414175016208">Start</strong> to start a resource management plan.</span><p><div class="notice" id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_n87b8782a1a81407aae5072af24977893"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_ul6649830144612"><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_li156491306468">Only one plan can be started for each cluster.</li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_li065093064616">A plan must have at least two stages before it can be started.</li></ul>
</div></div>
<p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_p179581011142310"></p>
<p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_p167351449505"><span><img id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_image13841961816" src="figure/en-us_image_0000001759420469.png" title="Click to enlarge" class="imgResize"></span></p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_section176132414915"><h4 class="sectiontitle">Viewing the Execution Logs of a Resource Management Plan</h4><ol id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_en-us_topic_0273906365_ol97418743611"><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_en-us_topic_0273906365_li15273937108"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l99958d217ce44496b246cab98550f58d"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b543466782">Clusters</strong>. Click the name of a cluster.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l557b5f2672134f23af877322ae776c98"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b1623119624">Resource Management Configurations</strong>.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_lbd2cf5209d7345968f24237303f8fccf"><span>Go to the plan details page and view the switchover logs in the <strong id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_b194577111358">Plan Execution Log</strong> area.</span><p><p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_p2684513136"><span><img id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_image4283322131" src="figure/en-us_image_0000001759580341.png" title="Click to enlarge" class="imgResize"></span></p>
<p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_p1685312651318"><span><img id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_image14881627151316" src="figure/en-us_image_0000001711661404.png" title="Click to enlarge" class="imgResize"></span></p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_section175121191216"><h4 class="sectiontitle">Stopping a Resource Management Plan</h4><ol id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_o5eb26497708542acbff5d1a1725b8671"><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l7005ec8d2c2d46d1b8130c08b159e4ae"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l0f8d58c0b2d4402381880888b14bfac5"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b1092255381">Clusters</strong>. Click the name of a cluster.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l83f94645dab34385aba12dd4df9dee86"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b1985465255">Resource Management Configurations</strong>.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l97c32548dac34948af8d077cb1c03f2e"><span>Enter the plan details page and click <strong id="EN-US_TOPIC_0000001707293965__b13762556172015">Stop</strong> to stop a resource management plan.</span><p><p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_p7706131011263"></p>
<p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_p5885231221"><span><img id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_image539918410215" src="figure/en-us_image_0000001711820916.png" title="Click to enlarge" class="imgResize"></span></p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_section99751430121218"><h4 class="sectiontitle">Deleting a Resource Management Plan</h4><ol id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_en-us_topic_0273906368_ol97418743611"><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_en-us_topic_0273906368_li15273937108"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_lfa985c0a6cc54fff93ca9d471f223f53"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b402987853">Clusters</strong>. Click the name of a cluster.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_lf5e0dfe0b82643989a84334278f2bc02"><span>Choose <strong id="EN-US_TOPIC_0000001707293965__b1072970288">Resource Management Configurations</strong>.</span></li><li id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_l96b74915dfe946dab31ecfe6b8780a95"><span>Enter the plan details page and click <strong id="EN-US_TOPIC_0000001707293965__b151779192114">Delete</strong> to delete a resource management plan.</span><p><div class="notice" id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_nbeef9eba1e5745d184dcd92b4c10f931"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_en-us_topic_0273906368_p3424551550">You cannot delete a running resource management plan.</p>
</div></div>
<p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_p9371174619296"></p>
<p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_p108971732920"><span><img id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_image02283311220" src="figure/en-us_image_0000001759420489.png" title="Click to enlarge" class="imgResize"></span></p>
<p id="EN-US_TOPIC_0000001707293965__en-us_topic_0000001372839366_en-us_topic_0000001076899575_a19c58d0858e844b6b8a6db3010d9d4fb"></p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_1511.html">Resource Management Plan</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>