Updated on 2024-10-24 GMT+08:00

Redis Link Parameters

The Redis link is applicable to data migration of Redis created in the local data center or ECS. It is used to load data in the database or files to Redis.

Links to Redis data encrypted using SSL are not supported.

When connecting CDM to an on-premises Redis database, configure the parameters as described in Table 1.

Do not change the password or user when the job is running. If you do so, the password will not take effect immediately and the job will fail.

Table 1 Redis link parameters

Parameter

Description

Example Value

Name

Link name, which should be defined based on the data source type, so it is easier to remember what the link is for

redis_link

Redis Deployment Method

Two deployment methods are available:

  • Single: installation on a single-node system
  • Cluster: installation on a cluster
  • Proxy: installation using a proxy

Single

Redis Server List

List of Redis server addresses. Enter each address in the format of IP address or domain name of the database server:port number, Separate multiple server lists by semicolons (;).

192.168.0.1:7300;192.168.0.2:7301

Password

Password used for logging in to Redis

-

Redis Database Index

Index ID of a Redis database

A Redis database is similar to a relational database. The total number of Redis databases can be set in the Redis configuration file. By default, there are 16 Redis databases. The database names are integers ranging from 0 to 15 instead of character strings.

0

Authentication Method

Authentication method used for accessing MRS
  • SIMPLE: Select this for non-security mode.
  • KERBEROS: Select this for security mode.

SIMPLE

Username

If Authentication Method is set to KERBEROS, you must provide the username and password used for logging in to MRS Manager. If you need to create a snapshot when exporting a directory from HDFS, the user configured here must have the administrator permission on HDFS.

To create a data connection for an MRS security cluster, do not use user admin. The admin 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 and set Username and Password to the username and password of the created MRS user when creating an MRS data connection.
NOTE:
  • If the CDM cluster version is 2.9.0 or later and the MRS cluster version is 3.1.0 or later, the created user must have the permissions of the Manager_viewer role to create links on CDM. To perform operations on databases, tables, and columns of an MRS component, you also need to add the database, table, and column permissions of the MRS component to the user by following the instructions in the MRS documentation.
  • If the CDM cluster version is earlier than 2.9.0 or the MRS cluster version is earlier than 3.1.0, the created user must have the permissions of Manager_administrator or System_administrator to create links on CDM.
  • A user with only the Manager_tenant or Manager_auditor permission cannot create connections.

cdm

Cluster Config Name

This parameter is valid only when Authentication Method is set to KERBEROS. Select a cluster configuration you have created.

For details about how to configure a cluster, see Managing Cluster Configurations.

hdfs_01