Runtime Environments > Secure Agent installation > Installing in Linux
  

Installing in Linux

On Linux, the Secure Agent runs as a process. You can use a shell command line to install, register, start, stop, and uninstall the Secure Agent.
You can also use the shell command line to check the Secure Agent status.
When you install a Secure Agent, you perform the following tasks:
  1. 1Verify that the machine meets the minimum requirements.
  2. 2Download the Secure Agent installer files.
  3. 3Install and register the Secure Agent.
Consider the following guidelines:

Secure Agent requirements on Linux

You can install the Secure Agent on any machine that has internet connectivity and can access Informatica Intelligent Cloud Services. Before you install the Secure Agent on Linux, verify the system requirements.
Verify the following requirements before you install the Secure Agent on Linux:
For more information, see this KB article: Minimum requirements and best practices when installing Informatica Cloud Secure Agent.

Configuring the firewall

If your organization uses a protective firewall, include the Informatica Intelligent Cloud Services domain name or IP address ranges in the list of approved domain names or IP addresses. To ensure that the Secure Agent can perform all necessary tasks through the firewall, enable the port that the Secure Agent uses.
The Secure Agent uses port 443 (HTTPS) to connect to the internet. Configure your firewall to allow traffic to pass over port 443.
The allowlists of domains and IP addresses can vary according to your POD (Point of Deployment). You can identify your POD through the URL that appears when you open any service in Informatica Intelligent Cloud Services. The first few characters of the URL string identify the POD. For example, if the URL starts with usw3.dm-us.informaticacloud.com, your POD is USW3.
For the allowlists of Informatica Intelligent Cloud Services domains and IP addresses for different PODs, see Pod Availability and Networking on the Documentation Portal or click the link at the top of the Runtime Environments page in Administrator.

Setting Secure Agent permissions on Linux

A Secure Agent requires certain permissions to transfer data between sources and targets.
When you install a Secure Agent on Linux, the Secure Agent must have read/write/execute permissions for the installation directory.

Downloading and installing the Secure Agent on Linux

To install the Secure Agent on a Linux machine, you must download and run the Secure Agent installation program and then register the agent.
Secure Agent registration requires an install token. To get the install token, copy the token when you download the agent or use the Generate Install Token option in Administrator. The token expires after 24 hours.
When you register the agent, it is added to its own Secure Agent group by default. You can add the agent to a different Secure Agent group.
Before you download and install the Secure Agent, verify that no other Secure Agent is installed on the machine using the same Linux user account. If there is, you must uninstall it.
Tip: To verify the checksum of the Secure Agent installation program, use the agent REST API version 2 resource. For more information about the agent resource, see REST API Reference.
    1Open Administrator and select Runtime Environments.
    2On the Runtime Environments page, click Download Secure Agent.
    3Select the Linux 64-bit operating system platform, copy the install token, and then click Download.
    The installation program is downloaded to your machine. The name of the installation program is agent64_install_ng_ext.<agent core version>.bin.
    4Save the installation program to a directory on the machine where you want to run the Secure Agent.
    Note: Ensure that the file path doesn't contain spaces or multibyte characters. If the file path contains spaces, the installation might fail. If the path contains multibyte characters, the Secure Agent might not start.
    5From a shell command line, navigate to the directory where you downloaded the installation program and enter the following command:
    ./agent64_install_ng_ext.bin -i console
    6When the installer completes, navigate to the following directory:
    <Secure Agent installation directory>/apps/agentcore
    7To start the Secure Agent, enter the following command:
    ./infaagent startup
    The Secure Agent Manager starts. You must register the agent using the user name that you use to access Informatica Intelligent Cloud Services. You must also supply the install token.
    8If you did not copy the install token when you downloaded the agent, click Generate Install Token on the Runtime Environments page in Administrator, and copy the token.
    9To register the agent, in the <Secure Agent installation directory>/apps/agentcore directory, enter one of the following commands using your Informatica Intelligent Cloud Services user name and the token that you copied:
    The following table lists the command options:
    Option
    Description
    User Name
    Required. Informatica Intelligent Cloud Services user name of the user installing the Secure Agent.
    Install Token
    Required. The install token that you copied.
    Secure Agent group name
    Optional. Include when you want to add the agent to an existing Secure Agent group instead. If this option isn’t included in the command, the agent will be in its own Secure Agent group.
    You can check the registration status of a Secure Agent using the following command:
    ./consoleAgentManager.sh isConfigured

