Load balancing between application server and database

Hi,
is there any load balancing between the application server and the database? Consider we have a single instance of an application server that sends database queries from different clients to the database. Are the requests queued in some way at the application server, allowing to control the flow of the queries (e.g. queries from "more important" clients might be sent with a higher priority)?
Thanks for your help!

Hi Victor/Jim/Volker,
Thanks a lot for all the responses..
Just wanted to let you guys know that my installation finished successfully.
The thing which confused me was that my Qtime, Qdate and everything else was showing correct values..
Well, my problem I set the environmental variable PASE_TZ to the EST time zone on a SYS level using WRKENVVAR>F4>SYS and added the variable. I logged off and the sidofr logged off, but one user which should have logged off and didn't was the "SAPINST"(my installation user) which was logged in the subsystem TMKSVR00.
Even when I had closed the SAPINST installlation program, the user doesn't log off...it just sits there until and unless u shut him out of the system using the option 4 on wrkactjob for ending the JOB(SAPINST logged in the system below the TMKSVR00 subsystem)
So since the SAPISNT user never logged of, his environmental variables were not initilized properly, even after the changes...
This thought came to me almost after a 6 hours of wasting my time searching for notes here and there...
I think when u end/stop the install in SAPINST, the SAPINST user should log off the AS400 system, but I have noticed, it never does...although when u restart the installation, if u have noticed it shows you the log on for the SAPINST user in the TMKSVR screen...
Its kind of buggy, I would say...
I have noticed, that even when I log on to AS400 from home or from a remote PC using Emulator, it shows me logged in the subsystem and even after i have logged of, it still shows me there...
Anyway, thanks a lot guys...for all your responses..
Just wanted to let you know all.
Thanks
Abhi

