7 Deploying the ODI Repository for Non-Oracle Source Databases

This section provides information about deploying the Oracle Data Integrator (ODI) repository for non-Oracle source databases.

During installation and setup of Oracle Business Intelligence Applications (Oracle BI Applications), if your source database is Oracle, then an instance of the ODI repository is automatically deployed and no further setup steps are required. If your source database is Microsoft SQL Server or UDB DB2, then you must perform these configuration steps to deploy a new instance of the ODI repository.

If you've multiple sources and one or more of the source databases is non-Oracle, you must follow these procedures for all source databases, including any Oracle source databases. The following non-Oracle source databases are certified:
  • JD Edwards (JDE) 92 is certified with DB2 UDB (DB2 v10.5) and Microsoft SQL Server 2016 source databases.

  • People Soft 92 HCM is certified with Microsoft SQL Server 2016 source databases.

  • People Soft 92 LM (Learning Management) is certified with Microsoft SQL Server 2016 source databases.

  • People Soft 92 FSCM is certified with Microsoft SQL Server 2016 source databases.
  • People Soft 92 SIA (Student Information Analytics) is certified with Microsoft SQL Server 2016 source databases.

Perform these steps in order:

  1. Export Security Settings from Original ODI Repository.
  2. Exporting Topology Settings from Original ODI Repository.
  3. Create a New Master ODI Repository.
  4. Connect to the New Master ODI Repository.
  5. Create a New Work Repository.
  6. Import Source Adaptor Metadata Content into the New ODI Repository.
  7. Import Security Settings Into the ODI Repository.
  8. Importing Connection Details Which Configures the Data Servers.
Next Steps:

In Oracle BI Applications Configuration Manager, register sources, configure parameters, and generate load plans.

Note:

After you perform these procedures for a particular source and you then want to add a new source, you only need to perform the steps in Importing Source Adapter Metadata Content into the New ODI Repository. This is true regardless of the database technology of the second source.

For example, if you've a PeopleSoft 9.2 source on a Microsoft SQL Server database, then you'd perform the steps in Exporting Security Settings from Original ODI Repository through Importing Connection Details Which Configures the Data Servers. If you then wanted to add a second source, for example JD Edwards (on an Oracle, DB2, or Microsoft SQL Server database), you'd only need to perform the steps in Importing Source Adapter Metadata Content into the New ODI Repository.

Exporting Security Settings from Original ODI Repository

You need to export the security settings from the ODI Repository that were created using the Oracle Business Analytics Suite RCU.

  1. Create a local directory path for export as a precaution because the Import process that you run later may delete all the files and sub folders that are inside the import folder that you specify during the Import process.
  2. Launch the ODI Studio client and connect to the original ODI repository.
  3. Navigate to the Topology tab. From the Connect Navigator (the Topology icon drop-down on the top right side of the navigator pane), select Export. As part of the procedures described below, you export files to a local directory.
    Select Export
  4. Launch the Export Security Settings wizard from the Export Selection dialog.
    Export Selection dialog
  5. In Export Security Settings, perform the following and click OK:
    1. Specify the path for the newly created local directory for export in Export to directory.
    2. Select the Export to zip file check box.
    3. Provide the Zip File Name.
    4. Provide the Export key to export cipher data (passwords of connections).
    Export Security Settings dialog
    You use this zip export file to import the security settings in a later step.
  6. Create a copy of the export directory along with the export zip file for backup.

Exporting Topology Settings from Original ODI Repository

