Distributed Queue - Unable To Load Balance Between Each Time A Send Method Is Called

Hi,
          According to the JMS documentation, I should be able to get the
          distributed queue to load balance
          between each time the message producer calls Message.send(). I was not
          able to achieve this, however,
          I noticed the load balancing happens when a JMS client is stopped and
          restarted (meaning totally
          exit the JVM and restart the JVM).
          Here is my configuration:
          WLS 8.1 SP2 on XP
          One cluster with two nodes (running on the same machine w/ different port)
          Each node hosts one JMS server, which hosts one physical queue and using
          JDBC store
          One distributed queue with two physical members from each of the JMS
          server.
          JMS Connection Factory is configured with "Load Balancing Enabled" set to
          yes,
          and "Server Affinity Enabled" to no. This connection factory is target to
          the cluster.
          The queue session for the queue sender is created with transaction setting
          to false.
          Any hints and ideas would greatly appreciated.
          Here is the content of config.xml:
          ========================================================================
          <?xml version="1.0" encoding="UTF-8"?>
          <Domain ConfigurationVersion="8.1.0.0" Name="odh">
          <Cluster ClusterAddress="localhost:8001,localhost:9001"
          MulticastAddress="237.0.0.1" Name="odhCluster_1"/>
          <Server ListenAddress="" ListenPort="7001" Machine="localhost"
          Name="odhAdmin" NativeIOEnabled="true" ServerVersion="8.1.2.0">
          <SSL Enabled="false" HostnameVerificationIgnored="false"
          IdentityAndTrustLocations="KeyStores" Name="odhAdmin"/>
          </Server>
          <Server Cluster="odhCluster_1" ExpectedToRun="false"
          IIOPEnabled="false" ListenAddress="" ListenPort="8001"
          Machine="localhost" Name="odhManagedServer_1"
          NativeIOEnabled="true" ServerVersion="8.1.2.0">
          <SSL Enabled="false" IdentityAndTrustLocations="KeyStores"
          Name="odhManagedServer_1"/>
          <ExecuteQueue Name="weblogic.kernel.Default" ThreadCount="15"/>
          </Server>
          <Server Cluster="odhCluster_1" ExpectedToRun="false"
          IIOPEnabled="false" ListenAddress="" ListenPort="9001"
          Machine="localhost" Name="odhManagedServer_2"
          NativeIOEnabled="true" ServerVersion="8.1.2.0">
          <SSL Enabled="false" IdentityAndTrustLocations="KeyStores"
          Name="odhManagedServer_2"/>
          <ExecuteQueue Name="weblogic.kernel.Default" ThreadCount="15"/>
          </Server>
          <MigratableTarget Cluster="odhCluster_1"
          Name="odhManagedServer_1 (migratable)"
          Notes="This is a system generated default migratable target for a
          server. Do not delete manually."
          UserPreferredServer="odhManagedServer_1"/>
          <MigratableTarget Cluster="odhCluster_1"
          Name="odhManagedServer_2 (migratable)"
          Notes="This is a system generated default migratable target for a
          server. Do not delete manually."
          UserPreferredServer="odhManagedServer_2"/>
          <Machine Name="localhost">
          <NodeManager ListenAddress="localhost" Name="localhost"/>
          </Machine>
          <JMSConnectionFactory AcknowledgePolicy="All"
          DefaultDeliveryMode="Persistent"
          JNDIName="com.neoforma.ConnectionFactory"
          Name="odhConnectionFactory" ServerAffinityEnabled="false"
          Targets="odhCluster_1" XAConnectionFactoryEnabled="true"/>
          <JMSDistributedQueue JNDIName="com.neoforma.odhDistributedQueue_1"
          LoadBalancingPolicy="Round-Robin" Name="odhDistributedQueue_1"
          Targets="odhCluster_1">
          <JMSDistributedQueueMember JMSQueue="odhQueue_1"
          Name="DistributedQueueMember_1"/>
          <JMSDistributedQueueMember JMSQueue="odhQueue_2"
          Name="DistributedQueueMember_2"/>
          </JMSDistributedQueue>
          <JMSJDBCStore ConnectionPool="odhMessagePool"
          Name="odhJMSJDBCStore_1" PrefixName="Order1_"/>
          <JMSJDBCStore ConnectionPool="odhMessagePool"
          Name="odhJMSJDBCStore_2" PrefixName="Order2_"/>
          <JMSServer Name="odhJMSServer_1" Store="odhJMSJDBCStore_1"
          Targets="odhManagedServer_1">
          <JMSQueue CreationTime="1076439896999"
          JNDIName="com.neoforma.odhQueue_1" Name="odhQueue_1"
          StoreEnabled="true"/>
          </JMSServer>
          <JMSServer Name="odhJMSServer_2" Store="odhJMSJDBCStore_2"
          Targets="odhManagedServer_2">
          <JMSQueue CreationTime="1076439664343"
          JNDIName="com.neoforma.odhQueue_2" Name="odhQueue_2"
          StoreEnabled="true"/>
          </JMSServer>
          <JDBCConnectionPool
          DriverName="oracle.jdbc.xa.client.OracleXADataSource"
          Name="odhConnectionPool" Password="...."
          Properties="user=..." Targets="odhCluster_1"
          TestTableName="SQL SELECT 1 FROM DUAL" URL="................."/>
          <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
          Name="odhMessagePool" Password="....."
          Properties="user=....." Targets="odhCluster_1"
          TestTableName="SQL SELECT 1 FROM DUAL" URL="............."/>
          <JDBCMultiPool AlgorithmType="High-Availability"
          Name="odhJDBCMultiPool_1"
          PoolList="odhConnectionPool,odhMessagePool"
          Targets="odhCluster_1"/>
          <JDBCTxDataSource EnableTwoPhaseCommit="false"
          JNDIName="com.neoforma.order.orderDS" Name="odhJDBCDataSource_1"
          PoolName="odhConnectionPool" Targets="odhCluster_1"/>
          <Security Name="odh" PasswordPolicy="wl_default_password_policy"
          Realm="wl_default_realm" RealmSetup="true"/>
          <!--
          <EmbeddedLDAP
          Credential="{3DES}j+xkS9y1EYJUfic+M9ZJ+5DqGjiwTaVnt+Ti0TQWxXg="
          Name="odh"/>
          <SecurityConfiguration
          Credential="{3DES}OiyDMEOJS4gPLumKeKYWC+Kj9xWib6MhbmrNjeBmjJ7bpJypNb6Z7bUtAQF/bvi2RrFMs+3kqKerWNyD3NyT3QsrsyPoBDT0"
          Name="odh" RealmBootStrapVersion="1"/>
          -->
          <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
          <FileRealm Name="wl_default_file_realm"/>
          <PasswordPolicy Name="wl_default_password_policy"/>
          <Application Deployed="true" Name="odh.ear"
          Path="D:\bea\user_projects\domains\odh\applications\odh.ear"
          StagedTargets="odhManagedServer_1,odhManagedServer_2"
          StagingMode="stage" TwoPhase="true">
          <EJBComponent Name="odh.jar" Targets="odhCluster_1" URI="odh.jar"/>
          </Application>
          <StartupClass ClassName="com.neoforma.startup.JMXMBeanStartup"
          DeploymentOrder="1" Name="ODH MBean Startup Class"
          Notes="ODH MBean Startup Class - Note" Targets="odhAdmin"/>
          <EmbeddedLDAP
          Credential="{3DES}YFY55/dsdxI9HL/AKGRXHuR1VwyJewNFdAHdrtk/WMM="
          Name="odh"/>
          <SecurityConfiguration
          Credential="{3DES}ZCPa1Bsrj3z2DhVKVUbq32zTYipDVff+LDB9+1b2Dr4VLhz5yjZyHgPheqS/kum4VVZamDYN07Hyb6rALiCTHhwt1EzK5+M+"
          Name="odh" RealmBootStrapVersion="1"/>
          </Domain>
          

