Friday, July 18, 2014

Oracle SOA Service Infrastructure Application Startup and Shutdown Lifecyle


An Oracle SOA composite consists of the following:
  • Components such as a BPEL process, Human Workflow task, a Mediator routing rule or Business Rules.
  • Services and References for connecting Oracle SOA composite applications to external services, applications, and technologies.
These components are assembled together into an Oracle SOA composite application. This application is a single unit of deployment that simplifies the management and lifecycle of Oracle SOA applications.
When the Oracle SOA Service Infrastructure application starts, it initializes the different service engines and loads the present composites from the MDS repository. It targets the individual components to their specific engines. Once the composite is loaded, the system is available to receive requests. At runtime, the Oracle SOA Service Infrastructure manages all communication across service components. These calls between service engines are in-process calls. The following diagram reflects the sequence for the Oracle SOA Service Infrastructure startup and processing of work:


 





Oracle SOA Service Infrastructure External Dependencies

 the Oracle SOA Service Infrastructure system depends on the following components:
  • Instance manager service depends on the runtime SOA database schema (soa-infra).
  • Composite metadata is stored in the MDS database schema which acts as a repository.
  • In a clustered environment, the deployment coordinator service depends on the underlying Coherence cluster for signal propagation.
All three of these components must be available for the Oracle SOA Service Infrastructure to start and run properly.

Oracle SOA Service Infrastructure Startup and Shut Down of Processes

The Oracle SOA Service Infrastructure application is started by default whenever any Oracle WebLogic Managed Server to which the Oracle SOA Service Infrastructure has been deployed is started. Normally, you should not need to stop the Oracle SOA Service Infrastructure or any of its components by themselves. Some operations may require Oracle WebLogic Managed Server where the SOA Service Infrastructure runs to be rebooted. Only some patching scenarios could require stopping the application.
You can use Oracle WebLogic Server Administration Console to verify status and to start and stop Oracle WebLogic Server. You can also use the WebLogic Server WLST command line to control the application. Oracle Enterprise Manager Fusion Middleware Control also allows multiple operations and configuration of the Oracle SOA Service Infrastructure application as well as monitoring its status


Oracle SOA Service Infrastructure Cluster-Wide Deployment



Composite deployments are stored centrally by the SOA Service Infrastructure in the MDS repository. Each time the SOA Service Infrastructure is started, it synchronizes itself with the MDS repository and SOA store to get the deployment and process state. The deployment coordinator infrastructure orchestrates the notifications for composites deployments and updates. When a new deployment or update takes place, deployment coordinator notifies all members in the cluster. When all members in the cluster confirm that the deployment has succeeded, the master sends a notification to start the composite. If a deployment fails on any one of the nodes, it is rolled back to the rest of the cluster. An error message in the deployment coordinator master (WebLogic Server managed server), indicates the node on which the deployment failed