Low Cost Load Balancer / Reverse Proxy for 2 Oracle Application Servers

If you have 2 OAS and you need to setup a load balancer / reverse proxy infront of it and you can't use webcache or a hardware load balancer what's the best way to setup a low cost solution that would preserve your session state if you have a OC4J clustered application running on the MT?

Just a quick answer, please:
If you think about Oracle WebCache as a general application, you will find some useful Technical White Papers on http://otn.oracle.com/clusterware They will explain, how Oracle Clusterware can be used to protect any kind of application.
In general, Oracle Clusterware and Oracle WebCache must be installed on the same set of servers (cluster nodes) in this case. Regarding the question of whether or not you can re-use your 2 SUN servers: It depends.
Oracle Clusterware requires shared storage and a private interconnect. Your current infrastructure might need to be reviewed and enhanced in those regards, especially, since your servers are geographically separated as you said.
Just some ideas. Thanks.

Similar Messages

  • Why do we use reverse proxy for Oracle RAC Cluster setup

    Hello All,
                 I got this question lately.. "why do we use reverse proxy for Oracle RAC Cluster setup". I know we use the reverse proxy at Middleware level for multiple security reasons.
    Thanks..

    "why do we use reverse proxy for Oracle RAC Cluster setup".
    I wouldn't. I wouldn't use a proxy of any sort for the Cluster Interconnect for sure.
    Cheers,
    Brian

  • Configuring a Apache Reverse Proxy for OracleAS Portal and OracleAS Single

    I'm trying to implement my Oracle Portal 10g Release 2 with a reverse proxy (Apache 2.2) as described in this link: http://download.oracle.com/docs/cd/B14099_19/core.1012/b13998/variants.htm#BEIFECEH without success. I have Oracle Portal, Oracle SSO,OID in the same domain and Apache Reverse Proxy in another domain. Has anyone had success using OracleAS Portal with a reverse proxy?

    First of all i'm trying to configure a reverse proxy only for Ora SSO (infra tier). Here is what i already do:
    APACHE REVERSE PROXY (Apache 2.2)
    http:/proxy.mycompany.com:80
    ProxyRequests off
    ProxyPassInterpolateEnv On
    ProxyPass / http:/portal.tech.everett.it:7777/
    ProxyPassReverse / http:/portal.tech.everett.it:7777/
    ProxyPreserveHost On
    ORACLE SSO
    http:/portal.mycompany.com:7777
    Here are the steps i already do:
    1- CONFIG OID
    create an ldif file called setdasurl.ldif and insert as follow:
    dn:cn=OperationURLs,cn=DAS,cn=Products,cn=OracleContext
    changetype: modify
    replace: orcldasurlbase
    orcldasurlbase: http:/proxy.mycompany.com/
    then do ldapmodify as follow:
    ldapmodify -x -h portal.mycompany.com -p 3060 -D "cn=orcladmin" -w password1 -v -f setdasurl.ldif
    2- CONFIG ORA SSO (as gentjan user)
    export ORACLE_HOME=/home/gentjan/product/10.1.2/OracleAS/infra/
    2.1-config Apache config of ORA SSO
    vi $ORACLE_HOME/Apache/Apache/conf/httpd.conf
    change from:
    ServerName portal.mycompany.com
    Port 7777
    KeepAlive On
    to:
    ServerName proxy.mycompany.com
    Port 80
    KeepAlive Off
    and add at the end of httpd.conf
    RewriteEngine On
    RewriteOptions inherit
    2.2- update DCM Repository (as root)
    *$ORACLE_HOME/dcm/bin/dcmctl updateconfig -ct HTTP_Server -v -d*
    2.3- modify SSO Server Home URL to reverse proxy hostname and port (as root)
    *$ORACLE_HOME/sso/bin/ssocfg.sh http proxy.mycompany.com 80*
    2.4- Updating the targets.xml File
    Open the ORACLE_HOME/sysman/emd/targets.xml file and locate the target type oracle_sso_server.
    vi $ORACLE_HOME/sysman/emd/targets.xml
    Update the HTTPMachine and HTTPPort attributes with the proxy server host and port attributes that were passed to ssocfg. For example:
    Property NAME="HTTPMachine" VALUE="proxy.mycompany.com"
    Property NAME="HTTPPort" VALUE="80"
    Property NAME="HTTPProtocol" VALUE="http"
    Save and close the file.
    Reload the Application Server Control Console by issuing this command (as gentjan):
    *$ORACLE_HOME/bin/emctl reload*
    2.5- Re-register mod_osso on SSO Middle-tier with reverse proxy hostname and port
    some needed permissions
    chmod -R 775 /home/gentjan/product/10.1.2/OracleAS/infra/dcm/
    Re-register mod_osso (as gentjan)
    *$ORACLE_HOME/sso/bin/ssoreg.sh -oracle_home_path /home/gentjan/product/10.1.2/OracleAS/infra -site_name infra.proxy.mycompany.com -config_mod_osso TRUE -mod_osso_url http:/proxy.mycompany.com:80 -update_mode MODIFY*
    2.6- update DCM Repository (as root)
    *$ORACLE_HOME/dcm/bin/dcmctl updateconfig -ct HTTP_Server -v -d*
    2.7- Restart OC4J_Security and Oracle HTTP Server at Infrastructure tier
    *$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=HTTP_Server*
    *$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=OC4J_SECURITY*
    After this modifications my reverse proxy is ok.
    I can access to http:/proxy.mycompany.com:80 and this redirect me to Oracle Application Server Welcome page.
    If i try http:/proxy.mycompany.com/pls/orasso/orasso.home, i can view the SSO Server Home page.
    The problem that i find is when i click to Login page for Oracle SSO.
    I have the following error:
    Forbidden You don't have permission to access /pls/orasso/ORASSO.wwsec_app_priv.login on this server.
    So, in other words i can't do the login/logout under reverse proxy. Anyone can help?
    Gentjan

  • Load balancing URL setup for planning application 11.1.2.1

    Hi Gurus,
    There is an existing planning environment with Weblogic/ Oracle HTTP load balancing setup. I just would like to know where would exactly be the generic/ common URL (the URL without actual servername) configured for planning and SmartView?
    Is there any properties file (weblogic/ HTTP) where we will mention those details?
    Thanks,
    Siva

    I am not sure I get what you are asking but planning can be accessed through workspace or by
    http://<ohs_server>:19000/HyperionPlanning
    and Smart View http://<ohs_server>:19000/workspace/SmartViewProviders
    If you want to understand about the configuration you can run a registry report.
    Cheers
    John

  • How to load balance Agents across multiple Oracle Management Servers?

    Hi everyone
    We have the 2 OMS servers in our OEM environment. We would like to set up our management agents to load balance over these 2 servers...Or if not load balance then at least set up the agents so they can access either/or OMS.
    I've looked through the documentation and in google, but can't seem to find the answer.
    Can someone point me towards the documentation please
    Thanks
    R

    OMS is just an appserver with a repository. You can load balance the appservers with an F5. You can load balance the repository with RAC.
    So ... your options for load balancing and resilience are :-
    1. one agent on each server, multiple OMS appservers load balanced, one RAC database (with dataguard standby)
    2. two agents per server, two appservers, two repositories.
    Both architectures work. Option 1 offers the best load balancing and resilience.

  • How To configure Apache As Reverse Proxy for SharePoint Application

    Hi,
    I recently integrated Apache as ReverseProxy for SharePoint 2010. When accessing the SharePoint application via the reverse proxy url  e.g. http://<reverse-proxy-url>/SitePages/Home.aspx the images/css and JavaScript files does not comeup
    fine.
    I had defined the following mapping in the httpd.conf file.
    ProxyPass /SitePages  http://<actual-url>/SitePages
    <Location /SitePages>
    ProxyPassReverse http://<actual-url>/SitePages
    SetEnv force-nokeepalive 1
    </Location>
    Regards,
    Bunty Ray

    Hi Trevor,
    I did not understand your point. Currently i tried the following in the httpd.conf as well, but still did not help
    ######Mapping SharePoint Server#######
     ProxyPass /SitePages http://<actual-url>/SitePages
     ProxyPass /WebResource.axd http://<actual-url>/WebResource.axd
     ProxyPass /ScriptResource.axd http://<actual-url>/ScriptResource.axd
     <Location /SitePages>
      SetOutputFilter INFLATE;proxy-html;DEFLATE
      ProxyHTMLMeta On
      ProxyHTMLEnable On
      ProxyHTMLExtended On
      ProxyHTMLLogVerbose On
      ProxyPassReverse http://<actual-url>/SitePages
      ProxyHTMLURLMap /SitePages http://<actual-url>/SitePages ec
      ProxyHTMLURLMap http://<actual-url>/SitePages /SitePages ec
     SetEnv force-nokeepalive 1
     SetEnv force-proxy-request-1.01
     SetEnv proxy-initial-not-pooled 1
     </Location>
     <Location /ScriptResource.axd>
      SetOutputFilter INFLATE;proxy-html;DEFLATE
      ProxyHTMLMeta On
      ProxyHTMLEnable On
      ProxyHTMLExtended On
      ProxyHTMLLogVerbose On
      ProxyPassReverse  http://<actual-url>/ScriptResource.axd
      ProxyHTMLURLMap /ScriptResource.axd http://<actual-url>/ScriptResource.axd ec
      ProxyHTMLURLMap http://<actual-url>/ScriptResource.axd /ScriptResource.axd ec
      SetEnv force-proxy-request-1.01
      SetEnv force-nokeepalive 1
      SetEnv proxy-initial-not-pooled 1
      </Location>
     <Location /WebResource.axd>
      SetOutputFilter INFLATE;proxy-html;DEFLATE
      ProxyHTMLMeta On
      ProxyHTMLEnable On
      ProxyHTMLExtended On
      ProxyHTMLLogVerbose On
      ProxyPassReverse  http://<actual-url>/WebResource.axd
      ProxyHTMLURLMap /WebResource.axd http://<actual-url>/WebResource.axd ec
      ProxyHTMLURLMap http://<actual-url>/WebResource.axd /WebResource.axd ec
      SetEnv force-proxy-request-1.01
      SetEnv force-nokeepalive 1
      SetEnv proxy-initial-not-pooled 1
      </Location>
     <Location /_layouts>
      SetOutputFilter INFLATE;proxy-html;DEFLATE
      ProxyHTMLMeta On
      ProxyHTMLEnable On
      ProxyHTMLExtended On
      ProxyHTMLLogVerbose On
      ProxyPassReverse  http://<actual-url>/_layouts
      ProxyHTMLURLMap /_layouts/1033/styles/Themable http://<actual-url>/_layouts/1033/styles/Themable ec
      ProxyHTMLURLMap http://<actual-url>/_layouts/1033/styles/Themable /_layouts/1033/styles/Themable ec
      SetEnv force-proxy-request-1.01
      SetEnv force-nokeepalive 1
      SetEnv proxy-initial-not-pooled 1
      </Location>
    Regards,
    Bunty Ray

  • Reverse proxy for web application

    Hi,
    The users of our a enterprise Java based web application must access a third web application through simple HTML links and then navigate in the target application.
    But for security reasons and constraints the direct exchange between the browers of users and server of the other web application is not allowed.
    Our web application must retrieve the web page from the other application and must return it to the users's browser. Is there a convenient way to implement this requirement in J2EE ? In this case our web application must play the role of a simple reverse proxy, must request a target JSP page from other application and process it to rewrite the URLs contained in the HTML page, then send the response to user's web browser.
    Has somebedoy already done such a technical requirement ? Is there a library to implement easily this use case ?
    Thansk a lot
    Regards

    Just use Apache HTTPD 2.4 with mod_proxy and mod_proxy_html. No need to do it 'within J2EE'.

  • Oracle 10g webcache as load balancer with Clusterware for HA

    Hi All
    I'm trying to put together a solution for my organisation to include a resilient load balanced setup without buying hardware load balancing kit. We are implementing an Oracle Forms based product from a software supplier on the Oracle 10g Forms & Reports Services platform v10.1.2.2.0. The intention is to balance the production load of the application across 2 identical Sun T2000 servers - each could support the full load independently if necessary. The servers are geographically separated for resilience. The supplier has recommended implementing Webcache on one of these T2000 servers as a load balancer - this works fine, but presents a single point of failure and no automatic failover.
    I have read an Oracle white paper explaining that Oracle Webcache as a load balancer can be made into a HA solution by using Oracle Clusterware. What isn't clear from the paper is this;
    1. Whether I need to have Webcache as a load balancer & Clusterware installed separately on a different pair of servers ?
    2. Can I simply configure Webcache for load balancing on both of my Sun servers and use Clusterware to failover the load balancing function from one server to the other if one fails ?
    Can anyone point me in the right direction with this please ?
    Many thanks
    Dean

    Just a quick answer, please:
    If you think about Oracle WebCache as a general application, you will find some useful Technical White Papers on http://otn.oracle.com/clusterware They will explain, how Oracle Clusterware can be used to protect any kind of application.
    In general, Oracle Clusterware and Oracle WebCache must be installed on the same set of servers (cluster nodes) in this case. Regarding the question of whether or not you can re-use your 2 SUN servers: It depends.
    Oracle Clusterware requires shared storage and a private interconnect. Your current infrastructure might need to be reviewed and enhanced in those regards, especially, since your servers are geographically separated as you said.
    Just some ideas. Thanks.

  • Network Load Balancing and failover for AFP Sharing

    Dear all,
    Somebody kindly teach me to use round robin DNS to perform the network load balancing, it's success but not the failover.
    I have 4 xserve and want to do the load balancing and failover at the same time.
    I have read the IP failover document and setup it successfully, but anyone know is it possible to do the IP failover for more than 2 server?
    For example, 4 server serving the AFP service at the same time, maybe I have 1 more extra server to do the IP failover for thoese 4 servers.
    As I know, IP failover require Firewire as the heartbeat detection. But one xserve only have 2 firewire ports. May I setting up the IP failover only by a ethernet port and an IP address? does it possible to detect and failover to any server after server down has been detected?
    I believe load balancer maybe the best solution but its cost is too high.
    Thanks any advance!
    Karllee

    well, u have 2 options here
    software load balancing
    request comes it foo.com -> ws7u2 hosting foo.com is configured to run as reverse proxy . this server sends any incoming requests to one of the four back end web server 7 handling your incoming request
    hardware load balancing (this you need to invest)
    request comes to hardware load balancer who responds for foo.com -> sends requests to four ws7 server hosting your application
    you could try out how software load balancing works out for you before you invest in hardware load balancing
    here is more instruction on configuring ws7 + reverse proxy (software load configuration)
    - install ws7 on foo.com
    - create a new configuration (choose port 80, disable java

  • Load balancing and HA for persistence chat pool

    Hi,
           I have 12000 users for lync 2013 . plan to have 2 persistence chat servers in a pool , have below queries regarding the same.
    1. which type of load balancing will work for persistence chat pool.... DNS or HLB?  if its HLB then is it mandatory to use HLB , agenda is to minimize the cost.
    2. there is already 2 HLB for FE pool , one for external service and 1 for internal service.... can i use the same HLB for persistence chat pool?
    3. does persistence chat pool have HA bydefault like FE and Edge pool?

    1) DNS LB is fine: You can see them doing it here:http://technet.microsoft.com/en-us/library/jj205391.aspx
    2) I suppose you could, but I'd suggest sticking with DNS as it's easy, supported, and it works. 
    3) Yes.  I believe so.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • How does CEF perform equal and unequal cost load balancing?

    hello
    How does CEF perform equal and unequal cost load balancing?
    thanks

    Hello Wang,
    it is only EIGRP that can perform load balancing over unequal cost links.
    For equal cost links CEF allocates 16 buckets and maps them to the the physical links.
    the result of a binary operation is used to associated a packet to an outgoing interface:
    Source IP address EXOR DEstination IP Address EXOR hash
    the hash is a seed that changes only at every reload.
    Actually the last 4 bits are used so that each flow can be classified in one bucket.
    then the outgoing interface is the one asscociated to the result of the exor operation.
    Another way to see is that m bits are used so that 2^m is equal to N number of links (if N is even)
    the rule is simple and pre-established
    Hope to help
    Giuseppe

  • 2 locations, 2 core switch stacks, fibre in between, equal cost load balancing between?

    Hi,
    We've recently inherited a job that another company was doing, so we've had our hand slightly forced on the kit and overall topology involved, however that's all fine and we can make it work.
    This is a collapsed core topology with core and access switches, split over 3 blocks (fibre connections between), one core switch/stack is in block B and the other in block C, with access switches throughout.
    They require all access switches to be connected to the Core in B and the Core in C, and then obviously cross connects between the two cores.
    They state:
    "Core switches shall be linked with 2x 1Gbps links bonded into a standard compliant Etherchannel"
    "Uplinks between access and core switches shall be non-blocking - for example equal cost load balancing at layer 3, or layer 2 bonded multi-chassis Etherchannel"
    The specced kit for the core are 3850's, in an ideal world I'd use VSS (Virtual Switch System) to achieve the above statements beyond repute; but this is only supported on 4500/6500 and Nexus platforms.
    Do we think a cross stack etherchannel (LACP between both core switch stacks) would satisfy the above statements? Or the statements may just be badly worded...
    I look forward to your thoughts and views on this! Thanks!

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    As the others have noted, the 3850s, to stack, are restricted to the length of the longest stack cables.
    As you have noted, VSS physical units would allow the "logical" unit to be far apart.
    For a "small" VSS core, the 4500-X might be an idea unit.  (Other than cost, the 4500 would be a better choice for a core device.)
    Something to watch for, or understand, when running VSS, Etherchannel doesn't load balance as it does on a single chassis or stack.  VSS will avoid using the VSL cross link unless it must.
    As many access switches, today, support basic L3 routing, you might also determine whether a L3 edge would be a suitable alternative choice.  It would allow retention of the 3850s and can offer some advantages even over VSS.  (Where VSS is very nice [as too the Nexus] supporting servers with Etherchannels.)

  • Reverse Proxy for SharePoint 2013

    Hi,
    I need to setup SharePoint 2013 environment which needs to be accessible from mobile devices e.g. iPAD/Android, for reverse proxy, I am looking at apache or IIS ARR since UAG is going to be deprecated. So far any one setup apache (on
    RHEL 6.x)
    or IIS ARR(on W2K8R2) successfully as reverse proxy for SharePoint 2013 access? Is there any issue? and which SharePoint authentication method should be configured?
    Must is be Form based authentication? As I read some articles it seems ARR supports Windows authentication. Thanks in advance.

    IIS ARR doesn't authenticate users, it is a pass-through (unlike UAG which can do auth or anon). Both IIS AAR and the new Web Proxy Role in Server 2012 R2 do not work with SharePoint 2013 Apps.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Apache as Reverse Proxy for UWC and Webmail

    Hi,
    for several reasons i want to use apache 2 as reverse proxy and ssl accelerator for UWC.
    internet <-> apache/ssl <-> backend port 80
    I configured my apache with mod_proxy and mod_proxy_html.
    Here are the concerning config lines:
    LoadModule headers_module modules/mod_headers.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadFile    /usr/lib/libxml2.so
    LoadModule  proxy_html_module    modules/mod_proxy_html.so
    ProxyPass / http://backend.domain.com/
    ProxyPassReverse / http://backend.domain.com/
    <Location />
            ProxyPassReverse /
            SetOutputFilter proxy-html
            ProxyHTMLURLMap / /
            ProxyHTMLURLMap http://backend.domain.com:80/ http://webplex.domain.com/
            ProxyHTMLExtended On
            RequestHeader unset Accept-Encoding
    </Location>For Webmail this configuration works most of the time. There are some minor problems in ie with the folder view. But the real problem is: I can't get UWC to work. The problem seems to be that mod_proxy_html can't replace all of the occurences of backend.domain.com in the html pages.
    Especially:
    onsubmit="handleSubmit()" action="http://webplex.domain.com/amserver/UI/Login?goto=http://backend.domain.com:80/uwc/&gotoOnFail=http://backend.domain.com:80/uwc/?err=1&module=LDAP" method="POST">in the uwc login page.
    So my question is:
    Is anybody out there who got apache working as reverse proxy for uwc?
    Thanks a lot.
    PS1:Solaris 10 on V20z, JES2005Q4
    PS2: I already configured UWC with the reverse plugin for sun webserver on backend host so that uwc is working through port 80 only. So there should be no problems arise from that.

    Hopefully, you'll hear from somebody. I have zero knowledge or experience with Apache.

  • Issues using IIS 8.5 with ARR 3.0 as Reverse Proxy for Lync 2013

    Dear reader, after searching for a day without finding a solution to my problem I end up here ;-)
    Working Lync 2013 environment (gradually adding functionality) consisting of 2 FE servers, Persistent Chat Server, Web Apps server, Edge Server, Reverse Proxy Server (IIS 8.5/ARR 3.0), SQL Server.
    Set up a fresh Windows 2012 R2 with IIS 8.5, installed ARR 3.0 and followed along this
    TechNet article.
    So far so good, external clients (incl. mobile phone apps) can all connect.
    Now trying to add Web Apps to the reverse proxy, which is slightly different from the others by not forwarding 80/8080 and 443/4443, but just 80 and 443 to internal Web Apps server.
    After creating the server farm/URL rewrite, browsing to the webapps.FQDN/hosting/discovery ends up with a 404 error (instead of XML, which is shown when try from the LAN).
    After moving this rewrite rule to the top, it started working, but now my lyncdiscover.FQDN stops working.
    Ofcourse moving the webapps rule down restores the lyncdiscover.
    Any ideas? (everything setup as described in above mentioned TechNet article, so using wildcards. Tried fiddling around with webext.* and lyncdiscover.* and so, but no luck. (I'm completely new to ARR)
    Thanks,
    Barry

    Can you confirm that for each URL Rewrite Rule, you have an {http_host} record that matches something like webext.* as you referenced above and as seen in step 15 here:
    http://blogs.technet.com/b/nexthop/archive/2013/02/19/using-iis-arr-as-a-reverse-proxy-for-lync-server-2013.aspx
    It might help if you posted a screenshot of your URL rewrite rules.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

Maybe you are looking for

  • Cannot uninstall PSE10 after failed install (Windows 7 Home Premium)

    I am trying to install Photoshop Elements 10 from a disk. The process has gone like this: I restarted my laptop and made sure it's Windows Updates were up-to-date. I uninstalled the PSE9 trial that I had on this computer (that had expired a while ago

  • Trouble pasting table into Pages.

    I have been unable to copy a table from Numbers and paste it into a Pages document.  The data gets pasted, but not the formatting and it is also not placed in a table.  I am using Pages '09  and Numbers '08.  What appears to happen is teh text or cel

  • (nQSError:10018) Access for the requested connection is refused

    Hi Techies, Good Afternoon!!! Recently I faced a problem when I tried to view the data of my table in PHYSICAL LAYER (nQSError:10018) Access for the requested connection is refused (nQSError: 43037) Invalid Catalog, SupplierSales, specified. I did ch

  • WoodtypeOrnamentsStd Font on Mac

    Hi, I just purchased this font. I've followed the installation instructions, placing the .otf file in Mac HD>Library>Fonts>, with all the other font files. The name appears correctly in Adobe product font lists, but does not give the correct characte

  • Error with IFRAME portlet - please help!

    We have a portlet that renders in an IFRAME. It has stopped working, and this is the error thrown by the portal. Any help will be rewarded with 1 million dollars cash money! ;-) <!--Extended Error Message: A user [Administrator] with ID [1]failed to