Thanks for the Makiey. I am surprise that BEA hasn't come back with any
          info.
          Hien
          On 7 Jul 2004 01:51:01 -0700, makiey <[email protected]> wrote:
          >
          > Hi Hien Luu,
          >
          > We also have a problem with load balancing, tested with WLS 7.0 SP4 and
          > WLS 8.1
          > SP2 (HP UX). The only "working" configuration is load-balancing policy =
          > random
          > (CF deployed to cluster, load balancing enabled, affinity disabled).
          > With the
          > "round-robin" policy we cannot utilize more than 50% dis. queue's
          > members.
          >
          > I'm trying to prepare a reproducer...
          >
          > greetings,
          > makiey
          >
          >
          > "Hien Luu" <[email protected]> wrote:
          >> Hi,
          >>
          >> According to the JMS documentation, I should be able to get the =
          >>
          >> distributed queue to load balance
          >> between each time the message producer calls Message.send(). I was not
          >> =
          >> =
          >>
          >> able to achieve this, however,
          >> I noticed the load balancing happens when a JMS client is stopped and
          >> =
          >>
          >> restarted (meaning totally
          >> exit the JVM and restart the JVM).
          >>
          >> Here is my configuration:
          >>
          >> WLS 8.1 SP2 on XP
          >> One cluster with two nodes (running on the same machine w/ different
          >> por=
          >> t)
          >> Each node hosts one JMS server, which hosts one physical queue and
          >> using=
          >> =
          >>
          >> JDBC store
          >> One distributed queue with two physical members from each of the JMS
          >> =
          >>
          >> server.
          >> JMS Connection Factory is configured with "Load Balancing Enabled" set
          >> t=
          >> o =
          >>
          >> yes,
          >> and "Server Affinity Enabled" to no. This connection factory is target
          >> =
          >> to =
          >>
          >> the cluster.
          >>
          >> The queue session for the queue sender is created with transaction
          >> setti=
          >> ng =
          >>
          >> to false.
          >>
          >> Any hints and ideas would greatly appreciated.
          >>
          >>
          >> Here is the content of config.xml:
          >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
          >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
          >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
          >>
          >> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
          >> <Domain ConfigurationVersion=3D"8.1.0.0" Name=3D"odh">
          >> <Cluster ClusterAddress=3D"localhost:8001,localhost:9001"
          >> MulticastAddress=3D"237.0.0.1" Name=3D"odhCluster_1"/>
          >> <Server ListenAddress=3D"" ListenPort=3D"7001" Machine=3D"localhost=
          >> "
          >> Name=3D"odhAdmin" NativeIOEnabled=3D"true" ServerVersion=3D"8.1=
          >> .2.0">
          >> <SSL Enabled=3D"false" HostnameVerificationIgnored=3D"false"
          >> IdentityAndTrustLocations=3D"KeyStores" Name=3D"odhAdmin"/>=
          >>
          >> </Server>
          >> <Server Cluster=3D"odhCluster_1" ExpectedToRun=3D"false"
          >> IIOPEnabled=3D"false" ListenAddress=3D"" ListenPort=3D"8001"
          >> Machine=3D"localhost" Name=3D"odhManagedServer_1"
          >> NativeIOEnabled=3D"true" ServerVersion=3D"8.1.2.0">
          >> <SSL Enabled=3D"false" IdentityAndTrustLocations=3D"KeyStores"
          >> =
          >> =
          >>
          >> Name=3D"odhManagedServer_1"/>
          >> <ExecuteQueue Name=3D"weblogic.kernel.Default" ThreadCount=3D"1=
          >> 5"/>
          >> </Server>
          >> <Server Cluster=3D"odhCluster_1" ExpectedToRun=3D"false"
          >> IIOPEnabled=3D"false" ListenAddress=3D"" ListenPort=3D"9001"
          >> Machine=3D"localhost" Name=3D"odhManagedServer_2"
          >> NativeIOEnabled=3D"true" ServerVersion=3D"8.1.2.0">
          >> <SSL Enabled=3D"false" IdentityAndTrustLocations=3D"KeyStores"
          >> =
          >> =
          >>
          >> Name=3D"odhManagedServer_2"/>
          >> <ExecuteQueue Name=3D"weblogic.kernel.Default" ThreadCount=3D"1=
          >> 5"/>
          >> </Server>
          >> <MigratableTarget Cluster=3D"odhCluster_1"
          >> Name=3D"odhManagedServer_1 (migratable)"
          >> Notes=3D"This is a system generated default migratable target
          >> f=
          >> or a =
          >>
          >> server. Do not delete manually."
          >> UserPreferredServer=3D"odhManagedServer_1"/>
          >> <MigratableTarget Cluster=3D"odhCluster_1"
          >> Name=3D"odhManagedServer_2 (migratable)"
          >> Notes=3D"This is a system generated default migratable target
          >> f=
          >> or a =
          >>
          >> server. Do not delete manually."
          >> UserPreferredServer=3D"odhManagedServer_2"/>
          >> <Machine Name=3D"localhost">
          >> <NodeManager ListenAddress=3D"localhost" Name=3D"localhost"/>
          >> </Machine>
          >> <JMSConnectionFactory AcknowledgePolicy=3D"All"
          >> DefaultDeliveryMode=3D"Persistent"
          >> JNDIName=3D"com.neoforma.ConnectionFactory"
          >> Name=3D"odhConnectionFactory" ServerAffinityEnabled=3D"false"
          >> Targets=3D"odhCluster_1" XAConnectionFactoryEnabled=3D"true"/>
          >> <JMSDistributedQueue JNDIName=3D"com.neoforma.odhDistributedQueue_1=
          >> "
          >> LoadBalancingPolicy=3D"Round-Robin" Name=3D"odhDistributedQueue=
          >> _1" =
          >>
          >> Targets=3D"odhCluster_1">
          >> <JMSDistributedQueueMember JMSQueue=3D"odhQueue_1" =
          >>
          >> Name=3D"DistributedQueueMember_1"/>
          >> <JMSDistributedQueueMember JMSQueue=3D"odhQueue_2" =
          >>
          >> Name=3D"DistributedQueueMember_2"/>
          >> </JMSDistributedQueue>
          >> <JMSJDBCStore ConnectionPool=3D"odhMessagePool"
          >> Name=3D"odhJMSJDBCStore_1" PrefixName=3D"Order1_"/>
          >> <JMSJDBCStore ConnectionPool=3D"odhMessagePool"
          >> Name=3D"odhJMSJDBCStore_2" PrefixName=3D"Order2_"/>
          >> <JMSServer Name=3D"odhJMSServer_1" Store=3D"odhJMSJDBCStore_1"
          >> =
          >>
          >> Targets=3D"odhManagedServer_1">
          >> <JMSQueue CreationTime=3D"1076439896999"
          >> JNDIName=3D"com.neoforma.odhQueue_1" Name=3D"odhQueue_1"
          >> =
          >>
          >> StoreEnabled=3D"true"/>
          >> </JMSServer>
          >> <JMSServer Name=3D"odhJMSServer_2" Store=3D"odhJMSJDBCStore_2"
          >> =
          >>
          >> Targets=3D"odhManagedServer_2">
          >> <JMSQueue CreationTime=3D"1076439664343"
          >> JNDIName=3D"com.neoforma.odhQueue_2" Name=3D"odhQueue_2"
          >> =
          >>
          >> StoreEnabled=3D"true"/>
          >> </JMSServer>
          >> <JDBCConnectionPool
          >> DriverName=3D"oracle.jdbc.xa.client.OracleXADataSource"
          >> Name=3D"odhConnectionPool" Password=3D"...."
          >> Properties=3D"user=3D..." Targets=3D"odhCluster_1"
          >> TestTableName=3D"SQL SELECT 1 FROM DUAL" URL=3D"...............=
          >> .."/>
          >> <JDBCConnectionPool DriverName=3D"oracle.jdbc.driver.OracleDriver"
          >> Name=3D"odhMessagePool" Password=3D"....."
          >> Properties=3D"user=3D....." Targets=3D"odhCluster_1"
          >> TestTableName=3D"SQL SELECT 1 FROM DUAL" URL=3D"............."/=
          >>>
          >> <JDBCMultiPool AlgorithmType=3D"High-Availability"
          >> Name=3D"odhJDBCMultiPool_1"
          >> PoolList=3D"odhConnectionPool,odhMessagePool" =
          >>
          >> Targets=3D"odhCluster_1"/>
          >> <JDBCTxDataSource EnableTwoPhaseCommit=3D"false"
          >> JNDIName=3D"com.neoforma.order.orderDS" Name=3D"odhJDBCDataSour=
          >> ce_1"
          >> PoolName=3D"odhConnectionPool" Targets=3D"odhCluster_1"/>
          >> <Security Name=3D"odh" PasswordPolicy=3D"wl_default_password_policy=
          >> "
          >> Realm=3D"wl_default_realm" RealmSetup=3D"true"/>
          >> <!--
          >> <EmbeddedLDAP
          >> Credential=3D"{3DES}j+xkS9y1EYJUfic+M9ZJ+5DqGjiwTaVnt+Ti0TQWxXg=
          >> =3D" =
          >>
          >> Name=3D"odh"/>
          >> <SecurityConfiguration
          >> Credential=3D"{3DES}OiyDMEOJS4gPLumKeKYWC+Kj9xWib6MhbmrNjeBmjJ7=
          >> bpJypNb6Z7bUtAQF/bvi2RrFMs+3kqKerWNyD3NyT3QsrsyPoBDT0"
          >> Name=3D"odh" RealmBootStrapVersion=3D"1"/>
          >> -->
          >> <Realm FileRealm=3D"wl_default_file_realm" Name=3D"wl_default_realm=
          >> "/>
          >> <FileRealm Name=3D"wl_default_file_realm"/>
          >> <PasswordPolicy Name=3D"wl_default_password_policy"/>
          >> <Application Deployed=3D"true" Name=3D"odh.ear"
          >> Path=3D"D:\bea\user_projects\domains\odh\applications\odh.ear"
          >> StagedTargets=3D"odhManagedServer_1,odhManagedServer_2"
          >> StagingMode=3D"stage" TwoPhase=3D"true">
          >> <EJBComponent Name=3D"odh.jar" Targets=3D"odhCluster_1" URI=3D"=
          >> odh.jar"/>
          >> </Application>
          >> <StartupClass ClassName=3D"com.neoforma.startup.JMXMBeanStartup"
          >> DeploymentOrder=3D"1" Name=3D"ODH MBean Startup Class"
          >> Notes=3D"ODH MBean Startup Class - Note" Targets=3D"odhAdmin"/>=
          >>
          >> <EmbeddedLDAP
          >> Credential=3D"{3DES}YFY55/dsdxI9HL/AKGRXHuR1VwyJewNFdAHdrtk/WMM=
          >> =3D" =
          >>
          >> Name=3D"odh"/>
          >> <SecurityConfiguration
          >> Credential=3D"{3DES}ZCPa1Bsrj3z2DhVKVUbq32zTYipDVff+LDB9+1b2Dr4=
          >> VLhz5yjZyHgPheqS/kum4VVZamDYN07Hyb6rALiCTHhwt1EzK5+M+"
          >> Name=3D"odh" RealmBootStrapVersion=3D"1"/>
          >> </Domain>
          >
          Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
          

