16
Apr

Login to internal node gets redirected to external node after adding new DMZ node in EBS R12.2.x

Symptoms:

For some users, login to internal node gets redirected to external node.

 

Cause:

In $IAS_ORACLE_HOME/instances/EBS_web_SID_OHS1/config/OHS/EBS_web_SID/mod_wl_ohs.conf and apps.conf files, the cluster includes the external node external.domain.com.

 

Solution:

 

To fix this issue, make the following changes to the run file system of the internal node:
Remove any reference to external.domain.com from both the files i.e. mod_wl_ohs.conf and apps.conf.

 
Node 1: /u02/oracle/EBSPROD/fs1/FMW_Home/webtier/instances/EBS_web_EBSPROD_OHS1/config/OHS/EBS_web_EBSPROD
 
Node 2: /u02/oracle/EBSPROD/fs1/FMW_Home/webtier/instances/EBS_web_EBSPROD_OHS3/config/OHS/EBS_web_EBSPROD
 
DMZ Node: /u02/oracle/EBSPROD/fs2/FMW_Home/webtier/instances/EBS_web_EBSPROD_OHS2/config/OHS/EBS_web_EBSPROD
 

In this case, Node 2 has entries of the external node.
 

Take backup of the existing files.

[applprod@erpapp02 EBS_web_EBSPROD]$ cp -rp mod_wl_ohs.conf mod_wl_ohs.conf_BKP
[applprod@erpapp02 EBS_web_EBSPROD]$ cp -rp apps.conf apps.conf_BKP
 


1. Modify $IAS_ORACLE_HOME/instances/EBS_web_SID_OHS1/config/OHS/EBS_web_SID/mod_wl_ohs.conf

Remove any reference to external.domain.com.

 

Change:
WebLogicCluster erpdmz01.dbaarena.com:7204,erpapp01.dbaarena.com:7204,erpapp02.dbaarena.com:7204

To:
WebLogicCluster erpapp01.dbaarena.com:7204,erpapp02.dbaarena.com:7204
 

[applprod@erpapp02 EBS_web_EBSPROD]$ diff mod_wl_ohs.conf mod_wl_ohs.conf_BKP
33c33
WebLogicCluster erpapp01.dbaarena.com:7204,erpapp02.dbaarena.com:7204 --- > WebLogicCluster erpdmz01.dbaarena.com:7204,erpapp01.dbaarena.com:7204,erpapp02.dbaarena.com:7204
39c39
WebLogicCluster erpapp02.dbaarena.com:7404,erpapp01.dbaarena.com:7404 --- > WebLogicCluster erpapp02.dbaarena.com:7404,erpapp01.dbaarena.com:7404,erpdmz01.dbaarena.com:7404
45c45
WebLogicCluster erpapp02.dbaarena.com:7604,erpapp01.dbaarena.com:7604 --- > WebLogicCluster erpapp02.dbaarena.com:7604,erpdmz01.dbaarena.com:7604,erpapp01.dbaarena.com:7604
51c51
WebLogicCluster erpapp02.dbaarena.com:7804,erpapp01.dbaarena.com:7804 --- > WebLogicCluster erpapp02.dbaarena.com:7804,erpdmz01.dbaarena.com:7804,erpapp01.dbaarena.com:7804
[applprod@erpapp02 EBS_web_EBSPROD]$


2. In the apps.conf file
Remove any reference to external.domain.com

Change:
BalancerMember erpapp01.dbaarena.com:7204
BalancerMember erpapp02.dbaarena.com:7204
BalancerMember erpdmz01.dbaarena.com:7404

To:
BalancerMember erpapp01.dbaarena.com:7204
BalancerMember erpapp02.dbaarena.com:7204

 


[applprod@erpapp02 EBS_web_EBSPROD]$ diff apps.conf apps.conf_BKP
63a64
BalancerMember http://erpdmz01.dbaarena.com:7204/OA_HTML/media
73a75
BalancerMember http://erpdmz01.dbaarena.com:7204/OA_HTML/classes
83a86
BalancerMember http://erpdmz01.dbaarena.com:7204
97a101
BalancerMember http://erpdmz01.dbaarena.com:7404/OA_HTML/media
107a112
BalancerMember http://erpdmz01.dbaarena.com:7404/OA_HTML/classes
[applprod@erpapp02 EBS_web_EBSPROD]$

 

3. Restart the internal node.
 
4. Restart the external node.
 
5. Try to reproduce the issue.

Back to Top