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

121 lines
15 KiB
HTML

<a name="dataartsstudio_01_1509"></a><a name="dataartsstudio_01_1509"></a>
<h1 class="topictitle1">Redis Connection Parameters</h1>
<div id="body0000001990301953">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_1509__en-us_topic_0141836082_table126135615295" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Redis connection</caption><thead align="left"><tr id="dataartsstudio_01_1509__en-us_topic_0141836082_row14785613295"><th align="left" class="cellrowborder" valign="top" width="21.15%" id="mcps1.3.1.2.4.1.1"><p id="dataartsstudio_01_1509__en-us_topic_0141836082_p77135618295">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9.49%" id="mcps1.3.1.2.4.1.2"><p id="dataartsstudio_01_1509__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_1509__en-us_topic_0141836082_p117756132916">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dataartsstudio_01_1509__row2454155344917"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__p187882052124512">Data Connection Type</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__p4788145294511">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1509__p5788165212458"><strong id="dataartsstudio_01_1509__b46705596821226">Redis</strong> is selected by default and cannot be changed.</p>
</td>
</tr>
<tr id="dataartsstudio_01_1509__en-us_topic_0141836082_row14755612299"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__en-us_topic_0141836082_p97135682918">Name</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__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_1509__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_1509__row16372172795310"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__p13373172711538">Tag</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__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_1509__p194874211237">Attribute of the data connection to create. Tags make management easier.<div class="note" id="dataartsstudio_01_1509__en-us_topic_0000001554166437_note97121765158"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1509__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_1509__row744911384502"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__p1313102611386">Applicable Modules</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__p1013192653810">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1509__p1313192653818">Select the modules for which this connection is available.</p>
</td>
</tr>
<tr id="dataartsstudio_01_1509__row95141947125014"><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_1509__p85151347175011"><strong id="dataartsstudio_01_1509__b125691325515">Basic and Network Connectivity Configuration</strong></p>
</td>
</tr>
<tr id="dataartsstudio_01_1509__row132872030111810"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__p1637613323286">Manual</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__p153764322281">No</p>
</td>
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1509__p0376193222812">This parameter is available when a proxy is used for connection. You can select <strong id="dataartsstudio_01_1509__b14788246105811">Cluster Name Mode</strong> or <strong id="dataartsstudio_01_1509__b17882046165820">Connection String Mode</strong>.</p>
<ul id="dataartsstudio_01_1509__ul14198141015521"><li id="dataartsstudio_01_1509__li51981910105218">If you select <strong id="dataartsstudio_01_1509__b41520530521226">Cluster Name Mode</strong>, select an existing cluster.</li><li id="dataartsstudio_01_1509__li1719812100525">If you select <strong id="dataartsstudio_01_1509__b106215990321226">Connection String Mode</strong>, enter the IP address and port of the corresponding cluster.</li></ul>
</td>
</tr>
<tr id="dataartsstudio_01_1509__row181172921817"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__p3382192955512">MRS Cluster Name</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__p2382162945512">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_1509__p9382142918559">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_1509__en-us_topic_0000001503606428_note16393711615"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1509__en-us_topic_0000001503606428_en-us_topic_0182566327_p116249795810"><span id="dataartsstudio_01_1509__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_1509__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_1509__en-us_topic_0000001503606428_en-us_topic_0182566327_b19532103219813">aes256-sha1,aes128-sha1</strong>.</p>
</div></div>
</div>
<div class="p" id="dataartsstudio_01_1509__p638282919557">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_1509__en-us_topic_0000001503606428_ul1715617232281"><li id="dataartsstudio_01_1509__en-us_topic_0000001503606428_li17205293217">If the CDM cluster in the <span id="dataartsstudio_01_1509__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_1509__en-us_topic_0000001503606428_li13205893215">If the CDM cluster in the <span id="dataartsstudio_01_1509__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_1509__en-us_topic_0000001503606428_i1317838485">Virtual Private Cloud (VPC) x.x.x User Guide</em> in <em id="dataartsstudio_01_1509__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" &gt; "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_1509__en-us_topic_0000001503606428_li20156162311283">The MRS cluster and the <span id="dataartsstudio_01_1509__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_1509__en-us_topic_0000001503606428_note030793314500"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1509__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_1509__en-us_topic_0141836082_row26676209301"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__en-us_topic_0141836082_p17667152013013">Server List</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__en-us_topic_0141836082_p366762043017">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="69.36%" headers="mcps1.3.1.2.4.1.3 "><p id="dataartsstudio_01_1509__p221004115483">This parameter is displayed when <strong id="dataartsstudio_01_1509__b19411194205918">Manual</strong> is set to <strong id="dataartsstudio_01_1509__b14432657165914">Connection String Mode</strong>.</p>
<p id="dataartsstudio_01_1509__p103981912172010">One or more servers (server domain name/IP address:server port) separated by commas (,)</p>
<p id="dataartsstudio_01_1509__p10139123202012">Example: <strong id="dataartsstudio_01_1509__b17292261508">192.168.0.1:27017</strong> or <strong id="dataartsstudio_01_1509__b19292364020">192.168.0.2:27017</strong></p>
</td>
</tr>
<tr id="dataartsstudio_01_1509__row338251917319"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__en-us_topic_0141836082_p8895642919">KMS Key</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__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_1509__p4476133012514">KMS key used to encrypt and decrypt data source authentication information. Select a default or custom key.<div class="note" id="dataartsstudio_01_1509__en-us_topic_0000001554166437_note5782131311013"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_1509__en-us_topic_0000001554166437_ul15258512511"><li id="dataartsstudio_01_1509__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_1509__en-us_topic_0000001554166437_b10282246320">dlf/default</strong> or <strong id="dataartsstudio_01_1509__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_1509__en-us_topic_0000001554166437_i155895285215">Data Encryption Workshop FAQs</em>.</li><li id="dataartsstudio_01_1509__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_1509__row128782915522"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__en-us_topic_0141836082_p2995612299">Agent</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__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_1509__en-us_topic_0141836082_p4985642920">The CDM cluster provides an agent for communications between <span id="dataartsstudio_01_1509__text115667102433">DataArts Studio</span> and Redis. When creating a Redis connection, select a CDM cluster. If no CDM cluster is available, create one first by referring to <a href="dataartsstudio_01_0576.html">Creating a CDM Cluster</a>.</p>
</td>
</tr>
<tr id="dataartsstudio_01_1509__row1036682385215"><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_1509__p17627137195815"><strong id="dataartsstudio_01_1509__b1178591665916">Data Source Authentication and Other Function Configuration</strong></p>
</td>
</tr>
<tr id="dataartsstudio_01_1509__en-us_topic_0141836082_row78155622914"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__en-us_topic_0141836082_p1684561296">Authentication Method</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__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_1509__p1241131417318">This parameter is mandatory when <strong id="dataartsstudio_01_1509__b1184712497511">Manual</strong> is set to <strong id="dataartsstudio_01_1509__b128801621463">Connection String Mode</strong>.</p>
<p id="dataartsstudio_01_1509__en-us_topic_0141836082_p447915434228">Select the authentication type of the database.</p>
<p id="dataartsstudio_01_1509__p14146653202514">The options include <strong id="dataartsstudio_01_1509__b1449630868">SIMPLE</strong> and <strong id="dataartsstudio_01_1509__b1015453519611">KERBEROS</strong>.</p>
</td>
</tr>
<tr id="dataartsstudio_01_1509__en-us_topic_0141836082_row98155617296"><td class="cellrowborder" valign="top" width="21.15%" headers="mcps1.3.1.2.4.1.1 "><p id="dataartsstudio_01_1509__en-us_topic_0141836082_p9815614295">Password</p>
</td>
<td class="cellrowborder" valign="top" width="9.49%" headers="mcps1.3.1.2.4.1.2 "><p id="dataartsstudio_01_1509__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_1509__en-us_topic_0141836082_p184791343132210">Password for accessing the database. The password is required for creating a cluster.</p>
</td>
</tr>
</tbody>
</table>
</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>