Similar Messages

  • 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

  • Load balancing between Instance for same external IP client

    Hi,
    I have a azure website which is single tenant and is going to be used inside a single Domain from same region.
    Now my website provide good  performance till 20 concurrent request. I want to scale this so that it can reach up to 30 - 40 -100 so on.
    What are the options available to achieve this. till now what i have figured out is that
    1. If i increase the web site instance or on the auto scale option. It load balances between the instances on the basis of Client external I.P. but in my case all the users which are using the site shares the same external IP. 
    I have tested it increasing the instances doesn't make any impact on my performance results. 
    2. I have also looked in traffic manager but that case is valid when the clients are on different GeoLocations which is also not valid in my case.
    So my basic Question is if i have a pool of different scenarios where 
    100 users uses 1 azure website
    200 uses uses 1 azure website
    1000 users uses 1 azure website
    what infra should i take for each website to support this have performnace same as 100 users.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

    Hi,
    I would request you to configure Web hosting plan and check if it helps in increasing the performance.
    It gives a set of features and capacity that you can share across your websites separately.
    http://azure.microsoft.com/en-us/documentation/articles/azure-web-sites-web-hosting-plans-in-depth-overview/
    Regards,
    Azam Khan

  • Round robin DNS for load balancing between multiple network adapters (Xserve)

    I'm attempting to use 'round robin' DNS to load balance between the two ethernet adapters of an Xserve.
    Both ethernet adapters are connected to the same LAN and have static IP addresses of 192.168.2.250 and 192.168.2.251.
    The DNS zone for the server's local domain/host (macserver.private) has a machine record with both IP addresses (set up in the Lion Server UI).
    Having read up on round robin DNS, I would have expected DNS requests for 'macserver.private' to be answered with the two IP addresses ordered at random, achiving my aim of requests being served at random via each ethernet adapter.
    However this doesn't seem to be the case. Doing a 'nslookup' from any of the network clients results in the two IP addresses being listed in the same order everytime. And pinging 'macserver.private' only ever results in a response from the same address.
    Does anyone know why this is the case? Does Lion Server use a non-standard DNS configuration? Are there any additional settings I need to configure in Lion's DNS server to make adopt a round robin approach to responding to requests?
    Thanks in advance for any help!

    Be careful what you wish for
    Round Robin DNS is rarely the best option for 'load balancing'. At the very least it's subject to caching at various point on the network - even at the client side, once the client looks up the address it will cache that response - this means that subsequent lookups may be served from the client's cache and not refer back to the server. Therfore any given client will always see the same address until the cache expires.
    I suspect this is what you're seeing.
    You can minimize this by setting a lower TTL on the records. This should result in the response being cached for a shorter period, meaning the client will make more requests to the server, with a higher change of using the 'other' address.
    However, you're also going to run into issues with the server having two interfaces/addresses in the same LAN. This isn't recommended.
    As Jonathon mentioned, you may be better off just bonding the two interfaces. This will provide an automatic level of dynamic load balancing without the latency of DNS caches, as well as automatic failover should one link fail (as opposed to round robin DNS which will cause 50% of requests to fail until the client cache expires and a new lookup is performed (and, even then, there's still a chance the client will try to use the failed link).

  • Distributed HA cluster with load-balancing and failover: advice?

    My workplace has a Xeon Xserve, which acts as our primary external server, with an attached ActiveStorage XRAID. We have just purchased a second Xserve/XRAID set to act as a mirror, which we will colocate. Both have Leopard Server installed, along with an array of additional software.
    What we want to do is have both servers load-balance between the two, with failover in case of a server or XRAID fault. I plan on using RSYNC to mirror static files between the two, and I'm looking into PostgreSQL replication and load-balancing solutions for our database. I gather that Apache supports web-server failover and load-balancing, as well. But, that still leaves the actual host and network setup to arrange.
    Does Leopard server support such a thing? The only information I found on IP failover instructs the user to place the two servers on the same subnet, directly connected via ethernet cable; obviously, this would not work in my case.
    Ideally, what we'd end up with is a situation in which the two systems kept each other in sync, both in static files and database data, and load-balanced between themselves; in cases of failure, the remaining system would transparently assume all duties until the other was restored, at which time they would resynchronize
    Any suggestions on how I could arrange such a thing?

    Interesting. Does this DNS-based approach support session tracking, though? I would need to have a user directed to just one of the two servers for the duration of their session, to avoid having to synchronize temporary files and such.
    You can't have it both ways. You need to build tolerance into the app.
    At the simplest level where you run all traffic to one site and use the second site as a failover/standby site you'll be OK most of the time - all users will go to the same server and their sessions will be intact.
    However, under any failover situation (your primary site is down for some reason), there is going to be some level of session traffic that it going to switch over to the other site. If your site depends on sessions then you're going to need to tolerate this kind of situation - your app will need to be able to fail gracefully if a user comes in with an invalid session cookie.
    Note, though, that this may be less of an issue than you at first think - all DNS clients will cache DNS data for whatever TTL you set. This means that if a user looks up your site name and you return an IP address with a 30 minute TTL, then that user is going to use the same IP address for the next 30 minutes and isn't going to ask the server again. This should negate most chance of a user suddenly switching from one server location to the other in mid-session.
    The trick comes in setting the DNS TTL low enough to effect a failover, yet not so long that you impact performance - e.g. you don't want the user to perform a DNS lookup on every page load. You may find that 10 minutes is appropriate. Just bear in mind that this affects how long a user could see your site 'down' before the failover DNS kicks in. Clearly you don't want to set the DNS TTL to a day since that may prevent the user switching to the secondary site for 24 hours by which time, hopefully, the primary site is back up, anyway.
    The 'right' TTL value may take some analysis on your traffic to see how long a typical user 'session' is. If the average user spends 20 minutes on your site, then it would make sense to set your TTL to somewhere around 20 minutes to give the best chance of their entire session staying on the same server.

  • 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 between two interfaces on 2811

    Hi,
    We have a 2811 router with VPN and NAT configured. We have two internet connection from different ISPs. The speed of our original connection is 2MB up and down. The speed of our new connection is 1MB up and down. We want to configure load balancing between the two connections. Our new ISP has provided us with a CISCO 837 router. We want to connect that router into our 2811 on one of the free WIC card and then configure load balancing between the two interfaces on our 2811. The third interface has a local address configured. Please suggest where to start. I tried searching on net for any configuration example but I was unable to find any particular example with commands. I am new on CISCO platform. Any help will be hugely appreciated. Thanks in advance.

    Raju,
    you have two choices as far as I can see. If you want to use static routing over the WAN to your branch, you could duplicate your static routes to the branch and point them to the secondary router. You will have two identical sets of static routes in the primary router, one set pointing to the WAN interface and the other one pointing to the secondary router.
    ip route x.x.x.x "WAN-interface"
    ip route x.x.x.x "secondary router"
    ip route y.y.y.y "WAN-interface"
    ip route y.y.y.y "secondary router"
    etc.
    As a result the primary router will have two routes to the branch and will load-balance. If one next-hop fails (either the WAN interface or the secondary router), only the other will be used. If the next-hop comes back up, load-balancing will resume.
    The other choice would be to use EIGRP over the WAN, and make sure the two routers become EIGRP neighbors. Then you can use the "variance" command to achieve unequal cost load-balancing between the two routers. Let me know if you need more information about this, but i think static routes will be sufficient in your situation.
    HTH, Thomas

  • Load balancing between two routers

    I have two routers connected through the LAN connection. The first one is using as routing protocol EIGRP, the other one is part of the managed service and I do not have access to it. I would like to make a load balancing between the two of them by redistributing the static routes in EIGRP. When I tried this, I am loosing the EIGRP entry for this route in the routing table. I would like to have both of them , so we could have traffic sharing. I appreciate if you give me any hints.

    Raju,
    you have two choices as far as I can see. If you want to use static routing over the WAN to your branch, you could duplicate your static routes to the branch and point them to the secondary router. You will have two identical sets of static routes in the primary router, one set pointing to the WAN interface and the other one pointing to the secondary router.
    ip route x.x.x.x "WAN-interface"
    ip route x.x.x.x "secondary router"
    ip route y.y.y.y "WAN-interface"
    ip route y.y.y.y "secondary router"
    etc.
    As a result the primary router will have two routes to the branch and will load-balance. If one next-hop fails (either the WAN interface or the secondary router), only the other will be used. If the next-hop comes back up, load-balancing will resume.
    The other choice would be to use EIGRP over the WAN, and make sure the two routers become EIGRP neighbors. Then you can use the "variance" command to achieve unequal cost load-balancing between the two routers. Let me know if you need more information about this, but i think static routes will be sufficient in your situation.
    HTH, Thomas

  • Question about load balancing between Portal and ABAP

    Hi,
    I have the problem whit load balancing between Portal and ECC (ERC) ABAP
    Exist two system:
    1) ECC (ERP) ABAP = Backend     Module = HR
    2) EP (JAVA) = Frontend
    The users (9000 users) logon in the EP and run query (data personal) in the ECC.  The problem to all user connect in Central Instance and not in the Dialog Instance.
    How can balancing the conecction HTTP (EP) to ECC (ABAP)??
    I need balancing in the ECC to Dialog Instance

    Jco -> right. Another possibility is that you use iviews that point to the backend in this case you will need to use a load balanced entry for the backend system in the [system landscape|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/8c1e438d7017fce10000000a42189c/frameset.htm] -> SAP_R3_LoadBalancing
    If you have ESS deployed on your portal, you will most probably need to do both.
    Cheers Michael

  • Why Do I have to load adobe Flashplayer each time I switch my computer off and on again this only started about 2 weeks ago is it a firefox problem or an adobe issue????

    Why Do I have to load adobe Flashplayer each time I switch my computer off and on again this only started about 2 weeks ago is it a firefox problem or an adobe issue. I am using adobe Flashplayer ver 11

    This is a good question. It's possible your Xserver isn't configured for the correct mouse type. Try logging into a command line console (no X11 running). Run /usr/bin/X11/X -configure. It should create an Xorg configuration file in your root directory.
    Copy this to /etc/X11/Xorg.conf and try restarting your Xserver. The file it creates might require some tweaking.

  • How can I force Mail to ask me to choose outgoing server each time I send an email?

    I work for 3 different companies and I have 3 different mail accounts in my Mail for each of them. It happens to me very often that my email is sent from the wrong account, causing me a lot of trouble. This is of course my human mistake, but I want to limit this and would like to know if there is an option to force Mail to ask me for mail server each time I send an email?

    Mail/Preferences/Accounts/Account/Account Information - try checking use only this server.
    If that doesn't work properly, select the server, click Edit SMTP Server List and set up the server with your e-mail address so each one is named differently. Test.

  • Following the latest update, each time I send a message on my iPhone 4 the same message is sent back to my phone. How do I fix this please?

    Following the latest update, each time I send a message on my iPhone 4 the same message is sent back to my phone. How do I fix this please?

    i have the same problem but i'm using an original iphone 5s cable and i still get this annoying message constantly. the message keeps coming up and dissppears quicly before i can select "trust".

  • Is there auto load balance  between 2 active webi services?

    Hi ,
    I have not seen any kind documentation from SAP whether BOBJ can auto load balance requests in round robin fashion between 2 or more webi services.
    The only theory or belief that i see & hear is that upon reaching the max connection threshold  of one webi service, bobj will start diverting the next requests to second webi service.
    So now i am looking for some kind of clarification on whether auto load balance happens between multiple webi services in round robin fashion or not.
    Please share if any one has idea about this.
    Thanks,
    Srikar

    Thanks to everyone who tried to respond to my question.
    But i just got below response from SAP:
    =====================================================
    I would like to inform you that CMS distributes the load (jobs) to
    servers according to the server availability (maximum jobs allocated
    to individual server). This is a generally how load is balanced
    between CMS and various job servers and processing servers.
    =====================================================
    Now i am more confused. I personally did some little testing by creating 2 webi services and tried to view multiple webi reports. What i observed is  it does pick up different webi services only while at the start of report viewing. But once it picks up perticualr webi service, that same user session is sticking to previously picked up webi service and always  goes to the same process for processing.
    But now SAP response is bit more confusing.
    Thanks,
    Srikar

  • 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

  • Load balance between DLSw and CIP routers

    Take a look on this environment:
    - 4 routers receiving all DLSw peers and circuits
    - 4 routers with CIP boards connected to 2 mainframes
    All CIP routers are configured with same MAC address. All routers (DLSw and CIP) are connected on a Ethernet LAN switching, so this traffic are pure LLC2.
    How I can balance the traffic between DLSw and CIP routers ?
    Thank's in advance.

    I am not sure if I totally understand the topology. Let me rephrase it. Please correct me if I misunderstand the topology. In a data centre, there are 4 DLSw routers terminating DLSw peer connections from the remote sites. In the same data centre, there are 4 CIP routers which connects to 2 mainframes. CSNA is configured on all CIP router, which uses the same MAC. You configure transparent bridging on the DLSw routers, which connect to the same ethernet switches as the CIP routers. You configure SR/TLB on the CIP routers; so that all LLC2 circuits coming from the DLSw routers connect through the ethernet interfaces of the CIP routers.
    Do you want the LLC2 circuits from a DLSw router load balance across 4 CIP routers? As duplicate MAC address is not allowed, there is no way to connect all 4 DLSw routers and CIP 4 routers on the same VLAN.
    I can think of a couple of workarounds.
    1. Enable SNASw on the 4 DLSw routers. Create a VDLC port on all 4 DLSw routers. The MAC address of the VDLC interface is the same. The VDLC MAC address is pointed by the remote SNA stations. Each DLSw router uses one of the CIP routers as DLUS.
    2. If this is the case, create 4 VLANs on the ethernet switches. Connect a pair of DLSw router and CIP router to each VLAN.

Maybe you are looking for

  • Hp officejet pro 8500

    We have an HP Officejet Pro 8500 that continually is aligning the printer.  We removed the printheads and shook them 6 times and then put them back in.  The printer cleaned the printheads nad then goes back to "printer alignment" and keep printing ou

  • Mini not updating

    The iPod mini has no problem charging, but it will not update. The songs are added to iTunes but can't get on to the actual iPod. What can I do about this?

  • Single alert for error from multiple BPM call

    Hi all, we have following scenario (using BPM): IDOC -> XI -> sync web service ->XI-> IDOC. In case of WS failure (destination system is not answering) an alert should be triggered on XI. There is one customer restriction that the alert can be trigge

  • Transaction Tempaltes

    Version:2007A SP01 PL07 Description of requirements: By using a transaction template there should all data be available in the journal entry as they´re in the transaction template. for example if you rename an account. In the same way there should be

  • I need to re-install java, How do I?

    Hi, I am attempting to play Minecraft(a game) but apparently I have a broken Java installation. I have been asked to find out how (Because the IT at school do not know) to reinstall java6. I am running Mac 10.6 Snow leopard. Erm... Comment if I need