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

Similar Messages

  • Problem with load balancing on ACE 4710

    Hello.
    I'm setting ACE4710.
    I'm using DSR (Direct server return).
    The load balancing cannot be distributed now.
    I append the network configuration.
    Could someone please help out?
    THANKS!

    Hello.
    My problem has not been to have load balancing to rserver.
    Connection is http://192.168.11.100:9080/ → NG (Connection error)
    Connection is http://192.168.11.101:9080/ → OK(rserver1)
    Connection is http://192.168.11.102:9080/ → OK(rserver2)
    Even if "predictor ROUNDROBIN" is changed, it is the same.
    Why cannot load balancing be done?
    It is displayed that State is OPERATIONAL as a result of doing 'show rserver'.
    Is this a correct display?

  • Error in creation of JCO with Load balancing server

    Hi,
    We are using a ABAP user base for our WEBAS server 6.40 (with ABAP+JAVA). i have created a Public group in concerned ECC 5.0 system. I have already configured SLD, and then i maintain data supplier bridge in SLD and run RZ70 in ECC 5.0 system to load system information.. i can see details in SLD ..
    now i am trying to create JCO connections .. here i am unable to create JCO with load balancing option..  i get
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=<servername> GROUP=PUBLIC R3NAME=SID MSSERV=sapms<SID> PCS=1 ERROR       service 'sapms<SID>' unknown TIME        Fri Jun 16 12:41:20 2006 RELEASE     640 COMPONENT   NI (network interface) VERSION     37 RC          -3 MODULE      ninti.c LINE        505 DETAIL      NiPGetServByName2: service 'sapms<SID>' not found SYSTEM CALL getservbyname_r COUNTER     1
    i am able to create single server JCO, but it fails in load balancing.. is there anything i have  missed out in settings...
    Thanks and regards,
    Sudhir

    Thanks, Bogdan Rokosa
    I have the same problem,and solved it following the steps provided by Bogdan Rokosa  :
    you must insert an entry for your R3 system
    (like: sapms<SID> 3600/tcp)
    in services file
    (C:\WINDOWS\system32\drivers\etc\services) on Java WAS.
    I test the Jco successful without restart J2EE Engine.

  • System with load balancing server

    Hi All,
    We are having SAP NW 7.0 Portal and back end we have R3 implemented in a cluster environment.  The system object in EP have used "System with Load balancing" template; using the LOGON group and the other related parameters.
    But we have some problem with the ITS and WAS parameters; since we are using some Transaction iViews.
    Let me explain.. for the R3 cluster we have 2 systems PROD1.domain.ext and PROD2.domain.ext. Now in the system object in portal, how to specify the parameters for ITS and WAS parameters? Since the host name in these we need to specify a single server which defeats the basic purpose of having clustered environment.
    Can any one please help in resolving this issue.
    Thanks,
    Sravanthi

    Hi Sravanthi,
    Please check the below for finding ITS and WAS parameters from backend :
    For ITS - Go to SE37 >> Utilities >> Setting >> Click on ICON Right Top Corner in popup window >> Select Internet Transaction Server >> you will find the Standard Path and HTTP URL.
    For WAS - Go to SE37 >> Run FM - RSBB_URL_PREFIX_GET >> Execute it >> you will find PRefix and PAth paramter for WAS.
    Please refer to this may help step-by-step : How-to create a portal system for using it in Visual Composer
    Hope it helps
    Regards
    Arun

  • Deploy Forms and Reports with Load Balancing

    I am trying to determine what we need to install here. I have read OracleAS, Web Cache, Application Server, and
    Forms documents and have no answer still.
    We are currently run 9iAS with Forms and Reports 6i only.
    I did not do any of those installs. We are migrating to
    Forms and Reports 10g. I need to setup an OracleAS 10g
    Forms and Reports application server with the ability to
    do Load Balancing over 2 windows Web servers to handle
    4,000+ users. The application database will be on its own
    Windows server.
    Do I need to install the Infastructure, BI, and Web cache?
    Or just Oracle 10g Application Server option? Or other?
    Do I need to install it on both web servers and do
    something like clustering? Do I need to install Web
    cache? I just took the 10g AS class and basically did not learn anything about deploying Forms and Reports.
    Can anyone give me a place to find the things I need to
    install and setup?
    Thanks.
    Kim

    I am a DBA and have not done an iAS or AS installation
    before but am now required to learn it. We will be using
    SSL and no load balancing hardware. We setup for other
    customer sites and setting Windows servers in the past.
    We have not done load balancing before.
    I am just confused with all the 10gAS options there are to
    install to just run 10g Forms and Reports and setup
    OracleAS 10g with the load balancing features.
    So I just need to install OracleAS Forms and Reports
    Server if I am just installing Forms and Reports with SSL.
    But if for Load Balancing Oracle 10g I need to cluster
    just Reports 10g? I thought I would need OracleAS10g
    installed on my two Windows servers and somehow cluster
    or let the two know they are the same web page handling
    the incoming requests? I do know about Apache redirct. Is
    that an Apache feature and is it covered in an Oracle
    documentation? They did not cover it in class either.

  • How to configure R/3 System with Load Balancing?

    Hello,
    I've created a Web DynPro Application and I would like to case an iView on  it. According to SAP tutorials I first need to configure an R/3 System with Load Balancing.
    My problem is how to configure the "WAS Host Name".
    According to the tutorial:
    WAS Host Name = <host>.<domain>:port (this corresponds to the Web Dynpro server location and the port on which it is running eg. PXYZ.wdf.sap.corp:50000.)
    I am using NW 04 and my portal is running on this address:
    http://ep6sp9test:50000/irj/portal
    When I set the WAS Host Name to ep6sp9test:50000 the Test connection fails (I have privildges and created an alias and User mapping). What should I put at this field then?

    Hi
    I think you have to specify the HTTP port og the WAS running the R/3 system. The 50000 port is the HTTP port of your portal - not the R/3 system.  You can see the HTTP port of the R/3 system using transactioncode SMICM - services in the R/3 system.
    BR
    Tom

  • How to configure RZ12  and SM59 ABAP connection settings when we have work with Load Balancing servers rather than a specific server .

    Hi ,
    If we have a specific server say 10.10.10.10 (abc.co.in) on which we are working, Then under RZ12 we make the following entry  as :
    LOGON GROUP          INSTANCE
    parallel_generators        abc.co.in_10         ( Lets assume : The instance number is 10 )
    Now in SM59 under ABAP Connections , I am giving the following technical settings:
    TARGET HOST          abc.co.in
    IP address                  10.10.10.10
    Instance number          10
    Now if we have a scenario of load balancing servers with following server details (with all servers on different instance numbers ) :
    10.10.10.11    
    10.10.10.13
    10.1010.10
    10.10.10.15
    In this case how can we make the RZ12 settings and SM59 settings such that we don't have to hardcode any IP Address.
    If the request is redirected to 10.10.10.11 and not to 10.10.10.10 , in that case how will the settings be.
    Regards,
    SHUBHAM

    Hi,
    No one using FMS behind a load balancer? No one using RTMPT?

  • HTTPS with load balancing

    Hi guys,
    We have a portal system with instance 08, so we typically connect to the portal using port 50800 for HTTP, and 50801 for HTTPS.
    We have just created a second server node for this portal (in the config tool).
    When we connect to 50800, does this automatically load balance the user to the better server? From some reading on these forums, it seemed to indicate that load balancing will only occur if I connect using port 8109. (where 09 is the instance number for the SCS of our portal)
    When connecting to port 8109, we are redirected to port 50800, as I'd expect.
    Question 1 - do we need to use 8109 for load balancing, or can we still use 50800?
    Question 2 - If we need to use 8109, which is a HTTP port, how can we achieve load balancing with HTTPS. Is there a different port we need to use to have HTTPS with load balancing?
    Question 3 - Is the creation of a second server node the best way to accomodate additional users and load on the portal system, or is there a better way to do things?
    Thanks,
    Michael.

    Better late than never.
    The load balancing you describe through the message server has its limitation. It redirects you to one of the dialog server hosts which means that any bookmarks will always point directly to a dialog server which may be down at that moment.
    Access directly to a dialog server on port 50800 will sort of load balanc on the java server instances that are on that server but not on other servers.
    The general recommendation is to setup an external loadbalancer and SAP Web dispatcher is a good match if the load is not very high. SAP webdispatcher will then bind up the cluster address and act as a proxy towards the dialog servers of the portal. The user will therefore only see one address. This will also work for HTTPS.
    Regards
    Dagfinn

  • Moving SMTP server to Azure with Load balancer

    How to
     move SMTP server to Azure with Load balancer???

    Hi TechM,
    Base on my experience, Windows Azure Platform does not provide out-of-the-box mail server (neither SMTP nor POP3). You could use SendGrid to sent mail. About this issue, I recommend you could refer to
    http://stackoverflow.com/questions/10631585/email-sending-approaches and
    http://blogs.msdn.com/b/patrick_butler_monterde/archive/2010/10/11/sending-e-mail-from-windows-azure-part-1-of-2.aspx
    Hope it helps.
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Multiple WAN connections all through one router with load balancing?

    I am setting up a network in my dormatory for myself and about 20 friends. about half of us have DSL connections at the moment. Is there a way to have all the DSL connections (possibly run through cheap home DSL routers) all connect into a cisco router that then acts as the gateway for our entire network? woudl it be possible for each internet request to go out over the connection that has the least load AND also be able to use some sort of load balancing, so one user cant use all of the outgoing/incoming bandwidth?
    If you have any ideas please let me know

    Hi Ian,
    To get this working, you would either need to use something like PPP to bundle your links together or use a dynamic protocol.
    In bundling the links, you could make them appear as one link, with a single IP address each end and the router takes care of distributing the load. To implement this though, you would need control of both sides of the link, or be terminating with one carrier who is happy to implement this for you.
    The second is to use a dynamic protocol (such as eigrp, ospf, etc), which can build up a map of the network to router from point a to point b. For this you also need control of the link.
    I can't think of another method, unless you can control the link from both sides. Your other option it to pool your money and buy a larger link or a leased line. If you bought a leased line or two, your carrier would be more than happy to talk to you about routing over that, but generally you're looking at mega bucks for that.
    HTH,
    Mark

  • Recommended configuration for load balanced Portal with load balancer, multiple gateways and multiple servers.

    Does anyone have a recommended network, hardware and software configuration guide for a Portal installation running with multiple gateways load balanced (ie one URL) that talk to multiple servers?

    David,
    We've used Resonate (software) to load balance the gateways. It allows
    you to group all the gateways under 1 virtual URL and load balance the
    incoming connections over each gateway depending on the rules that you
    define in Resonate. Look in the SUN portal whitepapers there is one that
    talks about it specifically.
    As far as load balancing the calls to the portals, the gateways will
    automatically load balance across all the portals that they know about
    using a simple round-robin rotation. You may be able to use Resonate in
    front of the portals but you may need to activate persistance within
    Resonate to ensure that the user always ends up on the portal that he
    established his initial connection on (if you want that), check with Sun
    on this one.
    David Broeren wrote:
    Recommended configuration for load balanced Portal with load balancer,
    multiple gateways and multiple servers.
    Does anyone have a recommended network, hardware and software
    configuration guide for a Portal installation running with multiple
    gateways load balanced (ie one URL) that talk to multiple servers?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • BM clustering with load balancing

    I want to implement BM clustering with load balancing according to AppNote written by Steve Aitken from March 25, 2005.
    It's clear that I need to use two private addresses (from the example, these are 10.10.10.10 and 10.10.10.11). However, I'm not sure what are IP addresses 10.10.10.1 and 10.10.10.2 used for?
    Existing BM servers have two NICs: first defined as private and the second as public addresses connected directly to Internet (they are from different subnets).
    Sinisa

    Originally Posted by phxazcraig
    In article <[email protected]>, Tnelson 2000
    wrote:
    > I've set this up per the appnote and aren't able to get out through any
    > of the ip addresses. I get a 504 Gateway Time out error. I also noticed
    > that the cluster master ip address is different, 10.10.10.12, for
    > example. Do you know what I need to look at to verify I have this
    > configured correctly?
    >
    What do you mean "aren't able to get out through any of the ip
    addresses"?
    Do the addresses show up in any of the proxy nodes with display secondary
    ipaddress? Does the proxy console option 17 show the server listening on
    those addresses?
    Is the gateway timeout error a BorderManager (or Windows) error? If
    BMgr, then check that BMgr has a correct default gateway, DNS is working
    (option 4 on proxy console screen) and try dropping filters for a test.
    Craig Johnson
    Novell Knowledge Partner
    *** For a current patch list, tips, handy files and books on
    BorderManager, go to Craig Johnson Consulting - BorderManager, NetWare, and More ***
    Got it working. I noticed that my dns setting in BM2 didn't coincide with settings in BM1. So, I made them the same and reinitialized the system on both servers. Of course, when I did that, it added the secondary IP addresses. So, I'm really not sure what was stopping it from working before, unless I have something misconfigured that's preventing the secondary addresses from loading. Go figure.

  • SSP5: Using multiple JVM for load balance performance?

    Sun 12 MAY 2002
    Apps 11.0.3
    SSP5 patchset I
    HP UX 11.0
    db 8.1.7.2 (64-bit)
    Load 60 concurrent sessions, each spawning 2.5 - 3 http connections.
    CPU 3:750Mhz
    RAM 8G
    Is anybody using multiple JVM for load balance?
    What is your ratio of JVM to concurrent iP sessions?
    Are you running Apache/Jserv on a server with any other applications, or is Apache by itself?
    If you are not using JVM, how many httpd processes do you get before Apache implodes? We stopped in the water at 90 httpd processes, but performance degraded starting at 70 sessions.
    Thx - Don

    Using Web Cache to load balance servlet-based Forms (6i and 9i) is unofficially supported. I say "unofficially" because we have actual customers doing it and getting support, but the 2 development teams (Forms and Web Cache) haven't actually done any integration testing of this sort of configuration yet. For your case, please contact your Support rep and ask what was done to use Web Cache as a load balancer for Forms6i at METRO in Germany. The Forms product managemment team is writing up a white paper to describe how to do it, but until then, you'll need to go through Support. Please contact me if you want more information.

  • AUDIO PROBLEM WHILE USING OR ALONG WITH WEBCAM

    Hi friends,
    SUBJECT : AUDIO PROBLEM WHILE USING OR ALONG WITH WEBCAM
    I'm not getting any sound while using web-cam.
    I tried recording my voice , and played.. i can see my video but audio
    Do we have any settings where i need to cross-check to make sure that everything being turned-on ?
    My laptop details:-
    HP Pavilion dv6 laptop
    Operating system Installed - Windows 7
    Can someone help me with this?
    Thanks
    kiran

    Hi,
    not sure if coincidence or the same question, but the same question got asked internally. The seeded option is required to get the OJSP filter installed. Here's the internal response
    ADF View integration with MDS not configured
    In web.xml, you need to have mds-ojsp intg enabled to load jspx base + customizations from MDS. In your web project in Jdev, go to ADFv project properties and select “Seeded customization” property. It would enable mds-jsp engine configuration in web.xml. If you want to use user personalization feature at runtime, you would need to select “User customization” property as well which would enable ADFv change persistence config in web.xml.
    Warning: Some of the metadata under ... is packaged as part of both WAR and MAR. This metadata cannot be accessed from WAR using MDS.
    For these two packages, you are including the files in both WAR & MAR. This warning conveys that since these base files are being put in MAR, at runtime they would be read from mds repository & not from WAR.
    Frank

  • Trouble in a SAP system with load balancing

    Hello masters:
    I had a trouble with workitems that came from a SAP system with load balancing. They doesn't receive the workitem ID in the UWL.
    I created another system in the portal as a "dedicated application server", and made the necessary configuration in order to replace the first one, and then my workitems worked fine.
    However, I would like to know what appened with the first system created as "system with load balancing". Why this system didn´t pass the workitem ID to the application (web dynpro abap) that execute the workitems?
    Thank you.

    I hope there was some missing configuration in the first case which was not replicating the workitem from SAP Inbox to UWL.
    Thanks
    Arghadip

Maybe you are looking for