Agent Management
For HDFS and relational database data sources, if nodes cannot be exposed, you can deploy an agent on the source network. CDM uses an agent to obtain data from the internal data source of the customer. However, data cannot be written into the data source.
Figure 2 shows the process of using an agent.
Creating an Agent
- Log in to the DGC console, select a DGC instance, and click Access.
On the displayed page, click the Workspaces tab. In the workspace list, locate the required workspace.
- Click Data Integration of the corresponding workspace.
The Data Integration page is displayed.
- In the left navigation tree, choose Cluster Management. On the displayed page, choose Job Management > Agent Management > Create Agent and configure the agent information. For details, see Figure 3.
- IP Address: Set this parameter to the IP address of the host used to deploy the agent on the source network.
- Port: the port number exposed by the agent. Recommended value range: 1024–65535.
- Enable Compression: Whether to compress data for transmission.
- Enable SSL: Whether to enable SSL two-way authentication to ensure data security.
- Bandwidth Throttling: Set the maximum downstream rate of the agent. No throttling by default.
- Click OK. On the Agent Management page, you can view the created agent.
Downloading and Installing an Agent
- On the Agent Management page, find the created agent. Click Download next to the created agent to download it, as shown in Figure 4.
- Upload the downloaded agent package to the host where the agent is deployed.
The agent depends on Java 8. Before deploying the agent, ensure that Java 8 (64-bit) has been installed and Java environment variables have been configured.
- Decompress the installation package and run the following commands to install the agent:
su Ruby
sh sbin/start.sh
- After the installation is complete, run the following command to check whether the agent process is started:
If the command output contains the running agent process, the agent process has been started.
Connecting to an Agent
- On the Agent Management page, find the created agent. Click Connect to connect to the created agent, as shown in Figure 5.
- After the agent is successfully connected, you can select the agent in Link to HDFS and Link to Relational Databases.
Last Article: Batch Job Management
Next Article: Cluster Management




Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.