question on mod_wl_ohs.conf and apps.conf

classic Classic list List threaded Threaded
24 messages Options
12
Sri
Reply | Threaded
Open this post in threaded view
|

question on mod_wl_ohs.conf and apps.conf

Sri
Hi Erman,

we have 2 application nodes with a load balancer in front of them.In node 1 mod_wl_ohs.conf,we have entries corresponding to node 1 alone and similarly in node 2 mod_wl_ohs.conf as entries corresonding to node 2 alone.Is this right or do we need to have all the entries of both the nodes in each file irrespective of the nodes

mod_wl_ohs.conf in EBS_web_UATDB_OHS1
-------------------------------------------------------------------------

<Location /OA_HTML> 
SetHandler weblogic-handler
WebLogicCluster erpuatapp01.ttd.com:7203,erpuatapp01.ttd.com:7202<<do we need to have all 4 oacores here?
WLTempDir ${ORACLE_INSTANCE}/tmp

mod_wl_ohs.conf in EBS_web_UATDB_OHS2
-------------------------------------------------------------------------

<Location /OA_HTML> 
SetHandler weblogic-handler
WebLogicCluster erpuatapp02.ttd.com:7202,erpuatapp02.ttd.com:7208<<do we need to have all 4 oacores here?
WLTempDir ${ORACLE_INSTANCE}/tmp

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

ErmanArslansOracleBlog
Administrator
Hi,

Normally "mod_wl_ohs.conf  will contain entries of managed servers from all Application tier nodes".
So I expect to see all your 4 oacores there..

1)Is DynamicServerList=on in your mod_wl_ohs.conf?
2)How did you do this setup? Which documentation you followed?
3)Did you test this? I mean what happens when you shut down these oacore: "erpuatapp01.ttd.com:7203,erpuatapp01.ttd.com:7202" ?
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
Hi Erman,

Thanks for the update.Dynamic ServerList is off and attached both the files for your reference.

Thank you
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

ErmanArslansOracleBlog
Administrator
Please answer the following questions as well:

2)How did you do this setup? Which documentation you followed?
3)Did you test this? I mean what happens when you shut down these oacore: "erpuatapp01.ttd.com:7203,erpuatapp01.ttd.com:7202" ?
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
In reply to this post by Sri
Hi Erman,

But we have a load balancer using round robin algorithm,so it will direct the first connection to first node where mod_wls_ohs.conf was present and from there it will be distributed to available oacores on that node

second connection will be directed to second node where mod_wls_ohs.conf was present and from there it will be distributed to oacores on that node

please correct me what is the issue with current configuration
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

ErmanArslansOracleBlog
Administrator
If your HTTP server 1 is up , but oacore servers on Node 1 are down, what will happen??
Answer yourself
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
Thanks for the update erman,

requests sent to that node will error out
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

ErmanArslansOracleBlog
Administrator
In reply to this post by ErmanArslansOracleBlog
Test this -> what happens when you shut down these oacore: "erpuatapp01.ttd.com:7203,erpuatapp01.ttd.com:7202" ? -- while your HTTP Server 1 is up (don't shutdown HTTP Server 1)
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

ErmanArslansOracleBlog
Administrator
You didnt shutdown HTTP Server 1 right?
Did you test that login page several times? (test 5-6 times)
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
Hi Erman,

After testing several times,Not able to access the url

No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.

So,if i add these secondary nodes oacores in my config file,then will ohs redirect to those oacores on secondary node

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

ErmanArslansOracleBlog
Administrator
First, implement this ->12.2 E-Business Suite HTTP Server Tier Is Fowarding Request To Shut Down Oacore Servers Resulting "Failure of server APACHE Bridge error" Due To Incorrect Setup of mod_wl_ohs.conf (Doc ID 2172924.1)

Then, retest (multiple times) and update me.
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
Thanks erman,

We will make the changes and let you know..every time you are really helpful

between,the second node was up with all the services but i dont understand why i am not getting the login page.

Load balancer should redirect the connection to second node right?hope you got my concern

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

ErmanArslansOracleBlog
Administrator
That was my concern ..
If your HTTP server is up on node 1 while your managed servers are not running on node1 , then Load Balancer may still send the requests to node 1 and you will fail..
Your test shows that! (No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent. )
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
Thanks erman,

when i enter the url multiple times,load balancer should direct login page to apache on second node right?i mean round robin fashion

please correct me if i am wrong
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

ErmanArslansOracleBlog
Administrator
Yes! but "If your HTTP server is up on node 1 while your managed servers are not running on node1 , then Load Balancer may still send the requests to node 1 and you will fail"
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
yes erman,

I have almost clicked the login url 10 times,but every time i got the error,that means my load balancer also has some issue it seems.I think it was always redirecting to node 1 only
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

Sri
Erman,

do we have to make any changes in apps.conf as well?attached the files for your reference.Not sure exactly how this file is used internally.can you please clarify

Thank youapps.conf
Reply | Threaded
Open this post in threaded view
|

Re: question on mod_wl_ohs.conf and apps.conf

ErmanArslansOracleBlog
Administrator
Sri,

Please proceed in sequence..

First, implement this ->12.2 E-Business Suite HTTP Server Tier Is Fowarding Request To Shut Down Oacore Servers Resulting "Failure of server APACHE Bridge error" Due To Incorrect Setup of mod_wl_ohs.conf (Doc ID 2172924.1)

Then, retest (multiple times) and update me.
12