Informatica Cloud: How To Resolve Unknown Host Name For Secure Agent In Linux

For some connectors (e.g. Marketing Cloud connector) to work in Informatica Cloud, we need to configure the host name in the server where the Secure Agent is installed. In this post, we will discuss how to resolve the unknown host name issue with Linux.

Steps

(1) Execute the command below on the secure agent machine to verify the host name of the server.

1
hostname -f

(2) Manually add an entry to /etc/hostname or /etc/hosts file for the host name resolution as below.

1
<IP Adress of the server> <Host Name>

(3) Shut down the secure agent with the command below.

1
sudo /opt/infaagent/apps/agentcore/infaagent shutdown

(4) Go to the path {Agent Dir}/main and open the file infaagent.ini. You can use the command below to find the ini file (for RedHat).

1
find -name infaagent.ini

When you find the multiple ini files, make sure to edit the latest version. The number in the path indicate the agent edition. In the example below, 27.0.16 is the latest

(5) Remove all the entries in the ini file except: InfaAgent.MasterUrl=https://app.informaticaondemand.com/ma;

(6) Save the file and restart the agent with the command below.

1
sudo /opt/infaagent/apps/agentcore/infaagent startup

You may need to re-configure the agent if the startup command doesn’t work. Use the command below.

1
sudo /opt/infaagent/apps/agentcore/consoleAgentManager.sh configure <User Name> <Password>

(7) In the cloud interface, you will see the secure agent in the right host name.

Other useful comand

To check the status of the agent

1
sudo /opt/infaagent/apps/agentcore/consoleAgentManager.sh getStatus

To check if the agent is configured

1
sudo /opt/infaagent/apps/agentcore/consoleAgentManager.sh isConfigured
ETL
Running Jobs with Informatica Cloud REST API

Informatica Cloud offers REST API for us to interact with the platform programmatically. At this point in time, the latest official reference is found here. In this post, we are going to use Python to trigger jobs through API. Triggering a job is a 2-step process. We need to authenticate …

ETL
Tips and Troubleshooting For Uploading CSV to Database In Talend

There will be time when you want to upload a big csv file (with many rows and hundreds of columns) to a relational database table. Talend Open Studio is an open source ETL tool that I use regularly to do odd jobs like that. I like using it because it …

ETL
How To Rename Mapping Job In Informatica Cloud

Mappings are where all the magic happens in Informatica Cloud. When I started using it, it took me a while to work out how to rename a mapping job. Since then, a few people asked me the same question. So, I decided to write about it. This is probably the …