Skip to main content
Skip table of contents

Linking a source EBS R12.2 instance

This topic describes the process of linking an EBS R12.2 instance and creating the necessary dSources.

Prerequisite

Prepare your source EBS R12.2 instance for linking by following the outline in Preparing a Source EBS R12.2 instance for linking

Procedure

Link the Oracle database

  1. Link the Oracle database used by EBS, as outlined in Linking an Oracle data source

  2. Link the Oracle Pluggable database for 19c MT, as outlined in Linking an Oracle pluggable database

Link the EBS dbTechStack

Prerequisite

Upload the EBS 12.2 dbTechStack plugin and refresh the environments during the preparation of the source environment. For more information, see Upgrade EBS objects to 6.0

For successful linking of DBTECHSTACK from the standby site, follow any one of the procedures below:

  • Place the physical standby database in READ ONLY/ READ ONLY WITH APPLY mode and run linking of source DBTECHSTACK. Even during subsequent snapsync operations, you have to make sure that the standby database container & its PDB is in READ ONLY / READ ONLY WITH APPLY mode.
    Note: Make sure that the PDB is in READ ONLY mode, also the two default EBS PDB services ebs_ and should be in READY STATE. Linking will fail if the PDB is not in READ ONLY mode.

  • Perform the linking of dbTechStack(ORACLE_HOME) from the primary source site which is in READ_WRITE mode.

  • Before DBTechStack linking, to ensure that the hook operation succeeds during database provision, the ETCC patch level should be the latest. In the configure clone 1 hook adcfgclone dbconfig will perform the ETCC patch level check and will fail if it's not the latest.

  • While linking using the EBS plugin, the plugin runs adpreclone.pl dbTier in the background, which asks for apps database user password and connects with standby DB. If database is in MOUNT state then linking fails, as apps schema will not be able to login into standby DB.

  1. Login to the Delphix Management application.

  2. Click Manage.

  3. Select Environments.

  4. Select the source dbTier environment containing the source dbTechStack.
    Note: If you are linking from a RAC dbTier, select the environment for a single running node of the RAC cluster.

  5. Click the Environment Details tab.

  6. If the oracle environment user described in Preparing a source EBS R12.2 instance for linking is not already added to the Delphix Engine, add the user.

  7. Click the Databases tab.

  8. Click the Plus icon within E-Business Suite R12.2 dbTechStack section under installations.

  9. Add Database dialog box pops to add source config for dbTechStack.

  10. Provide a user-defined name to the `Database Name` field and Oracle base install directory in the `Path` field.

  11. Click on the Add button to successfully add the source config.

  12. Re-check the E-Business Suite R12.2 dbTechStack section under installations for the `Add dSource` option mapped to the source config that is added in the above step.

  13. Click Manage > Datasets.

  14. Click the Plus icon next to Datasets and select Add dSource.

  15. In the Add dSource wizard, select the Linked dSource as the type. 

  16. Enter the EBS-specific parameters for your dbTechStack.

  17. These parameter values will be used when adpreclone.pl is run. Ensure that the DB Tier Context Name uses the short hostname.

  18. Select an Environment user.

  19. Privileged OS Account (Optional) field should contain a high privileged user when the low privileged user is being used for linking.

  20. Provide source oracle home directory name relative to oracle base installation directory in Oracle Home input field.

  21. In the DB Tier Context Name field, provide the source context name; To get the DB Tier context name on source side:

    • For Oracle 12.1.0.2 version,

      CODE
      cd $ORACLE_HOME
      source SID_hostname.env file
      echo $CONTEXT_NAME

      Below is an example, Consider VISDB as the database SID and tavsrc-db as the short hostname.

      CODE
      [oravis@tavsrc-db VIS]$ source /u01/oracle/VIS/12.1.0.2/VISDB_tavsrc-db.env
      [oravis@tavsrc-db VIS]$ echo $CONTEXT_NAME
      VISDB_tavsrc-db
    • For multi-tenant database, CONTEXT_NAME will be (<PDB_NAME>_<short hostname>)

    • For RAC, CONTEXT_NAME will be <INSTANCE_SID>_<HOSTNAME>

      For example: VIS2_exaukdb02

      Note: When preparing the source Oracle RAC system for cloning, make sure that the linking is performed against the primary database node.

  22. Provide apps schema password in the Apps Password Credentials section by selecting the Username and Password from the dropdown, leaving the username field empty.

  23. Exclude the EBS database's data files if they are stored underneath the Oracle base install directory.

  24. These data files will be linked with the database instead of with the dbTechStack. Add the "relative path" to the data files to the Paths to Exclude list. If the audit files (located under $ORACLE_HOME/rdbms/audit) are large in size, the path of these files could also be excluded so as to avoid dbTechStack timeout issues during provisioning.
    Note: Ensure that you add the relative paths and NOT the absolute paths. For example, if you want to exclude the /u01/oracle/VIS/data path, then add "data" only under the Paths to Exclude list. Here, /u01/oracle/VIS/data is the absolute path and "data" is the relative path to be added.

  25. Click Next.

  26. Enter a dSource Name.

  27. Select a Database Group for the dSource.

  28. Click Next. Adding a dSource to a database group enables you to set Delphix Domain user permissions for that dSource's objects, such as snapshots.

  29. Select a SnapSync policy. 

  30. Click Next.

  31. Enter any custom pre or post sync logic as Pre-Sync or Post-Sync hook operations. Remember that adpreclone.pl dbTier is already run prior to every Snapshot of the dbTechStack. The Pre-Sync hook operations will be run prior to running the adpreclone.pl tool. 

  32. Click Next.

  33. Review the dSource Configuration and Data Management information, and then click Finish. The Delphix Engine will initiate two jobs to create the dSource, DB_Link and DB_Sync . You can monitor these jobs by clicking Active Jobs in the top menu bar, or by selecting System > Event Viewer. When the jobs have completed successfully, the files icon will change to a dSource icon on the Environments > Databases screen, and the dSource will be added to the list of Datasets under its assigned group.

