6 Configuring the Domain for a Standalone Agent
Creating the Database Schemas
Before you can configure an Oracle Data Integrator domain, you must create the Master and Work Repository (ODI_REPO
) schemas on a certified database for use with this release of Oracle Fusion Middleware.
Follow the instructions in Creating the Master and Work Repository Schemas to create the required schemas.
Creating an Agent in the Master Repository with ODI Studio
A physical agent corresponds to a single standalone agent or a Java EE agent and should have a unique name in the topology. You create an ODI agent in the master repository with ODI Studio.
As part of its startup sequence, an agent connects to the master repository to verify that there is a physical agent defined in the master repositpry with its name. If it finds its entry, the agent continues with startup and, once started, it reads all the scheduled jobs of itself from the repository and starts processing them. If it does not find a physical agent entry for an agent, then the startup fails.
To create a physical agent in the master repository with ODI Studio:
Configuring the Domain
Use the Configuration Wizard to create and configure a domain.
For information on other methods to create domains, see Additional Tools for Creating, Extending, and Managing WebLogic Domains in Creating WebLogic Domains Using the Configuration Wizard.
Starting the Configuration Wizard
Start the Configuration Wizard to begin configuring a domain.
To start the Configuration Wizard:
Navigating the Configuration Wizard Screens to Create and Configure the Domain
Enter required information in the Configuration Wizard screens to create and configure the domain for the topology.
Note:
You can use this procedure to extend an existing domain. If your needs do not match the instructions in the procedure, be sure to make your selections accordingly, or see the supporting documentation for more details.
Selecting the Configuration Type and Domain Home Location
Use the Configuration Type screen to select a Domain home directory location, optimally outside the Oracle home directory.
To specify the Domain type and Domain home directory:
- On the Configuration Type screen, select Create a new domain.
- In the Domain Location field, specify your Domain home directory.
For more details about this screen, see Configuration Type in Creating WebLogic Domains Using the Configuration Wizard.
Selecting the Configuration Template
Use the Templates screen to select the templates you require.
On this screen, select the Oracle Data Integrator - Standalone Agent template.
For more information about this screen, see Templates in Creating WebLogic Domains Using the Configuration Wizard.
Specifying the Domain Mode and JDK
Use the JDK Selection screen to specify the Java Development Kit (JDK).
On the JDK Selection screen:
-
Select the JDK on your system that is certified for use with Oracle Fusion Middleware. For 14c (14.1.2.0.0), the certified JDK is 17.0.12 and later.
Specifying the Database Configuration Type
Use the Database Configuration type screen to specify details about the database and database schema.
On the Database Configuration type screen, select RCU Data. This option instructs the Configuration Wizard to connect to the database and Service Table (STB) schema to automatically retrieve schema information for schemas needed to configure the domain.
Note:
If you select Manual Configuration on this screen, you must manually fill in parameters for your schema on the next screen.
After selecting RCU Data, specify details in the following fields:
Field | Description |
---|---|
Host Name |
Enter the name of the server hosting the database. Example:
|
DBMS/Service |
Enter the database DBMS name, or service name if you selected a service type driver. Example: |
Port |
Enter the port number on which the database listens. Example: |
Schema Owner Schema Password |
Enter the username and password for connecting to the database's Service Table schema. This is the schema username and password entered for the Service Table component on the Schema Passwords screen in the RCU (see Specifying Schema Passwords). The default username is
|
For an Autonomous Transaction Processing database (both Autonomous Transaction Processing-Dedicated (ATP-D) and Autonomous Transaction Processing Shared (ATP-S)), specify the connection credentials using only the Connection URL String option, and enter the connect string in the following format described in Connection Credentials for an Autonomous Transaction Processing Database.
Click Get RCU Configuration when you finish specifying the database connection information. The following output in the Connection Result Log indicates that the operation succeeded:
Connecting to the database server...OK Retrieving schema data from database server...OK Binding local schema components with retrieved data...OK Successfully Done.
For more information about the schema installed when the RCU is run, see About the Service Table Schema in Creating Schemas with the Repository Creation Utility.
See Database Configuration Type in Creating WebLogic Domains Using the Configuration Wizard .
Specifying JDBC Component Schema Information
Use the JDBC Component Schema screen to verify or specify details about the database schemas.
Verify that the values populated on the JDBC Component Schema screen are correct for all schemas. If you selected RCU Data on the previous screen, the schema table should already be populated appropriately.
For an Autonomous Transaction Processing database (both Autonomous Transaction Processing-Dedicated (ATP-D) and Autonomous Transaction Processing Shared (ATP-S)), specify the connection credentials using only the Connection URL String option, and enter the connect string in the following format:
@TNS_alias?TNS_ADMIN=<path of the wallet files, ojdbc.properties, and tnsnames.ora>
In the connect string, you must pass TNS_alias
as the
database service name found in tnsnames.ora
, and
TNS_ADMIN
property to the location of the wallet files,
ojdbc.properties
, and tnsnames.ora
.
Example connect string for Autonomous Transaction Processing-Dedicated (ATP-D) database:
@dbname_tp?TNS_ADMIN=/users/test/wallet_dbname/
Example connect string for Autonomous Transaction Processing Shared (ATP-S) database:
@dbname_tp?TNS_ADMIN=/users/test/wallet_dbname/
For high availability environments, see the following sections in High Availability Guide for additional information on configuring data sources for Oracle RAC databases:
See JDBC Component Schema in Creating WebLogic Domains Using the Configuration Wizard for more details about this screen.
Testing the JDBC Connections
Use the JDBC Component Schema Test screen to test the data source connections.
A green check mark in the Status column indicates a successful test. If you encounter any issues, see the error message in the Connection Result Log section of the screen, fix the problem, then try to test the connection again.
By default, the schema password for each schema component is the password you specified while creating your schemas.
For more information about this screen, see JDBC Component Schema Test in Creating WebLogic Domains Using the Configuration Wizard.
Creating a New ODI System Component
Use the System Component screen to create a new ODI system component.
On the System Component screen, click Add then:
-
Under System Component, either accept the default ODI component (
OracleDIAgent1
) name, or specify a name of your choice. -
Under Component Type, ensure that ODI is selected from the drop-down list.
For more information about this screen, see System Components in Creating WebLogic Domains Using the Configuration Wizard.
Configuring the ODI Server Access
Use the ODI Server Configuration screen to configure access to your ODI server.
Set ODI Server configuration values as specified in the following table.
Field | Description |
---|---|
System Component |
Select the ODI system component ( |
Server Listen Address |
Specify the IP address of the server where the ODI server should listen. Do not use |
Server Listen Port |
Enter the port number on which ODI server listens. |
Supervisor Username |
Specify |
Supervisor Password |
Specify the Supervisor user password, as specified during schema creation. |
Preferred Datasource |
Use the default |
For more information about the options on this screen, see ODI Server Configuration in Creating WebLogic Domains Using the Configuration Wizard.
Configuring Node Manager
Use the Node Manager screen to select the type of Node Manager you want to configure, along with the Node Manager credentials.
Select Per Domain Default Location as the Node Manager type, then specify Node Manager credentials.
For more information about this screen, see Node Manager in Creating WebLogic Domains Using the Configuration Wizard.
For more information about Node Manager types, see About Node Manager in Administering Node Manager for Oracle WebLogic Server.
Reviewing Your Configuration Specifications and Configuring the Domain
The Configuration Summary screen shows detailed configuration information for the domain you are about to create.
Review each item on the screen and verify that the information is correct. To make any changes, go back to a screen by clicking the Back button or selecting the screen in the navigation pane. Domain creation does not start until you click Create.
For more details about options on this screen, see Configuration Summary in Creating WebLogic Domains Using the Configuration Wizard.
Writing Down Your Domain Home and Administration Server URL
The End of Configuration screen shows information about the domain you just configured.
Make a note of the following items because you need them later:
-
Domain Location
-
Administration Server URL
You need the domain location to access scripts that start Node Manager and Administration Server, and you need the URL to access the Administration Server.
Click Finish to dismiss the Configuration Wizard.
Adding Libraries to a Standalone Agent
After configuring a standalone agent, you can specify additional libraries if required.
-
Set the environment variable
ODI_ADDITIONAL_CLASSPATH
to locate additional jars before starting the agent. For example:ODI_ADDITIONAL_CLASSPATH=/share/libs/mytool.jar:/share/libs/drivers/mydriver.jar
-
Do one of the following:
- Copy the additional libraries to the
DOMAIN_HOME/lib
directory. The ODI standalone agents will automatically add these libaries to the agent’s classpath. - Edit the
DOMAIN_HOME/config/fmwconfig/components/ODI/Agent Name/bin/instance.sh/cmd
command to add the libraries to theODI_POST_CLASSPATH
variable.
- Copy the additional libraries to the
Starting a Standalone Agent Using Node Manager
Start Node Manager, then start the standalone agent.
Note:
If you have not yet configured the physical agent in the master repository, go to Creating an Agent in the Master Repository with ODI Studio.Starting Node Manager
-
-
(UNIX) Go to the
DOMAIN_HOME/bin
directory. - (Windows) Go to the
DOMAIN_HOME\bin
directory.
-
-
Enter the following command:
-
(UNIX) Using
nohup
andnm.out
as an example output file:nohup ./startNodeManager.sh >
LOG_DIR
/nm.out&where
LOG_DIR
is the location of directory in which you want to store the log files. -
(Windows)
startNodeManager.cmd
Note:
On Windows operating systems, Oracle recommends that you configure Node Manager to run as a startup service. This allows Node Manager to start up automatically each time the system is restarted.
See Running Node Manager as a Startup Service in Administering Node Manager for Oracle WebLogic Server.
-
Starting a Standalone Agent
To start an ODI standalone agent when using Node Manager:
-
Go to the
DOMAIN_HOME
/bin
directory. -
Start the agent:
-
(UNIX)
./startComponent.sh OracleDIAgent1
-
(Windows)
startComponent.cmd OracleDIAgent1
-
-
At the prompt, enter the Administrator password for the domain.
To verify that your agent was started successfully, go to the following URL in your browser:
http://examplehost.exampledomain.com:port/oraclediagent
Starting a Standalone Agent Without Node Manager
Start a standalone agent without Node Manager by using the
agent
command.
To start a standalone agent without Node Manager:
-
Go to the
DOMAIN_HOME
/bin
directory. -
Start the agent:
-
(UNIX)
./agent.sh -NAME=OracleDIAgent1
-
(Windows)
agent.cmd -NAME=OracleDIAgent1
where
-NAME
must be entered in all capital letters, and the name of the agent (in this example,OracleDIAgent1
) is case-sensitive. -
Verifying the Configuration
After completing all configuration steps, you can perform additional steps to verify that your domain is properly configured.
To verify that the domain is configured properly, see Performing Additional Domain Configuration Tasks.
Note:
If your work repository name is other than the default nameWORKREP
, you should edit the value
of the parameter ODI_SECU_WORK_REP to include
the actual work repository name, in the instance.properties
file. This additional configuration is required for both standalone agent and
standalone collocated agent.
Add Proxy Configuration for Standalone Agent
You can add proxy configuration for a standalone agent.
-
Open the instance file.
-
Linux: instance.sh
-
Windows: instance.cmd
The instance file is located under <DOMAIN>/config/fmwconfig/components/ODI/OracleDIAgent1/bin/
-
-
Edit the file and add or modify the ODI_INSTANCE_JAVA_OPTIONS parameter.
For example:
ODI_INSTANCE_JAVA_OPTIONS="$ODI_ADDITIONAL_JAVA_OPTIONS $ODI_SSL_PROPERTIES -Doracle.odi.standalone.agent.useauthenticator=false -Dhttps.proxyHost=<proxy host> -Dhttp.proxyPort=<proxy port> - https.proxyHost=<proxy host> -Dhttps.proxyPort=<proxy port> -Dhttp.nonProxyHosts=<non proxy host>"
-
Restart the agent.