Apache load blancing.

Hi,
EBSO version : R12
We have implemented load balancing for EBSo (HTTp server ).And HTTP server running on 4 nodes.
So here any way to check to which node the URL is redirecting to ?
-Thanks

Vijay.Cherukuri wrote:
Hi,
EBSO version : R12
We have implemented load balancing for EBSo (HTTp server ).And HTTP server running on 4 nodes.
So here any way to check to which node the URL is redirecting to ?
-ThanksApache log files (access_log*) or from the load balancer itself.
Thanks,
Hussein

Similar Messages

  • Apache load balance doubt

    Hi,
    We have four application nodes in which apache and forms sevices are running in all the nodes. Our apps version is 11.5.10.2.
    I really doesn't know how the load is getting balanced among these nodes. Can some one pleas explain how the user connections are being distributed, I mean how apache load balance works and how to get this info.
    Your explanation is really appreciable.
    Regards,
    Siva

    Siva,
    Contact your Network/Sysadmin teams and they should answer your question.
    In addition to the doc referenced above, please see (How To Check Session Persistence On BigIP F5, Cisco Ace, Citrix Netscaler or Radware AppDirector Load Balancer Appliances [ID 601694.1]).
    Thanks,
    Hussein

  • Wlp and apache load balancing

    Hi,
              I have been trying to understand webloigc clustering and load balancing capabilities. I have been through the edocs but it does not explain how things work, instead they only emphasis on how to configure.
              Consider the following scenario:
              --------cisco firewall/load balancer------------
              apatche1 apache2 apache3
              -------------------firewall-------------------------
              WLP1 WLP2 WLP3 WLP4
              My questions are:
              (1) how apache servers load balance incoming requests amongst the four portal instances? I understand that it will use weblogic proxy plug-in. the httpd.config also should be configured to proxy requests to WLP instances by adding the corresponding address:prot entries for each instance, using WebLogicCluster keyword.
              (2) Weblogic cluster will have nothing to do with load balancing? The only benefit I get of configuring weblogic cluster is session replication, right?
              (3) even failover is going to be handled by apache servers?
              (4) if I need to use SSL and I need to have my SSL encryption/decryption to be done on WLP instances; apache servers will only forward requests, no encryption/decryption to be done on the web tier. Is this possible?
              See in WebSphere the edge component will handle the load balancing and through it I can assign load weights for each appserver instance.
              (5) Are there any best practice to implement load balancing and failover on weblogic portal?
              I appreciate any input in this regards.

    1. yes, configure the apache plugin. put your 4 servers in the WeblogicCluster property (host:port,host:port...). The proxy will round robin requests between the servers in the cluster, although sessions are pinned to a single server. So if a request with a session (jsessionid cookie) comes in, it will read the primary server from the cookie and route it to that server.
    note that we have had trouble with keep alives ON and load balancing. we had to turn keep alives off to get load balancing working.
    2. right, the cluster allows failover by replication. apache plugin will perform the failover.
    3. the plugin will keep a dynamic server list so if a server goes down, it will update the cluster list and not route to it. it will also retry requests on another server on an error or timeout connecting. you can tweak timeout settings like WLSocketTimeoutSecs and ConnectTimeoutSecs. and keep idempotent ON which allows failover, unless you aplpication can't handle this.

  • SSL termination using Hardware Load Balancer

    We are trying to implement SSL at the Hardware LoadBalancer layer and terminate the SSL there.  Architecture includes Apache Reverse Proxy and Portal server running EP7 SP18.  In this scenario we want encruption between the client browser and the Load Balancer (BigIP F5).  The Load blancer will then decrypt the request and send it to the Apache reverse proxy on port 80.  Apache Reverse proxy will send request to Portal J2EE engine on the http port.
    this scenario seems to work in most cases but we are having issues with the standard portal login page.  The login page is sent to the browser on https but when entering credentials and selecting the login button a request gets generated on port 80, not 443 (https) and is not serviced by the load balancer.  99% of the requests that get generated from the client borwser stay on port 443 as expected but for some reason this particular request switches to port 80.
    How can we keep all requests generated on port 443 (https)?

    Hello Brian (all)
    I am facing the same issue - except we do not have the Apache proxy in the setup..... just HTTPS to a Cisco ACE load balancer and then HTTP to the portal. 
    Nearly all of the portal content is working great, but am facing the situation that some ESS content is switching to HTTP.  In discussing with the network team, they have done the following:
    1/ Replies from the portal server back to the client have an SSL rewrite performed, which modifies a 301 or 302 reply and changes http ULRs to https.
    2/ The load balancer adds an HTTP header u201CClientProtocol httpsu201D to the request it sends to the portal server.
    They feel we need to find a way to have the portal server only send either references with no host:header (i.e. http) or only send host:header with https to keep it all SSL.
    Any advice?
    Edited by: Eric Poellinger on Jan 5, 2011 5:09 AM

  • Servlets and Tomcat/Apache

    Okay,
    Tomcat 4.1 running with Apache.
    Installed mod_jk, piece of cake.
    JSPs run through Apache like a dream.
    Tomcat examples ( jsp and servlets) run through Apache perfectly ( that is no :8080 business).
    My JSP's run through Apache no problem. Works great.
    My SERVLETS WILL NOT RUN THROUGH APACHE FOR ANYTHING.
    My context looks like this in server.xml:
    <Context path="/nuweb" docBase="/home/shared/nuweb" debug="0"
    reloadable="true" crossContext="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="nuweb" suffix=".log"
    timestamp="true"/>
    </Context>
    Note: that I am not under <TOMCAT_HOME>/webapps.
    The reason is that I will, in production not be the Unix admin on the server. I will only have priviledges within my directory. I will not be able to drop war files in the webapps directory. I will not be able
    to start and stop tomcat or apache ( there are 100 diffrent apache contexts on that machine and someday many of them will be going through tomcat for jsp and servlet support).
    My servlets will only run if I put :8080/nuweb/servlet/HelloServlet in the URL. Take off the 8080 and I get Page not found. Not the tomcat 404 page, the Browswer 404 errror.
    Here is my web.xml which lives in the WEB-INF directory of of /home/shared/nuweb
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>HelloServlet</servlet-name>
    <servlet-class>org.nu.servlet.HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/hello</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    </web-app>
    In devlopment I am on a system that is very close to what the production server will look like ( Tomcat 4.1 same version of Apache, same Unix ). In development I can restart all the servers edit server.xml etc. On the production I would have to schedule that stuff. I want to be able to compile classes and drop them in the WEB-INF/classes... directory and have them run. Is that too much to ask?

    Hi,
    I am also facing same error.
    I am not able to view my servlets via apache web server.
    ie when i do "http://localhost/enlighta/logon"
    I get http 404 page not found error
    but when I do http://localhost:8080/enlighta/logon
    all works fine
    I am using apache 2 and tomcat 4.5
    This is I have done:
    1.I have http server running on port 80
    2. appserver on port 8080
    3. I have a war file enlighta.war deployed on webserevr
    4. The static content like images and html page I have moved to webserver
    5. The servlet context of the app on the app server is /enlighta
    6. In the web.xml I have defined all the servlet maping.
    the port 8009 has the connecter is running/listening.
    the configuration
    sever.xml on tomcat
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    httpd.conf on apache
    # Load mod_jk
    LoadModule jk_module modules/mod_jk.so
    # Configure mod_jk
    JkWorkersFile conf/workers.properties
    JkLogFile logs/mod_jk.log
    JkLogLevel info
    # First Virtual Host.
    <VirtualHost 192.168.1.2:8080>
    ServerAdmin [email protected]
    DocumentRoot /enlighta/
    ServerName localhost
    ErrorLog logs/enlighta_error_log
    TransferLog logs/enlighta_access_log
    JkMount /enlighta/* ajp13
    </VirtualHost>
    workers.properties
    worker.list=ajp13
    # Defining a worker named ajp13w and of type ajp13
    # Note that the name and the type do not have to match.
    worker.ajp13.type=ajp13
    worker.ajp13.host=localhost
    worker.ajp13.port=8009
    Now I feel I am doing something wrong on defining virtual host.
    Or may be something else is wrong.
    I have gone thru the previous thread but I dont have mod_jk.conf file.
    Please help!!!
    Thanks
    Sachin

  • Solaris 10 onboard Apache 1.3.x authenticating against PAM?

    Hi fellow admins,
    can anyone give me some hints on how to get the Apache 1.3 delivered with Solaris 10 to authenticate against the local unix files (passwd + shadow, via PAM?)
    I've grabbed mod_auth_pam, managed to compile it with some modifications to apxs and the Makefile, and Apache loads the module just fine,
    but no matter how I set up my pam.conf, I always end up with "No account present for user" in my Apache log.
    From googling for this string, I see that other people usually get a user name after "user ", which I don't - suggesting that Apache/mod_auth_pam doesn't pass the user name on to PAM?
    On a side note.. I'm considering to move on to Apache 2.2.x soon anyways - is PAM authentication any easier with that version, or will I face the same problems?
    My main reason for switching from htpasswd to PAM is the automatic account locking after X failed logins - can I get to this goal on a different route without PAM?

    Compiling Apache 1.3 with gcc on linux or unix? If you are using unix, I would be compiling with cc and not gcc. You have gcc set to compile using regular expressions and I believe that has to be specified during SunOS install as posix compliant.

  • Oracle service bus, endpoint load balancing

    I was create configuration like this (dot instead of whitespace):
    ............................______osb1
    Client ---- Apache LB
    ...........................\______osb2
    Apache Load Balancer (Apache LB) have "Round-robin" load balancing algorithm
    Servers "osb1" and "osb2" are in the cluster.
    Proxy Service (PS) route to Business Service (BS).
    BS have two endpoints (EP1, EP2). Load balancing algorithm in properties of BS is "none".
    When i send request to Apache LB then i get info from like this order: EP1, EP2, EP1, EP2...
    Why load balancing beetween endpoints working instead get info from endpoint which is first in endpoint's list ?
    Edited by: 915814 on 19.07.2012 13:10
    i was check via tcpdump. Packets going beetween nodes, but messages going only to first node. This i can see in Dashboard at Service Health tab in business service properties. So "none" in Load Balancing algorithm is work.

    Hi Adel,
    Customization file will be the best solution for your problem. You may generate a environment specific customization file. To know more, please refer -
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/customization.html#wp1129087
    Simplest solution would be to generate a customization file and replace the existing URI's with the required one's using replace all option of textpad. Run this customization file at target environment, after importing the OSB configuration.
    Regards,
    Anuj

  • [SOLVED]Apache no work with php | spit php code

    Hello,
    I have installed php-apache, loaded module in httpd.conf like that:
    LoadModule php5_module modules/libphp5.so
    libphp5.so are also stored in /etc/httpd/modules
    And what is wrong? What the hell is wrong?
    Here is my httpd.conf: http://wklejto.pl/45938
    Realy need help, Im wedeveloper and I wasting my time..
    [SOLVED]
    What was wrong?
    Include /etc/httpd/conf/extra/php5_module.conf
    This line was missing... regards.
    PS. why  php-apache don't ad it manualy?
    Last edited by cojack (2009-11-01 13:36:02)

    Mine has an additional line:
    LoadModule php5_module modules/libphp5.so
    Include conf/extra/php5_module.conf
    (webdeveloper who can't setup a webserver... dude! )
    Edit: Gnaaa, too late
    Last edited by rebugger (2009-11-01 13:37:14)

  • Load Balancing 2 routers

    Hi all
    Can someone tell me the best way to load balance between 2 routers, can someone post a typical config ?
    thanks a million
    Carl

    Hi Carl,
    You can use the following load-blancing methods between the routers.
    1. Static routes or default route load-balancing
    2. Multilink PPP
    3. Equal/unequal cost path load-balancing with Dynamic Routing protocol.
    4. CEF load-balancing.
    Please see the DOC below.
    http://www.cisco.com/en/US/products/hw/modules/ps2033/products_white_paper09186a0080091d4b.shtml
    I have multilink PPP and static route load-balancing config handy with me. Please see below :
    interface Multilink1
    ip address 193.193.193.1 255.255.255.252
    ppp multilink
    multilink-group 1
    interface Serial0/2
    no ip address
    encapsulation ppp
    ppp multilink
    multilink-group 1
    interface Serial0/3
    no ip address
    encapsulation ppp
    ppp multilink
    multilink-group 1
    interface Serial1/1:0
    ip address 192.168.170.1 255.255.255.0
    encapsulation ppp
    no ip route-cache
    interface Serial1/2:0
    ip address 192.168.180.1 255.255.255.0
    encapsulation ppp
    no ip route-cache
    ip route 172.28.20.0 255.255.255.0 192.168.170.2
    ip route 172.28.20.0 255.255.255.0 192.168.180.2
    HTH,
    -amit singh

  • System Using Load Balancing

    Hi gurus,
    we have to do sso to ECC through portal
    we have ECC system with three instance ,i am going for  creating SAP System using Load Blancing,
    what is the value of server port should i enter.
    regards
    K Naveen Kishore.

    The server port is often maintained by system administrators on the local PC in the c:\windows\system32\drivers\etc\services file. The system server port is entered into the file as sapms<SID>.
    Check the services file on your computer and see if there is any entry for sapms<SID>. If this entry is maintained, you can put sapms<SID> in your System properties.
    You can also choose to enter the tcp port number of your application server or message server here.
    The value is generally 3600 or 3601.
    Check the following links also:
    http://wiki.sdn.sap.com/wiki/display/EP/MinimumSettingsforaSystem
    http://wiki.sdn.sap.com/wiki/display/EP/HowtoCreateSystemObjectinthePortalforConnectingtoSAPbackend+System
    Thanks,
    Shanti

  • WLS 8.1.4 cluster is does not load balance correctly

    Hi WLS gurus!
    I have a problem with my apache load balancer....
    it seems apache does not see all WLS instances with DynamicServerList ON!
    all connections come in to, in my case, instance 2...
    my cluster runs on 2 separate machines..
    any ideas? problem with DNS maybe?
    thanks
    Michael

    Hi,
    Go through the following link and check whether you configured load balancing settings correctly or not.
    http://e-docs.bea.com/wls/docs81/cluster/load_balancing.html
    Regards
    Anilkumar kari

  • Load balance on routers LAN and WAN

    Hi ;
    I have a setup where i need to implement load balance on 2 routers in both sides ,LAN and WAN , and there is ASA in the LAN side , my question is that when do load blance in LAN side using GLBP how the 2 ASA's will act on this because they will have only 1 default gateway IP address .
    Thanks

    Not Harbi
    Not entirely sure i understand the question but i'll try to answer based on a few assumptions.
    It sounds like you have a pair of ASA devices on the LAN side. Assuming they are in active / failover then they will appear as one IP address to the routers - a VRRP address. When the ASA arps out for the default gateway address they will get one of the virtual mac addresses back from the AVG.
    They will send traffic to that mac address ie. they won't load balance.
    The load balancing aspect comes in when another host on the LAN then arps out for the default gateway and the AVG assigns it a different virtual mac address tied to a different router. But as the ASA pair always appear as one host entity they will always be tied to one of the routers at any one time.
    Hope this covers what you were asking
    Jon

  • AP2WEBUP doesn't load

    Just upgraded a server from NW6sp5 to NW65sp5 then to NW65sp7. On
    restart after the sp7 upgrade the server initially hung on NLDAP
    during boot. We killed it and on restart the server started OK. But
    the OS space Apache does not show up. Running AP2WEBDN says Apache 2
    is not loaded. Running AP2WEBUP briefly produces a blank "Apache
    2.0.59 for Netware" screen, which then disappears and Apache2 in the
    OS space is not loaded. No apparent errors. Logger says APRLIB and
    APACHE load status OK. Ran PKIDIAG and it says all certificates are
    correct.
    Other info -- during the upgrade we had to re-address the server, as
    legacy IP addresses existed and previous services were running on
    those legacy IP addresses. Current certs match the new primary IP
    address and dns name.
    Questions:
    1) Was our initial NLDAP hang problem likely a fluke or is there a
    relation to when NLDAP loads and something Apache related?
    2) Any ideas on getting ap2webup to load Apache?
    Thanks.
    Lyle

    Nothing but the default stuff. On Novonyx we used to have user public
    and private http folder access, but we no longer need that, That's the
    reason we held off for so long. Novonyx's /~username functionality
    worked well and Apache didn't have an easily implementable alternative
    for both http and https acces to those user folders. But that stuff is
    no longer needed, so re really want just the stock server/management
    stuff.
    Lyle
    On Fri, 03 Oct 2008 16:31:51 GMT, Anders Gustafsson
    <[email protected]> wrote:
    >,
    >> stuff was there, the upgrade put some things in Apache2 and kept some
    >> in Novonyx and there no simple way to straighten it out.
    >>
    >> Any ideas on that?
    >
    >Well, I'd just sort it manually. What are you running on that Apache?
    >
    >- Anders Gustafsson (Sysop)
    > The Aaland Islands (N60 E20)
    >
    > Discover the new Novell forums at http://forums.novell.com
    >
    >Novell does not monitor these forums officially.
    >Enhancement requests for all Novell products may be made at
    >http://support.novell.com/enhancement

  • Application not working on CSM

    Hi ,
    Could some one explain whats the difference between the using the port and using the Any while configuring VIP on CSM?
    After configuring "Any" keyword under the context the application is not  working.
    (NOTE: If I change it to http it works eg:virtual 192.168.1.1 tcp http/port  number)
    Example:
    vserver usa
    virtual 192.168.1.1 tcp any  :-----If i change this "any" keyword with  tcp  port number it works
      replicate csrp sticky
      replicate csrp connection
      no persistent rebalance
      slb-policy fariha
      inservice
    policy fariha
    sticky-group 4
    serverfarm zain
    sticky 4 cookie zain insert
    The IOS running on the CSM is 2.2(3)
    Any help would be appriciated.
    Thanks
    Fariha

    The "tcp any" will allow connections to that Virtual IP on any TCP port.  If it is
    working using the specific port, it should be working using any.  Keep in mind that the CSM will accept and load balance using "tcp any," b
    ut your server may not be listening on that port and will reset the connection.
    As a best practice, you should define the specific port on the vserver for load balancing.  Using the "any" statement has it's purposes, but for general load blancing define the tcp/udp port number for your application.  This is also more secure.
    Kris

  • Routing issue with CSS 11503

    The senerio contains a PIX 515 E firewall,4507R Chassis switch and a CSS 11503. The servers in inside zone of the PIX is load balanced using a vip with default route specified in the CSS is the inside zone interface IP of the PIX
    Now I would like to load balance the servers in the DMZ zone of the PIX with a separate vip(from DMZ zone) in the same CSS. Since the default route in CSS is towards the inside zone of the PIX, I am unable to see the load blanced pages from dmz. Is there any solution to load balance the servers of the 2 zones with 2 different vip's using a single css ?

    The default behavior is to use the calling device's CSS for the redirected calls. In your case it sounds like you want to use the redirecting device's CSS. I haven't tried this myself but I believe you will need to change the following registry entry on your PGs. You will want to use option 2 (ROUTEADDRESS_SEARCH_SPACE).
    HKEY_LOCAL_MACHINE\SOFTWARE\Cisco
    Systems,Inc.\ICM\IPCCL\PG1B\PG\CurrentVersion\JGWS\jgw1\JGWData\Dynamic
    "UseRouteAddressSearchSpace"=dword:00000000
    - Used to control behavior on CTI Route Points for Route Selects.
    UseRouteAddressSearchSpace can be to set 0, 1, or 2 where :
    DEFAULT_SEARCH_SPACE = 0
    CALLINGADDRESS_SEARCH_SPACE = 1
    ROUTEADDRESS_SEARCH_SPACE = 2

Maybe you are looking for

  • Security in PDF online converted files

    As you know, Microsoft Word allows you to convert their files into PDF. However, there is no security. Therefore one can highlight a signature for example and copy it as a way to lift someone's signature off the document and create an image of the si

  • BP Publisher problem - no models published

    I've got the Business Process Publisher running locally alongside my BP Architect, for the moment both using the Local database. As soon as I installed the Publisher it appeared in the Administration view of BPA as a Web Application Server. So I've b

  • Mass upload of VC object dependencies

    Hi Gurus, My client is implementing VC, which is now in legacy system.  There are around 25K object dependencies to be uploaded. These include all types of selection conditions, preconditions & procedures. Is there any way to mass upload all these ob

  • Query Causes ASP Error

    This query works great within MS Access itself but causes and error when used in an ASP application ... DateAdd("m",-2,EndDate()) >= Date() Someone suggested there is a problem with the quote marks in ASP. Would appreciate any help to resolve this. T

  • Rogue calendar entries from iCal

    Let's start with the environment: using a Mac formatted 2nd generation iPod nano. Also use v2.0.4 iCal and v7.0.2 iTunes. Here's the problem: After syncing using iTunes I have a calendar entry that shows up on the iPod starting on and repeating for e