If you are accessing this page directly without reading previous post about load balancer & broad level steps of configuring load balancer in Apps then first check previous posts mentioned at bottom
After configuring Load Balancer in Oracle Applications 11i you as Apps DBA need to apply three prereq. patches
Patch 3175852 – This patch will give tags in CONTEXT file ( xml file) required to configure load balancer , I’ll discuss on these tags in this post later
Patch 3077386 – This is for logout issue which is not function properly
Patch 3209878 – Only if you are using Oracle Configurator
If you are on apps 11.5.10 or above , these patches are already included .
After these patches you need to clone from existing tier to one more middle tier ( If existing middle tier include Concurrent Manager & Reports Node , don’t configure target instance for CM or Reports as I suppose you don’t want to configure PCP more coming on PCP in future posts you just need load balancing on HTTP Layer). I suppose you are already aware that while running adcfgclone.sh steps you can define what services you want to run on particular nodes
At this stage your node1 & node2 should be similar & users should be able to login from node1 or node2 ( http://node1.domain:port and http://node2.domain:port resp.) with their own hostnames . If this is working then lets proceed with Load balancer configuration.
Change your context file (xml file ) under $APPL_TOP/admin via context editor or OAM (Oracle Application Manager )
Before changing lets understand what variables you need to change & what each parameter mean
webentryhost oa_var=”s_webentryhost” : Change this from node1 to loadbalancer name in our case its lbr
webentrydomain oa_var=”s_webentrydomain” : Change it to load balancer domain name
webentryurlprotocol oa_var=”s_webentryurlprotocol” : Change it to protocol you use to access application http or https
activewebport oa_var=“s_active_webport” : Change it to port on which load balancer is listening . Lets assume your node1 & node2 webserver is listening on port 8000 and you want URL like http://lbr.domainname.com that means your load balancer is listening on default http port i.e. 80 so define here s_active_webport as 80
After changing these parameters on node1 , run autoconfig after changing above parameters in context file. Start your applications on Node1 only (shutdown services on node2 which is not yet configured for loadbalancer)
Try to access applications via load balancer , if you can good job (You still have to configure second node).
If you can’t nothing to worry (It happens) How to figure out problem & where to check for issues , wait for my updates till tomorrow ….
Tip: Don’t forget to take backup before making all these changes 😉
Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Oracle Gold Partner specialising in Design, Implement, and Trainings.
Find Us On