Connections > SAP ODP Extractor connection properties > Use the serverless runtime environment
  

Use the serverless runtime environment

You can use a serverless runtime environment hosted on AWS or Azure to connect to the SAP system when you configure an SAP ODP Extractor connection on Linux.
You can't use the serverless runtime environment if you want to use SAP Secure Network Communication (SNC) Protocol.
Before you configure an SAP ODP Extractor connection using the serverless runtime environment, perform the following tasks:
Add the SAP libraries in the Amazon S3 bucket or Azure container in your AWS or Azure account
Perform the following steps to configure an SAP ODP Extractor connection in a serverless runtime environment:
  1. 1Create the following structure for the serverless agent configuration in AWS or Azure: <Supplementary file location>/serverless_agent_config
  2. 2Add the libraries in the Amazon S3 bucket or Azure container in the following location in your AWS or Azure account: <Supplementary file location>/serverless_agent_config/sap
Configure the .yml serverless configuration file
Perform the following steps to configure the .yml serverless configuration file in the serverless runtime environment, and to copy the SAP libraries to the serverless agent directory:
  1. 1Copy the following code snippet to a text editor:
  2. version: 1
    agent:
    dataIntegrationServer:
    autoDeploy:
    sap:
    jcos:
    - fileCopy:
    sourcePath: sap/jco/<sapjco_libary_filename>
    - fileCopy:
    sourcePath: sap/jco/<sapjco_libary_filename>
    where the source path is the directory path of the SAP library files in AWS or Azure.
  3. 2Ensure that the syntax and indentations are valid, and then save the file as serverlessUserAgentConfig.yml in the following AWS or Azure location: <Supplementary file location>/serverless_agent_config
  4. When the .yml file runs, the SAP libraries are copied from the AWS or Azure location to the serverless agent directory.
Configure the JAVA_LIBS and JVMClassPath properties for the serverless runtime environment
Perform the following steps in Administrator to configure the JAVA_LIBS and JVMClassPath properties for the serverless runtime environment on Linux:
  1. 1Log in to Informatica Intelligent Cloud Services.
  2. 2Select Administrator > Serverless Environments.
  3. 3On the Serverless Environments tab, expand the Actions menu for the required serverless runtime environment, and then select Edit.
  4. 4On the Runtime Configuration Properties tab, select Data Integration Server as the service.
  5. 5Select the following Type and Name, and then enter the JAVA_LIBS and JVMClassPath values:
  6. Type
    Name
    Value
    Tomcat_JRE
    JAVA_LIBS
    ../bin/rdtm-extra/tpl/sap/sapjco3.jar:../bin/rdtm/javalib/sap/sap-adapter-common.jar
    PMRDTM_CFG
    JVMClassPath
    pmserversdk.jar:../../bin/rdtm-extra/tpl/sap/sapjco3.jar:../../bin/rdtm/javalib/sap/sap-adapter-common.jar
  7. 6Click Save.
For more information about how to configure and use the serverless environment, see Serverless runtime environment setup.