You need to export the topology settings from the Original ODI Repository that were created using the Oracle Business Analytics Suite RCU.

  1. Create a local directory path for export as a precaution because the Import process that you run later may delete all the files and sub folders that are inside the import folder that you specify during the Import process.
  2. Launch the ODI Studio client and connect to the original ODI repository.
  3. Navigate to the Topology tab. From the Connect Navigator (Topology icon drop-down on the top right side of the navigator pane), select Export. As part of the procedures described below, you export files to a local directory.
  4. Launch the Smart Export wizard from the Export Selection dialog.
  5. In Smart Export, perform the following:
    1. Specify the newly created local directory for export and provide a meaningful name for the export file.
    2. Check the Export as zip file check box.
    3. Provide the Export key to export along Cipher Data (Connection passwords).
    4. Select these logical schema objects and logical agents in Objects to be Exported:

      From Files

      • DW_BIAPPS11G_LOG_FILES
      • DW_BIAPPS11G_SHARED_FILES
      • DW_BIAPPS11G_SRCFILES

      From Oracle

      • CM_BIAPPS11G
      • DW_BIAPPS11G

      From Agents

      • OracleDIAgent
    5. Click Export.
    Description of 103-export-topology-settings-step4.gif follows
    Description of the illustration 103-export-topology-settings-step4.gif
  6. In ODI Studio, click Topology, select Physical Architecture, and then expand Agents.
    Topology tab
  7. Right-click on the configured agent and then click Open.
    Details of the configured ODI agentProperties of the configured ODI agent
  8. Take a screen shot of the properties of the current physical agent to validate it after import.
    This exports the logical and physical topology including assigned data source num ID values, database connect details, and logical and physical agents.
  9. Create a copy of the export directory along with the export zip file for backup.

Creating a New Master Repository

Use ODI Studio to create a new master repository.

  1. Launch ODI Studio.
  2. Open the New Gallery by selecting File and then New.
    This figure displays the New tab in the ODI Studio.
  3. In the Categories tree of the New Gallery, select ODI.
  4. From the Items list, select Create a New Master Repository, and click OK.

    The Master Repository Creation Wizard opens.

    This figure displays the categories tree of the New Gallery.
  5. Specify the Database Connection properties:
    Property Description

    Technology

    Select the technology that hosts your Master Repository.

    JDBC Driver

    The driver used to access the technology that hosts the repository.

    JDBC URL

    The URL used to establish the JDBC connection to the database.

    Note that the JDBC Driver and URL properties are synchronized and the default values are technology dependent.

    User

    The name of the schema where the Master Repository is stored.*

    Password

    The password for the schema.

    DBA User

    The user ID on the database with DBA privileges such as SYSTEM.

    Don't use SYS, which requires logging in as SYSDBA.

    DBA Password

    The password for the DBA User.

    Note:

    *Use the same credentials used by the installer to create the original repository.
    This figure displays the Master Repository Creation Wizard.
  6. (Optional) Click Test Connection to test the connection to the Master Repository, then click Next.
  7. In the Authentication screen, select Use External Authentication.
    Authentication dialog
  8. Under Use External Authentication, click the Add icon +, then in the Enterprise Roles and Users Retrieval dialog, click the Retrieve Enterprise Roles and Users icon.
    Enterprise Roles and Users Retrieval dialog
  9. In the Enterprise Roles and Users Retrieval dialog, expand Enterprise Users and select the users for which Supervisor Role is needed, and then click OK.
    Enterprise Roles and Users Retrieval dialog displaying enterprise users
  10. Click Next.
    Next button in the Master Repository Creation Wizard - Step 2 of 3
  11. In the Password Storage dialog, select Internal Password Storage, and then click Finish.
    Internal Password Storage option in the Master Repository Creation Wizard - Step 3 of 3
  12. Click Yes to indicate you want to remove the existing repository.
    Information message dialog
  13. In the information message, click OK.
    Information message dialog

Connecting to the New Master Repository

In this procedure, you create a new Master Repository login connection.

  1. Open the New Gallery by selecting File and then New.
  2. In the Categories tree of the New Gallery, select ODI.
  3. From the Items list, select Create a New ODI Repository Login.
  4. Click OK.

    The Repository Connection Information dialog opens.

  5. Specify the ODI connection details:
    Property Description

    Login name

    A connection alias.

    User

    The ODI Supervisor user name that was defined during the Oracle BI Applications installation.

    Note that the Supervisor user name is case sensitive and must be entered exactly as previously defined.

    Password

    The ODI Supervisor password that was defined during the Oracle BI Applications installation.

    Repository Connection Information dialog
  6. Specify the Database Connection (Master Repository) details:
    Property Description

    User

    The database user login of the schema that contains the Master Repository.

    Password

    The User password.

    Driver List

    Select the driver required to connect to the database supporting the Master Repository.

    Driver Name

    The complete driver name.

    URL

    The URL used to establish the JDBC connection to the database hosting the repository.

  7. In the Work Repository area, select Master Repository Only.
  8. (Optional) Click Test to verify that the connection is working.
  9. Click OK.

