Use message server as load balancing instead of web dispacher for XI in HA

Hi all!
    We are currently upgrading a cluster XI installation from 3.0 to 7.0.
    The idea is:
          Now:    1 node (central instance)
                     1 node (database)
          Future: 1 node (central instance)
                     1 node (database + application instance)
     So we need some king of load balancing between the two instances.
     We already know web dispatcher and all configuration required. However we
were trying not to use it but use the abap/java message server who can also do
the redirect.
     However, once the Exchange Profile has been updated, it does not work.
     If we change "com.sap.aii.connect.repository.httpport" to "8101". Cache refresh stop working with a "Authorization Error". This is really strange because if I try the very same URL in the explorer and I enter the logon data, I have no problem.
     Do you have any experience with this? I mean, is it possible to avoid installing web dispatcher?
     Thanks and kind regards,
           Encinas.

Hi David,
the message server does only a redirect and some XI applications (JAVA and ABAP side) cannot handle the redirect URL.
Therefore in the XI environment you have to use a "real" dispatcher (keeping the session and forwarding the session, instead of redirect) - for example you can use the SAP WebDispatcher here.
Best regards,
Silvia

Similar Messages

  • How to send communication message from application server to load balancer

    Hi,
    Environment: 8 application servers are clustered behind a load balancer. Java/J2EE based client-server application
    When any one of the servers is supposed to go down, I want to send a message from that server, programmatically, to load balancer something which signifies "server is down or going down, do not forward any client connections to me". This is to avoid any CLOSE_WAITs.
    How do I achieve this? How can I send message programmatically from app server to load balancer? From very basic knowledge, SNMP can be used for this. But do not know how to start of. Any other means is also OK. Need details.
    Thanks
    Sunil

    At the same time we stop accepting any new connections [ServerSocket.accept() will be escaped during server shutdown].Just close the ServerSocket.
    Both these are working fine. But during the 25 seconds, still the client connections gets queued up trying to find that serverNot if you close the ServerSocket.
    reason being the load balancer is still forwarding requests to this server whose shutdown has started but not completed. So CLOSE_WAITS happen.Not if you close the ServerSocket. Not that the CLOSE_WAITS are the actual problem, as they will all disappear when the server exits. It's more that the clients shouldn't have been able to create the connection in the first place. Which wouldn't have happened if you had closed the ServerSocket.
    If we tell load balancer not to send any more client socket connections, then we completely avoid getting CLOSE_WAITS.If you close the ServerSocket ditto.

  • Enabling server-side load balancing with Oracle 10g RAC

    Hi, all.
    I created a RAC database on vmware by using DBCA.
    By default, remote_listener and tnsname.ora have been configured.
    The followings are part of dba_services from my RAC database.
    NAME, GOAL, ENABLED, CBL_GOAL
    SYS$BACKGROUND NONE NO SHORT
    SYS$USERS NONE NO SHORT
    DEVDB NO LONG
    By default(created by DBCA), server-side load balancing is enabled for
    the RAC database, DEVDB??
    --> GOAL of DEVDB is null, but CBL_GOAL IS LONG.
    After creating a RAC db by using "DBCA", do I need to do something
    for server-side load balancing??
    If so what I need to do?? How can I test it??
    And what is beneficial in enabling server-side loadbalancing ??
    Is it good in the real world??
    Thanks for reading.
    Best Regards.
    Message was edited by:
    user507290

    [urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
    [urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
    Virag

  • Problem to use SAPServer Class with load balancing

    Hello,
    We use the SAPServer Class from SAP .Net Connector 1.0.
    On our system, we want to start the RFC Server to use the logon group.
    I didn't find how to use ServerMessage and LogonGroup with one of constructors.
    When we start the SAPServer with the command line -aUSER -gBEAUSR201 -xsapgw10 from the DB server (BEAUSR201) it's Ok,
    but when we start from one of our application Server (for example -aUSER -gBEAUSR213 -xsapgw13 ) it's KO
    we have this message on the trc file.
    ERROR file opened at 20041125 084739 Paris, Madrid, SAP-REL 620,0,1622 RFC-VER 3 683864 MT-SL
    T:13188 ======> Connect to SAP gateway failed
    Connect_PM  TPNAME=USER, GWHOST=BEAUSR214, GWSERV=3314
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname 'BEAUSR214' unknown
    TIME        Thu Nov 25 08:47:39 2004
    RELEASE     620
    COMPONENT   NI (network interface)
    VERSION     36
    RC          -2
    MODULE      ninti.c
    LINE        385
    DETAIL      NiPHostToAddr
    SYSTEM CALL gethostbyname
    COUNTER     1
    What is the solution ?
    Thanks

    Hi,
    The message server and Logon group are there for balancing the load among application servers within a SAP system. You are using the SAPServer class to implement an external RFC server that usually serves the request from SAP servers. So using message server and logon group with an external server doesn't make sense.
    I understand that both your DB server and the application server in question are Windows machine with .NET runtime installed and you started the SAPServer programs directly from Windows command line. If so, the error message for the KO case says that the hostname BEAUSR214 could not be resolved from the application server. I also noticed that the hostname BEAUSR214 in error message doesn't match the hostname BEAUSR213 given in command line.
    Can you ping BEAUSR213 or BEAUSR214 from the application server in concern?
    Regards,
    Guangwei Li

  • Client side load balancing and server side load balancing

    Hello Team,
    I need to know how to set up client and server side load balancing in oracle rac.  What all things to be implemented like creating a service, tnsnames.ora settings etc.
    And also if i used SCAN ip instead of VIP. how the settings will change.
    Regards,

    Hi,
    please find here an Whitepaper with the information
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr2-client-failover-173305.pdf
    kind regards

  • ARFC: Single Server and Load Balancing

    Hi All,
    I am trying to create aRFC model. In SAP logon screen, I can see two tab pages - Single Server and Load Balancing.
    Can you please let me know when we have to use which tab?
    Thanks
    TG

    Single Server Connect or Load Balancing connect is completely independend from the location where SAP Gui Client is installed.
    Single Server connect means that your are directly connecting to an ABAP Server using hostname and systemnumber you have to provide.
    Load Balancing Connect means that you specify the message server of the central instance of an ABAP Server group. The SAPGUI first connects to the message server which will provide the SAPGUI with the information about the best performing ABAP server. SAPGUI will then connect to this ABAP server.
    Single Server is suitable for small landscapes with lets say less than 4 application servers. In huger configurations (and those which I know will grow to more than 3 servers)I would prefer to use logon groups - aka Load Balancing.
    Peter

  • Server Side Load Balancing Testing

    Hi,
    Can any one tell me about any test case for server side load balancing in an 11.1.0.7 RAC?
    I have a 2 nodes RAC with local_listener and remote_listener set properly (for server side load balancing). For testing, i have create a TNS at my client side which points to only one node of RAC (a single ADDRESS entry pointing to node 1 of my RAC). So, from this client, when ever i connect, it always connects me to the node 1 which i have mentioned in the TNS. Does it mean that server side load balancing works in conjunction with client side load balancing only and i should add ADDRESS entry in my TNS for the second node also? If yes, then how can i create a test case to check server side load balancing?
    Thanks
    Salman

    Thanks Rajeysh but i already have seen these documents after "googling" about server side load balancing but these documents don't give my any idea for testing the server side load balancing. My goal is actually testing the following scenario
    Creating a TNS entry to connect to a RAC database (with server side load balancing enabled) by using a single ADDRESS line in TNS which points to node1 to connect to service on node 1 (service_name is set to same value on all the nodes).
    Now, if i invoke 10 SQLPLUS windows to connect to the RAC database using this TNS, it always connects me to instance 1 running on node 1, where is server side load automatic load balancing? Why new sessions are not being directed to some other instance and why every time i always connect to instance 1?
    Salman

  • PI 7.11: Cannot connect to server using message server:...

    Hello Guys,
    we make the Application Management for a Customer PI System.
    Scenario:
    - the SAP Gui Connection to the ABAP Stack is routed via SAPRouter and Works fine.
      SAP Gui -> our SAP Router -> VPN Box from Customer -> Firewall Customer -> ABAP Stack PI System
    - WebAccess its working fine, the Customer use Webdispatcher on every PI Server...
      Browser -> VPN Box from Customer -> Firewall Customer -> Java Stack (Port: 5xx00 btw. 81xx (Webdispatcher))
    Problem:
    Our Problem ist, we can not proceed the Integration Builder or the ESB, the Java Web Start works fine and open the Logon Screen Correctly -> but i fill the Logon Screen with my User name and Password and press Logon come the follwing Error:
    "Cannot connect to server using message server: ms://<hostname>.<domain>:8134/P4"
    In the Details from the Error Message:
    "<hostname>.<domain>:53404 Reason: com.sap.engine.services.rmi_p4.P4IOException:
    Cannot open connection to host: <IP-Adress of Central Instance> and Port: 53404"
    The Customer says, the Firewall is open with the IP Adresses and P4 Port but i dont think so...
    Can everybody help me, or have tips for me! I have checked a lot of OSS Messages (PI High Availabilty etc... its all correct on the System)
    Sorry for my bad English
    Best Regards,
    Markus

    Hi Markus,
    did you check if the browser is using a proxy? (In this case your scenario unfortunately won't work).
    P4-port should generally be routed via a proxy (described in the help.sap.com), but within the PI-Tools(JNLP) the proxy-usage is not implemented.  There is even a SAP-note that describes how to check the JavaWebStart-Proxyconfiguration, but this won't help either.
    If there is a proxy defined in the browser everything is working fine till you pass the logon-screen but even with the correct "javaws"-settings you won't be able to go on.
    (This problem is pretty bad if you do have developers and the SAP-servers seperated because of security issues. I'm hoping that this malfunction will be solved with upcoming patches.)
    Solution: Establish a connection without any proxy in between.
      E.g.: a terminal server in the same network
    It would be helpful to find more people with the same problem to force a fix from SAP for that.
    If anyone else is having problems with this, please add a comment to this thread.
    Best regards
    Christian

  • 11i load balancing web nodes without use of Hardware http load balancer

    I am looking at note 217368.1 (Advanced Configurations and Topologies for Enterprise Deployments of E-Business Suite 11i) and some other notes on load balancing but some aspects are not clear.
    Aim is to implement load balancing traffic to web nodes without using Hardware ( BigIP, cisco etc) for HTTP layer load balancing.
    Which is more preferable between dns or Apache Jserv load balancer ?
    Need details like failover capabilities, death detection of node, functionality testing and ways to monitor Apache Jserv load balancer.
    Any help in this regard is welcome .
    thx
    arun

    Oracle recommends using loadbalancing hardware rather than using DNS. If you want the features you mention above, you will need a hardware loadbalancer.
    http://blogs.oracle.com/stevenChan/2006/06/indepth_loadbalancing_ebusines.html
    http://blogs.oracle.com/stevenChan/2009/01/using_cisco_ace_series_hardware_load-balancers_ebs12.html
    HTH
    Srini

  • Using a DI-LB604 load balancing on mac

    In my office we are using a DI-LB604 load balancing router, since the day they instaled it my internet conecction is not stable, and it works fine for all PCs in the office, i´m the only one ussing Mac

    You can take a look at this thread:
    http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Wireless%20-%20Mobility&topic=Getting%20Started%20with%20Wireless&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.2cbfa834
    But like I said, if you require more bandwidth per link you need to look at another vendor.

  • Cannot connect to server using message server: ms://xiidhasoft:50004/P4

    Hi SAP Guru's
    When PISUPER or any any of the enduser is trying to login in the Integration Builder , they are getting error
    Cannot connect to server using message server: ms://xiidhasoft:50004/P4
    I have tryed to search in SDN and got below solution but no success
    1. Exchange Profile of PI - http://host:port/exchangeProfile
    2. Check with the rmi port number.
    3. if rmi port number is empty or any number is present ( check with Tr code: SMICM - services - check for p4 port number - it will be ex: 5<nr>04)
    4. fill the rmi port number as present in the P4.
    OR
    implement note 864268
    I have Netweaver PI 7.1 .
    Please suggest some alternative solution.
    Thanks & Regards
    Vinay Patel

    You may check your local PC Java Network Setting.
    Troubleshooting:
    Probably Javau2122 WebStart does not detect the correct Proxy Settings. In this case please proceed as follows:
    To change the Proxy Settings for Javau2122 Web Start:
    1. Click Start --> Run  and enter javaws. Press button OK.
    2. Control Panel -> Programs ->Java -> Network Settings...
    3. Select Direct Connection to switch off the proxy settings and press button OK.
    If this still does not work, select Use proxy server to set manually the HTTP Proxy and Port.
    Contact your network administrator for the correct settings.

  • Load balancing across 4 web servers in same datacentre - advice please

    Hi All
    Im looking for some advice please
    The apps team have asked me about load balancing across some servers but im not that well up on it for applications
    Basically we have 4 apache web servers with about 2000 clients connecting to them, they would like to load balance connections to all these servers, they all need the same DNS name etc.
    what load balancing methods would I need for this, I believe they run on Linux
    Would I need some sort of device, or can the servers run some software that can do this, how would it work? and how would load balancing be achieved here?
    cheers

    Carl,
    What you have mentioned sounds very straightforward then everything should go well.
    The ACE is a load balancer which takes a load balancing decisions based on different matching methods like matching virtual address, url, source address, etc then once the load balance decision has been taken then the ACE will load balance the traffic based on the load balance method which you have configured (if you do not configure anything then it will use the default which is "round robin"), then it will send the traffic to the servers which it has available and finally the client should get the content.
    If you want to get some details about the load balancing methods here you have them:
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA3_1_0/configuration/slb/guide/overview.html#wp1000976
    For ACE deployments the most common designs are the following.
    Bridge Mode
    One Arm Mode
    Routed Mode
    Here you have a link for Bridge Mode and a sample for that:
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_Bridged_Mode_on_the_Cisco_Application_Control_Engine_Configuration_Example
    Here you have a link for One Arm Mode and a sample for that:
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_One_Arm_Mode_with_Source_NAT_on_the_Cisco_Application_Control_Engine_Configuration_Example
    Here you have a link for Routed Mode and a sample for that:
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_Routed_Mode_on_the_Cisco_Application_Control_Engine_Configuration_Example
    Then as you could see in all those links you may end up having a configuration like this:
    interface vlan 40
      description "Default gateway of real servers"
      ip address 192.168.1.1 255.255.255.0
      service-policy input remote-access
      no shutdown
    ip route 0.0.0.0 0.0.0.0 172.16.1.1
    class-map match-all slb-vip
      2 match virtual-address 172.16.1.100 any
    policy-map multi-match client-vips
      class slb-vip
        loadbalance vip inservice
        loadbalance policy slb
    policy-map type loadbalance http first-match slb
      class class-default
        serverfarm web
    serverfarm host web
      rserver lnx1
        inservice
      rserver lnx2
        inservice
      rserver lnx3
        inservice
    rserver host lnx1
      ip address 192.168.1.11
      inservice
    rserver host lnx2
      ip address 192.168.1.12
      inservice
    rserver host lnx3
      ip address 192.168.1.13
      inservice
    Please mark it if it answered you question then other users can use it as reference in the future.
    Hope this helps!
    Jorge

  • Use Lion Server to set up security in Web Sharing

    Can I use Lion Server to set up security in Web Sharing?
    I want a password prompt to appear when someone comes to look at my Web Sharing files.
    I have tried to do this manually in Snow Leopard and Lion, and am considering buying Lion Server just for this one purpose.
    Does the admin GUI in Lion Server have an option that allows you to set up a password prompt for folks that look at my Web Sharing files?
    THanks.
    mac

    Miracles do happen.
    Because I just bought Lion Server, I was able to get a guy from the Apple Server support group on the phone, for a long time, and he helped me set this up using the Server app and the Server Admin app.
    Now I have a password prompt on my Web Sharing files.
    It's an incredible relief to have this working.
    Thanks for the responses.

  • Site not found using Sharepoint Designer 2013, Load balance URL and the Front end servers.

    Dears,
    My SharePoint farm is with the below configuration in our office :
    Batch processing server the with Central Administration
    Web Front End Sever 1 (http://wfe01)
    Web Front End Sever 2 (http://wfe02)
    I do have the load balance URL as http://finance.mycompany.com and as per the system administrator it seems configured properly.
    In AAM i have mapped the URLs as below for the web application in Central Administration portal:
    http://finance.mycompany.com - Default Zone
    http://wfe01 - Intranet Zone
    http://wfe02 - Internet Zone
    I was able to browse the site via the load balance URL : http://finance.mycompany.com, but couldn't open the site using the Share Point Designer 2013. It always says the site not found.
    please advise,
    thanks,
    Ammar

    What do the wfe01 and wfe02 aams do?
    Are you browsing to the SharePoint site and using SPD on the same computer, is it part of the farm or a seperate client computer?
    thanks Alex a lot for your response and appreciate the same.
    WFE01, WFE01 is connected to the one central admin on Batch Processing Server (central admin URL is http://SharepointCA:5555 and the SharePoint Web Application is hosted under port 80 on the same server). So the AAM configured on the batch processing server
    central admin.
    I can connect to the site using the SPD inside the Batch Processing server if i mention the site urs as http://localhost. But not from other client computers by putting the load balance URL - http://finance.mycompany.com.
    I can browse the sites directly putting http://wfe01, http://wfe02 and as well as the load balance URL (http://finance.mycompany.com). The custom webparts are getting crashed when i put the web application URL as http://finance.mycompany.com.
    thanks,
    Ammar

  • Accessing individual server in load-balanced cluster not working as expected

    We have a cluster set up with multiple managed servers and hardware load
              balancers sitting in front to direct traffic. We have the frontend host
              configured to be the dns name of the single URL for the cluster, which maps
              to the IP address that the load balancers balance. When accessing part of
              our site (a WebLogic portal) at
              http://server1/portalApp/appmanager/portal/desktop
              (where server1 is the name of one of the managed servers)
              the portal performs a redirect to the login page at
              /portalApp/appmanager/portal/desktop?_nfbp=true&_pageLabel=login_page.
              The URL that results in the browser is not what I would expect, which would be
              http://server1/portalApp/...
              Instead, it is
              http://cluster/portalApp/...
              where cluster is the frontend host setting. Is there any way to avoid
              this, so we can perform directed testing on specific managed servers?
              Thanks,
              Andy
              

    Hi Maria, thanks for your help! I wrote a simple test jsp that does a
              redirect if a parameter is set, otherwise it doesn't do anything. When I
              accessed the jsp at server1/app/test.jsp?a=true, something (I assume
              either WebLogic or the load balancer) rewrote the URL after the redirect
              (the redirect was to /app/test.jsp). The URL that appears in the browser
              after the redirect is cluster/app/test.jsp. Do you know if this happens
              because of WebLogic or the load balancer? Our load balancers are Cisco
              11503's I believe.
              Do you think it would make any difference if I leave the frontend host
              for the cluster to be the dns name of the cluster, and then if I set the
              frontend host for each server to be the dns name of that specific server?
              Currently each server does not have any value entered for frontend host.
              Thanks!
              Andy
              Maria Carcedo <[email protected]> wrote in
              news:31424665.1108079763742.JavaMail.root@jserv5:
              > Hi Andy!
              >
              > We had basically the same problem and we fixed it by configuring the
              > F5 load balancer to maintain the session with whichever server it
              > started the connection with. We had to enable cookie persistence, more
              > specifically the Active HTTP Cookie, with Method insert (do not enter
              > any expiration or anything else in any other field other than what is
              > already there when the page loads -> F5 bug).
              >
              > So if the original request from the portal goes to server1, every
              > subsequent request will go to server1 as well. The next session
              > request will go to server2 and every subsequent request within that
              > session will go to server 2, and so on (assuming you have round
              > robin).
              >
              > I hope this helps!
              >
              > Maria
              

Maybe you are looking for

  • Skype Number - Recebimento de chamada não está funcionando

    Comprei um Número Skype. E meus amigos tentam ligar e não dá nem mesmo sinal de toque. O número está ativado mas não consigo receber as ligações pelo meu número skype. O que fazer?

  • SQL Server connection in Java Stored Procedures

    Is it possible to establish a connection to microsoft sql server through java stored procedures. When I try to create a connetion to SQL Server I am getting the following exception in trace file java.sql.SQLException: [Microsoft][SQLServer 2000 Drive

  • Newby: locking the table on a SELECT?

    I have just downloaded SQL developer and have been using it to look at the back end of my work database, but it seems just as I started browsing through tables (by clicking on them in the tree explorer) people started getting kicked out of their fron

  • When I hit send my mail quits.

    When I hit send my mail quits.

  • Routing Query

    We have setup sun communication suite version 5. For mail routing we are using a gateway. What we noticed was before making changes in imta and mapping files, the smtp was sending to its local domain directly. Now the mails are routed through the gat