13 Extending the Domain with Oracle Service Bus
The procedures described in this chapter guide you through the process of extending the enterprise deployment topology with Oracle Service Bus (OSB).
- About Configuring Oracle Service Bus in Its Own Domain
When you add Oracle Service Bus (OSB) to your enterprise topology, you can add it to the existing SOA domain, or you can create a new domain for OSB, separate from the Oracle SOA Suite domain. - Variables Used When Configuring Oracle Service Bus
As you perform the tasks in this chapter, you reference the directory variables that are listed in this section. - Overview of Adding OSB to the Topology
Before you add OSB to the topology, you must ensure that you have already performed the steps that are required to create an initial Infrastructure domain and then extended the domain to include Oracle SOA suite. - Prerequisites for Extending the Domain to Include Oracle Service Bus
Before you extend the current domain, ensure that your existing deployment meets the necessary prerequisites. - Installing Oracle Service Bus Software
You can install Oracle Service Bus in an enterprise deployment by using the OSB Installer. - Extending the SOA or Infrastructure Domain to Include Oracle Service Bus
You can use the Configuration Wizard to extend the existing enterprise deployment SOA domain with the Oracle Service Bus. You have to perform a series of additional tasks to complete the extension. - Update Certificates for New Frontend Addresses
This section contains information about certificates for new frontend addresses. - Update the WebLogic Servers Security Settings
This section contains information about WebLogic Servers security settings. - Propagating the Extended Domain to the Domain Directories and Machines
After you have extended the domain with the OSB instances, and you have restarted the Administration Server on SOAHOST1, you must then propagate the domain changes to the domain directories and systems. - Modifying the Upload and Stage Directories to an Absolute Path
After you configure the domain and unpack it to the Managed Server domain directories on all the hosts, verify and update the upload and stage directories for Managed Servers in the new clusters. - Configuring the Web Tier for the Extended Domain
It is important to understand how to configure the web server instances on the web tier so that they route requests for both public and internal URLs to the proper clusters in the extended domain. - Post-Configuration Tasks for Oracle Service Bus
After you install and configure Oracle Service Bus in the domain, consider the following post-configuration tasks. - Replacing Connect Strings with the Appropriate TNS Alias
Oracle recommends using TNS Alias in the connection strings used by FMW components instead of repeating long JDBC strings across multiple connections pools. - Backing Up the Configuration
It is an Oracle best practices recommendation to create a backup after you successfully extended a domain or at another logical point. Create a backup after you verify that the installation so far is successful. This is a quick backup for the express purpose of immediate restoration in case of problems in later steps.
Parent topic: Configuring the Enterprise Deployment
About Configuring Oracle Service Bus in Its Own Domain
When you add Oracle Service Bus (OSB) to your enterprise topology, you can add it to the existing SOA domain, or you can create a new domain for OSB, separate from the Oracle SOA Suite domain.
For more information about the OSB topology, see About the Topology Options for Oracle Service Bus.
If you decide to configure Oracle Service Bus in a separate domain, then keep in mind the following when you use the instructions to add Oracle Service Bus to your topology:
-
Ignore any references to the SOA Managed Servers or the SOA Cluster. These elements of the domain only exist if you extend a domain that has already been extended with Oracle SOA Suite.
-
You must run the RCU to create the SOAINFRA schema for the Oracle Service Bus domain. This schema is required by Oracle Service Bus. You must use a unique SOAINFRA schema and schema prefix for the Oracle Service Bus domain.
-
When you run the Configuration Wizard, the High Availability Options screen appears as described in Navigating the Configuration Wizard Screens to Extend the Domain with Oracle SOA Suite.
This screen appears for the first time when you create a cluster that uses Automatic Service Migration or JDBC stores or both. After you select HA Options for a cluster, all subsequent clusters that are added to the domain by using the Configuration Wizard, automatically apply HA options (that is, the Configuration Wizard creates the JDBC stores and configures ASM for them).
Oracle recommends that you select the following options:-
Select Enable Automatic Service Migration with Database Leasing.
-
Set JTA Transaction Log Persistence to JDBC TLog Store.
-
Set JMS Server Persistence to JMS JDBC Store.
-
Parent topic: Extending the Domain with Oracle Service Bus
Variables Used When Configuring Oracle Service Bus
As you perform the tasks in this chapter, you reference the directory variables that are listed in this section.
The values for several directory variables are defined in File System and Directory Variables Used in This Guide.
-
ORACLE_HOME
-
ASERVER_HOME
-
MSERVER_HOME
-
JAVA_HOME
-
WEB_DOMAIN_HOME
In addition, you reference the following virtual hostname addresses that are defined in Physical and Virtual IP Addresses Required by the Enterprise Topology:ADMINVHN
Actions in these topics are performed on the following host computers:
-
SOAHOST1
-
SOAHOST2
-
WEBHOST1
-
WEBHOST2
Parent topic: Extending the Domain with Oracle Service Bus
Overview of Adding OSB to the Topology
Before you add OSB to the topology, you must ensure that you have already performed the steps that are required to create an initial Infrastructure domain and then extended the domain to include Oracle SOA suite.
Table 13-1 lists and describes the high-level steps to extend an existing SOA domain or an existing Infrastructure domain for Oracle Service Bus.
Table 13-1 Steps for Extending a SOA Domain to Include Oracle Service Bus
Step | Description | More Information |
---|---|---|
Install Oracle Service Bus software. |
Install OSB software on the target system. |
|
Optionally, install the SOAINFRA schema in a supported database. |
OSB requires the SOAINFRA schema for the Be sure to use a unique schema for the SOAINFRA schema that is used by the OSB domain. |
|
Optionally, create a new Infrastructure domain. |
If you plan to run OSB in its own domain, then you must first create an Infrastructure domain, so you can extend that domain with OSB. |
Creating the Initial Infrastructure Domain for an Enterprise Deployment |
Run the Configuration Wizard to Extend the Domain. |
Extend the SOA or Infrastructure domain to contain Oracle Service Bus components. |
Extending the SOA or Infrastructure Domain to Include Oracle Service Bus |
Propagate the Domain Configuration to the Managed Server Directory in SOAHOST1 and to SOAHOST2. |
Oracle Service Bus requires some updates to the WebLogic Server start scripts. Propagate these changes by using the |
Propagating the Extended Domain to the Domain Directories and Machines |
Start the Oracle Service Bus Servers. |
Oracle Service Bus servers extend an already existing domain. As a result, the Administration Server and respective Node Managers are already running in SOAHOST1 and SOAHOST2. |
|
Validate the WLS_OSB Managed Servers. |
Verify that the server status is reported as Running in the Admin Console and access URLs to verify status of servers. |
|
Configuring Oracle HTTP Server for the WLS_OSBn Managed Servers. |
To enable Oracle HTTP Server to route to Oracle Service Bus console and Oracle Service Bus service, set the WebLogicCluster parameter to the list of nodes in the cluster. |
|
Validating Access Through Oracle HTTP Server. |
Verify that the server status is reported as Running. |
Validating the Oracle Service Bus URLs Through the Load Balancer |
Enable High Availability for Oracle File and FTP Adapters. |
Make Oracle File and FTP Adapters highly available for outbound operations by using the database mutex locking operation. |
Enabling High Availability for Oracle DB_ File and FTP Adapters |
Backing up the Oracle Service Bus Configuration. |
To back up the domain configuration for immediate restoration in case of failures in future procedures. |
Parent topic: Extending the Domain with Oracle Service Bus
Prerequisites for Extending the Domain to Include Oracle Service Bus
Before you extend the current domain, ensure that your existing deployment meets the necessary prerequisites.
-
Back up the installation. If you have not yet backed up the existing Fusion Middleware Home and domain, Oracle recommends backing it up now.
To back up the existing Fusion Middleware Home and domain, see Performing Backups and Recoveries in the SOA Enterprise Deployments.
-
Verify that you have installed the Infrastructure and SOA software binaries in an Oracle home on shared storage and they are available from SOAHOST1 and SOAHOST2.
-
If Oracle Service Bus is being configured in the same domain as SOA, then the appropriate SOAINFRA schema (used by the wlsbjmsrpDataSource) is already available. If OSB is being configured in its own domain, then you must run RCU to install the SOAINFRA schema in a supported database by using a different schema prefix than the SOAINFRA schema used by the SOA domain.
-
You have already configured Node Manager, Administration Server, (optionally SOA Servers) and WSM Servers as described in previous chapters to run a SOA system. Optionally, you may have already configured Server migration, transaction logs, coherence, and all other configuration steps for the SOA System.
-
If you haven't done so already, verify that the system clocks on each host computer are synchronized. You can do this by running the date command simultaneously on the hosts in each cluster.
Alternatively, there are third-party and open-source utilities you can use for this purpose.
Parent topic: Extending the Domain with Oracle Service Bus
Installing Oracle Service Bus Software
You can install Oracle Service Bus in an enterprise deployment by using the OSB Installer.
- Starting the Oracle Service Bus Installer
- Navigating the OSB Installation Screens
- Installing the Software on Other Host Computers
- Validating the OSB Installation
Parent topic: Extending the Domain with Oracle Service Bus
Starting the Oracle Service Bus Installer
To start the installation program, perform the following steps.
Parent topic: Installing Oracle Service Bus Software
Navigating the OSB Installation Screens
Table 13-2 provides description of each installation program screen.
Table 13-2 OSB Installation Screens
Screen | Description |
---|---|
Welcome |
This screen introduces you to the product installer. |
Auto Updates |
Use this screen to automatically search My Oracle Support for available patches or automatically search a local directory for patches that you’ve already downloaded for your organization. |
Installation Location |
Use this screen to specify the location of your Oracle home directory. If you plan to extend the existing SOA domain, then install the OSB software into the existing Oracle home, where the SOA software has already been installed. If you plan to configure OSB in a separate domain, then install the OSB software in the Infrastructure Oracle home. |
Installation Type |
Use this screen to select the type of installation and consequently, the products and feature sets that you want to install. For this topology, select Service Bus. |
Prerequisite Checks |
This screen verifies that your system meets the minimum necessary requirements. If there are any warning or error messages, you can refer to one of the following documents in Roadmap for Verifying Your System Environment in Installing and Configuring the Oracle Fusion Middleware Infrastructure. |
Installation Summary |
Use this screen to verify the installation options that you select. If you want to save these options to a response file, click Save Response File and provide the location and name of the response file. Response files can be used later in a silent installation situation. For more information about silent or command-line installation, see Using the Oracle Universal Installer in Silent Mode in Installing Software with the Oracle Universal Installer. Click Install to begin the installation. |
Installation Progress |
This screen allows you to see the progress of the installation. |
Installation Complete |
This screen appears when the installation is complete. Review the information on this screen, then click Finish to dismiss the installer. |
Parent topic: Installing Oracle Service Bus Software
Installing the Software on Other Host Computers
If you have configured a separate shared storage volume or partition for SOAHOST2, then you must also install the software on SOAHOST2. For more information, see Shared Storage Recommendations When Installing and Configuring an Enterprise Deployment.
Note that the location where you install the Oracle home (which contains the software binaries) varies, depending upon the host. To identify the proper location for your Oracle home directories, refer to the guidelines in File System and Directory Variables Used in This Guide.
Parent topic: Installing Oracle Service Bus Software
Validating the OSB Installation
After you complete the installation, you can verify it by successfully completing the following tasks.
- Reviewing the Installation Log Files
- Checking the Directory Structure
- Viewing the Contents of Your Oracle Home
Parent topic: Installing Oracle Service Bus Software
Reviewing the Installation Log Files
Review the contents of the installation log files to make sure that no problems were encountered. For a description of the log files and where to find them, see Understanding Installation Log Files in Installing Software with the Oracle Universal Installer.
Parent topic: Validating the OSB Installation
Checking the Directory Structure
The contents of your installation vary based on the options you selected during the installation.
The addition of Oracle Service Bus adds the following directory and sub-directories. Use the ls --format=single-column
command to verify the directory structure:
ls --format=single-colum $ORACLE_HOME/osb/
bin
common
config
doc
financial
L10N
lib
modules
osb
plugins
tools
For more information about the directory structure post the installation process, see What are the Key Oracle Fusion Middleware Directories? in Understanding Oracle Fusion Middleware.
Parent topic: Validating the OSB Installation
Viewing the Contents of Your Oracle Home
You can also view the contents of your Oracle home by using the viewInventory
script. See Viewing the contents of an Oracle home in Installing Software with the
Oracle Universal Installer.
Parent topic: Validating the OSB Installation
Extending the SOA or Infrastructure Domain to Include Oracle Service Bus
You can use the Configuration Wizard to extend the existing enterprise deployment SOA domain with the Oracle Service Bus. You have to perform a series of additional tasks to complete the extension.
Extending the domain involves the following tasks.
- Starting the Configuration Wizard
- Navigating the Configuration Wizard Screens to Extend the Domain with Oracle Service Bus
Parent topic: Extending the Domain with Oracle Service Bus
Starting the Configuration Wizard
Note:
SSL store customizations were added to the
setUserOverridesLate.sh
in the domain creation chapter. Any
customizations added to this file are preserved when a domain is extended and
are carried over to remote servers when using the pack
and unpack commands.
However, if you added any additional customizations to the
setDomainEnv.sh
script in the domain (such as custom
libraries, JAVA command line options for starting the servers or environment
variables), those will be overwritten by the configuration wizard when you
extend the domain. Add all the startup parameters that apply to all servers in a
domain to the setUserOverridesLate.sh
file. This will preserve
them across extensions.
To begin domain configuration:
Navigating the Configuration Wizard Screens to Extend the Domain with Oracle Service Bus
In this step, you extend the domain created in Extending the Domain with Oracle SOA Suite , and add the Oracle Service Bus software components and Managed Servers.
The steps reflected in this section would be very similar if Oracle Service Bus was extending a domain containing only an Administration Server and a WSM-PM Cluster, but some of the options, libraries, and components shown in the screens could vary.
Follow the instructions in this section to extend the domain for Oracle Service Bus.
Note:
This procedure assumes that you are extending an existing domain. If your needs do not match the instructions given in the procedure, ensure that you make your selections accordingly, or refer to the supporting documentation for additional details.Domain creation and configuration includes the following tasks.
-
Task 1, "Selecting the Domain Type and Domain Home Location"
-
Task 5, "Providing the GridLink Oracle RAC Database Connection Details"
-
Task 16, "Reviewing Your Configuration Specifications and Configuring the Domain"
-
Task 17, "Writing Down Your Domain Home and Administration Server URL"
- Task 1 Selecting the Domain Type and Domain Home Location
-
On the Configuration Type screen, select Update an existing domain.
In the Domain Location field, select the value of the ASERVER_HOME variable, which represents the complete path to the Administration Server domain home that you created when you created in Creating the Initial Infrastructure Domain for an Enterprise Deployment.
For more information about the directory location variables, see File System and Directory Variables Used in This Guide.
For more information about the other options on this screen, see Configuration Type in Creating WebLogic Domains Using the Configuration Wizard.
- Task 2 Selecting the Configuration Template
-
On the Templates screen, make sure that Update Domain Using Product Templates is selected, then select the following templates:
-
Oracle Service Bus Reference Configuration [osb]
The following additional templates should already be selected, because they were used to create the initial domain:
-
Oracle SOA Suite Reference Configuration [soa] (if you are extending a SOA domain)
-
Oracle Enterprise Manager [em]
-
Oracle WSM Policy Manager [oracle_common]
-
Oracle JRF [oracle_common]
-
WebLogic Coherence Cluster Extension [wlserver]
The ODSI XQuery 2004 Components [oracle_common] template is also automatically selected when you select Oracle Service Bus template.
-
For more information about the options on this screen, see Templates in Creating WebLogic Domains Using the Configuration Wizard.
Note:
If you plan to extend the domain to add a component that does not support Reference Configuration, such as BPM and BAM (Reference Configuration is supported only in SOA, OSB, B2B, and ESS), or if you are extending a classic SOA domain with OSB, the OSB classic domain templates must be used.
The classic OSB template, which does not implement the optimizations included in Reference Configuration is as follows:
Oracle Service Bus - 14.1.2.0.0 [osb]
Subsequent extensions on a classic domain for B2B or SOA must be done with Classic extension templates and not with Reference Configuration templates.
-
- Task 3 Specifying the Database Configuration Type
-
On the Database Configuration Type screen, select RCU Data.
All fields are pre-populated, because you already configured the domain to reference the Fusion Middleware schemas that are required for the Infrastructure domain.
-
Verify that the Vendor is Oracle and the Driver is *Oracle's Driver (Thin) for Service Connections; Versions: Any.
-
Verify that Connection Parameters is selected.
-
Verify and ensure that credentials in all the fields are the same as those provided during the configuration of Oracle Fusion Middleware Infrastructure.
Click Get RCU Configuration after you finish verifying the database connection information. The following output in the Connection Result Log indicates that the operating succeeded:
Connecting to the database server...OK Retrieving schema data from database server...OK Binding local schema components with retrieved data...OK Successfully Done.
Tip:
For more information about the RCU Data option, see Understanding the Service Table Schema in Creating Schemas with the Repository Creation Utility.
For more information about the other options on this screen, see Datasource Defaults in Creating WebLogic Domains Using the Configuration Wizard.
-
- Task 4 Specifying JDBC Component Schema Information
-
On the JDBC Component Schema screen, select OSB JMS Reporting Provider component schema.
When you select the schemas, the fields on the page are activated and the database connection fields are populated automatically.
Click Convert to GridLink, and then click Next.
- Task 5 Providing the GridLink Oracle RAC Database Connection Details
-
On the GridLink Oracle RAC Component Schema screen, provide the information that is required to connect to the RAC database and component schemas, as shown in the following table.
Table 13-3 Providing the GridLink Oracle RAC Database Connection Details
Element Description and Recommended Value Service Name
Verify that the service name for the Oracle RAC database is appropriate. For example,
soaedg.example.com
.SCAN, Host Name, and Port
Select the SCAN check box.
In the Host Name field, enter the Single Client Access Name (SCAN) Address for the Oracle RAC database.
In the Port field, enter the SCAN listening port for the database (for example,
1521
).ONS Host and Port
These values are not required when you are using an Oracle 12c database or higher versions because the ONS list is automatically provided from the database to the driver.
Enable Fan
Verify that the Enable Fan check box is selected, so the database can receive and process FAN events.
- Task 6 Testing the JDBC Connections
-
Use the JDBC Component Schema Test screen to test the data source connections that you have just configured.
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.
For more information about the other options on this screen, see Test Component Schema in Creating WebLogic Domains Using the Configuration Wizard.
- Task 7 Selecting Advanced Configuration
-
To complete domain configuration for the topology, select Topology on the Advanced Configuration screen.
Note:
JDBC stores are recommended and selected in Task 3, "Configuring High Availability Options" so there is no need to configure File Stores.
If you choose File Stores in Task 3, "Configuring High Availability Options", you have to select the File Stores option here to configure them in a shared location in
ORACLE_RUNTIME/domain_name/OSB_Cluster/jms
. Shared location is required to resume JMS and JTA in a failover scenario. - Task 8 Configuring Managed Servers
-
On the Managed Servers screen, a new Managed Server for Oracle Service Bus appears in the list of servers. This server was created automatically by the Oracle Service Bus configuration template that you selected in Task 2, "Selecting the Configuration Template".
Perform the following tasks to modify the default Oracle Service Bus Managed Server and create a second Oracle Service Bus Managed Server:
-
Rename the default OSB Managed Server to
WLS_OSB1
. -
Click Add to create a new Managed Server, and name it
WLS_OSB2
.Tip:
The server names recommended here are used throughout this document; if you choose different names, be sure to replace them as needed. -
Use the information in Table 13-4 to fill in the rest of the columns for each Managed Server.
-
Select OSB-MGD-SVRS-ONLY as the server group for the OSB Servers. Deselect OSB-MGD-SVRS-COMBINED that is selected by default.
-
Click Next.
For more information about the options on the Managed Server screen, see Managed Servers in Creating WebLogic Domains Using the Configuration Wizard.
Table 13-4 Configuring the Oracle Service Bus Managed Servers in the Configuration Wizard
Name Listen Address Enable Listen Listen Port SSL Listen Port Enable SSL Port Administration Port Server Groups WLS_SOA1
SOAHOST1
Unchecked
Disabled
7004
Checked
9004
SOA-MGD-SVRS-ONLY
WLS_SOA2
SOAHOST2
Unchecked
Disabled
7004
Checked
9004
SOA-MGD-SVRS-ONLY
WLS_WSM1
SOAHOST1
Unchecked
Disabled
7010
Checked
9003
JRF-MAN-SVR
WSMPM-MAN-SVR
WLS_WSM2
SOAHOST2
Unchecked
Disabled
7010
Checked
9003
JRF-MAN-SVR
WSMPM-MAN-SVR
WLS_OSB1
SOAHOST1
Unchecked
Disabled
8003
Checked
9007
OSB-MGD-SVRS-ONLY
WLS_OSB2
SOAHOST2
Unchecked
Disabled
8003
Checked
9007
OSB-MGD-SVRS-ONLY
The WLS_SOA Managed Servers appear if you extend an existing Oracle SOA Suite domain with Oracle Service Bus.
-
- Task 9 Configuring a Cluster
-
In this task, you create a cluster of Managed Servers to which you can target the Oracle Service Bus software.
You also set the Frontend Host property for the cluster, which ensures that, when necessary, WebLogic Server redirects web services callbacks and other redirects to
on the load balancer rather than the address in the HOST header of each request.osb.example.com
For more information about the
osb.example.com
virtual server address, see Configuring Virtual Hosts on the Hardware Load Balancer.Use the Clusters screen to create a new cluster:
-
Click the Add button.
-
Specify
OSB_Cluster
in the Cluster Name field. -
Specify
osb.example.com
in the Frontend Host field. -
Specify
0
as the Frontend HTTP Port and443
as the Frontend HTTPS port.
Note:
By default, server instances in a cluster communicate with one another by using unicast. If you want to change your cluster communications to use multicast, refer to Considerations for Choosing Unicast or Multicast in Administering Clusters for Oracle WebLogic Server.For more information about the options on this screen, see Clusters in Creating WebLogic Domains Using the Configuration Wizard.
-
- Task 10 Assigning Server Templates
-
Click Next to continue.
- Task 11 Configuring Dynamic Servers
-
Click Next to continue.
- Task 12 Assigning Managed Servers to the Cluster
-
On the Assign Servers to Clusters screen, assign servers to clusters as follows:
Note that the WLS_SOA Managed Servers appear only if you extend an existing Oracle SOA Suite domain with Oracle Service Bus.
-
SOA_Cluster (If you are extending a SOA domain):
-
WLS_SOA1
-
WLS_SOA2
-
-
WSM-PM_Cluster:
-
WLS_WSM1
-
WLS_WSM2
-
-
OSB_Cluster:
-
WLS_OSB1
-
WLS_OSB2
-
Click Next.
For more information about the options on this screen, see Assign Servers to Clusters in Creating WebLogic Domains Using the Configuration Wizard.
-
- Task 13 Configuring Coherence Clusters
-
Use the Coherence Clusters screen to configure the Coherence cluster that is automatically added to the domain. Leave the port number value at
9991
, as it was defined during the initial Infrastructure domain creation.For Coherence licensing information, see Oracle Coherence Products in Oracle Fusion Middleware Licensing Information User Manual.
- Task 14 Verifying the Existing Machines
-
Confirm that the following entries appear:
Name Node Manager Listen Address SOAHOST1
SOAHOST1
SOAHOST2
SOAHOST2
ADMINHOST
ADMINVHN
Leave all other fields to their default values.
Click Next.
- Task 15 Assigning Servers to Machines
-
On the Assign Servers to Machines screen, assign servers to machines as follows:
-
ADMINHOST:
-
AdminServer
-
-
SOAHOST1
-
WLS_SOA1 (if extending a SOA domain)
-
WLS_WSM1
-
WLS_OSB1
-
-
SOAHOST2:
-
WLS_SOA2 (if extending a SOA domain)
-
WLS_WSM2
-
WLS_OSB2
-
For more information about the options on this screen, see Assign Servers to Machines in Creating WebLogic Domains Using the Configuration Wizard.
-
- Task 16 Reviewing Your Configuration Specifications and Configuring the Domain
-
The Configuration Summary screen contains the detailed configuration information for the domain that you are about to extend. Review the details of each item on the screen and verify that the information is correct.
If you need to make any changes, you can go back to any previous screen, either by using the Back button or by selecting the screen in the navigation pane.
Click Update to execute the domain extension.
In the Configuration Progress screen, click Next when it finishes.
For more information about the options on this screen, see Configuration Summary in Creating WebLogic Domains Using the Configuration Wizard.
- Task 17 Writing Down Your Domain Home and Administration Server URL
-
The Configuration Success screen shows the following items about the domain you just configured, including:
-
Domain Location
-
Administration Server URL
Make a note of both these items, because you need them later; you need the domain location to access the scripts used to start the Administration Server, and you need the Administration Server URL to access the WebLogic Remote Console and Oracle Enterprise Manager Fusion Middleware Control.
Click Finish to dismiss the Configuration Wizard.
-
- Task 18 Start the Administration Server
-
Start the Administration Server to ensure the changes that you have made to the domain have been applied.
After you have completed extending the domain, go to Propagating the Extended Domain to the Domain Directories and Machines.
Update Certificates for New Frontend Addresses
This section contains information about certificates for new frontend addresses.
Note:
About Certificates for the domain extension.Since the OSB and WSM servers use the same listen addresses (different port), there is no need to create new certificates and update stores. However, the OSB cluster uses a different front end address that will be added as a trusted endpoint in the Configuring the Web Tier for the Extended Domain.
Parent topic: Extending the Domain with Oracle Service Bus
Update the WebLogic Servers Security Settings
This section contains information about WebLogic Servers security settings.
Follow the steps described in the Updating the WebLogic Servers Security Settings and update SSL settings for the WLS_OSB1 and WLS_OSB2 servers.
Parent topic: Extending the Domain with Oracle Service Bus
Propagating the Extended Domain to the Domain Directories and Machines
After you have extended the domain with the OSB instances, and you have restarted the Administration Server on SOAHOST1, you must then propagate the domain changes to the domain directories and systems.
Note that there is no need to propagate the updated domain to the WEBHOST1 and WEBHOST2 systems, because there are no changes to the Oracle HTTP Server instances on those host computers.
Refer to the following sections for more information.
- Summary of the Tasks Required to Propagate the Changes to the Other Domain Directories and Machines
- Starting and Validating the WLS_OSB1 Managed Server
- Starting and Validating the WLS_OSB2 Managed Server
- Verifying the Appropriate Targeting and Configuration for OSB Singleton Services
Parent topic: Extending the Domain with Oracle Service Bus
Summary of the Tasks Required to Propagate the Changes to the Other Domain Directories and Machines
Table 13-5 summarizes the steps required to propagate the changes to all the domain directories and systems.
Table 13-5 Summary of Tasks Required to Propagate the Domain Chanegs to Domain Directories and Machines
Task | Description | More Information |
---|---|---|
Pack up the Extended Domain on SOAHOST1 |
Use the When you pack up the domain, create a template jar file called |
|
Unpack the Domain in the Managed Servers Directory on SOAHOST1 |
Unpack the template jar file in the Managed Servers directory on SOAHOST1 local storage. |
Unpacking the Domain in the Managed Servers Domain Directory on SOAHOST1 |
Unpack the Domain on SOAHOST2 |
Unpack the template jar file in the Managed Servers directory on the SOAHOST2 local storage. |
Starting and Validating the WLS_OSB1 Managed Server
After you extend the domain, restart the Administration Server, and propagate the domain to the other hosts, use the following procedure to start the WLS_OSB1 server and validate if the server is configured successfully:
Starting the WLS_OSB1 Managed Server
Parent topic: Starting and Validating the WLS_OSB1 Managed Server
Adding the MiddlewareAdministrators Role to the Enterprise Deployment Administration Group
Before you validate the Oracle Service Bus configuration on the WLS_OSB1 Managed Server, add the Oracle Service Bus MiddlewareAdministrators
administration role to the enterprise deployment administration group (SOA Administrators
) and add the IntegrationAdministrators
group in the external LDAP directory.
To perform this task, refer to Configuring Roles for Administration of Oracle SOA Suite Products.
Parent topic: Starting and Validating the WLS_OSB1 Managed Server
Validating the Managed Server
After you add the MiddlewareAdministrator
role to the SOA Administrators group, you can validate the configuration of the Oracle Service Bus software on the WLS_OSB1 Managed Server as follows:
Parent topic: Starting and Validating the WLS_OSB1 Managed Server
Starting and Validating the WLS_OSB2 Managed Server
Follow similar steps as in the previous section for WLS_OSB2:
Verifying the Appropriate Targeting and Configuration for OSB Singleton Services
-
Aggregator
-
SLA Alert Manager
-
Poller transports (Email, File, FTP, and SFTP pollers)
This is controlled by the global property OSB Singleton Components Automatic Migration, which exposed in Enterprise Manager, in the Global Settings section of the Service Bus configuration. When activated, it uses the WebLogic Singleton Framework to guarantee the singleton behavior and automatic migration of these OSB singleton services.
Similar to server or service migration, a database leasing is a requirement for the OSB Singleton Components Automatic Migration to work properly. The OSB Singleton Components Automatic Migration checkbox does not automatically define the leasing datasource, it just marks these applications as singletons.
This OSB global property and the Database Leasing are checked by default for the SOA Enterprise Deployment topologies as long as Enable Automatic Service Migration was selected during the configuration wizard as recommended in this guide.
For cases where Automatic Service Migration was not enabled using the Configuration Wizard, and you define it manually afterwards, you must also check OSB Singleton Components Automatic Migration manually.
To guarantee the appropriate Singleton behavior for OSB:
Verify that the OSB Singleton Components Automatic Migration option is checked:
Verify that the appropriate targeting exists by following these steps:
-
Log into the WebLogic Remote Console.
-
In the Edit Tree, and then click App Deployments.
-
Find the Aggregator Singleton Marker Application. Verify that the value in the Targets column of the table is OSB_Cluster.
Verify that the leasing datasource is defined for the OSB_Cluster:
-
Log into the WebLogic Remote Console.
-
In the Edit Tree, expand Environment, and then click Clusters.
-
Click OSB_Cluster.
-
Click the Migration tab.
-
Verify that Database is selected in the Migration Basis drop-down menu and the leasing datasource Data Source For Automatic Migration is defined.
If database leasing is not defined, see Setting the Leasing Mechanism and Data Source for an Enterprise Deployment Cluster for instructions to configure it.
Note:
It is assumed that at the time of configuring the domain with the Config Wizard, the Enable Automatic Service Migration option is checked in the High Availability Options screen. If the option is not checked, Service Bus Domain Singleton Marker Application is targeted directly to the first server of the cluster WLS_OSB1 and this server hosts the singleton services. Oracle does not recommend this approach because it does not provide automatic migration of the OSB singletons services in case of a failure.
Modifying the Upload and Stage Directories to an Absolute Path
Parent topic: Extending the Domain with Oracle Service Bus
Configuring the Web Tier for the Extended Domain
It is important to understand how to configure the web server instances on the web tier so that they route requests for both public and internal URLs to the proper clusters in the extended domain.
- Generate the Required Certificates for OHS SSL Listeners
- Configuring Oracle HTTP Server for the Oracle Service Bus
Oracle Service Bus exposes applications deployed both in the Administration Server and in the Oracle Service Bus Cluster. The Oracle HTTP Server mount points required by Oracle Service Bus in the Administration server are added to theadmin_vh.conf
file created in the domain creation chapter. For the application mounts in the Oracle Service Bus cluster you can reuse your SOA frontend virtual hostname (soa.example.com
) or use an specific virtual hostname for Oracle Service Bus (such asosb.example.com
, reflected in the topology diagrams). - Validating the Oracle Service Bus URLs Through the Load Balancer
Verify the Oracle Service Bus URLs to ensure that appropriate routing and failover is working from the hardware load balancer to the HTTP Server instances to the Oracle Service Bus components.
Parent topic: Extending the Domain with Oracle Service Bus
Generate the Required Certificates for OHS SSL Listeners
Follow the steps described in the Generate Required Cetificates for OHS SSL Listeners section in Starting the Oracle HTTP Server Instances to add the new fronted address to the certificate stores and update the SAN for the OHS listeners certs.
When asked to replace the existing OHS Virtual Host certificates, answer yes so that they are updated with the new frontend address for the OSB cluster as SAN.
Parent topic: Configuring the Web Tier for the Extended Domain
Configuring Oracle HTTP Server for the Oracle Service Bus
Oracle Service Bus exposes applications deployed both in the Administration
Server and in the Oracle Service Bus Cluster. The Oracle HTTP Server mount points required by
Oracle Service Bus in the Administration server are added to the admin_vh.conf
file created in the domain creation chapter. For the application mounts in the Oracle Service
Bus cluster you can reuse your SOA frontend virtual hostname (soa.example.com
)
or use an specific virtual hostname for Oracle Service Bus (such as
osb.example.com
, reflected in the topology diagrams).
soa_vh.conf
configuration
file. In the second case you need to perform the following steps:
-
Configure your load balancer to add an additional Virtual Hostname/Virtual Server for
osb.example.com
. For more information, see your precise Load Balancer vendor documentation. -
Configure the OHS instances to serve the new virtual hostname (
osb.example.com
).
Parent topic: Configuring the Web Tier for the Extended Domain
Validating the Oracle Service Bus URLs Through the Load Balancer
Verify the Oracle Service Bus URLs to ensure that appropriate routing and failover is working from the hardware load balancer to the HTTP Server instances to the Oracle Service Bus components.
To verify the URLs:
Parent topic: Configuring the Web Tier for the Extended Domain
Post-Configuration Tasks for Oracle Service Bus
After you install and configure Oracle Service Bus in the domain, consider the following post-configuration tasks.
- Enabling High Availability for Oracle DB, File and FTP Adapters
- Considerations for Poller Transports
OSB provides native Poller transports that are not transactional in nature. These transports poll a source directory, FTP server, or email server for new messages and push the processing payloads to the required JMS destinations. Email, File, FTP, and SFTP fall in this category. - Configuring Specific Oracle Service Bus Services for an Enterprise Deployment
Parent topic: Extending the Domain with Oracle Service Bus
Enabling High Availability for Oracle DB, File and FTP Adapters
Oracle SOA Suite and Oracle Service Bus use the same database, file, and FTP JCA adapters.
You create the required database schemas for these adapters when you use the Oracle Repository Creation Utility before you configure Oracle SOA Suite. The database adapter does not require any configuration at the WebLogic Server resource level.
The required configuration for the other adapters is described in section Enabling High Availability for Oracle File and FTP Adapters.
If you configure Oracle Service Bus as an extension of a SOA domain, you do not need to add to the configuration already performed for the adapters.
If you deploy Oracle Service Bus as an extension to an Oracle Fusion Middleware Infrastructure domain (without Oracle SOA Suite), perform the steps as described in Enabling High Availability for Oracle File and FTP Adapters.
Parent topic: Post-Configuration Tasks for Oracle Service Bus
Considerations for Poller Transports
OSB provides native Poller transports that are not transactional in nature. These transports poll a source directory, FTP server, or email server for new messages and push the processing payloads to the required JMS destinations. Email, File, FTP, and SFTP fall in this category.
Poll-based transports use a transport poller thread that is pinned to a Managed Server. All Managed Servers in a cluster can process the pertaining payload, but only one server can poll for the message. To protect the system from outages, the poller thread must be configured as an application-scoped singleton and the involved JMS destinations must be highly available.
The Poller Transport singleton behavior, similar to the other OSB singleton services, is controlled by the property OSB Singleton Components Automatic Migration.
Note:
This checkbox does not automatically define the leasing datasource, it just marks the applications as singletons.The property OSB Singleton Components Automatic Migration and the Database Leasing are checked by default for the SOA Enterprise Deployment topologies, if Enable Automatic Service Migration was selected in the Configuration Wizard, as recommended in this guide.
If the leasing datasource is not already configured and this checkbox is activated, ensure that you configure the leasing datasource. See Verifying the Appropriate Targeting and Configuration for OSB Singleton Services.
You can verify that your poller transport is configured as an application-scoped singleton for OSB Singleton Components Automatic Migration by following these steps:
-
Log into the WebLogic Remote Console.
-
In the Edit Tree, click Deployments.
-
In the Domain Structure tree on the left, click Deployments..
-
Verify that there is a singleton application deployed for the transport poller. Example: SB_FILE_Proxy_*
-
Verify that the value in the Targets column of the table is OSB_Cluster.
For the high availability of this transport services, it is required to protect the pertaining JMS destinations (used for payload processing) from failures. In SOA Enterprise Deployment topology, this protection is provided by the Automatic Service Migration feature.
Parent topic: Post-Configuration Tasks for Oracle Service Bus
Configuring Specific Oracle Service Bus Services for an Enterprise Deployment
To use IBM WebSphere MQ Connection resources and the MQ Transport in Oracle Service Bus, you must add the MQ client libraries to the classpath.
One option is to copy the required MQ libraries to the following location in the domain home directory:
DOMAIN_HOME/lib
This is also the case for custom assertions and JBoss integration services:
-
When you use JBoss initial context factory classes, make sure to include the class and any dependent classes in the
DOMAIN_HOME
/lib
directory. -
Similarly, for custom assertions, create the required jar file with the assertion and add the jar to the
DOMAIN_HOME
/lib
directory.
Further, to use these services in an enterprise deployment, you must add the required libraries to the Administration Server domain home (ASERVER_HOME
/lib
) and the Managed Server domain home (MSERVER_HOME/lib
).
For more information about configuring and developing services for Oracle Service Bus, see Getting Started with the Oracle Service Bus Console in Developing Services with Oracle Service Bus.
Parent topic: Post-Configuration Tasks for Oracle Service Bus
Replacing Connect Strings with the Appropriate TNS Alias
Oracle recommends using TNS Alias in the connection strings used by FMW components instead of repeating long JDBC strings across multiple connections pools.
For more information about how to use TNS alias in your Datasources, see Using TNS Alias in Connect Strings in the Common Configuration and Management Tasks for an Enterprise Deployment chapter.
Parent topic: Extending the Domain with Oracle Service Bus
Backing Up the Configuration
It is an Oracle best practices recommendation to create a backup after you successfully extended a domain or at another logical point. Create a backup after you verify that the installation so far is successful. This is a quick backup for the express purpose of immediate restoration in case of problems in later steps.
The backup destination is the local disk. You can discard this backup when the enterprise deployment setup is complete. After the enterprise deployment setup is complete, you can initiate the regular deployment-specific Backup and Recovery process.
For information about backing up your configuration, see Performing Backups and Recoveries for an Enterprise Deployment.
Parent topic: Extending the Domain with Oracle Service Bus