Creating a New Work Repository

Use this procedure to create a new Work Repository.

  1. In the Topology Navigator, go to the Repositories panel.
  2. Right-click the Work Repositories node, and select New Work Repository.
    This image displays how to navigate to the New Work Repository.

    The Create Work Repository Wizard opens.

  3. Specify the ODI Work Repository connection details.

    The Work Repository needs to be in the same schema as the Master Repository. Provide the same credentials used to create the Master Repository.

    Property Description

    Technology

    Select the technology that hosts your Work Repository.

    JDBC Driver

    The driver used to access the technology that hosts the repository.

    JDBC URL

    The complete path of the data server to host the Work Repository.

    Note that the JDBC Driver and URL properties are synchronized and the default values are technology-dependent.

    User

    The name of the schema where the Work Repository is stored.

    Password

    The password for the schema.

    Work Repository Creation Wizard - Step 1 of 2
  4. (Optional) Click Test Connection to verify the connection is working, then click Next.

    An informational dialog notifies you that a Work Repository already exists.

    Confirmation message
  5. Click No to overwrite the existing repository.
  6. Specify the Work Repository properties:
    Property Description

    Name

    A name for the Work Repository.

    Password

    This field is optional. The value can be any value. It doesn't correspond to the ODI Supervisor or database passwords.

    Work Repository Type

    Select Development.

    Work Repository Creation Wizard - Step 2 of 2
  7. Click Finish.
    Confirmation message
  8. When the Confirmation dialog asks if you'd like to create a login for the Work Repository, click No.
  9. Edit the repository connection details to connect to the Work Repository:
    1. Log off of the Work Repository.
    2. Open the Repository Connection Information dialog.
    3. In the Work Repository area, select the Work Repository option, and then select the name of the Work Repository you just created.
      Repository Connection Information dialog
    4. Click OK.

Importing Source Adaptor Metadata Content into the New ODI Repository

In this procedure, you import source-specific metadata content into the new ODI Repository by running the command line utility.

Preparing to Import Source Adaptor Metadata Content

Use these instructions to import source-specific metadata content into the new ODI Repository.

  1. Locate the directory <ORACLE_HOME>/bi/biapps/admin/provisioning/odi.

    Oracle Home example: /scratch/product/Oracle/Middleware/Oracle_Home. The .zip files in this directory contain the source-specific metadata content that you import into the new repository. The naming convention for the .zip files is <Source adapter>_<database technology>_ODI_Metadata.zip.

    Description of 103-import-source-adapter-prepare-step1.gif follows
    Description of the illustration 103-import-source-adapter-prepare-step1.gif
  2. Unzip ORACLE__BIA_11__ORACLE_ODI_Metadata.zip first and then unzip the appropriate metadata content file for your source adapter and database technology.

    Note:

    While unzipping files, don't unzip into a separate folder. Use the Extract here option from the unzipping tools to unzip all metadata zip files.

    For example, once you unzip files, you see the following folder structure:Description of 103-import-source-adapter-prepare-step2.gif follows
    Description of the illustration 103-import-source-adapter-prepare-step2.gif

    Inside ORACLE folder, you see the following folders:

    Description of 103-import-source-adapter-prepare-step2a.gif follows
    Description of the illustration 103-import-source-adapter-prepare-step2a.gif
  3. Locate the file bia-odi-util.jar, which is stored in <ORACLE_HOME>/bi/biapps/biaodiutil/lib.
  4. Configure Oracle Data Integrator Studio, if you haven't configured it yet, and ensure that you can sign in.
  5. Ensure that the jps-config-jse.xml, system-jazn-data.xml, and cwallet.sso files have been copied under <ORACLE_HOME>/odi/studio/bin while configuring Oracle Data Integrator Studio.

    Note:

    In the command, the jps-config-jse.xml file under <ORACLE_HOME>/odi/studio/bin is referred to as JPSCONFIGFILE.
  6. Create a directory to store the logs of the import process.

    In the command, this directory is referred to as LOGDIR.

  7. Obtain these ODI Repository connection details:
    • JDBC URL for the ODI Repository database
    • JDBC driver
    • Work Repository name
    • ODI Repository database user name and password
    • ODI user and password

    This connection information is displayed in ODI Studio in the Repository Connection Details dialog.