Intelligent AppsTier Linking

Prerequisite

Upload the EBS 12.2(ebs122app-4.3.0.json) AppsTier plugin and refresh the environments during the preparation of source environment.

Procedure

  1. Login to the  Delphix Management application using Delphix Admin credentials.

  2. Click Manage.

  3. Select Environments.

  4. Select the source appsTier environment. Linking from multi-node appsTier

    Note - If you are linking from a multi-node appsTier, select the environment for the node on which EBS admin WLS services reside. 

  5. Click the Environment Details tab.

  6.  If the applmgr environment user described in Preparing a Source EBS R12.2 Instance for Linking is not already added to the Delphix Engine, add the user.
    Note - There is no actual requirement that the account be named applmgr on source environment. You can use the account that can run adpreclone.pl successfully and ingest RUN filesystem directory into Delphix engine.

  7. Click the Databases tab.

  8. Click the Plus icon within E-Business Suite R12.2 appsTier section under installations.

  9. Add Database dialog box pops to add source config for dbTechStack.

  10. Provide a user-defined name to the 'Database Name' field and $APPS_BASE directory in the 'Path' field.
    $APPS_BASE path is where EBSapps.env file is located.

  11. Click on the Add button to successfully add the source config.

  12. Re-check the E-Business Suite R12.2 appsTier section under installations for the Add dSource option mapped to the source config that is added in the above step.

  13. Click Manage > Datasets.

  14. Click the Plus icon next to Datasets and select Add dSource.

  15. In the Add dSource wizard, select the Linked dSource as the type.

  16. In the Add dSource wizard, select the appsTier files source you just created.

  17. Enter the EBS-specific parameters for your appsTier.
    These parameter values will be used when adpreclone.pl is run.

  18. Select an Environment User.

  19. Privileged OS Account (Optional) field should contain a high privileged user when the low privileged user is being used for linking.

  20. Provide the apps schema password in the Apps Password section by choosing the Username and Password from the dropdown, leaving the username field empty.

  21. Provide the weblogic password in the Weblogic AdminServer Password section by choosing the Username and Password from the dropdown, leaving the username field empty.

  22. With 4.3.0 or later We do not need to specify the "relative paths" of files to exclude in the Paths to Exclude list.
    Note: Delphix Engine will automatically detect the RUN FS.

  23. Click Next.

  24. Enter a dSource Name.

  25. Select a Database Group for the dSource.

  26. Click Next. Adding a dSource to a database group enables you to set Delphix Domain user permissions for that dSource's objects, such as snapshots.

  27. Click Next.

  28. Select a SnapSync policy. 

  29. Click Next.

  30. Enter any custom pre or post-sync logic as Pre-Sync or Post-Sync hook operations.
    Remember that adpreclone.pl appsTier is already run prior to every SnapSync of the appsTier.
    The Pre-Sync hook operations will be run prior to running the adpreclone.pl tool.

  31. Click Next.

  32. Review the dSource Configuration and Data Management information, and then click Finish.
    The Delphix Engine will initiate two jobs to create the dSource, DB_Link, and DB_Sync. You can monitor these jobs by clicking Active Jobs in the top menu bar, or by selecting System > Event Viewer. When the jobs have completed successfully, the files icon will change to a dSource icon on the Environments > Databases screen, and the dSource will be added to the list of Datasets under its assigned group.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.