Before You Begin
Purpose
This tutorial will show you how to update the Oracle Java Cloud Service domain for use with Oracle Data Integrator which you have installed and configured on it.
Time to Complete
The tutorial will take about 15 minutes to complete.
Background
You should be familiar with how to install and configure ODI on premises. You can find most of that information on the web in the ODI home page, documentation, and in Oracle Learning Library (OLL) tutorials such as ODI Getting Started.
Scenario
ODI can run on Windows or Linux, can be managed with a web-based Console or standalone Studio GUI, with or without WebLogic Server (WLS). It can use agents deployed in Standalone, Collocated, and Java Enterprise Edition (JEE) mode. This tutorial will assume Linux for both the client workstation and server, managed by the Weblogic Administration Console, with WLS installed as JCS, and the agents deployed in JEE mode.
The topology of the domain you create can vary, depending upon how many virtual machines and how many Managed Servers you provision as part of your Java Cloud Service subscription.
Note — Only the Enterprise Installation is supported on ODI Cloud Service.
Context
This tutorial assumes a single node JCS deployment.
What Do You Need?
You will need to be familiar with the Oracle Java Cloud Service. If you are not then it is strongly recommended that you run through the Getting Started with Oracle Java Cloud Service tutorial before attempting this one.
Make sure you are familiar with the prerequisites required for Oracle Java Cloud Service on OCI.
The instructions in this tutorial assume that you have performed all of these tasks:
-
Ensure that you have subscriptions for Oracle Storage, Oracle Cloud Infrastructure (OCI) Database, Oracle Virtual Cloud Network, and Oracle Java Cloud Service environments.
For more information, see Signing Up for Oracle Cloud Infrastructure.
-
Create the VM public and private keys.
The VM public key is used by the new instance's VM for authentication when you connect to it using an SSH client. When you connect, you must provide the private key that matches the public key.
When creating an OCI Database instance and Java Cloud Service (JCS) instance you need to specify the public key. You generate an SSH public/private key pair using a standard SSH key generation tool. For more information, see Creating SSH Keys for Use with Oracle Cloud Services in the Oracle Learning Library.
-
Configure an OCI Database instance that meets the Java Cloud Service deployment requirements, including adding a specific policy so that the database appears on the Oracle Java Cloud Service web console as an infrastructure schema database choice.
For instructions, see:
- Create an Oracle Cloud Infrastructure Database in the Administering Oracle Java Cloud Service guide.
- Overview of the Database Service in the Oracle Cloud Infrastructure documentation.
- Allow service PSM to inspect vcns in compartment
- Allow service PSM to use subnets in compartment
- Allow service PSM to use vnics in compartment
- Allow service PSM to manage security-lists in compartment
- Allow service PSM to manage all-resources in compartment
Note: When creating the OCI Database instance to use with the Oracle Java Cloud Service, make sure you have created a policy to permit Oracle Platform Services to create instances in your VCN. Keep the policy current. The policy should include:
Pre-Installation Steps
While performing all of these tasks, be sure to note the user name and passwords you enter; you will need them later while provisioning or performing administration tasks.
If you are doing this just as a proof-of-concept, it is easier to make all of the passwords the same. In a production environment, you should not use shared passwords.
Locating Your Database Details
You will need the Compartment Name, Database Instance Name, PDB Name, and the Administrator user name and password. You will need to have generated a token to use as a password for back up and recovery.
Updating the Java Cloud Service Domain
Before you begin updating the Java Cloud Service Domain, use the WebLogic Administration Console to shutdown all Managed Servers and the Administration Server.
-
Access the Administration Server Console by using the following link: http://admin_server_host:admin_server_port/console.
-
In the Domain Structure, expand [+] Environment and click Servers. Click the Control tab. Select the managed server (not the adminserver), and click Shutdown > Force Shutdown Now.
Click to continue. Wait a minute.
Description of this image -
On the same panel, select the adminserver and shut it down in the same way. This also kills the Console.
Click .
Description of this image Just ignore the web browser for the moment.
-
To update your domain, use the Configuration Wizard to extend (update) the Java Cloud Service domain with ODI. Open a terminal session and enter the following commmands:
cd /u01/app/oracle/middleware/oracle_common/common/bin
./config.sh -
In the Update Domain form, select Update an existing domain. In the Domain Location, select the following WebLogic domain directory. The
domain_name
will automatically point to the default domain created when provisioning this JCS instance:u01/data/domains/domain_name
. Click to continue on to the next screen. -
In the Templates form, do the following:
- Select Update Domain Using Product Templates.
- Select the following items (selecting one will cause others to be selected with green checks):
- Oracle Data Integrator - Agent
- Oracle Data Integrator - Agent Libraries
- Oracle Data Integrator SDK Shared Library Template
- Oracle Data Integrator - Console
- Oracle Data Integrator – Standalone Collocated Agent
- Oracle Enterprise Manager Plugin for ODI
- Basic WebLogic Server Domain
- Oracle Enterprise Manager
- Oracle WSM Policy Manager
- Oracle JRF
- WebLogic Coherence Cluster Extension
Click .
Description of this image -
The next screen is the for configuring the database type that the Repository Creation Utility requires for internal use. Again, the installer can fill in the details for you.
Click , then press
-
On the Datasources form, click the checkbox next to your ODI repositories configuration details. The installer will fill in the rest of the details for you. Then click
-
The JDBC Test screen is used to make sure that your database connections are working correctly. Select your database connection and then press . When the test has completed, press
-
In the Credentials form, enter the ODI Supervisor username and password for the
SUPERVISOR
key. (The password for the supervisor should be the variable you entered in the Repository Creation Utility section). Then add a new domain key.- Click Add
to add a new credential.
- In Key Name, enter the name of this domain as the key. This is the domain created for the JCS.
- In Username and Password, provide the Administrator user's Username and case-sensitive Password.
- In Store Name, select
oracle.odi.credmap
from the pull-down.
Click .
- Click Add
-
In the Advanced Configuration form, select Topology, System Components and Deployments and Services. On many of the panels you will just accept the defaults.
-
In the Managed Servers form, update the required managed servers.
- To avoid targeting related libraries and applications to the default ODI server instead of the ODI cluster, delete the default ODI server from the list (you don't physically delete it) by selecting ODI_server1 and click .
- By default, the remaining managed server will be pre-populated. You can either rename it or use it as it is. For the purpose of this documentation, the Managed Server has been left with the default entry, however select Enable SSL if it is unchecked.
Click .
Description of this image -
In the Clusters form, just note the Cluster Name. It will be the first eight letters of your domain name (which is the same as the first eight letters of your JCS instance name) and the suffix of
_cluster
. WARNING: If you try to change the Cluster Name, it appears to work but will generate a Coherence error later, do not change the cluster name. Click . -
Leave the Server Templates settings as they are and click the .
-
Leave the Dynamic Servers settings as they are and click the .
-
In the Assign Servers to Clusters form, ensure that the servers are assigned to the cluster. Click
-
In the Coherence Clusters form, accept the defaults and click .
-
In the Machines form, click the Unix Machine tab to verify that it is populated. Give the machine a suitable name. Leave all other fields at their default values. Click .
-
In the Assign Servers to Machines form, ensure that the servers are assigned as shown in the image below. then click
Click .
-
Leave the Virtual Targets settings as they are and click .
-
Do not change anything on the Partitions screen. Click
-
Do not change anything on the System Components page. This screen is used to configure a standalone collocated agent which can be optionally defined in the Topology. Click .
-
On the ODI Configuration page, set a SUPERVISOR password for Oracle Data Integrator standalone collocated agent. This screen is used to configure a standalone collocated agent which can be optionally defined in the Topology.
Description of this image -
Do not change anything on the Assign System Components screen. Click
-
The ODI applications are deployed to the cluster. Check that they have been deployed correctly. On the right side under Targets, confirm that you can see odiconsole and oraclediagent under your cluster > Application
By default, the ODI libraries are under the Admin Server. Move them into the cluster and out of Admin Server (these are two separate steps).
- In the Deployments Targeting form, on the left side under Deployments > Library, select
oracle.odi-agent#2.0@12.2.1.2.6
andoracle.odi-sdk#2.0@12.2.1.2.6
. - On the right side under Targets, select the cluster name (your cluster name will be different).
- Click the middle to move the items from the left to the right. They will go in alphabetically under Library.
Do not click Next yet.
Last you move the Libraries out of the Admin Server:
- On the right side under Targets, under Server > domain_adminserver > Library (your adminserver name will be different), select
oracle.odi-agent#2.0@12.2.1.2.6
andoracle.odi-sdk#2.0@12.2.1.2.6
. - Click the middle to move the items from the right. They don't actually go to the left, they just go away from the right.
Now click .
- In the Deployments Targeting form, on the left side under Deployments > Library, select
-
Confirm that
odiMasterRepository
andodiWorkRepository
are in the right side under Targets/cluster/JDBC/JDBC System Resource. -
In the Configuration Summary form, leave the defaults and click .
You can safely ignore the warning about
No system component instance
. -
Click once the domain is configured, then click .
You have successfully updated the JCS domain to support ODI JEE Agents. Now you can create agents in the master repository.
Want to Learn More?
- Configuring the Domain for the Java EE Agent, part of Oracle Fusion Middleware Installing and Configuring Oracle Data Integrator documentation.
- Oracle Data Integrator 12c: Getting Started Series on Oracle Learning Library (OLL).
- Oracle WebLogic Server 12c: Administration I, the root of all WLS (and therefore JCS) training. Includes Training on Demand (ToD), Instructor-Led Training (ILT), and Live Virtual Class (LVC) formats.
- Leveraging On-Premises Licenses in the Oracle Public Cloud. This document will tell you which middleware products can be used in conjunction with the Oracle Java Cloud Service.
- Oracle® Fusion Middleware Developer's Guide for the Oracle Data Integrator. This document will tell you how to get started with the Oracle Data Integrator.
- Using Oracle Data Integrator to Test Your Domain
- Provisioning Oracle Data Integrator on a Clustered Oracle Java Cloud Service