Running the Command Line Utility to Import Source Adaptor Metadata Content

Use this procedure to import the metadata content files into the new ODI Repository. You first import the metadata for Oracle BI Applications, after which you import the metadata for the appropriate source adaptors.

For potential performance enhancement, Oracle recommends running the command line utility on the database server machine.

To import metadata content by running the command line utility:

  1. Open a command line utility.
  2. Navigate to the <ORACLE_HOME>/odi/studio/bin directory.
  3. Run the following command to import the metadata of Oracle BI Applications first, which is mandatory before importing any source-specific metadata content.

    The PLV code for this adaptor is BIA_11.

    On UNIX/Linux:

    <JAVA_HOME>/bin/java -client -Dfile.encoding=UTF-8 -classpath
            "<ORACLE_HOME>/odi/sdk/lib/*:<ORACLE_HOME>/oracle_common/jlib/*:<ORACLE_HOME>/oracle_common/modules/oracle.idm/*:<ORACLE_HOME>/oracle_common/modules/oracle.jps/*:<ORACLE_HOME>/oracle_common/modules/oracle.jdbc/*:<ORACLE_HOME>/oracle_common/modules/oracle.nlsrtl/*:<ORACLE_HOME>/oracle_common/modules/oracle.ucp.jar:<ORACLE_HOME>/bi/biapps/lib/*:<ORACLE_HOME>/bi/biapps/biaodiutil/lib/bia-odi-util.jar"
            -Dcommon.components.home=<ORACLE_HOME>/oracle_common/ oracle.apps.biaodiutil.Import
            MODE=IMPORT FILEDIR=<EXP_FILE_DIR> PLV=<PLV_CODE> JPSCONFIGFILE=<JPS_CONFIG_FILE>
            LOGDIR=<LOG_DIR>

    For example:

    /scratch/jdk/jdk_1.8.0_201/bin/java -client -Dfile.encoding=UTF-8 -classpath
              "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"
              -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/
              oracle.apps.biaodiutil.Import MODE=IMPORT
              FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/
              PLV=BIA_11
              JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml
              LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/

    On Windows:

    <JAVA_HOME>\bin\java -client -Dfile.encoding=UTF-8 -classpath
            "<ORACLE_HOME>\odi\sdk\lib\*;<ORACLE_HOME>\oracle_common\jlib\*;<ORACLE_HOME>\oracle_common\modules\oracle.idm\*;<ORACLE_HOME>\oracle_common\modules\oracle.jps\*;<ORACLE_HOME>\oracle_common\modules\oracle.jdbc\*;<ORACLE_HOME>\oracle_common\modules\oracle.nlsrtl\*;<ORACLE_HOME>\oracle_common\modules\oracle.ucp.jar;<ORACLE_HOME>\bi\biapps\lib\*;<ORACLE_HOME>\bi\biapps\biaodiutil\lib\bia-odi-util.jar"
            -Dcommon.components.home=<ORACLE_HOME>\oracle_common\ oracle.apps.biaodiutil.Import
            MODE=IMPORT FILEDIR=<EXP_FILE_DIR> PLV=<PLV_CODE> JPSCONFIGFILE=<JPS_CONFIG_FILE>
            LOGDIR=<LOG_DIR>

    For example:

    C:\jdk\jdk_1.8.0_201\bin\java -client -Dfile.encoding=UTF-8 -classpath
              "C:\product\Oracle\Middelware\Oracle_Home\odi\sdk\lib\*;C:\product\Oracle\Middelware\Oracle_Home\oracle_common\jlib\*;C:\product\Oracle\Middelware\Oracle_Home\oracle_common\modules\oracle.idm\*;C:\product\Oracle\Middelware\Oracle_Home\oracle_common\modules\oracle.jps\*;C:\product\Oracle\Middelware\Oracle_Home\oracle_common\modules\oracle.jdbc\*;C:\product\Oracle\Middelware\Oracle_Home\oracle_common\modules\oracle.nlsrtl\*;C:\product\Oracle\Middelware\Oracle_Home\oracle_common\modules\oracle.ucp.jar;C:\product\Oracle\Middelware\Oracle_Home\bi\biapps\lib\*;C:\product\Oracle\Middelware\Oracle_Home\bi\biapps\biaodiutil\lib\bia-odi-util.jar"
              -Dcommon.components.home=C:\product\Oracle\Middelware\Oracle_Home\oracle_common\
              oracle.apps.biaodiutil.Import MODE=IMPORT
              FILEDIR=C:\product\Oracle\Middelware\Oracle_Home\bi\biapps\admin\provisioning\odi\
              PLV=BIA_11
              JPSCONFIGFILE=C:\product\Oracle\Middelware\Oracle_Home\odi\studio\bin\jps-config-jse.xml
              LOGDIR=C:\product\Oracle\Middelware\Oracle_Home\bi\biapps\admin\provisioning\odi\logs\
  4. Run the following command to import the source-specific metadata content. The PLV code and SRCTECH for the source-specific metadata content are given in the following parameters table.

    This table describes the parameters:

    Parameter Description

    MODE

    (Mandatory) Possible values:

    • IMPREGEN - Use this mode to import the adaptor metadata content and generate scenarios for that adaptor.

    • IMPORT — Use this mode to import metadata content only, without generating scenarios. A parameter file is generated that allows you to do the scenario generation at a later time.

    • SCEREGEN — Use this mode to generate scenarios only. Before running this mode, you need to have imported content using the IMPORT mode so that the parameter file required for scenario generation is already present.

    FILEDIR

    (Mandatory) The complete path for the export file directory files.

    CONNFILE

    (Optional) The complete path of the file containing the Connection Details. If this parameter isn't used, the utility prompts for the connection details.

    An example of a connection file is as follows:

    # ===============================
    # ODI Connection Information
    # ================================
    # Connection Information for Destination Oracle Data #Integrator Repository
    MasterJDBCDriver=oracle.jdbc.OracleDriver
    MasterJDBCUrl=jdbc:oracle:thin:@<host>:1521:orcl
    MasterJDBCUser=ODI_REP
    MasterJDBCPass=odirep
    WorkName=BIAPPS_WORKREP
    ODIUser=BIAppsAdminUser
    ODIPass=odipass

    LOGLEVEL

    (Optional) Possible values are 1, 3, or 5. The default value is 1, with 5 being the most verbose.

    LOGDIR

    The complete path for the log directory.

    The following log files are created:

    • Summary — Contains high level log information. The naming convention is Summary_ImportUtility_<DATE_TIME><ADAPTOR><SRCTECH>_log.

    • Import — Contains details about the import. Has a log and error file. The naming convention is BasicImport_<DATE_TIME>_<ADAPTOR>_log.

    • Scenario Generation — Contains details about the scenario generation. Has a log and error file. The naming convention is RegenScen_<DATE_TIME>_<ADAPTOR_MAPPING_FOLDER>_log.

    PLV

    (Mandatory) The PLV code for the adaptor being imported.

    Possible values:

    • EBS_12_2

    • FUSION_11_0

    • JDE_9_1

    • PSFT_9_2

    • SEBL_8_2_2

    • RNCX12148
    • TALEO_15_A
    • UNIVERSAL

    SRCTECH

    (Mandatory) The source technology for the adaptor being imported.

    Possible values:

    • For IBM DB2 UDB: IBM_DB2_UDB

    • For SQL Server: MICROSOFT_SQL_SERVER

    • For ORACLE: ORACLE

    • For Oracle Fusion (via BI Server): ORACLE_BI

    • For UNIVERSAL: FILE

    If you've multiple sources on both Oracle and non-Oracle databases, you need to import the PLV metadata for the Oracle database using ORACLE (or ORACLE_BI for Oracle Fusion sources) as the SRCTECH value.

    JPSCONFIGFILE

    (Mandatory if the repository has already been enabled for external authentication.) The path and name of the JPSCONFIGFILE.

    SSOFILE

    (Optional) The path and name of the SSO file.

    On Linux:

    For example:

    /scratch/jdk/jdk_1.8.0_201/bin/java -client -Dfile.encoding=UTF-8 -classpath
              "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"
              -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/
              oracle.apps.biaodiutil.Import MODE=IMPORT
              FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/
              PLV=JDE_9_1 SRCTECH=MICROSOFT_SQL_SERVER
              JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml
              LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/

    Repeat Step 4 if you want to import any other source specific metadata content by choosing the appropriate PLV code and SRCTECH parameter.

    Following are few sample commands for importing other source specific metadata:

    JDE_9_1 for MSSQL:

    /scratch/jdk/jdk_1.8.0_201/bin/java -client -Dfile.encoding=UTF-8 -classpath
              "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"
              -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/
              oracle.apps.biaodiutil.Import MODE=IMPORT
              FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/
              PLV=JDE_9_1 SRCTECH=MICROSOFT_SQL_SERVER
              JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml
              LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/

    JDE_9_1 for ORACLE:

    /scratch/jdk/jdk_1.8.0_201/bin/java -client -Dfile.encoding=UTF-8 -classpath
              "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"
              -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/
              oracle.apps.biaodiutil.Import MODE=IMPORT
              FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/
              PLV=JDE_9_1 SRCTECH=ORACLE
              JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml
              LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/

    PSFT_9_2 for MSSQL:

    /scratch/jdk/jdk_1.8.0_201/bin/java -client -Dfile.encoding=UTF-8 -classpath
              "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"
              -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/
              oracle.apps.biaodiutil.Import MODE=IMPORT
              FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/
              PLV=PSFT_9_2 SRCTECH=MICROSOFT_SQL_SERVER
              JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml
              LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/

    PSFT_9_2 for ORACLE:

    /scratch/jdk/jdk_1.8.0_201/bin/java -client -Dfile.encoding=UTF-8 -classpath
              "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"
              -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/
              oracle.apps.biaodiutil.Import MODE=IMPORT
              FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/
              PLV=PSFT_9_2 SRCTECH=ORACLE
              JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml
              LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/

    UNIVERSAL ADAPTOR :

    /scratch/jdk/jdk_1.8.0_201/bin/java -client -Dfile.encoding=UTF-8 -classpath
              "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"
              -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/
              oracle.apps.biaodiutil.Import MODE=IMPORT
              FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/
              PLV=UNIVERSAL SRCTECH=FILE
              JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml
              LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/

    JDE_9_1 for IBM_DB2_UDB

    /scratch/jdk/jdk_1.8.0_201/bin/java -client -Dfile.encoding=UTF-8
            -classpath         
            "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"         
            -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/         
            oracle.apps.biaodiutil.Import MODE=IMPORT         
            FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/         
            PLV=JDE_9_1 SRCTECH=IBM_DB2_UDB         
            JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml
            LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/

    Note:

    All the adaptor metadata zip files are delivered along with the package scenarios. When you run the command line utility to import these files, ensure that you use import mode as IMPORT which would import the adaptor metadata content for that adaptor.
  5. Enter the ODI Repository connection details when prompted.
  6. Monitor the process by viewing the command line window or the log files being written to the logs directory.

    This process can be lengthy and can last from 1 to 10 hours, depending on the number of adaptors for which you are importing metadata content.

  7. When the import process is complete, log into ODI Studio and verify the data stores and mappings for the new adaptor are present.
  8. Make a copy of file <LOGDIR>/sceregenparams.properties as <LOGDIR>/sceregenparams.properties_<PLV>.
    For example, copy PLV=BIA_11 in <LOGDIR>/sceregenparams.properties_BIA_11 immediately after completing the import process for each adaptor.
  9. Repeat steps 1 through 7 for each adaptor you need to import, substituting the appropriate PLV code and the source technology.
  10. After importing all the adaptors, sign in to ODI Studio.
  11. Click Designer, expand Global Objects, click Global User Functions, and then click Conversion Operation.
  12. Expand TO_CHAR_JULIAN and check for Used by. If there are any references, then note them as you must regenerate the scenarios using these references.
    This image displays the TO_CHAR_JULIAN user defined function expanded with the Used by option.

    Note:

    The user defined functions TO_CHAR and TO_CHAR_JULIAN have similar implementation syntax TO_CHAR($VALUE) and TO_CHAR($VALUE,’J’). Sometimes after import, the TO_CHAR function references are changed to TO_CHAR_JULIAN in the expressions. The TO_CHAR_JULIAN user-defined function isn't used in Oracle BI Applications 11.1.1.10.3.
  13. Right-click the TO_CHAR_JULIAN user-defined function, click Delete, and then click Yes to remove it.
  14. Sign out of ODI Studio.
  15. For IBM DB2 UDB Technology, do the following:
    • Run in import mode as IMPORT to import the adaptor metadata.
    • After import is completed, sign in to ODI Studio.
    • Click on Topology, expand Logical Architecture, and then expand Technologies.
    • Right-click IBM DB2 UDB and then click Open.
    • Click SQL and in the Cross join syntax, and change “,” to CROSS JOIN.

    Before changes:This image displays the IBM DB2 UDB Technology before you change the Cross join syntax “,” to CROSS JOIN.

    After changes:This image displays the IBM DB2 UDB Technology after you change the Cross join syntax “,” to CROSS JOIN.

    Click Save and sign out of ODI Studio.

  16. For each of the imported adaptors, repeat the steps to regenerate scenarios one by one.
  17. Overwrite the file <LOGDIR>/sceregenparams.properties with backup file<LOGDIR>/sceregenparams.properties_<PLV> for the adaptor scenarios to be regenerated using this Unix command: cp <LOGDIR>/sceregenparams.properties_<PLV> <LOGDIR>/sceregenparams.properties.
    For example, PLV=BIA_11 in <LOGDIR>/sceregenparams.properties_BIA_11. File <LOGDIR>/sceregenparams.properties must contain the level 2 folders to regenerate for that adaptor. Examples of level 2 folders are SILOS, PLP for BIA_11, SDE_JDEE1_91_ADAPTOR for JDE_9_1, SDE_PSFT_92_ADAPTOR for PSFT_9_2.
  18. Run the import in MODE=SCEREGEN substituting the appropriate PLV code and source technology.
    For example:

    BIA_11:

    /scratch/jdk/jdk_1.8.0_201/bin/java -client -Dfile.encoding=UTF-8
            -classpath         
            "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"         
            -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/
            oracle.apps.biaodiutil.Import MODE=SCEREGEN         
            FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/
            PLV=BIA_11         
            JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml
            LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/

    PSFT_9_2 for MSSQL:

    /scratch/jdk/jdk_1.8.0_201/bin/java -client
            -Dfile.encoding=UTF-8 -classpath         
            "/scratch/product/Oracle/Middelware/Oracle_Home/odi/sdk/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/jlib/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.idm/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jps/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.jdbc/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.nlsrtl/*:/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/modules/oracle.ucp.jar:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/lib/*:/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/biaodiutil/lib/bia-odi-util.jar"         
            -Dcommon.components.home=/scratch/product/Oracle/Middelware/Oracle_Home/oracle_common/         
            oracle.apps.biaodiutil.Import MODE=SCEREGEN         
            FILEDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/         
            PLV=JDE_9_1 SRCTECH=MICROSOFT_SQL_SERVER         
            JPSCONFIGFILE=/scratch/product/Oracle/Middelware/Oracle_Home/odi/studio/bin/jps-config-jse.xml         
            LOGDIR=/scratch/product/Oracle/Middelware/Oracle_Home/bi/biapps/admin/provisioning/odi/logs/
  19. Enter the ODI Repository connection details when prompted.
  20. Monitor the process by viewing the command line window or the log files being written to the logs directory.
    This process can be lengthy and can last from 1 to 10 hours, depending on the number of adaptors for which you're importing the metadata content.

