Files
doc-exports/docs/dataartsstudio/umn/dataartsstudio_01_5101.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

55 lines
10 KiB
HTML

<a name="dataartsstudio_01_5101"></a><a name="dataartsstudio_01_5101"></a>
<h1 class="topictitle1">Admin Operations</h1>
<div id="body0000001504771742"><div class="p" id="dataartsstudio_01_5101__en-us_topic_0181092878_p328452235910">As the project owner or development owner, the admin manages the environment configuration and personnel roles in enterprise mode in a unified manner. The following table describes related operations.
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_5101__table163066385368" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Admin operations</caption><thead align="left"><tr id="dataartsstudio_01_5101__row1930663823612"><th align="left" class="cellrowborder" valign="top" width="39.03%" id="mcps1.3.1.1.2.3.1.1"><p id="dataartsstudio_01_5101__p2056812073714">Operation</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60.97%" id="mcps1.3.1.1.2.3.1.2"><p id="dataartsstudio_01_5101__p1030613385368">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dataartsstudio_01_5101__row630663853616"><td class="cellrowborder" valign="top" width="39.03%" headers="mcps1.3.1.1.2.3.1.1 "><p id="dataartsstudio_01_5101__p1498272103711">Making preparations</p>
</td>
<td class="cellrowborder" valign="top" width="60.97%" headers="mcps1.3.1.1.2.3.1.2 "><p id="dataartsstudio_01_5101__p10648911193814">The preparations include preparing data lakes and preparing and synchronizing data.</p>
<p id="dataartsstudio_01_5101__p193711504413"><strong id="dataartsstudio_01_5101__b474219471604">Preparing data lakes:</strong></p>
<div class="p" id="dataartsstudio_01_5101__p1978624714535">In enterprise mode, the development environment and production environment need to be isolated. Therefore, you need to prepare two data lake services, one for the production environment and the other for the development environment.<ul id="dataartsstudio_01_5101__en-us_topic_0000001503129708_en-us_topic_0000001232744655_ul1339145017597"><li id="dataartsstudio_01_5101__en-us_topic_0000001503129708_en-us_topic_0000001232744655_li23975014590">For clustered data sources, such as MRS, GaussDB(DWS), RDS, MySQL, Oracle, and ECS, you can create data connections in Management Center to distinguish data lake services in the development environment from those in the production environment. The data lake is automatically switched during development and production. Therefore, you need to prepare <strong id="dataartsstudio_01_5101__b14342126847">two data lake services (clusters)</strong> that have the same version, specifications, components, region, VPC, subnet, and other related configurations.<p id="dataartsstudio_01_5101__p775011591408">For example, if your data lake service is an MRS cluster, you need to prepare two MRS clusters with the same version, specifications, components, region, VPC, and subnet. Any change to the configuration of one of the MRS clusters must be synchronized to the other cluster.</p>
</li><li id="dataartsstudio_01_5101__en-us_topic_0000001503129708_en-us_topic_0000001232744655_li14738135115916">For serverless services (such as DLI), you can configure the mapping between data lake services in the production environment and those in the development environment through environment isolation in Management Center. The data lake is automatically switched during development and production. Therefore, you need to prepare two sets of queue and database resources in the serverless data lake service. You are advised to distinguish them by name suffix.</li><li id="dataartsstudio_01_5101__li202912384392">If GaussDB(DWS), MRS Hive, and MRS Spark data sources use <strong id="dataartsstudio_01_5101__b3688722151116">the same cluster</strong>, you must configure database mapping on the <strong id="dataartsstudio_01_5101__b33331133181417">Configure Data Source Resource Mapping</strong> page to isolate the development and production environments.</li></ul>
</div>
<p id="dataartsstudio_01_5101__p954917221100"><strong id="dataartsstudio_01_5101__b43031756121510">Preparing and synchronizing data:</strong></p>
<ul id="dataartsstudio_01_5101__ul1957563216115"><li id="dataartsstudio_01_5101__li12241810162514">After creating data lake services, you must create databases, database schemas (required only for DWS), and data tables in the data lake services of the development and production environments based on the project plan (for example, the databases and tables required for data development).<ul id="dataartsstudio_01_5101__ul757191512253"><li id="dataartsstudio_01_5101__li85755320115">For clustered data sources (such as MRS, DWS, RDS, MySQL, Oracle, and ECS), use two clusters, one for the development environment and the other for the production environment. The names of the databases, database schemas (required only for DWS), and data tables in the two environments must be the same.</li><li id="dataartsstudio_01_5101__li134264151226">For serverless services (such as DLI), you are advised to associate and distinguish the two queues and databases by name suffix (add suffix <strong id="dataartsstudio_01_5101__b13787165819160">_dev</strong> to the names of the queues and databases in the development environment and add no suffix to those in the production environment). The names of data tables in the development environment must be the same as those in the production environment.</li><li id="dataartsstudio_01_5101__li152521212380">For DWS, MRS Hive, and MRS Spark data sources that use the same cluster, use two databases to isolate the development and production environments (add suffix <strong id="dataartsstudio_01_5101__b11632191312175">_dev</strong> to the database for the development environment and add no suffix to the database for the production environment). The names of database schemas (required only for DWS) and data tables in the development environment must be the same as those in the production environment.</li></ul>
</li><li id="dataartsstudio_01_5101__li850711819258">After creating databases, database schemas (required only for DWS), and data tables, you must synchronize data of existing tables (if any) between the two data lake services.<ul id="dataartsstudio_01_5101__ul533051213248"><li id="dataartsstudio_01_5101__li1433021212419">Existing data in data lakes: Use data migration services such as CDM and DRS to synchronize data in batches between data lakes.</li><li id="dataartsstudio_01_5101__li184201019284">Data to be migrated from the data source: Use peering jobs of data migration services such as CDM and DRS to synchronize data between the data lake service of the production environment and that of the development environment.</li></ul>
</li></ul>
</td>
</tr>
<tr id="dataartsstudio_01_5101__row12307238123613"><td class="cellrowborder" valign="top" width="39.03%" headers="mcps1.3.1.1.2.3.1.1 "><p id="dataartsstudio_01_5101__p191966197379">Creating data connections in enterprise mode</p>
</td>
<td class="cellrowborder" valign="top" width="60.97%" headers="mcps1.3.1.1.2.3.1.2 "><p id="dataartsstudio_01_5101__p104152277313">You must create data connections for all data lake engines.</p>
<p id="dataartsstudio_01_5101__p657441710386">For clustered data sources that use different clusters, you can create a data connection between <span id="dataartsstudio_01_5101__text194013818544">DataArts Studio</span> and the data lake of the development environment and a data connection between <span id="dataartsstudio_01_5101__text730118255413">DataArts Studio</span> and the data lake of the production environment at the same time.</p>
<p id="dataartsstudio_01_5101__p1776723153919">For details, see <a href="dataartsstudio_01_1299.html">Creating a DataArts Studio Data Connection</a>.</p>
</td>
</tr>
<tr id="dataartsstudio_01_5101__row1830743819363"><td class="cellrowborder" valign="top" width="39.03%" headers="mcps1.3.1.1.2.3.1.1 "><p id="dataartsstudio_01_5101__p187911031143716">Configuring environment isolation for a workspace in enterprise mode</p>
</td>
<td class="cellrowborder" valign="top" width="60.97%" headers="mcps1.3.1.1.2.3.1.2 "><p id="dataartsstudio_01_5101__p33720221384">Configure DLI queue and DB mapping to isolate the development and production environments.</p>
<p id="dataartsstudio_01_5101__p6161538161119">For the DWS, MRS Hive, and MRS Spark data sources, if you select the same cluster when creating a data connection, you need to configure two databases for the same data lake service to isolate the development environment from the production environment. For details, see <a href="dataartsstudio_01_5105.html#dataartsstudio_01_5105__section20609134272018">DB Configuration</a>.</p>
<p id="dataartsstudio_01_5101__p331411444364">For the DLI data source, you can configure two DLI queues and databases to isolate the production environment from the development environment. For details, see <a href="dataartsstudio_01_5105.html">Configuring Environment Isolation for a DataArts Studio Workspace in Enterprise Mode</a>.</p>
</td>
</tr>
<tr id="dataartsstudio_01_5101__row530743815368"><td class="cellrowborder" valign="top" width="39.03%" headers="mcps1.3.1.1.2.3.1.1 "><p id="dataartsstudio_01_5101__p696818019381">Creating an IAM user and assigning DataArts Studio permissions to the user</p>
</td>
<td class="cellrowborder" valign="top" width="60.97%" headers="mcps1.3.1.1.2.3.1.2 "><p id="dataartsstudio_01_5101__p0375143918381">Create an IAM user with the <span class="parmname" id="dataartsstudio_01_5101__parmname19375639193814"><b><span id="dataartsstudio_01_5101__text696514341666">DARTS</span> User</b></span> permissions for a project member who wants to use <span id="dataartsstudio_01_5101__text473815783311">DataArts Studio</span> and assign a workspace role to the created user.</p>
<p id="dataartsstudio_01_5101__p6956331123119">For details, see <a href="dataartsstudio_01_0118.html">Authorizing Users to Use DataArts Studio</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_5106.html">Operations Supported for Different Roles in Enterprise Mode</a></div>
</div>
</div>