forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com> Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
197 lines
40 KiB
HTML
197 lines
40 KiB
HTML
<a name="dataartsstudio_01_1390"></a><a name="dataartsstudio_01_1390"></a>
|
|
|
|
<h1 class="topictitle1">Doris Connection Parameters</h1>
|
|
<div id="body0000001680358581">
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_1390__en-us_topic_0141836082_table126135615295" frame="border" border="1" rules="all"><caption><b>Table 1 </b>MRS Doris connection</caption><thead align="left"><tr id="dataartsstudio_01_1390__en-us_topic_0141836082_row14785613295"><th align="left" class="cellrowborder" valign="top" width="21.16%" id="mcps1.3.1.2.4.1.1"><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p77135618295">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="9.48%" id="mcps1.3.1.2.4.1.2"><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p6712562296">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="69.36%" id="mcps1.3.1.2.4.1.3"><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p117756132916">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dataartsstudio_01_1390__row1963220465010"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p1421933161719">Data Connection Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p121973121710">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p1721993191719"><strong id="dataartsstudio_01_1390__b2130965468103651">Doris</strong> is selected by default and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__en-us_topic_0141836082_row14755612299"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p97135682918">Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p10815619295">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p10487624232">Name of the data connection to create. Data connection names can contain a maximum of 100 characters. They can contain only letters, digits, underscores (_), and hyphens (-).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row16372172795310"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p13373172711538">Tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p237472715316">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><div class="p" id="dataartsstudio_01_1390__p194874211237">Attribute of the data connection to create. Tags make management easier.<div class="note" id="dataartsstudio_01_1390__en-us_topic_0000001554166437_note97121765158"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1390__en-us_topic_0000001554166437_p107124612153">The tag name can contain only letters, digits, and underscores (_) and cannot start with an underscore (_) or contain more than 100 characters.</p>
|
|
</div></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row182839491595"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p1313102611386">Applicable Modules</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p1013192653810">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p1313192653818">Select the modules for which this connection is available.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row1569472013110"><td class="cellrowborder" colspan="3" valign="top" headers="mcps1.3.1.2.4.1.1 mcps1.3.1.2.4.1.2 mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p85151347175011"><strong id="dataartsstudio_01_1390__b90883020954130">Basic and Network Connectivity Configuration</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row2332201214441"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p1833391211442">Doris Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p143334122442">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p143332125447">You can select <strong id="dataartsstudio_01_1390__b3491913208">MRS Doris</strong> or <strong id="dataartsstudio_01_1390__b13187122712019">CloudTable Doris</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row11255192511441"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p16999144010551">MRS Cluster Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p199997408559">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p109808361537">This parameter is valid when <strong id="dataartsstudio_01_1390__b101861853153219">Doris Type</strong> is set to <strong id="dataartsstudio_01_1390__b191877531324">MRS Doris</strong>.</p>
|
|
<div class="note" id="dataartsstudio_01_1390__note14382115171115"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1390__p18382181514112">This parameter is available only for MRS clusters of version 3.2.0 or later.</p>
|
|
</div></div>
|
|
<div class="p" id="dataartsstudio_01_1390__p12178142223118">The name of the MRS cluster. Select an MRS cluster that Hive belongs to. Only MRS clusters are supported. A Hadoop cluster can be selected only after it is managed by MRS. All the MRS clusters with the same project ID and enterprise project are displayed.<div class="note" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_note16393711615"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1390__en-us_topic_0000001503606428_en-us_topic_0182566327_p116249795810"><span id="dataartsstudio_01_1390__en-us_topic_0000001503606428_en-us_topic_0182566327_text7355181825814">DataArts Studio</span> does not support MRS clusters whose Kerberos encryption type is <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_en-us_topic_0182566327_b143479402717">aes256-sha2,aes128-sha2</strong>, and only supports MRS clusters whose Kerberos encryption type is <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_en-us_topic_0182566327_b19532103219813">aes256-sha1,aes128-sha1</strong>.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="p" id="dataartsstudio_01_1390__p5325171084910">If the connection fails after you select a cluster, check whether the MRS cluster can communicate with the CDM instance which functions as the agent. They can communicate with each other in the following scenarios:<ul id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ul1715617232281"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li17205293217">If the CDM cluster in the <span id="dataartsstudio_01_1390__en-us_topic_0000001503606428_text15319922125112">DataArts Studio</span> instance and the MRS cluster are in different regions, a public network or a dedicated connection is required. If the Internet is used for communication, ensure that an EIP has been bound to the CDM cluster, and the MRS cluster can access the Internet and the port has been enabled in the firewall rule.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li13205893215">If the CDM cluster in the <span id="dataartsstudio_01_1390__en-us_topic_0000001503606428_text151663810818">DataArts Studio</span> instance and the MRS cluster are in the same region, VPC, subnet, and security group, they can communicate with each other by default. If they are in the same VPC but in different subnets or security groups, you must configure routing rules and security group rules. For details about how to configure routing rules, see "Adding Routes to a Route Table" in <em id="dataartsstudio_01_1390__en-us_topic_0000001503606428_i1317838485">Virtual Private Cloud (VPC) x.x.x User Guide</em> in <em id="dataartsstudio_01_1390__en-us_topic_0000001503606428_i13171138184">Virtual Private Cloud (VPC) x.x.x Usage Guide</em>. For details about how to configure security group rules, see "Security Group" > "Adding a Security Group Rule" in Virtual Private Cloud (VPC) x.x.x User Guide in Virtual Private Cloud (VPC) x.x.x Usage Guide.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li20156162311283">The MRS cluster and the <span id="dataartsstudio_01_1390__en-us_topic_0000001503606428_text4156132310284">DataArts Studio</span> workspace belong to the same enterprise project. If they do not, you can modify the enterprise project of the workspace.</li></ul>
|
|
<div class="note" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_note030793314500"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1390__en-us_topic_0000001503606428_p130813395015">If an agent is connected to multiple MRS clusters and one of the MRS clusters is deleted or abnormal, connections to the other MRS clusters will be affected. Therefore, you are advised to connect an agent to only one MRS cluster.</p>
|
|
</div></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row542411491135"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p182162568130">FE IP</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p13425104917135">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p025434513020">IP address of the frontend node of the Doris or Cloud component in the MRS cluster. You can enter one or more IP addresses. Separate multiple IP addresses with commas (,).</p>
|
|
<p id="dataartsstudio_01_1390__p497552992">To obtain them, perform the following operations:</p>
|
|
<ol id="dataartsstudio_01_1390__ol3975121798"><li id="dataartsstudio_01_1390__li189751524910">Log in to MRS FusionInsight Manager.</li><li id="dataartsstudio_01_1390__li4975521296">Choose <strong id="dataartsstudio_01_1390__b1298194112219">Cluster</strong> > <strong id="dataartsstudio_01_1390__b1549017444220">Services</strong> > <strong id="dataartsstudio_01_1390__b56344010317">Doris</strong> > <strong id="dataartsstudio_01_1390__b93441971138">Instance</strong> to obtain the management IP address of the FE role.</li></ol>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row471514122146"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p157168125148">Port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p47161612101412">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p177162012191412">Port used by the Doris FE to query connections through the MySQL protocol</p>
|
|
<p id="dataartsstudio_01_1390__p15975228918">To obtain MRS Doris, perform the following steps:</p>
|
|
<ol id="dataartsstudio_01_1390__ol297512193"><li id="dataartsstudio_01_1390__li11975627914">Log in to MRS FusionInsight Manager.</li><li id="dataartsstudio_01_1390__li497582797">Choose <strong id="dataartsstudio_01_1390__b1021792712412">Cluster</strong> > <strong id="dataartsstudio_01_1390__b1349972911417">Services</strong> > <strong id="dataartsstudio_01_1390__b1543473219412">Doris</strong> > <strong id="dataartsstudio_01_1390__b135451844344">Configurations</strong> > <strong id="dataartsstudio_01_1390__b10924124815419">Basic Configurations</strong>, search for <strong id="dataartsstudio_01_1390__b6315921251">query_port</strong>, and view the port number.</li></ol>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row167161288161"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p8895642919">KMS Key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p188456152916">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><div class="p" id="dataartsstudio_01_1390__p4476133012514">KMS key used to encrypt and decrypt data source authentication information. Select a default or custom key.<div class="note" id="dataartsstudio_01_1390__en-us_topic_0000001554166437_note5782131311013"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_1390__en-us_topic_0000001554166437_ul15258512511"><li id="dataartsstudio_01_1390__en-us_topic_0000001554166437_li652514518257">When you use KMS for encryption through DataArts Studio or KPS for the first time, the default key <strong id="dataartsstudio_01_1390__en-us_topic_0000001554166437_b10282246320">dlf/default</strong> or <strong id="dataartsstudio_01_1390__en-us_topic_0000001554166437_b7601112203216">kps/default</strong> is automatically generated. For more information about default keys, see "What Is a Default Master Key?" in <em id="dataartsstudio_01_1390__en-us_topic_0000001554166437_i155895285215">Data Encryption Workshop FAQs</em>.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001554166437_li694815818253">Only symmetric keys are supported. Asymmetric keys are not supported.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row47848108169"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p2995612299">Agent</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p7919567292">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p142796961615">MRS is not a fully managed service and cannot be directly connected to <span id="dataartsstudio_01_1390__en-us_topic_0000001503606428_en-us_topic_0187412481_text24757216017">DataArts Studio</span>. A CDM cluster can provide an agent for <span id="dataartsstudio_01_1390__en-us_topic_0000001503606428_en-us_topic_0187412481_text5608222103">DataArts Studio</span> to communicate with non-fully-managed services. Therefore, you need to select a CDM cluster when creating an MRS data connection. If no CDM cluster is available, create one first by referring to <a href="dataartsstudio_01_0576.html">Creating a CDM Cluster</a>.</p>
|
|
<p id="dataartsstudio_01_1390__p85151413121614">As a network proxy, the CDM cluster must be able to communicate with the MRS cluster. To ensure network connectivity, the CDM cluster must be in the same region and AZ and use the same VPC and subnet as the MRS cluster. The security group rule must also allow the CDM cluster to communicate with the MRS cluster.</p>
|
|
<div class="note" id="dataartsstudio_01_1390__note423753912525"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_1390__ul788564013216"><li id="dataartsstudio_01_1390__li588511405326">If you use the same CDM cluster as the agent for multiple connections to MRS clusters with Kerberos authentication enabled, jobs will fail. You are advised to plan multiple CDM clusters based on service requirements.</li><li id="dataartsstudio_01_1390__li93701340767">If a CDM cluster functions as the agent for a data connection in Management Center, the cluster supports a maximum of 200 concurrent active threads. If multiple data connections share an agent, a maximum of 200 SQL, Shell, and Python scripts submitted through the connections can run concurrently. Excess tasks will be queued. You are advised to plan multiple agents based on the workload.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row19742459141818"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p207424597184">SSL Encryption</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p177421459101811">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p074295911811">Whether to enable SSL encrypted transmission. This function is enabled by default. Disable it if SSL is disabled at the source.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row874218595410"><td class="cellrowborder" colspan="3" valign="top" headers="mcps1.3.1.2.4.1.1 mcps1.3.1.2.4.1.2 mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p169277298513"><strong id="dataartsstudio_01_1390__b573614355510">Data Source Driver Configuration</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row353721714510"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p18238155841514">Driver Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p15238658201514">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p1031812453477">Driver name. Currently, the MySQL JDBC driver is supported. The driver name is <strong id="dataartsstudio_01_1390__b553374151017">com.mysql.jdbc.Driver</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row159341121255"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p2321529114416">Driver Source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p2321102924411">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p2321142924415">Select the source of the driver file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row654811712517"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p1503183113583">Driver File Path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p95039312585">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p19671204410816">This parameter is mandatory when <strong id="dataartsstudio_01_1390__b15521629113211">Driver file source</strong> is set to <strong id="dataartsstudio_01_1390__b16521162913328">OBS path</strong>.</p>
|
|
<p id="dataartsstudio_01_1390__p20503163155811">Path of the driver file in the OBS bucket. You need to download the .jar driver file from the corresponding official website and upload it to the OBS bucket.</p>
|
|
<p id="dataartsstudio_01_1390__p847611271194">MySQL driver: Obtain the driver from <a href="https://downloads.mysql.com/archives/c-j/" target="_blank" rel="noopener noreferrer">https://downloads.mysql.com/archives/c-j/</a>. Version 5.1.48 or later is recommended. If the version is earlier than 5.1.48, error "The db user or password invalid" will be reported.</p>
|
|
<div class="note" id="dataartsstudio_01_1390__note20506131135818"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1390__p750643145811">To update the driver, you must restart the CDM cluster in DataArts Migration and then edit the data connection to upload the driver.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row12128761954"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__p171380221152">Driver File</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__p713814223519">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p1013942214511">This parameter is mandatory when <strong id="dataartsstudio_01_1390__b13411918153319">Driver Source</strong> is set to <strong id="dataartsstudio_01_1390__b1241161817336">Local file</strong>. Select a driver version that adapts to the database type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row98191019151017"><td class="cellrowborder" colspan="3" valign="top" headers="mcps1.3.1.2.4.1.1 mcps1.3.1.2.4.1.2 mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p1281921911015"><strong id="dataartsstudio_01_1390__b153796141954156">Data Source Authentication and Other Function Configuration</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row1144084458"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p1684561296">Username</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p1781756152915">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p26131159285">Username of the MRS or CloudTable cluster.</p>
|
|
<p id="dataartsstudio_01_1390__p8198114618115">If a new MRS user is used for connection, you need to log in to Manager and change the initial password.</p>
|
|
<p id="dataartsstudio_01_1390__p1198174610112">To create a data connection for an MRS security cluster, do not use user <strong id="dataartsstudio_01_1390__b9885172063411">admin</strong>. The <strong id="dataartsstudio_01_1390__b108203223344">admin</strong> user is the default management page user and cannot be used as the authentication user of the security cluster. You can create an MRS user with a permanent password by referring to <a href="dataartsstudio_01_1306.html#dataartsstudio_01_1306__section52193714195">Creating a Kerberos Authentication User for an MRS Security Cluster</a>. When creating an MRS data connection, set <span class="parmname" id="dataartsstudio_01_1390__parmname265210327342"><b>Username</b></span> and <span class="parmname" id="dataartsstudio_01_1390__parmname1565323273418"><b>Password</b></span> to the new MRS username and password.</p>
|
|
<div class="note" id="dataartsstudio_01_1390__note717431471217"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_1390__ul1619819467113"><li id="dataartsstudio_01_1390__li4198114611113">For clusters of MRS 3.1.0 or later, the user must at least have permissions of the <strong id="dataartsstudio_01_1390__b197835216358">Manager_viewer</strong> role to create data connections in Management Center. To perform database, table, and data operations on components, the user must also have user group permissions of the components.</li><li id="dataartsstudio_01_1390__li11198746111113">For clusters earlier than MRS 3.1.0, the user must have permissions of the <strong id="dataartsstudio_01_1390__b5105102533510">Manager_administrator</strong> or <strong id="dataartsstudio_01_1390__b171053258359">System_administrator</strong> role to create data connections in Management Center.</li><li id="dataartsstudio_01_1390__li219834651114">A user with only the <strong id="dataartsstudio_01_1390__b18871112617359">Manager_tenant</strong> or <strong id="dataartsstudio_01_1390__b187172619358">Manager_auditor</strong> permission cannot create connections.</li><li id="dataartsstudio_01_1390__li7754239181219">You are advised to set a user password that never expires to prevent connection failures and service loss caused by password expiration.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_1390__row15410911350"><td class="cellrowborder" valign="top" width="21.16%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p9815614295">Password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.48%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1390__en-us_topic_0141836082_p889561290">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1390__p3159124371016">It can also be the password for accessing the MRS or CloudTable cluster.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_1390__section26531239492"><h4 class="sectiontitle">Creating a Kerberos Authentication User for an MRS Security Cluster</h4><p id="dataartsstudio_01_1390__en-us_topic_0000001503606428_p1938465911910">To create a data connection for an MRS security cluster, do not use user <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b6470349556">admin</strong>. The <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b784918356554">admin</strong> user is the default management page user and cannot be used as the authentication user of the security cluster. To create an MRS user, perform the following steps:</p>
|
|
<p id="dataartsstudio_01_1390__en-us_topic_0000001503606428_p22601334123714">For clusters of MRS 3.x:</p>
|
|
<ol id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ol11846135116399"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li374016014404">Log in to MRS Manager as user <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b389414532374">admin</strong>.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li19490112617582">Choose <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b128101412713">System</strong> > <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b37231218472">Permission</strong> > <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1819132213716">Security Policy</strong> > <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b105701926772">Password Policy</strong>. Click <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1078617816819">Add Password Policy</strong> and add a policy under which the password never expires.<ul id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ul15161929125810"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li8162162915588">Set <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b2070713141498">Password Policy Name</strong> to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b38571630391">neverexp</strong>.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li12416143215586">Set <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b22495551899">Password Validity Period (Days)</strong> to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b76087594915">0</strong>, indicating that the password never expires.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li994310118599">Set <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b4249144313102">Password Expiration Notification (Days)</strong> to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b9266194791015">0</strong>.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li159190461599">Retain the default values for other parameters.</li></ul>
|
|
</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li10394101114401">Choose <span class="menucascade" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_menucascade53987422261"><b><span class="uicontrol" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_uicontrol153981742152612">System</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_uicontrol339864232617">Permission</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_uicontrol133986423265">User</span></b></span>. On the page displayed, click <span class="parmname" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_parmname1039813423269"><b>Create</b></span> to add a dedicated human-machine user as the Kerberos authentication user and set the password policy to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b739894212617">neverexp</strong>. Select the user group <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b4398104252617">superGroup</strong> for the user, and assign all roles to the user.<div class="note" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_note121581838191918"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ul25608543713"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li35608549716">For clusters of MRS 3.1.0 or later, the user must at least have permissions of the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b19898742175517">Manager_viewer</strong> role to create data connections in Management Center. To perform database, table, and data operations on components, the user must also have user group permissions of the components.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li556185413719">For clusters earlier than MRS 3.1.0, the user must have permissions of the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b24684682">Manager_administrator</strong> or <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1201529114">System_administrator</strong> role to create data connections in Management Center.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li165619548718">A user with only the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1249124519554">Manager_tenant</strong> or <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b95017450555">Manager_auditor</strong> permission cannot create connections.</li></ul>
|
|
</div></div>
|
|
</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li135217359422">Log in to Manager as the new user and change the initial password. Otherwise, the connection fails to be created.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li7470141444514">Synchronize IAM users.<ol type="a" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ol849471117461"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li1064316410469">Log in to the MRS console.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li96444417461">Choose <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b973855112559">Clusters</strong> > <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1073875119557">Active Clusters</strong>, select a running cluster, and click its name to go to its details page.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li6644184154616">In the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b12359853205510">Basic Information</strong> area of the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b4359175315552">Dashboard</strong> page, click <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b5359175315515">Synchronize</strong> on the right side of <span class="parmname" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_parmname5360115345513"><b>IAM User Sync</b></span> to synchronize IAM users.<div class="note" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_note1764494154617"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ul1064544174612"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li6645124194613">When the policy of the user group to which the IAM user belongs changes from <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1823855505514">MRS ReadOnlyAccess</strong> to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b172381552558">MRS CommonOperations</strong>, <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b52382559559">MRS FullAccess</strong>, or <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b123995555515">MRS Administrator</strong>, wait for 5 minutes until the new policy takes effect after the synchronization is complete because the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1423917551552">SSSD</strong> (System Security Services Daemon) cache of cluster nodes needs time to be updated. Then, submit a job. Otherwise, the job may fail to be submitted.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li1664513413462">When the policy of the user group to which the IAM user belongs changes from <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b106321258195514">MRS CommonOperations</strong>, <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b6632165815557">MRS FullAccess</strong>, or <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b146338583554">MRS Administrator</strong> to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b46331658165515">MRS ReadOnlyAccess</strong>, wait for 5 minutes until the new policy takes effect after the synchronization is complete because the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b6634135811551">SSSD</strong> cache of cluster nodes needs time to be updated.</li></ul>
|
|
</div></div>
|
|
</li></ol>
|
|
</li></ol>
|
|
<p id="dataartsstudio_01_1390__en-us_topic_0000001503606428_p19812127193715">For clusters of MRS 2.x or earlier:</p>
|
|
<ol id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ol93844593190"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li14384115918191">Log in to the MRS Manager as user <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b18300056163711">admin</strong>.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li159751127358">On FusionInsight Manager, choose <span class="wintitle" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_wintitle19455105913412"><b>System Settings</b></span> and click <span class="parmname" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_parmname7455459549"><b>Configure Password Policy</b></span> to modify the password policy.<ul id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ul149751027756"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li59758271252">Set <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b156959379513">Password Validity Period (Days)</strong> to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1169583714515">0</strong>, indicating that the password never expires.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li8975162716510">Set <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1182012391459">Password Expiration Notification (Days)</strong> to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b108205391519">0</strong>.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li149751273514">Retain the default values for other parameters.</li></ul>
|
|
</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li2384759111916">Choose <span class="menucascade" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_menucascade66621571224"><b><span class="uicontrol" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_uicontrol17662778226">System</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_uicontrol1366212716226">Manage User</span></b></span>. On the page displayed, add a dedicated human-machine user as the Kerberos authentication user. Select the user group <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b466316710222">superGroup</strong> for the user, and assign all roles to the user.<div class="note" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_note4785194613197"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ul198671229189"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li68678218183">For clusters of MRS 2.<em id="dataartsstudio_01_1390__en-us_topic_0000001503606428_i1495215585612">x</em> or earlier, the user must have permissions of the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b2095218511565">Manager_administrator</strong> or <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b395213519566">System_administrator</strong> role to create data connections in Management Center.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li369157141819">A user with only the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b188121451556">Manager_tenant</strong> or <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b11812545185518">Manager_auditor</strong> permission cannot create connections.</li></ul>
|
|
</div></div>
|
|
</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li20385115901915">Log in to MRS Manager as the new user and change the initial password. Otherwise, the connection fails to be created.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li4344548154819">Synchronize IAM users.<ol type="a" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ol4344748174818"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li1334444834816">Log in to the MRS console.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li20344194894812">Choose <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1696911522556">Clusters</strong> > <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b49691252145520">Active Clusters</strong>, select a running cluster, and click its name to go to its details page.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li11345154864819">In the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b13551354195515">Basic Information</strong> area of the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b355113541553">Dashboard</strong> page, click <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b95512546552">Synchronize</strong> on the right side of <span class="parmname" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_parmname8551654165515"><b>IAM User Sync</b></span> to synchronize IAM users.<div class="note" id="dataartsstudio_01_1390__en-us_topic_0000001503606428_note9345164824810"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dataartsstudio_01_1390__en-us_topic_0000001503606428_ul20346154814488"><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li13346948134816">When the policy of the user group to which the IAM user belongs changes from <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b10761456155520">MRS ReadOnlyAccess</strong> to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b17761756125520">MRS CommonOperations</strong>, <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1676145665517">MRS FullAccess</strong>, or <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b16761175619554">MRS Administrator</strong>, wait for 5 minutes until the new policy takes effect after the synchronization is complete because the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1876117565552">SSSD</strong> (System Security Services Daemon) cache of cluster nodes needs time to be updated. Then, submit a job. Otherwise, the job may fail to be submitted.</li><li id="dataartsstudio_01_1390__en-us_topic_0000001503606428_li9346124824819">When the policy of the user group to which the IAM user belongs changes from <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b1498755917559">MRS CommonOperations</strong>, <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b9987165920555">MRS FullAccess</strong>, or <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b149878598553">MRS Administrator</strong> to <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b19871559175516">MRS ReadOnlyAccess</strong>, wait for 5 minutes until the new policy takes effect after the synchronization is complete because the <strong id="dataartsstudio_01_1390__en-us_topic_0000001503606428_b19871599553">SSSD</strong> cache of cluster nodes needs time to be updated.</li></ul>
|
|
</div></div>
|
|
</li></ol>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0009.html">Configuring DataArts Studio Data Connection Parameters</a></div>
|
|
</div>
|
|
</div>
|
|
|