Similar Messages

  • What are the differences between application server and webserver

    pls give the differences between application server and web server with examples

    Google.
    Example
    http://www.google.ca/search?hl=en&q=Do+your+own+damn+searching&meta=

  • ARCHITECTURE OF SAP R/3 AND APPLICATION SERVER AND DATABASE SERVER IN ABAP

    ARCHITECTURE OF SAP R/3 AND APPLICATION SERVER AND DATABASE SERVER IN ABAP?
    PLEASE EXPLAIN

    hi
    <b>Presentation Server</b>
    It is actually a program named sapgui.exe.
    It usually installed in user’s workstation.
    The interface accepts the input from the user in the form of keystrokes, mouse-clicks, and function keys, and sends these requests to the application server.
    It receives and displays the result from the application server.
    <b>Application Server</b>
    An application server is a set of executables that collectively interpret the the ABAP/4 programs.
    Each application server has a profile called application server profile, that specifies its characteristics when it starts up and while it is running. It specifies:     
    1. Number of processes and its types.          
    2.Amount of memory each process may use.
    3. Length of time a user is inactive before being automatically logged off.
    If your ABAP/4 program requests information from the database, the application server will format the request and send it to the database server
    <b>Database Server</b>
    The database server is a set of executables that accepts database requests from the application server.
    These requests are passed on to the RDBMS (Relation Database Management System).
    The RDBMS sends the data back to the application server.
    The RDBMS  may run on database server’s computer or may be installed on its own computer.
    The components of application server are dispatcher, dispatcher queue, work process.
    All requests that come in from presentation servers are directed first to the dispatcher.
    The dispatcher writes them to the dispatcher queue.
    The dispatcher pulls the requests from the queue on a first-in, first-out basis.
    Each request is then allocated to the first available work process.
    A work process handles one request at a time.
    The work process needs two memory areas, the user context and the roll area.
    The user context is a memory area that contains the information about the user.
    The roll area is a memory area that contains about the program execution.
    <b>User Context</b>
    User context is a memory area that contains the characteristics of a user that is logged on the R/3 system.
    1)It holds,     user’s current settings.               
    2. The users authorizations.          
    3. The names of the programs the user is currently running.
    When a user logs on, the user context is allocated for that logon. When logs off, it is freed.
    <b>Roll Area     </b>
    A roll area is a memory that is allocated by a work process for an instance of a program.
    It holds the information needed by R/3 about the program execution, such as:     1. The values of the variables               
    2. The dynamic memory allocations          
    3. The current program pointer.
    Each time a user starts a program, a roll area is created for that instance of the program.
    If two users are using the same program at the same time, two roll areas will exist-one for each user.
    The roll area is freed when the program ends.
    Both roll area and the user context play an important roll in dialog processing
    <b>pls reward points dor useful ans</b>
    <i>regards
    vivek</i>
    Message was edited by:
            Vivek Saxena

  • Difference between application server and central instance

    Hi everyone,
    whats the difference between application server and central instance and message server. where it will be installed. and how?
    Regards
    Basis Fresher

    Hi,
    just want to clarify that is is not correct that only one enqueue process can be configured on the CI.
    Please see the documentation within transaction RZ11 for the parameter Parameter : rdisp/wp_no_enq
    Short description : number of enqueue work processes
    Parameter description :
    You can use this parameter to define the number of enqueue work processes for the instance.
    Ensure that a value >0 is only set on the central instance that provides the enqueue server (instance rdisp/enqname ). One enqueue work process on the central instance is normally sufficient (rdisp/wp_no_enq = 1); only in very large systems can a higher value be useful.
    Kind Regards
    Thomas Alt

  • RE:difference between application server and web application server

    hi,
         i am a fresher to SAP.please tell me the difference between application server and web application server so that my doubt will be clarified.

    Hi,
    the SAP Web Application Server is the reliable, open standard-based application server from SAP. It supports both J2EE and ABAP, and serves as the underlying infrastructure for all new and upcoming SAP solutions, like SAP R/3 Enterprise, SAP Portal, SAP Exchange Infrastructure, and all other SAP components.
    The SAP Web Application Server is not a new product, it is the natural evolution of proven SAP application server technology formerly known as SAP Basis. It provides the platform to develop, execute, and operate Web applications and Web services as well as traditional SAP GUI based applications
    if it helpful rewards points are appreciated

  • Diff between Application server and Webserver?

    Diff between Application server and Webserver?

    asked soooooo many times already...
    Basically an application server has more functionality than a webserver, such as enterprise javabeans. That is assuming we are taking about a java webserver like Tomcat.

  • About application server and database sever

    where does apllication server and database server located in a us client project
    Edited by: madhu sudhan on Feb 21, 2008 11:02 AM

    Interface: it is a program that performs communication with External system from SAP.
    There are two types of interfaces:
    1. Inbound Interface: External system sends the data to SAP
    2. Outbound Interface: SAP sends the data to External system.
    Let's take a scenario:
    There are two Systems SAP ERP and Seibel CRM
    Scenario1: Whenever an Order is created in Seibel CRM system it has to be transferred to SAP where the Order confirmation, Delivery and Billing will be performed. This can be enabled by using IDOC as inbound interface.
    Scenario2: Whenever a New customer is Created in SAP ERP this customer data has to be transferred to Seibel CRM using Outbound IDOC / RFC.
    Basically interfaces are implemented using RFC, BAPI, ALE/IDOC.
    INTERNALLY SAP IS 3-TIER ARCHITECTURE

  • How to properly load balance between diffrent server farms.

    Hi experts,
    We are using an ACE 4710. We chose for our server farms to load balance using the least_connections predictor. it seems to work fine inside the same server farm but is it working properly between server farms? It doesn't seem because some of my real servers seems to be more loaded than others. Each server farm are using the same real servers.
    Any idea about what is the problem or any suggestion regarding the best load balancing predictor we should use using this kind of configuration?
    Thank's to all.

    The ACE uses load-balancing algorithms or predictors to determine how to balance the traffic among the devices configured in the server farms, independent of the device type. For FWLB, we recommend that you use only the hash address source and the hash address destination predictors. Using any other predictor with FWLB may fail and block traffic, especially for applications that have separate control and data channels.
    Here is the configuration guide for the Cisco ACE 4700 Series Appliance Server Load-Balancing.
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA1_7_/configuration/slb/guide/fwldbal.html

  • Communication between Appliation Server and Database Server

    If a web app is deployed to an Oracle Application Server, this AS machine is physically connected to an Oracle Database (server) machine in the same location:
    For the purpose of sending and retrieving data from AS server to/from DB server, do I need to install any communication/network software on the both (AS and DB) machines? If so, what kind is needed?
    Otherwise, I would assume two network cards plus a cable/wire will do (but not sure).
    Thanks
    Scott

    If you are using the Oracle Type 4 (thin) JDBC driver, you shouldn't need to configure the tnsnames.ora or sqlnet.ora files.
    Neither the OCI nor the thin driver will use ODBC, which is generally only available on Windows. Sun puts out a JDBC-ODBC bridge driver, but I don't know of anyone that has intentionally used that particular driver in production code in years. Whether the thin driver is faster than the OCI driver depends heavily on the driver version and the particulars of your application's workload. It's generally best to benchmark both with your code if you are concerned with driver performance.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Help !!! unable to run application server and database in one mechine.

    OS:Redhat advance Server 3 update 3
    Error message:error starting ORMI server port 12401: address in already in use.
    But i edit ias/opmn/conf/opmn.xml change the ORMI port in random,the error all the same.
    my install step is :
    1. install Oracle database 10.2.0.1 use user "oinstall"
    2.unset the oracle entironment install Oracle Application Server 10.1.3 use user "oinstall" too. then throw that error.
    3.delete ias folder,install ias agant with database starting,error all the same.
    4.delete ias folder ,install ias agent with a other user "oracle",error all the same.
    all the needed rpms is installed,install test is all successed...
    who can tell me why ? thanks a lot.
    Message was edited by:
    [email protected]

    Error message:error starting ORMI server port 12401: address in already in use.
    But i edit ias/opmn/conf/opmn.xml change the ORMI port in random,the error all the same. Did you use "netstat" command to check whether specified port is really occupied by another service?

  • Load balancing between Application Servers &  adding Groups in Frontend sys

    Dear All,
    We have  one Central Instance and one Application Server in OS win2003 databae SQL Server
    i have create a usergroup  "PUBLIC"  using  : SUGR (T-Code) 
    i Have Create a Logon Group " Public" using : SMLG (T-Code) for both the instances central instance and for Application Server.
    i am not able to add   the "Message Server Name"  Or not able to configure  in the End user Systems.
    we are using SAPGui 710.  i am not able to fine "sapms.ini" files  i followed the Note : 64015
    Please guide me the Process  what are the necessary steps to follow
    Regards
    SNB

    Dear Faisal,
    Thanks for downloading the Information.
    Now i am Configuring in Production Server . Accessing those system through SNC - SAPRouter from Remote Location.
    i have created a logon Group name "public"  for both the Instances  like    "prddialog_PRD_09"    and    "prda_PRD_09
    and i have added  sapmsSID        3205/tcp    in my local  system  Services file.  
    When i am configuring  Logon Group in SAPGUI i am not able to add the Group/Server throws an error message
    error :   hostname  Unknown.
    anything need to be configured
    Regards
    SNB.

  • Load-Balancing between Foreign and two Anchors

    Hi, we have two foreign controllers (one active, one standby) and two anchor controllers. All APs are connected to the active foreign controller. The layer 3 networks for the wlan clients on both anchors are different for the same SSID. SSID: Internet, anchor 1: Subnet A, anchor 2: Subnet B. So when a client is getting anchored to Anchor 1, the clients will get an ip from subnet A and when the client is getting anchored to anchor 2, the client will get an ip from subnet B.
    This is so far not a big problem because we only have a few accesspoints in some rooms. But what will happen, when we have a full covered wlan and the client roams from one AP to the other AP? Is there a possibility, that the client will anchored to a different anchor while roaming? I think this will result in a lack of connectivity because without a real disconnect the client will not ask for a new IP address.
    Other question: Is it possible to disable this load-balancing between anchor controllers? Or can i make a client sticky to only one anchor as long as an access-session is established?
    All controllers are 5760 with 3.3.3 software.

    Hi acontes, 
    It's an interesting question. 
    In this case, if all AP's are on WLC-A and there is no possibility that an L3 inter-subnet roam will occur between WLC-A and WLC-B, I would just forward WLC-A to Anchor A and WLC-B (in the event of fail over) to Anchor B (if Anchors reside on different subnets). If you must specify Anchor A and Anchor B on each WLC for redundancy purposes, it's important to understand the guidelines and limitations with regard to Foreign / Anchor Design.  
    As Scott mentioned, the limitation with Anchoring design is that there is no primary / secondary configuration for an Anchor on the Foreign WLC.
    If WLC-A has two entries (1) for Anchor-A and (2) for Anchor-B, the EoIP tunnels are establish and load-balancing occurs in a round robin fashion.
    Keep in mind the following with regard to guest N+1 redundancy:
    •A given foreign controller load balances wireless client connections across the list of anchor controllers configured for the guest WLAN. There is currently no method to designate one anchor as primary with one or more secondary anchors.
    •Wireless clients that are associated with an anchor WLC that becomes unreachable are re-associated with another anchor defined for the WLAN. When this happens, assuming web authentication is being used, the client is redirected to the web portal authentication page and required to re-submit their credentials.
    Since traffic is transported at Layer 2 via EoIP, the first point at which DHCP services can be implemented is either locally on the anchor controller or the controller can relay client DHCP requests to an external server. Since the IP address directly correlates to the DMZ subnet or the interface where the traffic egresses, it is possible for some clients to get IP's from both Subnet A or Subnet B in the event that WLC-A is building EoIP to both anchors.
    1) What happens if my clients roam?
    Nothing... since all AP's are on WLC-A, it's Intra-Controller Roaming
    Each controller supports same-controller client roaming across access points managed by the same controller. This roaming is transparent to the client as the session is sustained, and the client continues using the same DHCP-assigned or client-assigned IP address. The controller provides DHCP functionality with a relay function. Same-controller roaming is supported in single-controller deployments and in multiple-controller deployments.
    Would it be better to choose the same DHCP Pool on both anchors?
    It's probably better to have redundant anchors on the same subnet, but it's not required. 
    3) How would you design this :-)
    WLC-A <--EoIP--> Anchor A (DHCP Pool A)
    WLC-A <--EoIP--> Anchor B (DHCP Pool A)
    It's important to remeber what Scott mentioned about the lack of a primary / secondary relationship. If multiple controllers are added as mobility anchors for a particular WLAN on a foreign controller, the foreign controller internally sorts the controller by their IP address. The controller with the lowest IP address is the first anchor. For example, a typical ordered list would be 172.16.7.25, and 172.16.7.28. If the first client associates to the foreign controller's anchored WLAN, the client database entry is sent to the first anchor controller in the list, the second client is sent to the second controller in the list, and so on, until the end of the anchor list is reached. The process is repeated starting with the first anchor controller.
    If any of the anchor controller is detected to be down, all the clients anchored to the controller are deauthenticated, and the clients then go through the authentication/anchoring process again in a round-robin manner with the remaining controller in the anchor list. This functionality is also extended to regular mobility clients through mobility failover. This feature enables mobility group members to detect failed members and reroute clients.

  • Load balancing on RMI Server Application

    Hi there, I'd like to know more detail about load balancing on RMI server application, been digging the web for some time, but couldn't find much information, does anyone know any website or has the knowledge of load balancing on RMI to share? Sort like its design and implementation.
    Thanks,
    Jax

    I want performance and fault-tolerance,
    In that case, is it necessary to have a main
    rmi server to allow client to access and pick one of
    the rmi servers for the client?Well, if you have one main RMI server, you have a single point of failure again.. Why can't your application know about all rmi servers, and randomly choose one? If it's down, pick a different one.. If your applicatoin is an applet, you'll have to sign it.. Do that and put it on 2 redundant web servers. You have performance by splitting the load and you have your fault tolerance by having x identical rmi servers.
    If you're saying what I think, why would you have one main rmi server that picks a different rmi server? That's more work AND your redundancy goes byebye, ie if your main rmi server dies..

  • There is a compatibility range mismatch between the Web server and database

    HI,
    Taken backup form production environment through TSM backup utility and restore same db on UAT environment by TSM Utility, after restore got below issue, past i had done many time but working fine this time
    it’s not working. Production environment have SP2010 and sql server 2008 ,UAT have same thing also.
    Server Error in '/' Application.
    There is a
    compatibility range mismatch between the Web server and database "Portal_Contain", and connections to the data have been blocked to due to this incompatibility. This can
    happen when a content database has not been upgraded to be within the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and
    build level to return to compatibility range.
    Description: An unhandled exception occurred during the execution of the current
    web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException:
    There is a compatibility range mismatch between the Web server and database "Portal_Contain", and connections to the data have been blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within
    the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and build level to return to compatibility range.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack
    trace below.
    Stack Trace:
    [SPUpgradeCompatibilityException: There is a compatibility range mismatch between the Web server and database "Portal_Contain", and connections to the data have been
    blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the
    database must be upgraded to the same version and build level to return to compatibility range.]
       Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.ValidateBackwardsCompatibility() +542
       Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +63
       Microsoft.SharePoint.SPWeb.InitializeSPRequest() +258
       Microsoft.SharePoint.WebControls.SPControl.EnsureSPWebRequest(SPWeb web) +365
       Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +520
       Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) +27
       Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) +918
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

    Hi Bhavik,
    UAT Portal_Contain DB version given below:
    Version ID
    Version
    id
    00000000-0000-0000-0000-000000000000
    12.0.0.4518
    1
    00000000-0000-0000-0000-000000000000
    12.0.0.6219
    3
    00000000-0000-0000-0000-000000000000
    12.0.0.6327
    4
    00000000-0000-0000-0000-000000000000
    12.0.0.6421
    5
    00000000-0000-0000-0000-000000000000
    12.0.0.6510
    6
    00000000-0000-0000-0000-000000000000
    12.0.0.6514
    7
    00000000-0000-0000-0000-000000000000
    14.0.6123.5006
    9
    1A707EF5-45B2-4235-9327-021E5F9B8BB0
    4.1.6.0
    8
    6333368D-85F0-4EF5-8241-5252B12B2E50
    4.1.18.0
    2
    Production Version given below:
    00000000-0000-0000-0000-000000000000
    12.0.0.4518
    00000000-0000-0000-0000-000000000000
    12.0.0.6219
    00000000-0000-0000-0000-000000000000
    12.0.0.6327
    00000000-0000-0000-0000-000000000000
    12.0.0.6421
    00000000-0000-0000-0000-000000000000
    12.0.0.6510
    00000000-0000-0000-0000-000000000000
    12.0.0.6514
    00000000-0000-0000-0000-000000000000
    14.0.6123.5006
    1A707EF5-45B2-4235-9327-021E5F9B8BB0
    4.1.6.0
    6333368D-85F0-4EF5-8241-5252B12B2E50
    4.1.18.0
    I have matched both are the exact same.
    Run the below command on App server:
    Upgrade-SPContentDatabase
    cmdlet Upgrade-SPContentDatabase at command pipeline position 1
    Supply values for the following parameters:
    Identity: Portal_Contain
    Confirm
    Are you sure you want to perform this action?
    Performing operation "Upgrade-SPContentDatabase" on Target "Portal_Contain".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
    (default is "Y"):y
    WARNING: Database [SPContentDatabase Name=Portal_Contain] cannot be upgraded.
    Kindly suggest 
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

  • How to remove farm account from Application Discovery and Load Balancer Service Application

    Hello Community
        Using Sharpoint 2010 Server I think the reason
    the User Profile Synchronization would stop is because somehow the farm
    account was registered as a managed account.  So I removed the farm
    account from all services that ran under the farm account so that I could
    run Remove-SPManagedAccount or click the Remove icon in manage service accounts
    and then unregisted farm account as a managed account.
       But before I can run Remove-SPManagedAccount I need to remove it from one more
    service account that uses the farm account which is:
        "Application Discovery and Load Balanceer Service Account".
        However, nothing seems to remove it from there.
        I tried :
    "get-spserviceapplication | where {$_.TypeName -match "Application Discovery and Load Balancer Service Application"}
        and then
    "stop-spserviceinstance "dde7fbef-b068-4687-bedb-f67230efab5a"
        amongst a host of other methods so that I could ultimately
    unregister farm account as a managed account.
        But no matter what I do when I try to remove the farm account from Application Discovery
    and Load Balancer Service Application
    and then unregister the farm account as a managed account a message always says
    "Application Discovery and Load Balancer Service Application" is using the farm account
    as its service account.
        What can I do to free the farm account from Application Discovery and Load Balancer Service Application?
        Thank you
        Shabeaut

    The Farm Account is always a Managed Account and can never be "unmanaged". You don't have to set the automatic password roll.
    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.

