This tutorial shows you how to install and
configure Oracle Data Integrator (ODI) 12c (12.1.3)
by updating a WebLogic Server (WLS) domain on an
existing Oracle Java Cloud Services (JCS) Virtual
Image domain.
Time to Complete
If you are creating the Cloud Storage, Database,
and Java Services, allow 3-4 hours for that.
For just the ODI part, allow approximately 2
hours.
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 stand-alone Studio GUI,
with or without WebLogic Server (WLS), and use
agents deployed in Standalone, Colocated, and Java
Enterprise Edition (JEE) mode. This tutorial will
assume Linux for both the client workstation and
server, managed by the Studio GUI, 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 Virtual Image subscription.
For the purposes of this tutorial, it is assumed
that you have created a domain that contains an
Administration Server and one Managed Server on the
same JCS Virtual Image instance. Your actual
topology may vary.
Context
This tutorial assumes a single node JCS
deployment, a later tutorial will show how to deploy
on a multi-node JCS.
What Do You Need?
The instructions in this tutorial assume that you
have a working Java Cloud Service Virtual Image
instance and that you have performed all of these
tasks:
Ensure that you have subscriptions
for Oracle Storage Cloud Service, Oracle
Database Cloud Service, and Oracle Java Cloud
Service.
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 a Database Cloud Service (DBaaS)
instance and Java Cloud Service (JCS) Virtual
Image instance you need to specify the name of a
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 Oracle Cloud database
that meets the Java Cloud Service Virtual Image
deployment requirements.
For instructions, see Using Oracle Database
Cloud Service in the Oracle Help Center.
Note: When creating the
Oracle Database Cloud Service instance to use
with Oracle Java Cloud Service Virtual Image,
make sure you select Both Cloud Storage
and Block Storage as the backup
option for the database.
For instructions to create the DBaaS instance,
see the Appendix.
Make sure the ora_p2_dblistener
network access rule is enabled once
the DBaaS instance is created. See Enabling
Access to a Compute Node Port in Using
Oracle Database Cloud Service.
Create the Oracle Java Cloud Service
Virtual Image instance.
Oracle Java Cloud Service Virtual Image is a
part of the platform service offerings in Oracle
Public Cloud Services. You can quickly create
and configure an Oracle WebLogic Server domain
and set up your Java EE application environment
on Oracle Java Cloud Service, without worrying
about setting up any infrastructure or platform
details. All Oracle Java Cloud Service instances
that you create are preconfigured to use the
Oracle Database Cloud Service instance and an
object storage container.
Certified software release: Oracle WebLogic
Server 12c (12.1.3) Enterprise Edition with
Coherence.
Ensure that you have a Java Cloud Service
Virtual Image that is up and running.
For instructions to view all Oracle Java Cloud
Service Instances, see the Appendix.
Typographic Conventions
These are the conventions used throughout this
practice to indicate who types what.
Filename or /path/subdirectory/.
Often you can navigate to a destination without
having to type it.
Command or value that
you type, such as gedit .bashrc. Be
mindful of periods at the end of sentences that
are not part of the command.
Click this Button such as OK or
Next .
Some variable or <variable>
as something you replace. Often prefixed with "my"
such as <myName> or <myHost>.
A Menu Item or dialog Field
Prompt or Tab name.
For example, "click the Designer
tab and select Models > New Model".
Generally a red
rectangle in the graphics is not
part of the original image, but added to draw your
attention to an item.
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,
such as Welcome_1 (note the UPPER/lower
case, number, and underscore special character to
satisfy the complexity requirements.) In a
production environment, you might not have them all
the same.
1. Locating Your Database Details
When you created your Java Cloud Service
Virtual Image instance, you were provided with
details about the database required for the
Oracle Java Cloud Service instance. To update
the Oracle Java Cloud Service domain for Oracle
Data Integrator, you must connect to the same
database and install the required ODI schemas.
Write down your IP address
and Connect Descriptor, you
will need them both later. Your address and
Descriptor will be different, but of the same
format.
2. Connecting to the Oracle Java Cloud Service
Environment using SSH
When you create an instance of the JCS Virtual
Image services, all the Oracle Compute VMs
required to support the service are provisioned
and configured for you. You can access the
services and resources provided by the VMs by
logging into the machine through a secure shell
(SSH). You will create tunnels using the ssh
command in a UNIX command shell.
To create an SSH tunnel, you must find the
IP address of the VM hosting your Oracle
Java Cloud Service instance.
The public IP address of the
Administration Server is available under
Virtual Machines section. Make a note of
the IP address.
Description
of this image
private-key-file
is the path to the SSH private key file
that matches the public key used when your
instance was created.
jcs-vm-ip-address
is the public IP address of the VM in
n.n.n.n (dotted decimal) format.
For example:
[OS]$ ssh -i ~/.ssh/id_rsa
opc@192.168.200.1
If this is the first time you are
connecting to the VM, the ssh utility
prompts you to confirm the public key. In
response to the prompt, enter yes.
[myuser@myhost ~]$ ssh -i ~/.ssh/id_rsa opc@192.168.200.1
The authenticity of host '192.168.200.1 (192.168.200.1)' can't be established.
RSA key fingerprint is 30:9c:72:21:92:be:10:b0:3a:1f:ed:6d:3b:3f:b6:10.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.200.1' (RSA) to the list of known hosts.
Authorized uses only. All activity may be monitored and reported.
-bash-4.1$
You should now have an ssh session from your
PC to the JCS VM. Notice that the OS prompt has
changed.
3. Verifying that the TMP Directory Exists and
is Writable
When you created your Oracle Java Cloud
Service, the /tmp directory was
created automatically. Verify to ensure that the
opc user environment has been
changed to the correct temp directory variables
defined.
Observe the current temp environment
variables pointing to the old ("wrong")
temp. At a command prompt, enter this
command: env | grep tmp .
Rerun the profile (notice the leading
period and space):
[OS]$ . ~opc/.bashrc
Observe the current temp environment
variables to make sure they all point to the
new /tmp. At a command prompt,
re-enter this command: env | grep tmp
.
The temporary directories are ready for the
installation tasks.
Warning: If you ever stop
and restart the JCS service, all of these
changes to .bashrc are lost (reset
back to their original values.)
4. Configuring the X Window System and Starting
a VNC Session
The installation and configuration tools that
you use to install and configure ODI require the
X Window system. The X Window system is
installed on the virtual machines that you
procure when you registered for Oracle Java
Cloud Service Virtual Image.
Perform the following tasks to be able to open
an xterm or the configuration
wizard GUI on your display:
As user opc, edit sshd_config:
[OS]$ sudo vi
/etc/ssh/sshd_config
Change all occurrences of X11Forwarding
to yes:
X11Forwarding yes
Restart sshd by running the
following command:
[OS]$ sudo
/etc/init.d/sshd restart
Run the following command to prevent the
Window Manager from displaying a lock
screen:
Ensure that the $TMP and $TMPDIR
directories are accessible and have write
permissions before starting the VNC server.
Start VNC server with the following command:
[OS]$ vncserver :1 -depth
16 -alwaysshared -geometry 1200x750 -s off
You must provide a password for the VNC
server. Use the command vncpasswd.
private-key-file
is the path to the SSH private key file
that matches the public key used when your
instance was created.
jcs-vm-ip-address
is the public IP address of the VM in
n.n.n.n (dotted decimal) format.
5901 is the
vncserver listening port defined in /usr/bin/vncserver. $vncPort = 5900 + $displayNumber;
As $displayNumber is set to
1 in the previous command, the listening
port for vnc session :1 is
5901.
Use a VNC Viewer application to access the
tunneled VNC session: vncviewer
127.0.0.1:6905
[myuser@myhost ~]$ vncviewer 127.0.0.1:6905
TigerVNC Viewer for X version 1.1.0 - built Sep 22 2014 07:14:05
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Wed May 27 16:53:55 2015
CConn: connected to host 127.0.0.1 port 6905
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
From VNC, you will have access as user opc
and can switch to user oracle
to use the installer, configuration wizard,
and other features. Run these two commands
to switch users:
Use this VNC window to run the ODI
installation and configuration files. For
example, you could run /u01/app/oracle/middleware/oracle_common/common/bin/config.sh
(do not run config.sh yet, it
was just an example.)
Troubleshooting vncviewer:
Problem Statement: When you
start the VNC viewer, the following error
message may be displayed: There is a problem with the configuration
server. (/usr/libexec/gconf-sanity-check-2
exited with status 256).
Workaround: Make sure $TMPDIR
environment variable points to /tmp.
If it does not then re-run . ~opc/.bashrc
to set it.
X Window and VNC are now ready to support
running GUI (and command line) applications on
the JCS and viewing them on a remote host.
Warning: If you ever stop
and restart the JCS service, all of the changes
to sshd_config and vncpasswd
are lost (reset back to their original values.)
5. Downloading the Oracle Software and Copying
It to the Virtual Machine
Note that Oracle WebLogic Server (also
referred to as Fusion Middleware Infrastructure
in ODI Installation documents) was already
installed when you created the Java Cloud
Service instance. You will also be using the
same Database that you have used while creating
the JCS instance.
Download Oracle Data Integrator
(12.1.3.0.0) for 64-bit Linux to your local
(not JCS) host. This requires signing in to
your account.
If you are still user oracle,
run exit to become user opc
again. Ensure that the /u01/zips
directory on the Administrator VM has write
permissions by the opc user:
Download the installation files to your
local machine and from the download
directory use scp (secure
copy) to copy them to the /u01/zips
directory on the Administrator VM:
private-key-file
is the path to the SSH private key file
that matches the public key used when your
instance was created, for example, ~/.ssh/id_rsa.
jcs-vm-ip-address
is the public IP address of the VM in
n.n.n.n (dotted decimal) format.
The ODI software is now ready to install on
the JCS. The WLS software is already installed.
You will need to sort out proper licenses later,
for the moment (on a trial basis) this is fine.
6. Backing Up your Domain
Before you begin with any of the
pre-provisioning and provisioning tasks, Oracle
recommends that you take a back-up of your
existing domain. For example:
Switch to the oracle user to
perform these tasks.
bash-4.1$ sudo su - oracle
-bash-4.1$ cd /u01/data/
-bash-4.1$ cp -r domains domains.ORIG
-bash-4.1$ ll
total 12
drwxr-x--- 3 oracle oracle 4096 May 15 16:07 backup
drwxr-x--- 4 oracle oracle 4096 May 15 16:13 domains
drwx------ 4 oracle oracle 4096 May 18 19:36 domains.ORIG
-bash-4.1$
The WLS domain is backed up in case you ever
need to restore it.
The pre-installation steps are done, you are now
ready to proceed with the installation itself.
Provisioning ODI on JCS Virtual Image
Note: You must be the user oracle
when provisioning ODI on JCS Virtual image. Check if
you need to switch with the command whoami.
Use the command sudo su - oracle to
switch, and exit to switch back to opc.
1. Installing Oracle Data Integrator 12.1.3
You can install the Oracle Data Integrator
software by following the instructions in
"Installing Oracle Data Integrator" in
Installing and Configuring Oracle Data
Integrator. As with all things Linux,
directories are case sensitive.
Note: Since Oracle WebLogic
Server is already installed in your Java Cloud
Service Virtual Image, there is no need to
install the Fusion Middleware Infrastructure. It
is already there.
Unzip the ODI installer zip file:
[OS]$ cd /u01/zips [OS]$ unzip
fmw_12.1.3.0.0_odi_Disk1_1of1.zip
As user oracle, start the
installer: java -jar
fmw_12.1.3.0.0_odi.jar
Troubleshooting ODI Installer:
Problem Statement: When
you start the ODI 12.1.3 installer, the
prerequisites validations may fail with: Checking monitor: must be configured
to display at least 256 colors. Actual
65536 Failed <<<<.
Then the installer fails with the following
error message: Can't connect to X11 window server
using ':1.0' as the value of the DISPLAY
variable.
Workaround: As user opc
run the command xhost + again,
then log back as user oracle
and restart the installer.
When prompted, set the Inventory
Directory to /u01/app/oraInventory,
then click OK to create the
Central Inventory Directory.
You must use the same Database Cloud
Service instance used to create the JCS
Virtual Image instance. The Service
Name is notORCL
nor the DCS instance myodidb.
To get the dbhost:dbport/dbservice
details, review the DBaaS properties.
Note: The new prefix
suggested is DEV2. Depending
on previous experimentation, your next
sequential prefix may be DEV1,
DEV2, DEV3, or
whatever is next. It does not matter what
RCU picks, but remember it for later because
the domain wizard config.sh
does not know where RCU left off.
For a proof-of-concept, you can use the
same passwords for all schemas. In real
life, you might not want to do that. Note
that RCU has different password complexity
rules than the VM images, in particular
about special characters.
RCU will prompt for two database
passwords:
The password for the database user with
SYSDBA role (typically SYS). This is the
same SYS user password from DBaaS that you
provided when creating the JCS Instance.
You now have the tablespaces and schemas
needed to support ODI Repositories in the DCS.
3. 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 if they are up.
You can follow the instructions in
"Configuring the Domain for the Java EE Agent"
in Installing and Configuring Oracle Data
Integrator to update the domain.
Access the Administration Server Console
by using the following link: https://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.
To update your domain, use the Configuration
Wizard to extend (update) the
Java Cloud Service domain with ODI: /u01/app/oracle/middleware/odi/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
Virtual Image instance: u01/data/domains/domain_name.
Select the following items (selecting
one will cause others to be selected with
green checks):
Oracle Data Integrator - Agent -
12.1.3.0 [odi],
Oracle Data Integrator - Agent
Libraries - 12.1.3.0 [odi],
Oracle Data Integrator SDK Shared
Library Template - 12.1.3.0 [odi],
Oracle Data Integrator - Console -
12.1.3.0 [odi],
Oracle Enterprise Manager Plugin
for ODI - 12.1.3.0 [em]
The following products should already be
selected, and greyed out and in italics.
They were selected when you created the
domain in your Java Cloud Service
instance:
In the Database Configuration
Type form, provide the database
connection details that you defined when you
created the Java Cloud Service instance. The
defaults are probably correct. Try clicking
Get RCU Configuration as a test. If
that fails, then fix the parameters and
click Get RCU Configuration again.
In the Component Datasources
form, select ODI Master Schema
and ODI Work Schema.
Specify the DBMS/Service, Host
Name, Schema Owner, and Schema
Password. The other parameters
are probably correct as defaults.
Note: The Schema
Owner must match the RCU prefix
created, it may be DEV1, DEV2, DEV3,
whatever RCU picked earlier.
In the JDBC Test form,
confirm that all connections were
successful. The connections are tested
automatically. The Status
column displays the results. If all
connections are not successful, click Back
to return to the previous form and correct
your entries.
Click Next when all the
connections are successful.
In the Advanced Configuration
form, select Managed Servers,
Clusters and Coherence and Deployments
and Services. On many of the
panels you will just accept the defaults.
(Did you notice in the title bar where it
says, "Page X of Y" that the "Y" number
keeps getting bigger?)
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 by selecting ODI_server1
and click Delete.
By default, the Managed Servers 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
renamed as JCS_ODI1 and will
be referenced with this name throughout
the document.
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 Next.
In the Machines form,
click the Unix Machine tab
to verify that it is populated. Rename the
machine to ODI_machine_1. Leave
all other fields at their default values.
Click Next.
By default, the ODI Agent bits will be
deployed to the Admin Server. That will
work, and in a development environment that
might be okay, but the idea for High
Availability is to deploy the ODI Agent(s)
to a cluster of managed servers. You will
need to move some Applications into
the cluster and out of Admin
Server (those are two separate steps). First
you move the Applications into the
cluster:
In the Deployments Targeting
form, on the left side under Deployments
> Application, select odiconsole
and oraclediagent.
On the right side under Targets,
select the cluster (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 Application.
Second move the Applications out of
the Admin Server:
On the right side under Targets,
under Server > domain_adminserver
> Application (your
adminserver name will be different),
select odiconsole and oraclediagent.
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.
Third move some Libraries into
the cluster and out of Admin
Server (those are two separate steps).
Still in the Deployments
Targeting form, on the left
side under Deployments >
Library, select oracle.odi-agent#2.0@12.1.3
and oracle.odi-sdk#2.0@12.1.3.
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.
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.1.3
and oracle.odi-sdk#2.0@12.1.3.
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.
You have successfully updated the JCS domain
to support ODI JEE Agents.
4. Creating a Java EE Agent in the Master
Repository Using ODI Studio
If there is no physical agent entry for an
agent, then the agent startup will fail when
starting the WLS Administration Server.
To create an agent using ODI Studio, see
Section 5.3 "Creating an Agent in the Master
Repository Using ODI Studio" in Installing and
Configuring Oracle Data Integrator.
Note: Trying to use an ODI
Studio installation on-premise while remotely
connecting to the repositories hosted on Oracle
Database Cloud Service may slow down the user
interface to the point of being unusable.
Start ODI Studio from the command line by
using /u01/app/oracle/middleware/odi/studio/odi.sh
.
Fill in all of the connection
information that matches what you did in
RCU. Remember your user prefix may be DEV1_,
or DEV2_ or something
else, whatever you did in RCU.
Note: The URL
template is wrong! You must use a slash
between the port and the service. If you
use a colon as the template suggests, it
won't work. If you use the SID of ORCL
it won't work. You must use the slash
between the port and the service name as
shown.
Fill in the information as shown. The
Name: OracleDIAgent is
case-sensitive and hard-coded. Your IP
address will be different. Click Save ().
Close the OracleDIAgent tab.
You now have a physical and logical agent, but
WLS (and therefore the agent) is not started
yet, so you cannot test it yet.
5. Starting the Administration Server
The Administration Server normally does not
host any user applications, it simply controls
the other Managed Servers. Once the Managed
Servers are running, the Administration Server
only collects statistics and logs, it is not required
to be running for the hosted applications to
continue running.
To start the Administration Server, using
vncviewer, as user oracle,
go to the Domain_Home/bin
directory of VM1, where: Domain_Home is the
complete path to your domain location.
For example: /u01/data/domains/mydomain_name/bin.
Run the following command: ./startWebLogic.sh.
After about a minute, you should see these
messages. That means the Admin Server is
started.
<Jun 1, 2015 6:34:32 PM UTC> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>
<Jun 1, 2015 6:34:32 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
The post-configuration tasks pertaining to
Coherence membership are done. When you start
the servers (next section), you may need to come
back here to adjust the Coherence membership
again.
7. Starting the Servers
To get your deployments up and running, you
must start the Administration Server and Managed
Servers that were created during domain
extension.
Start (or if necessary restart) the servers.
Use the command line script to restart the Admin
Server, and use the WebLogic Server console to
start the Managed Servers. The Admin Server
may already be running!
You can now access the WLS Administration
Server Console by using the following link:
http://admin_server_host:admin_server_port/console.
Problem Statement: When
you start the JCS_ODI1 server, it may fail
with the following message in the /u01/data/domains/myjcs_domain/servers/JCS_ODI1/logs/JCS_ODI1.log
file:
This member could not join the cluster
because of a configuration mismatch
between this member and the configuration
being used by the rest of the cluster.
This member specified a cluster name of
"DataGridConfig" which did not match the
name of the running cluster. This
indicates that there are multiple clusters
on this network attempting to use
overlapping network configurations. .
Cause: Your server is
trying to join another Coherence cluster,
perhaps from another node.
Workaround: In the WLS
Console, go to Domain Structure
> Environment > Coherence Clusters
then click DataGridConfig
and change the Listen Port
from the default of 8088 to
something else, perhaps 9000.
The agent should now be deployed in JCS.
You can see it by going to Domain
Structure > Deployments then
in Summary of Deployments panel click Deployment
Order twice to get it sorted
low-to-high. You should see oraclediagent
near the top, and it should be State=Active
and Health=OK.
Problem Statement: The
agent oraclediagent may
fail to start with the following message: weblogic.application.ModuleException:
com.tangosol.net.RequestPolicyException:
No storage-enabled nodes exist for
service
oracle.wls.internal.odi:OdiDistributedCache:com.tangosol.net.RequestPolicyException:No
storage-enabled nodes exist for service
oracle.wls.internal.odi:OdiDistributedCache /!\ Warning Errors were
encountered while performing this
operation.
Cause: Your managed server
is failing to fully join the Coherence
cluster.
Workaround: In the WLS
Console, go to Domain Structure
> Environment > Coherence Clusters
then click DataGridConfig >
Members tab and Lock &
Edit and change the Clusters
from the default of All servers in
the cluster to just Part
of the cluster > JCS_ODI1,
then click Save and Activate
Changes and View
changes and restartsto
restart the managed server JCS_ODI1.
Go back to ODI Studio to test the agent.
In Topology > Physical
Architecture > Agents >
OracleDIAgent, click Test.
The WLS admin server and managed servers are
now running. All deployed applications are
running.
ODI is now provisioned on the JCS Virtual image.
The agents are running and available for ad hoc and
scheduled work.
Supported Use Cases When Running ODI on JCS Virtual
Image
Note: Oracle recommends that you
perform design time activity directly on the Java
Cloud Service Virtual Image instance where Oracle
Data Integrator has been installed. Use VNC to
remotely access ODI Studio and design your
integration processes. Trying to use an ODI Studio
installation on-premise while remotely connecting to
the repositories hosted on Oracle Database Cloud
Service may slow down the user interface to the
point of being unusable.
Moving Data between On-Premise Systems and ODI
Running in JCS Virtual Image
Oracle recommends using file-based data
movement mechanisms to transfer data between
your on-premise systems and Oracle Data
Integrator running on Java Cloud Service.
Java Cloud Service (JCS) and Database Cloud
Service (DBCS) instances come with
pre-configured Secure FTP (SFTP) servers which
can be leveraged to exchange data.
To send data from on-premise systems to ODI
running on JCS:
Extract data into files using an
on-premise installation of ODI
Use SFTP to send the files
to the DBCS instance used by ODI running on
JCS. ODI comes with ODI tools such as OdiSftpPut
which can help automate the SFTP transfer
process.
To send data from ODI running on JCS to
on-premise systems:
Extract data into files using ODI deployed
on JCS.
Copy the files into a directory available
from the built-in SFTP server in JCS.
Using an on-premise installation of ODI,
use OdiSftpGet tool to
download the files or use your favorite SFTP
client.
This is how you would move on-premise data to
and from JCS.
File to File
File to File use cases with both the source
and target files local to an instance of ODI
running on JCS are supported. Follow the
directions in Moving Data between On-Premise
Systems and Oracle Data Integrator Running in
Java Cloud Service Virtual Image if you need to
exchange data between an on-premise environment
and Oracle Public Cloud.
For this use case the recommendation is to
create a dedicated database schema such as ODI_TEMP
or ODI_STAGING for the ODI Staging
Area in the DBCS instance linked to the JCS
Virtual Image instance onto which ODI is
deployed. This ODI Staging Area schema will be
used to perform any required transformation
between the source and target files.
Loading files into a Database Cloud Service
instance is a supported use case if at least one
of the following conditions is met:
Source files are local to the DBCS instance
linked to the JCS Virtual Image instance onto
which ODI is deployed and this DBCS instance
is also the target of the ODI Mappings
Source files are local to the JCS Virtual
Image instance onto which ODI is deployed and
the target DBCS instance is accessible by ODI
using a JDBC connection
Source files are local to a remote DBCS
instance and ODI running on JCS Virtual Image
can connect to this remote DBCS instance using
a JDBC connection
Extracting data from a Database Cloud Service
instance into files is a supported use case. The
files will be created on the Java Cloud Service
Virtual Image instance onto which ODI is
deployed. You will need to ensure that ODI can
access the remote DBCS instance using a JDBC
connection.
Moving data between different Oracle Database
Cloud Service instances is a supported use case
as long as ODI can connect to all DBCS instances
using a JDBC connection. Data movement can be
performed using JDBC or Database Links provided
that the right ports have been opened between
the various environments.
It is assumed that this is already done, but if
not, read on...
1. Creating Cloud Storage Container
The cloud interface is being improved all the
time, so your screens may look slightly
different. Part of the Storage Container
creation process is web-based, and part is
command-line based using curl.
Enter the following command to create the
storage container:
[OS]$curl -k -v -X PUT -H
'X-Auth-Token:
AUTH_tk209f7f2ea1265a0d3f29d28a2dc8ced6'
https://storage.us2.oraclecloud.com/v1/Storage-Z17ORACLE1981761728/wcpcontainer
You will get the following response: HTTP/1.1
201 Created.
The value of the Cloud Storage Container
would be: Storage-Z17ORACLE1981761728/wcpcontainer.
Your value will be different.
This creates the Cloud Storage, a prerequisite
for all other cloud services.
2. Creating a Database Cloud Service (DCS,
DBaaS) Instance
A prerequisite for DCS is a Cloud Storage
Container. The following section shows how to
create the Oracle Database Cloud Service (DCS,
also known as DBaaS) instance.
On the Subscription Type
page, select Oracle Database Cloud
Service or Oracle
Database Cloud Service – Virtual Image,
and the billing frequency that you want to
define. Then click Next.
On the Software Release
page, select Oracle Database 11g
or Oracle Database 12c and
then click Next.
On the Software Edition
page, select any Software Edition, click Next.
On the Service Details
page, configure the settings for your
instance, then click Next.