Microsoft Dynamics 365 for Sales Connector > Microsoft Dynamics 365 for Sales connections > Configuring the proxy settings on Linux
  

Configuring the proxy settings on Linux

You can update the proxy server settings defined for the Secure Agent from the command line. To configure the proxy server settings for the Secure Agent on a Linux machine, you must update the proxy.ini file and configure the JVM options of the Secure Agent.

Configure the proxy settings through the Secure Agent

The Secure Agent installer configures the proxy server settings for the Secure Agent based on settings configured in the browser. You can update the proxy server settings defined for the Secure Agent from the command line.
To configure the proxy server settings for the Secure Agent on a Linux machine, use a shell command that updates the proxy.ini file.
    1. Navigate to the following directory:
    <Secure Agent installation directory>/apps/agentcore/conf
    2. To update the proxy.ini file, add the following parameters and specify appropriate values for each parameter:
    InfaAgent.ProxyHost=<proxy_server_hostname>
    InfaAgent.ProxyPort=<proxy_server_port>
    3. Restart the Secure Agent.

Configure the proxy settings through JVM options

    1. Log in to Informatica Intelligent Cloud Services.
    2. Open Administrator and select Runtime Environments.
    3. Select the Secure Agent for which you want to configure a proxy server.
    4. On the upper-right corner of the page, click Edit.
    5. In the System Configuration Details section, select the Type as DTM for the Data Integration Service.
    6. To use a proxy server, add the following parameters in any JVMOption field and specify appropriate values for each parameter:
    Parameter
    Description
    -Dhttps.proxySet=
    Determines whether to use proxy settings for the HTTPS proxy server.
    Values are True or False.
    -Dhttp.proxySet=
    Determines whether to use proxy settings for the HTTP proxy server.
    Values are True or False.
    -Dhttps.proxyHost=
    Host name of the outgoing HTTPS proxy server.
    -Dhttp.proxyHost=
    Host name of the outgoing HTTP proxy server.
    -Dhttps.proxyPort=
    Port number of the outgoing HTTPS proxy server.
    -Dhttp.proxyPort=
    Port number of the outgoing HTTP proxy server.
    Note: You must specify the parameter and the value for the parameter enclosed in single quotation marks.
    Example for HTTPS:
    JVMOption1='-Dhttps.proxySet=<True>'
    JVMOption2='-Dhttps.proxyHost=<proxy_server_hostname>'
    JVMOption3='-Dhttps.proxyPort=<proxy_server_portnumber>'
    Example for HTTP:
    JVMOption1='-Dhttp.proxySet=<True>'
    JVMOption2='-Dhttp.proxyHost=<proxy_server_hostname>'
    JVMOption3='-Dhttp.proxyPort=<proxy_server_portnumber>'
    7. Click Save.
    The Secure Agent restarts to apply the settings.
    Note: The session log does not log the proxy server details even if you have configured a proxy server.