Maybe you are looking for

  • Embedding video in InDesign for a PDF output

    I've been trying to embed videos in InDesign to output them as a PDF with video. I've followed the tutorials but the final PDF has only the poster frames - they won't play. One thing I have noticed is that the tutorials say to choose "Object>Interact

  • SLD port problem in Netweaver XI post installation configuration steps

    Hi All,     Recently we changed the port number of the SAP server to 80.Every thing working fine. When ever we are configuring the XI that mean the post installation steps for Exchange Infrastructure it giving the errors in machine_technical_configur

  • Import EXIF tag to new App Yosemite Photos

    Hi I have custom metadata EXIF tag in my photos, how can i import to keywords in the new App Photos ? it's works for dataTime et GPS position (in EXIF metadata). Thanks Francois

  • Inlist operator vs join

    Dear Sirs, hope question will be new in this forum. I've found out following : select count(*) from TEST_TAB s where hash_key = :hk and( R$APP in (x1, x2, ..., x10 ) or R_CALLS_LOG in ( y1, y2, ..., y756) run time: 380 sec select count(*) from TEST_T

  • Published .avi from Captivate is shorter in Adobe Media Encoder

    I published 8 slides from Captivate 4 to .avi video format.  When I play the .avi in Windows Media Player, it works great.  I'm using Adobe Media Encoder to convert it to .flv file to use in my Flash project.  When I import the .avi to AME, it's shor