Configuring the proxy settings in Linux

If your organization uses an outgoing proxy server to connect to the internet, the Secure Agent connects to Informatica Intelligent Cloud Services through the proxy server.
The Secure Agent installer configures default proxy server settings for the Secure Agent based on settings configured in the browser. The proxy settings are stored in the proxy configuration file, proxy.ini, in the following directory:
<Secure Agent installation directory>/apps/agentcore/conf
The following code shows the default contents of the proxy configuration file:
InfaAgent.ProxyPassword=ZU8KjIzgtVrVmfRMUPzPMw\=\=
InfaAgent.ProxyNtDomain=
InfaAgent.ProxyHost=foo.bar.com
InfaAgent.ProxyPasswordEncrypted=true
InfaAgent.NonProxyHost=localhost|127.*|[\:\:1]
InfaAgent.ProxyUser=
InfaAgent.ProxyPort=12345
InfaAgent.AuthenticationOrder=
To update proxy hosts and ports, as well as the username and password to connect to the proxy server, use the command line. The command line validates the values that you enter. For more information, see Updating proxy settings through the command line.
To update other properties, edit the proxy configuration file directly. When you edit the proxy configuration file, ensure that you use the correct formats to avoid errors. For more information, see Updating proxy settings in the proxy configuration file.
To allow the Secure Agent to connect to data sources and targets, configure proxy settings through JVM Options in addition to configuring the proxy configuration file. For more information, see the help for the appropriate connector.
Some use cases require the Secure Agent to bypass the proxy server and communicate directly with the instance metadata service (IMDS), which stores temporary security credentials. For example, bypassing the proxy server is required if you use an Azure managed identity to access sources and targets in a mapping in advanced mode and if you enable the Use EC2 Role to Assume Role property in an Amazon S3 V2 connection. To allow the agent to communicate directly with the IMDS, edit the proxy configuration file and set the IP address of the IMDS, 169.254.169.254, in the value for the property InfaAgent.NonProxyHost.
Contact your network administrator for the correct proxy settings.

Updating proxy settings through the command line

To update proxy hosts, proxy ports, and the username and password to connect to the proxy server, use the command line to update the proxy configuration file.
    1Navigate to the following directory:
    <Secure Agent installation directory>/apps/agentcore/conf
    2To update the proxy configuration file, proxy.ini, run the following command:
    ./consoleAgentManager.sh configureProxy <proxy host> <proxy port> <proxy user name> <proxy password>
    3Restart the Secure Agent.

Updating proxy settings in the proxy configuration file

To update proxy settings that you can't update through the command line, edit the proxy configuration file directly.
    1Open the proxy.ini file.
    2Update the property values as required. Use the pipe character (|) as a delimiter to combine a list of host names and IP addresses. You can enter a wildcard to the left for host names or to the right for IP addresses.
    For example, the following value uses two formats to exclude cluster IP addresses in the CIDR block 172.16.0.0/16:
    InfaAgent.NonProxyHost=localhost|127.|[\:\:1]|123.432.|172.16.*|172.16.0.0/16
    3Restart the Secure Agent for the changes to take effect.

Uninstalling the Secure Agent in Linux

You can uninstall the Secure Agent. You might uninstall the Secure Agent if you no longer want to run the Secure Agent on the machine or if you want to reinstall the Secure Agent.
Before you uninstall the Secure Agent, verify that no connection or task is configured to use it.
    1From the command line, navigate to the following directory:
    <Secure Agent installation directory>/apps/agentcore
    2Stop the Secure Agent Linux process by entering the following command:
    ./infaagent shutdown
    3To uninstall the Secure Agent, run rm -rf on the directory where you installed the Secure Agent to remove Secure Agent files.