Monday, May 31, 2021

Configuring Parallel Concurrent Processing PCP in EBS 12.2.x

You can follow the below steps to configure Parallel Concurrent Processing PCP in an EBS 12.2.x environment.

Step 1. Edit the applications context file via Oracle Applications Manager, and set the value of the variable APPLDCP to ON.

Set the value of s_appldcp to ON for both Nodes (ed-olapplin1 & ed-olapplin2) on both RUN & PATCH file system context files.

ed-olapplin1 & ed-olapplin2 : on Run File System

[applmgr ~]$ grep APPLDCP $CONTEXT_FILE

<APPLDCP oa_var="s_appldcp">ON</APPLDCP>

ed-olapplin1 & ed-olapplin2 : on Patch File System

[applmgr ~]$ grep APPLDCP $CONTEXT_FILE

<APPLDCP oa_var="s_appldcp">ON</APPLDCP>

Step 2. Execute AutoConfig by running the following command on all concurrent processing nodes:

[applmgr@ed-olapplin2 ~]$ echo $FILE_EDITION

Run

[applmgr@ed-olapplin2 ~]$ adautocfg.sh

ed-olapplin1:

[applmgr@ed-olapplin1 appl]$ echo $FILE_EDITION

Run

[applmgr@ed-olapplin1 appl]$ adautocfg.sh

Step 3. Check the tnsnames.ora and listener.ora configuration files, located in $INST_TOP/ora/10.1.2/network/admin. Ensure that the required FNDSM and FNDFS entries are present for all other concurrent nodes. 

Edit the tnsnames.ora file on both ed-olapplin1 & ed-olapplin2 Application nodes.

[applmgr ~]$ cd $TNS_ADMIN

[applmgr ~]$ vi tnsnames.ora

[applmgr ~]$ vi listener.ora”

Step 4. Restart the Applications listener processes on BOTH application tier node. 

[applmgr ~]$ cd $ADMIN_SCRIPTS_HOME

[applmgr ~]$ adalnctl.sh stop

[applmgr ~]$ adalnctl.sh start

Step 5. Log on to Oracle E-Business Suite Release 12 using the SYSADMIN account, and choose the System Administrator Responsibility. 
Navigate to the Install > Nodes screen, and ensure that each node in the cluster is registered.
Total 5 entries should be there.

Step 6. Verify that the Internal Monitor for each node is defined properly, with correct primary node specification, and work shift details. For example, Internal Monitor: Host1 must have primary node as host1. Also ensure that the Internal Monitor manager is activated: this can be done from Concurrent > Manager > Administrator. 

Step 7. Set the $APPLCSF environment variable on all the Concurrent Processing nodes to point to a log directory on a shared file system.

[applmgr@ed-olapplin1 scripts]$ echo $APPLCSF

/u02/erptest/fs_ne/inst/erptest_ed-olapplin1/logs/appl/conc

Step 8. Set the $APPLPTMP environment variable on all the CP nodes to the value of the shared directory path on the 19c DB RAC node servers. Set the value of APPLPTMP correctly on both Application tier nodes in the CONTEXT_FILE, then restart the database once.

[oraebs@ed-olraclin1 19cHome]$ srvctl stop database -d vision

[oraebs@ed-olraclin1 19cHome]$ srvctl start database -d vision

Step 9. Run AUTOCONFIG on both application tier nodes (first on node 2 then on node 1) on the RUN file system.
[applmgr ~]$ echo $FILE_EDITION
run
[applmgr ~]$ adautocfg.sh

Step 10. Set profile option 'Concurrent: PCP Instance Check' to OFF if database instance-sensitive failover is not required. By setting it to 'ON', a concurrent manager will fail over to a secondary Application tier node if the database instance to which it is connected becomes unavailable for some reason.

Step 11. Set Up Transaction Managers
1.Shut down the application services (servers) on all nodes
2.Shut down all the database instances cleanly in the Oracle RAC environment, using the command: 

[oraebs@ed-olraclin1 appsutil]$ srvctl stop database -d vision
[oraebs@ed-olraclin1 appsutil]$ srvctl start database -d vision

Add following parameter as below (ed-olraclin1 and ed-olraclin2)
_lm_global_posts=TRUE 
_immediate_commit_propagation=TRUE

[oraebs@ed-olraclin1 ~]$ cd $ORACLE_HOME/dbs/
[oraebs@ed-olraclin1 dbs]$ vi vision1_ed-olraclin1_ifile.ora

4.Start the instances on all database nodes, one by one.
[oraebs@ed-olraclin1 dbs]$ srvctl start database -d vision

5.Start up the application services (servers) on all nodes.

6.Log on to Oracle E-Business Suite Release 12 using the SYSADMIN account, and choose the System Administrator responsibility. Navigate to Profile > System, change the profile option ‘Concurrent: TM Transport Type' to ‘QUEUE', and verify that the transaction manager works across the Oracle RAC instance.

7.Navigate to Concurrent > Manager > Define screen, and set up the primary and secondary node names for transaction managers.

8.Restart the concurrent managers. (both Tier)

9.If any of the transaction managers are in deactivated status, activate them from Concurrent > Manager > Administrator. 

Step 12. Set Up Load Balancing on Concurrent Processing Nodes
1.Edit the applications context file through the Oracle Applications Manager interface, and set the value of Concurrent Manager TWO_TASK (s_cp_twotask) to the load balancing alias (<service_name>_balance>).
2. Execute AutoConfig by running $INST_TOP/admin/scripts/adautocfg.sh on all concurrent nodes.