Agent Management
If your data is stored in HDFS or a relational database, you can deploy an agent on the source network. CDM pulls data from your internal data sources through an agent but cannot write data into the databases.
Figure 2 shows the process of using an agent.
Prerequisites
You have created a cluster according to Creating a CDM Cluster.
Creating an Agent
- Log in to the CDM management console.
- In the left navigation pane, click Cluster Management. Locate the target cluster, choose , and configure agent parameters. See Figure 3.
- IP Address: Set this parameter to the IP address of the server where the agent is deployed on the source network.
- Port: port exposed by the agent. Recommended value range: 1024–65535.
- Enable Compression: whether to compress data for transmission
- Enable SSL: whether to enable two-way SSL authentication
- Bandwidth Throttling: set the maximum downstream rate of the agent. By default, there is no throttling.
- Click OK. On the Agent Management page, view the created agent.
Downloading and Installing an Agent
- On the Agent Management page, locate the created agent. Click Download in the Operation column. See Figure 4.
- Upload the downloaded agent package to the agent server.
Agent running relies on Java 8. Before deploying an agent, ensure that Java 8 has been installed and Java environment variables have been configured.
- Decompress the installation package and run the following commands to install the agent:
sh sbin/install.sh
su Ruby
sh sbin/start.sh
- After the installation is complete, run the netstat -an command to check whether listening is enabled for the port.
Connecting to an Agent
- On the Agent Management page, locate the created agent. Click Connect in the Operation column. See Figure 5.
- Select the agent in Link to HDFS and Link to Relational Databases.
Last Article: Job Configuration Management
Next Article: Migration Scenarios




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