Importing Security Settings in to the ODI Repository

You can import security settings in to the ODI repository.

In this procedure you import the security settings that you exported in Exporting Security Settings from Original ODI Repository.

  1. Log in to ODI Studio.
  2. Navigate to Security, and select Import Security Settings.
  3. In the Import Security Settings dialog, select Import mode as Synonym Mode INSERT_UPDATE, select Import From a Zip file, browse for the export file, and then click OK.
    Import Security Settings dialog
  4. Confirm that there are no issues in the Import report and close it.

You can now log into the ODI Repository with the security settings configured when the ODI Repository was created using the Oracle Business Analytics Suite RCU.

Importing Connection Details that Configure the Data Servers

Use this procedure to perform post-import configurations.

  1. Launch the ODI Studio client and connect to the ODI repository.
  2. Navigate to the Topology tab and complete these steps:
    1. Expand Physical Architecture, click Technologies, click Oracle, and then click the BIAPPS_DW data server.
    2. Double-click and open your physical schema such as BIAPPS_DW.BIA_DW and set the physical and work schema to match your warehouse schema details.
    3. Click Save and close.
  3. Navigate to the Topology tab. From the Connect Navigator (Topology icon dropdown on the top right side of the navigator pane), select Import.
    As part of the procedures described below, you import the file created by exporting the ’Global’ context in topic Exporting Topology Settings from Original ODI Repository.This image displays how to select the Import option.
  4. In the Import Selection dialog, select Smart Import.
  5. In File Selection, browse and select the export zip file created in topic Exporting Topology Settings from Original ODI Repository and click Next.
    File Selection dialog
  6. In Enter Export Key, provide the export key.
    Enter Export Key dialog
  7. The default behavior of Smart Import is to Merge details in the target repository. Ensure that no issues are reported – if issues are reported, resolve them to ensure that the existing details are replaced by the details being imported. Select the BIAPPS_DW and BIAPPS_BIACOMP Data Servers, select the Overwrite option, and continue.
  8. Verify the imported details.
    Verify that the following logical schemas have the correct data source Num ID value set in the DATASOURCE_NUM_ID flex field:

    If you don't see the value 999 for all these logical schemas, then set the values to 999.

  9. In ODI Studio, click Topology and select Physical Architecture. Open the BIAPPS_DW physical server.
  10. Verify that the User and Password are correctly populated on the Definition tab.
  11. On the JDBC tab, verify that the JDBC URL is correctly set. If you used the default Merge action during the Smart Import, then the User and Password are updated but the JDBC URL remains unchanged.
  12. Repeat steps 1 through 4 for the BIAPPS_BIACOMP physical server.
  13. Verify that the Physical schema for BIACOMP and DW are set as defaults. If they aren't set as defaults, then the load plans fail.
    1. In ODI Studio, click Topology and select Physical Architecture.

    2. Open the physical schema under the BIAPPS_BIACOMP physical server.

      Description of 103-import-connection-details-step12.gif follows
      Description of the illustration 103-import-connection-details-step12.gif
    3. Select the Default check box if it isn't selected on the Definition tab.

    4. Save your changes.

  14. Repeat steps 2 through 4 for the physical schema under the BIAPPS_DW physical server.
  15. In ODI Studio, click Topology, select Physical Architecture, and then expand Agents.
    This image displays how to expand Agents.
  16. Right-click on the configured agent and then click Open.
    This image displays the details of the configured agent.
  17. Validate all the details with the screenshot before exporting. If they are different, then update the applicable details.
  18. If the physical agent is already configured, then click Test to test the physical agent.
  19. If the test connection fails with an error message, then sign out of ODI Studio.
    Error message
  20. Navigate to the path <Domain Home>/bitools/bin/ and run the script ./stop.sh for UNIX/Linux and run the script stop.cmd for Windows to stop all the servers such as Node Manager, Admin Server, BI Server, and ODI Server.
    For example, <Domain Home> is /scratch/product/Oracle/Middleware/user_projects/domains/bidomain/ where bidomain is the domain name.
  21. Navigate to the path <Domain Home>/bitools/bin/ and run the script ./start.sh for UNIX/Linux and run the script start.cmd for Windows to start all the servers such as Node Manager, Admin Server, BI Server, and ODI Server.
  22. Sign in to ODI Studio.
  23. In ODI Studio, click Topology, select Physical Architecture, expand Agents, right-click on the configured agent, and then click Open.
  24. Click Test and then click OK on the Information message.
    Information message