Files
doc-exports/docs/dataartsstudio/umn/dataartsstudio_01_5105.html
chenxiaoxiong f9e2808b7c DataArts UMN 20250810 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
2025-09-02 10:44:13 +00:00

38 lines
9.2 KiB
HTML

<a name="dataartsstudio_01_5105"></a><a name="dataartsstudio_01_5105"></a>
<h1 class="topictitle1">Configuring Environment Isolation for a <span id="text8464102981420">DataArts Studio</span> Workspace in Enterprise Mode</h1>
<div id="body0000001557510889"><ul id="dataartsstudio_01_5105__ul12750118534"><li id="dataartsstudio_01_5105__li177501286314">You can configure isolation between the development and production environments for DLI and DB.</li><li id="dataartsstudio_01_5105__li7750482036">After the environment isolation is configured, the data connection in the development environment in the script or job during data development is automatically switched to the data connection in the production environment after the process is released.</li></ul>
<div class="section" id="dataartsstudio_01_5105__section783625617513"><h4 class="sectiontitle">Prerequisites</h4><ul id="dataartsstudio_01_5105__ul1772242120523"><li id="dataartsstudio_01_5105__li2072282115520">Before configuring environment isolation for DLI, ensure that you have created a DLI <a href="dataartsstudio_01_1299.html">data connection</a>.</li></ul>
</div>
<div class="section" id="dataartsstudio_01_5105__section10809123165220"><h4 class="sectiontitle">(Optional) Configuring DLI Environment Isolation</h4><p id="dataartsstudio_01_5105__p01395316524">Environment isolation needs to be configured only for a serverless service (that is, DLI).</p>
<ol id="dataartsstudio_01_5105__ol116261228135311"><li id="dataartsstudio_01_5105__li2848154165110">Log in to the <span id="dataartsstudio_01_5105__en-us_topic_0000001987511677_en-us_topic_0000001127311125_text5574448155719">DataArts Studio</span> console by following the instructions in <a href="dataartsstudio_01_0001.html">Accessing the DataArts Studio Instance Console</a>.</li><li class="msonormal" id="dataartsstudio_01_5105__li11777174316135">On the <span id="dataartsstudio_01_5105__en-us_topic_0000001503129708_text82024413513">DataArts Studio</span> console, locate a workspace and click <strong id="dataartsstudio_01_5105__en-us_topic_0000001503129708_b820215416513">Management Center</strong>.</li><li id="dataartsstudio_01_5105__li2939542185313">In the left navigation pane on the <strong id="dataartsstudio_01_5105__b119131858133316">Management Center</strong> page, choose <strong id="dataartsstudio_01_5105__b103671131163419">Data Source Resource Mapping Configuration</strong>.<div class="fignone" id="dataartsstudio_01_5105__fig112561281915"><span class="figcap"><b>Figure 1 </b>Data Source Resource Mapping Configuration</span><br><span><img id="dataartsstudio_01_5105__image14797527171" src="en-us_image_0000002269197513.png" title="Click to enlarge" class="imgResize"></span></div>
<p id="dataartsstudio_01_5105__p45321507533"></p>
</li><li id="dataartsstudio_01_5105__li854819567531">Click the <span class="uicontrol" id="dataartsstudio_01_5105__uicontrol164245251458"><b>DB Configuration</b></span> tab and then <strong id="dataartsstudio_01_5105__b1742582564514">Add</strong>. Set the database names for the development and production environments respectively and click <strong id="dataartsstudio_01_5105__b742582524519">Save</strong>. You can click <span><img id="dataartsstudio_01_5105__image137091459006" src="en-us_image_0000002269117469.png" title="Click to enlarge" class="imgResize"></span> and <span><img id="dataartsstudio_01_5105__image181771020413" src="en-us_image_0000002234078284.png" title="Click to enlarge" class="imgResize"></span> to edit and delete records.<div class="p" id="dataartsstudio_01_5105__p146821935707">The database names must be the names of created databases. It is recommended that the database name for the development environment be the same as that for the production environment, and that suffix <strong id="dataartsstudio_01_5105__b1065101915105">_dev</strong> be added to the database name for the development environment so that it can be distinguished from the database name for the production environment.<div class="fignone" id="dataartsstudio_01_5105__fig17291130105915"><span class="figcap"><b>Figure 2 </b>DB Configuration</span><br><span><img id="dataartsstudio_01_5105__image13769235155113" src="en-us_image_0000002424390041.png" title="Click to enlarge" class="imgResize"></span></div>
</div>
<p id="dataartsstudio_01_5105__p412145245613"></p>
</li><li id="dataartsstudio_01_5105__li4211422115416">Click the <span class="uicontrol" id="dataartsstudio_01_5105__uicontrol398153018453"><b>DLI Queue Configuration</b></span> tab and then <strong id="dataartsstudio_01_5105__b1398143014518">Add</strong>. Set the queue names for the development and production environments respectively and click <strong id="dataartsstudio_01_5105__b1198183094510">Save</strong>. You can use <span><img id="dataartsstudio_01_5105__image15587194153" src="en-us_image_0000002234078248.png" title="Click to enlarge" class="imgResize"></span> and <span><img id="dataartsstudio_01_5105__image7587293151" src="en-us_image_0000002234078240.png" title="Click to enlarge" class="imgResize"></span> to edit and delete records.<div class="p" id="dataartsstudio_01_5105__p13598181610611">The queue names must be the names of created DLI queues. It is recommended that the queue name for the development environment be the same as that for the production environment, and that suffix <strong id="dataartsstudio_01_5105__b1578125818159">_dev</strong> be added to the queue name for the development environment so that it can be distinguished from the queue name for the production environment.<div class="fignone" id="dataartsstudio_01_5105__fig730204835915"><span class="figcap"><b>Figure 3 </b>DLI Queue Configuration</span><br><span><img id="dataartsstudio_01_5105__image1456103719167" src="en-us_image_0000002269117457.png" title="Click to enlarge" class="imgResize"></span></div>
</div>
<p id="dataartsstudio_01_5105__p11962143915581"></p>
</li><li id="dataartsstudio_01_5105__li8235153805418">After the preceding operations are complete, DLI environment isolation configuration is complete.</li></ol>
</div>
<div class="section" id="dataartsstudio_01_5105__section20609134272018"><a name="dataartsstudio_01_5105__section20609134272018"></a><a name="section20609134272018"></a><h4 class="sectiontitle">DB Configuration</h4><ol id="dataartsstudio_01_5105__ol17679957132018"><li id="dataartsstudio_01_5105__li1523715194219">On the <span id="dataartsstudio_01_5105__text6536927152018">DataArts Studio</span> console, locate a workspace and click <strong id="dataartsstudio_01_5105__b4536527182015">Management Center</strong>.</li><li id="dataartsstudio_01_5105__li77937216210">In the left navigation pane on the <strong id="dataartsstudio_01_5105__b883614292203">Management Center</strong> page, choose <strong id="dataartsstudio_01_5105__b1783792914202">Data Source Resource Mapping Configuration</strong>.</li><li id="dataartsstudio_01_5105__li1246210132114">Click the <span class="uicontrol" id="dataartsstudio_01_5105__uicontrol192241036144519"><b>DB Configuration</b></span> tab and then <strong id="dataartsstudio_01_5105__b1224133619453">Add</strong>. Set the database names for the development and production environments respectively and click <strong id="dataartsstudio_01_5105__b922553674511">Save</strong>. You can click <span><img id="dataartsstudio_01_5105__image17463130112119" src="en-us_image_0000002234238072.png" title="Click to enlarge" class="imgResize"></span> and <span><img id="dataartsstudio_01_5105__image94638092113" src="en-us_image_0000002234078264.png" title="Click to enlarge" class="imgResize"></span> to edit and delete records.<div class="p" id="dataartsstudio_01_5105__p104631000217">The database names must be the names of created databases. It is recommended that the database name for the development environment be the same as that for the production environment, and that suffix <strong id="dataartsstudio_01_5105__b7958507211">_dev</strong> be added to the database name for the development environment so that it can be distinguished from the database name for the production environment.<div class="notice" id="dataartsstudio_01_5105__note54637012112"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="dataartsstudio_01_5105__p146350182119">For GaussDB(DWS), MRS Hive, and MRS Spark, if you <strong id="dataartsstudio_01_5105__b18928144202217">select the same cluster</strong> when creating a data connection, you must configure database mapping on the <strong id="dataartsstudio_01_5105__b0491123192219">Configure Data Source Resource Mapping</strong> page to isolate the development and production environments.</p>
</div></div>
<div class="fignone" id="dataartsstudio_01_5105__fig34630092112"><span class="figcap"><b>Figure 4 </b>DB Configuration</span><br><span><img id="dataartsstudio_01_5105__image177673108526" src="en-us_image_0000002424510233.png" title="Click to enlarge" class="imgResize"></span></div>
</div>
<p id="dataartsstudio_01_5105__p54631507214"></p>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0008.html">Management Center</a></div>
</div>
</div>
<script language="JavaScript">
<!--
initImageViewer('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>