Message load balancing in PI 7.0

Hi Experts,
We have the below requirement. Please suggest a way to make it feasible.
There would be a threshold limit for the count of messages that are processed by a communication channel.
The messages being processed by a communication channel have to be counted for a day and if the limit is crossed, the channel has to stop processing the messages for that day.
We have only File and JMS communication channels in our landscape.
This activity is being done for load balancing on the system per interface.
Please suggest if there is any possible way to achieve this.
If this is not possible, please suggest any other possible way to achieve the load balancing.
Thank you.
Regards,
Subbu

Hi Subbu,
You can try this below solution,
Maintain table in SAP PI (ABAP Stack),evry time when interface executes enter count value in table, next time exeuction read old count value and update new on in Table.
once coutn reaches max value then you can kill message in mapping level.
But this is not good desisgn..just idea thats it.
Regards,
Raj

Similar Messages

  • WLS 5.1 JMS and Message load balancing

    Would I be right in thinking that WLS 5.1 offers no out of the box component that distributes incoming messages over a series of JMS Destinations? (much like a distributed destination would do in WLS 8.1?)
              Is it BEA's recommendation then that any JMS Client sending to these JMS destinations pick's up the responsibility for carrying out load balancing?
              regards
              Barry

    Would I be right in thinking that WLS 5.1 offers no          > out of the box component that distributes incoming
              > messages over a series of JMS Destinations? (much
              > like a distributed destination would do in WLS 8.1?)
              Yes.
              >
              >
              > Is it BEA's recommendation then that any JMS Client
              > sending to these JMS destinations pick's up the
              > responsibility for carrying out load balancing?
              Application dependent.
              For example, you could set up an EJB that enqueues to the local queue - where the local queue's name is inferred from the server the EJB is running on.
              Load balancing (and fail-over) would then be accomplished by invoking the EJB and depending on standard EJB features...
              >
              > regards
              > Barry

  • 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

  • Load Balancing Error Message

    We have two ASA 5550's, ver. 8.0.4. We just recently set them up for Load Balancing. Every time the user logins to Cisco VPN client (5.0.03.0560), we got two email notifications for the below message. We got the error messages every time every user logins to the Cisco VPN client
    163>%ASA-3-713128: Connection attempt to VCPIP redirected to VCA peer 192.168.110.18 via load balancing
    163>%ASA-3-713902: Group = office, IP = XX.XXX.XXX.XXX, Removing peer from peer table failed, no match!
    The user was able to access the internal resources. The two ASA's have the exact configurations. Do you have any suggestions how to fix the problem?
    Thanks.
    Debra

    Error Message - %PIX|ASA-3-713128: Connection attempt to VCPIP redirected to VCA peer IP_address via load balancing
    Explanation - This message appears when a connection attempt has been made to the VCPIP and has been redirected to a less loaded peer using load balancing.
    Recommended Action - None required.
    Error Message - %PIX|ASA-3-713902 descriptive_event_string
    Explanation - This system log message could have several possible text strings describing an error. This may be the result of a configuration error either on the headend or remote access client.
    Recommended Action - It might be necessary to troubleshoot the configuration to determine the cause of the error. Check the ISAKMP and crypto map configuration on both peers.

  • Load-balancing TNS redirect message to include IP instead hostname?

    Is it possible to configure somehow (via Oracle or OS settings) that on a TNS redirect message (as resulting from server-side load balancing), the embedded connection string contains the target instance address as an IP address instead of a hostname? Thanks!

    Ron wrote:
    Is it possible to configure somehow (via Oracle or OS settings) that on a TNS redirect message (as resulting from server-side load balancing), the embedded connection string contains the target instance address as an IP address instead of a hostname? Thanks!My guess is that this is dependent on how the Listener was instructed to listen on a port. I posted about in message {message:id=9120517} - how specifying an IP address as a listener end point changes the behaviour when specifying a hostname as end point instead.
    If instructed to use a specific IP address as listening end point, then it cannot really pass a hostname to the client as that hostname may resolve to another IP used by the server.
    It should be relatively simple to set up a test case for this - what Oracle (4 digit) version are you using?

  • Load balancing error 88: Cannot connect to message server (rc=9)

    Hi,
    We are facing a problem in the system object.
    initially we created a system object with loadbalancing template ,and everything worked fine, but after couple of months we found a error "Load balancing error 88: Cannot connect to message server (rc=9)", so we have created a Dedicated application server object which resolved our issue.
    My question is why has this problem occured, and since my client side has lot number of users and we wish to keep the system back to load balancing object.
    How can i make my system object work back, what might be the causes?
    Thanks
    Srivastsa Kondapally

    Load balancing only works if the message server is available and the logon group specified exists as well.  If one of those changes, then it will break until you get the values set correctly.

  • 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.

  • Adapter Engine Load balancing for Messages HTTP SOA/SOE

    Greetings all,
    We are currently implementing our SOE/SOA solution utilizing SAP services between a .Net Application.  Basically .Net -> PI -> ECC and back.
    We are load testing the system and are now experiencing the CI getting overloaded.
    We have upped the Thread Count (Thread Manager 350 and System Threads 120) and the Queue thread from 5 to 20. 
    We are using SOAP with Principal Propagation.
    There is a hardware load balancer we are using which can spread the load between multiple application servers.  We modified the SLDRegistration host and ports (http/https) in Visual Administrator (SAP XI AF CPA Cache) in the global server node.
    In SXI_CACHE Got -> Adapter Engine Cache, it displays http://<sidms>:<port>/MessagingSystem/receive/AFW/XI
    Is this where the load balancer should be placed with the port name?
    Any help would be appreciated.
    Thanks

    Hi Rocco
    For switch over environment setup look at SAP Note 774116
    Did you referred High availability guide
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cefe0399-0701-0010-8d86-b6b31cc5a681
    Looking at your requirement. Check withe the Use cases of F5 application setup for E SOA. That can help
    Thanks
    Gaurav

  • Error while selecting Load Balancing in JCO creation

    While creating JCO i am facing this error.It is working fine with Single server connection,but when i chose Load balancing i error comes out.Please tell me the solution.
    I have read couples of forum mentioned you need to start both Portal and ECC.
    For you information my Portal and Java are both on diffrrent Box.
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=olameccpdvr GROUP=PUBLIC R3NAME=DVR MSSERV=sapmsDVR PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       service 'sapmsDVR' unknown TIME        Thu Feb 24 12:19:54 201 RELEASE     701 COMPONENT   NI (network interface) VERSION     38 RC          -3 MODULE      nixxhsl.cpp LINE        776 DETAIL      NiHsLGetServNo: service name cached as unknown COUNTER     5

    Is your backend system configured correctly in your SLD ?
    Go to transaction SMMS on your backend system that your are connecting to. Click on Goto=>Parameters=>Display. Look for "server port" value.
    This should give you the TCP/IP port for your message server. It could be 3600 or 3601 (36NN - where NN is the instance number).
    In your services file, if you made the entry at the end of the file, press Enter (Return) after your entry.
    Try restarting your server after making the above changes.
    - Shanti

  • 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.

  • ISE 1.2 - Multiple NICs/Load Balancing for DHCP Probe

    Hello guys
    Just prepping an ISE 1.2 patch 8 setup in our organization. I am going for the virtual appliances with multiple NICs. It will be a distributed deployment with 4 x PSNs behind a load balancer and there is no requirement for wireless or guest user at the moment. I've got 2 points I will like to get some guidance on:
    Our DC has a dedicated mgmt network and I plan to IP the gig0 interface of the PANs, MNTs and PSNs from this subnet. All device admin, clustering, config replication, etc will be over this interface. However, RADIUS/probe/other user traffic to the ISE PSNs will be over the gig1 interface which will be addressed from another L3 network. Is this a supported configuration in ISE?
    I intend to use the DHCP probe as part of device profiling and will ideally like to have just an additional ip helper to add to our switch SVI config. Also, it will appear that WLCs can only be configured for 2 DHCP servers for a given network so another consideration for when we bringing our WLAN in scope. We however use ACE load balancers within our DC and from what I have read, they do not support DHCP load balancing. Are there any workarounds to using the DHCP probe with multiple PSNs without having to add each node as an ip helper/DHCP server on the NADs?
    Thanks in advance
    Sayre

    Hello Sayre-
    For Question #1:
    Management is restricted to GigabitEthernet 0 and that cannot be changed so you should be good there
    You can configure Radius and Profiling to be enabled on other interfaces
    Even though you are not using guest services yet, you can dedicate an interface just for that. As a result, you can separate guest traffic completely from your production network
    Take a look at this link for more info:
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-2/installation_guide/ise_ig/ise_app_c-ports.html
    For Question #2
    If you are using a Cisco WLC and running code 7.4 and newer you don't need to mess with the IP helper configurations. 
    The controller can be configured to act as a collector for client profiling and interact with the DHCP thread along with the RADIUS accounting task that is running on the controller. The controller receives a copy of the DHCP request packet sent from the DHCP thread and parses the DHCP packet for two options:
    –Option 12—HostName of the client
    –Option 60—The Vendor Class Identifier
    After this information is gathered from the DHCP_REQUEST packet, a message is formed by the controller with these option fields and is sent to the RADIUS accounting thread, which is in turn transmitted to the ISE in the form of an interim accounting message.
    Both DHCP and HTTP profiling settings are located under the "Advanced" configuration tab in the WLC
    On the other hand, you can also use Anycast for profiling. You can check out some of Cisco Live's sessions for more info on that. Here is one that is from a couple of years (There are more recent ones that are available as well):
    http://www.alcatron.net/Cisco%20Live%202013%20Melbourne/Cisco%20Live%20Content/Security/BRKSEC-3040%20%20Advanced%20ISE%20and%20Secure%20Access%20Deployment.pdf
    I hope this helps!
    Thank you for rating helpful posts!

  • SSO with SAP R/3 with load balancing as backend over the Web AS

    Hi,
    we have Netweaver 2004 at this time and we have to connect the portal to a BSP application in a load balancing environment.
    We set user mapping for the user and set the connection type from SAPLOGONTICKET to UIDPW. This is running for a test environment with only one R/3 system without load balancing.
    Does anyone know the setting parameters for a load balancing environment (ok, the message server and...?).
    Thank you.
    Best regards
    Patrizia

    Hi all,
    run into the same problem. Setting up a mapping with UIDPW in a non load balanced WEB-AS enviroment for BSP or Webdynpro for ABAP works fine. But if I go to set it up in a balanced system I can see the following behavior. The http request is send to the messageserver. This request enclosed my mapped user and password. The messageserver responds with an HTTP 301 wich contains one of my applicationservers, so far so good. The client sends a new request to the mentioned applicationserver but this time without the UIDPW. So the user will not be logged in.
    I was wondering if my backend have to issue logonticket too, cause today it only accept tickets from the portal.
    Is this is a bug or a feature?
    Regards,
    Bernd

  • Defining SERVER_NAME to use RUN_REPORT_OBJECT on a hardware load balancer

    Hi everybody,
    We are deploying a Forms application on OAS (actually Forms & Reports Services - FRS) 10.1.2.0.2 using a hardware load balancer, that distributes workload between two FRS instances on separate computers.
    Forms work without a hitch, but it is executing reports that's not working.
    The problem is that when using RUN_REPORT_OBJECT you have to supply the REPORT_SERVER parameter, and each computer has a different report server name, but you don't know in advance wich FRS instance you are going to connect to, because the URL is that of the load balancer.
    We thought that omitting the report server name from the report_object would do the trick but then we get an "FRM-41211 integration error" message
    What would be the right o recomended way to solve this problem?
    Thanks in advance,
    Miguel.

    What would be the right o recomended way to solve this problem?I don't know what would be the right or recomended way, I can say how we solved the problem in our Forms/Reports applications.
    We have a lookup table where each machine has some parameters configured, one of which is the reports server name. The first form in each application identifies the machine where it's running, and reads corresponding rows in that table.

  • Questions on replication and h/w load balancer

              Why does h/w load balancer have to support passive cookies and inspect them to
              dispatch the request to the primary server first? If we have in-memory replication
              and if h/w loadbalancer just dispatches the http request from the client to any
              of the weblogic servers in the cluster wouldnt this work?
              Is it to pin the session to the creator server to minimize the chance of replication
              misses due to n/w issues, member server slow speed, buffer overwrite etc.
              -Shiraz
              

    Yes, and previous to 6.1 (?) if the request showed up at the wrong server it
              would fail.
              Peace,
              Cameron Purdy
              Tangosol Inc.
              Tangosol Coherence: Clustered Coherent Cache for J2EE
              Information at http://www.tangosol.com/
              "Shiraz Zaidi" <[email protected]> wrote in message
              news:3c15aa10$[email protected]..
              >
              > Why does h/w load balancer have to support passive cookies and inspect
              them to
              > dispatch the request to the primary server first? If we have in-memory
              replication
              > and if h/w loadbalancer just dispatches the http request from the client
              to any
              > of the weblogic servers in the cluster wouldnt this work?
              >
              > Is it to pin the session to the creator server to minimize the chance of
              replication
              > misses due to n/w issues, member server slow speed, buffer overwrite etc.
              >
              > -Shiraz
              

  • Exposing a webservice on ECC 5.0 in a load balancing setup

    Hi
       We have a webservice exposed on ECC 5.0 that is being invoked by an external system. When we move this webservice to our production environment - which is load balanced and has a logon group setup - we need to be able to expose this webservice - not on a single application server - but be available on the logon group ( message server ) so that the url that we provide for the webservice to the external system does not contain  a single application server - but points to the logon group. We do not have a web dispatcher in our environment/architecture.
    How do we go about exposing this point-to-point webservice on ECC 5.0 in a load balanced setup ? Any suggestions, experiences that can be shared ?

    This  can be done though SICF.
    If you click on a service, their is a service data tab.
    underthat tab is a Load Balancing option.
    This then points the service at the SMLG logon group.
    Regards
    James

Maybe you are looking for