Using a Side-by-Side Approach to Long-Running Processes During Upgrade

Special Considerations for Oracle BPEL Long-Running Processes 4-3

4.2.2 Using a Grace Period and a Hard Stop of Long-Running Processes

As an alternative to the side-by-side approach to upgrading Oracle BPEL Process Manager long-running processes, you might consider the approach described in this section if you do not have many long-running processes, your long-running processes are less critical to your business model, or if you have more flexibility in terms of the timing or duration of the upgrade. This alternative, grace-period approach can also be used if the long-running processes cannot complete until they receive client messages. For example, if the client sends a message to start the process and later sends another message in the middle of the process, then in the side-by-side approach, the process will never finish. This is because the processes rely on clients that have been upgraded to 11g. As a result, the 10g system will never receive the second client message. Table 4–2 provides a summary of the upgrade process you would use if you were considering an alternative approach to the side-by-side approach to long-running processes. Table 4–2 Steps for Using the Grace Period and a Hard Stop Approach to Long-Running Processes Step Number Task More Information 1 Install and configure a new Oracle Fusion Middleware 11g environment. Chapter 6, Upgrading an Oracle SOA Suite Environment 2 Upgrade the Application in Oracle JDeveloper 11g. Chapter 8, Overview of Upgrading Oracle SOA Suite, WebCenter, and ADF Applications 3 Deploy the application to Oracle Fusion Middleware 11g. Section 8.9, Task 9: Redeploy the Application 4 Make a copy of any client applications, upgrade them, and test them with the application you deployed on Oracle Fusion Middleware 11g. Section 14.5, Upgrading Oracle SOA Suite Client Applications 5 Retire all processes on Oracle BPEL Process Manager 10g; this will stop any new processes from starting, but allow existing 10g processes to finish. How to Manage a Process Life Cycle in the Oracle Application Server 10g Release 3 10.1.3.1.0 Oracle SOA Suite Developers Guide, available on the Oracle Technology Network OTN: http:www.oracle.comtechnologydocumentation 6 Define a grace period and set a deadline for stopping the Oracle Application Server 10g environment and cutover to the Oracle Fusion Middleware 11g environment. Use the Oracle Application Server 10g Oracle BPEL Control to monitor you long-running processes; use this information to define a reasonable time for the upgrade to Oracle Fusion Middleware 11g. 4-4 Oracle Fusion Middleware Upgrade Guide for Oracle SOA Suite, WebCenter, and ADF 7 At the predefined deadline, abort all existing Oracle BPEL Process Manager process instances. You can abort a process in one of two ways: ■ By deleting the instance from the BPEL Control. For more information, see Using the Instances Tab to Monitor Process Instances in the Oracle Application Server 10g Release 3 10.1.3.1.0 Oracle SOA Suite Developers Guide, available on the Oracle Technology Network OTN: http:www.oracle.comtechnologydocumentation ■ By creating a Java program that locates and aborts all active instances. For this you can use the abort method in the method in the interface com.oracle.bpel.client.IInstanceHandle. For more information, see the 10g Release 3 10.1.3 Oracle BPEL Process Manager Client Java API Reference. 8 Shut down and decommission the Oracle Application Server 10g environment. ■ Starting and Stopping Oracle BPEL Process Manager Components in the Oracle Application Server 10g Release 3 10.1.3.1.0 Oracle BPEL Process Manager Quick Start Guide ■ Starting and Stopping Application Server Instances in the in the Oracle Application Server 10g Release 3 10.1.3.1.0 Oracle Application Server Administrator’s Guide. The Oracle Application Server 10g Release 3 10.1.3 documentation is available on the Oracle Technology Network OTN: http:www.oracle.comtechnologydocumentation 9 Start and roll out the new upgraded client applications, which send requests to the new Oracle BPEL Process Manager 11g. Starting and Stopping Oracle Fusion Middleware in the Oracle Fusion Middleware Administrators Guide Table 4–2 Cont. Steps for Using the Grace Period and a Hard Stop Approach to Long-Running Processes Step Number Task More Information