Howto - connection load balancing

Hello
I have a 11.1.0.7 clustered oracle db with two nodes. Using the oci access through the ojdbc14.jar for oracle 9.2.0.1 I programmed a datasource like this:
public class DataSource_9i_oci
extends OracleOCIConnectionPool
public DataSource_9i_oci() throws SQLException
super();
setUser(RACBehaviourTest.UNAME);
setPassword(RACBehaviourTest.PSWD);
setURL("jdbc:oracle:oci:@tnsname");
Properties poolConfig = new java.util.Properties( );
poolConfig.put (OracleOCIConnectionPool.CONNPOOL_MIN_LIMIT, "1");
poolConfig.put (OracleOCIConnectionPool.CONNPOOL_MAX_LIMIT, "100");
poolConfig.put (OracleOCIConnectionPool.CONNPOOL_INCREMENT, "2");
setPoolConfig(poolConfig);
My TNSNAMES.ORA contains the name
tnsname=
(description=
(load_balance=on)
(failover=on)
(address_list=
(address=(protocol=tcp)(host=xxx.xx.xx.xxx)(port=1521))
(address=(protocol=tcp)(host=xxx.xx.xx.xxx)(port=1521)))
(connect_data=
(service_name=service.name)
(failover_mode =
(type = select)
(method = basic))))
Then I spawned a group of threads each issuing a select statement and holding after that, until a central thread collects session statisticss from gv$session about the opened sessions in each instance for my user, and unblocks the working threads only after that.
This test is aimed at evaluating the load balancing capabilities of the oci vs thin drivers in different versions. The code above is the data source being used with the 9.2.0.1 oci driver.
Then I have another DataSource to be used in the same test and the ojdbc6.jar thin driver for 11.1.0.7. It is programmed like this:
public class DataSource_11g_thin
extends OracleDataSource
public DataSource_11g_thin(boolean enableFCF) throws SQLException
super();
String url = "jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on) " +
"(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xx.xx.xxx) (PORT=1521)) " +
"(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xx.xx.xxx) (PORT=1521)) " +
"(CONNECT_DATA=(SERVICE_NAME=service.name)))";
setURL(url);
setUser(RACBehaviourTest.UNAME);
setPassword(RACBehaviourTest.PSWD);
setImplicitCachingEnabled(true);
Properties props = new Properties();
props.setProperty("InitialLimit", "500");
props.setProperty("MaxLimit", "500");
props.setProperty("ValidateConnection", "true");
setConnectionCacheProperties(props);
This test is using connection load balancing without leveraging the FAN infrastructure.
So, with this setup and creating 100 threads, what my tests show is that there's no load balancing in the 9i oci driver, all the 100 sessions are being opened in the same instance. The 11g thin driver however, distributes the opened sessions between the two nodes, even if in an unbalanced way (70-30).
Is there any way to activate load balancing in the oci driver ? Am I missing something ?
Thank you in advance.

use this link
http://www.trivadis.com/uploads/tx_cabagdownloadarea/J2EE_RAC_setup_xp_ok_01.pdf

Similar Messages

  • Connection Load Balancing question

    Hi All,
    this is from oracle net8 Administrator's Guide (between double quotes):
    "Connection load balancing improves connection performance by balancing the number of active connections among multiple dispatchers. In an Oracle Parallel Server environment, connection load balancing also has the capability to balance the number of active connections among multiple instances. "
    My question is, from that statement above, does it mean that the connection load balancing can only be useful on a OPS with MTS instances?
    and second is , does it make sense (or can it be done) to implement it on single instance of MTS?
    TIA,
    Andi

    Hi Andi,
    CLB is only used in cluster configuration! In single node instance there is no advantage for ovbious reason of putting one more layer.
    you are right...use only with OPS and preferably with MTS.
    Best,
    G

  • Run-time connection load balancing

    Hello!
    I'm using jdbc thin client (10g) and I'm trying to improve connection pool management. I would like to enable run-time connection load balancing. Is this option
    available with Fast Connection failover?
    Basically when a a client requests a connection from the connection cache by calling the getConnection method on the DataSource object, I want that the connection selected
    is the connection that belongs to the best instance from the connection cache. The client receives the connection that would process the work request with the
    best response time.
    With run-time connection load balancing ebabled what's happen when new connection is requested? The same algorithm?
    Other question:
    Is it possible create a manually process to distribute new connections? Having the following connection string:
    url="jdbc:oracle:thin:@
    (DESCRIPTION=
    (ADDRESS=(protocol=tcp)(host=192.168.12.17)(port=1521))
    (ADDRESS=(protocol=tcp)(host=192.168.12.18)(port=1521))
    (load_balance=on)
    (connect_data=(service_name=EHR)))"
    In a specific moment I want that new connections only will be created in a specific instance... How can I do this? P.e.
    Connection POOL has 10 connections (5 in each instance). All sessions are active and a new session needs to be created. At this moment I want to decide wich instance
    is the best to attend the request...
    Thanks a lot
    Best Regards

    Hi, there are several questions here. So, let me try to answer some, and I could address more if you have further questions. I am also presuming you are using JDBC driver's
    colocated Implicit connection cache.
    1) Yes, you need to enable FCF on the pool to leverage RCLB. Note, there are
    no specific knobs for RCLB on the client side, only the RAC / DB side which requires
    LBA to be enabled (this is documented in the RAC clusterware admin guide)
    2) When LBA is enabled on RAC/DB, RAC starts posting FaN events to the pool.
    This enables the pool to pick the best connection to an instance with the best
    service response time or throughput -- depending on how LBA was enabled.
    3) When new connections are created, the pool relies on the DB listener to place/create
    the connections on the appropriate RAC instance -- this depends on the LBA goal you
    set, and is required to be set to "short"
    4) The pool currently does not have the ability to create a conn to a named instance.
    What's the requirement or use case for this? If we understand this better, perhaps
    we could address this. How do "you" decide which is the best instance to connect?

  • App.server load balancing for SAP System with 1 PS

    Hi,
    In SAP CPS 7.0 (Build M26.12) I have a SAP system with Central Instance + 10 App.servers, but all instances are managed by 1 ProcessServer.
    After activating the "App.server load balancing" setting in SAP system definition the application servers are becoming visible in CPS with their load factors (number of BGD wp's on app.servers) and load numbers (number of active jobs on app.servers).
    This is so far fine, but the additional functionality is not working as I would expect, I have issues with 2 functionalities:
    1. Based on documentation after activating also the XAL connection the CPS should submit the job on app.server with best performance based on XAL monitoring data filling the TARGET_SERVER parameter.
    This functionality is not working for me at all
    2. A useful functionality after activating the "App.server load balancing" setting is that the ProcessServer is going to "Overloaded" status when all BGD wp's of SAP system are occupied, thus restricting submitting new jobs during overload situation. But I had an issue also with this functionality, after SAP system recovery from overload situation, the CPS still remained in Overload status (so no new jobs were submitted).
    As a workaround I had increased the treshold values for loads on all app.servers for this SAP system, what was fine for several days, but after a while I believe this was a reason of unexpected performance issues in CPS, therefore I have deactivated the 'App.server load balancing" setting at all for this ProcessServer.
    I would appreciate your feedbacks with this functionality.
    Thanks and Regards,
    Ernest Liczki

    Hi Preetish,
    This connect string option is to loadbalance RFC connections. These are balanced upon login, once you are connected to a particular application server (AS) you stay on that server until you reconnect.
    Since CPS uses multiple RFC connections, this will result in the connections being distributed over the available AS resources which is fine as long as they are generally evenly loaded. If you have certain AS hosts that are continuosly more loaded than the rest, then you probably don't want the CPS RFC connections to end up on these servers.
    The original question is about loadbalancing of batch jobs over the available AS resources, and this is done independent of the RFC connection load balancing. Even if all CPS RFC connections are pinned to the DB/CI host, you can still loadbalance jobs over the available SAP AS hosts, either by using SAPs builtin balancing, or the CPS algorithm by activating the checkbox as indicated in the first entry in this thread.
    Finally, to reply to Ernest's question: I believe there are some fixes on the app load balancing in the latest release, M26.17 should be available on the SWDC now.
    Regards,
    Anton.
    Edited by: Anton Goselink on May 29, 2009 9:06 PM

  • Oracle RAC Concept  - load balancing

    Hello All,
    I have a question about Oracle RAC and how it balance loading.
    What I know about Oracle RAC that it balancing load between its node, so if a new session is connected to the Database it will execute on the node which have less load.
    If I am having an application that connects to the database with few number of sessions and some sessions have huge (huge load) processes to execute while the other sessions are executing small process (in terms of load).
    So below is an example scenario that i am asking for an answer of it:
    if am having a two node RAC database.
    My application that is connected to this RAC database wants to execute three processes P1, P2 and P3 each will have a session correspondingly S1, S2 and S3
    Let is say that P1 will take 60% of the database resources (memory ....) and P2 will take 1% and P3 1%.
    So my question is it a sessions load balancing or Processes load balancing ? So in case and randomly (Managed by ORACLE RAC) S1 is connected to node 1 and it is using node 1 resources so the load on node 1 will be 60%, so when S2 and S3 needs to connect it will go to node 2 since node 1 is loaded. in that case i will have Node 1 using 60% of it is resources (becuase of S1 that is executing P1) while node 2 only uses 2 % (because of S2 and S3 that is executing P2 and P3).
    Is that how Oracle RAC works ? or it balance the load of S1 (60%) between node 1 and node 2 ?
    I am asking this question since my application is not users application, so it will connect to the database with few number of sessions, and 1 session of them may execute a huge process while the other are executing small processes.
    So in that case, how RAC is doing the balance loading?
    Regards,

    i hope , this links may help you.
    Thread: Server side Load balancing in RAC
    Server Side Load Balancing Testing
    read Oracle documentation:
    http://www.oracle.com/pls/db102/search?word=server+side+load+balancing&partno=
    http://www.oracleracexpert.com/2010/01/oracle-rac-load-balancing-and-failover.html
    http://www.databasejournal.com/features/oracle/article.php/3659411/Oracle-RAC-Administration---Part-15-Connection-Load-Balancing-and-FAN.htm
    http://oracleinstance.blogspot.com/2010/08/transparent-application-failover-taf.html

  • JDBC load balancing with non RAC replicated instances

    Hi,
    The thin JDBC load balancing feature only works with RAC clusters or it can be used with two non RAC replicated instances using the same service name?
    Thanks,
    Ezio.

    Thank you Douglas for your time.
    I assumed the first case (database connection load balancing). I thought that the listener would do the load balancing and failover trick. So, I configured the JDBC connection as follow:
    String MM_loadBalance1_DRIVER = "oracle.jdbc.driver.OracleDriver";
    String MM_loadBalance1_USERNAME = "scott";
    String MM_loadBalance1_PASSWORD = "tiger";
    String MM_loadBalance1_STRING = "jdbc:oracle:thin:@(DESCRIPTION=" +
    " (LOAD_BALANCE=on) (FAILOVER=on)"+
    " (ADDRESS_LIST="+
    " (ADDRESS=(PROTOCOL=TCP)(HOST=test1) (PORT=1521))"+
    " (ADDRESS=(PROTOCOL=TCP)(HOST=test2)(PORT=1521)))"+
    " (CONNECT_DATA=(SERVICE_NAME=test)))";
    Driver DriverRecordset1 = (Driver)Class.forName(MM_loadBalance1_DRIVER).newInstance();
    Connection ConnRecordset1 = DriverManager.getConnection(MM_loadBalance1_STRING,MM_loadBalance1_USERNAME,MM_loadBalance1_PASSWORD);
    But, when one of the instances was down (test1), the connection failed, it didn't failed over to the other instance (test2).
    So I wondered if it failed due to some misconfiguration issue or because it only works with RAC instances...

  • Load Balancing in RAC

    If you have 2 node cluster , you have configured Node 1 as Preferred instance and Node 2 as available.
    According to Oracle , the service will always run on a preferred instance and will relocate to available instance in case of preferred node failure.
    Also you have server side load balancing, as per documentation the service will relocate on available instance if the preferred node crashes.
    Question: How will Oracle take care of Load Balancing , since the service on available node will only run if the preferred node crashes. Since the service is not running on Node 2 (available instance) ? How will oracle distribute the connections among the nodes?

    The answer to your question depends one the configuration of your Oracle Net Services, Whether you have configured connection load balancing or server side load balancing. Oracle will only balance the workload among the database instance running the service. By default Oracle starts the service on prefered node and in your case you have configured only one preferred database instance for your service and at a time service will run on one node only so Oracle does not have any options to distribute the workload even if you have configured the server side load balancing for the services using the service level goals.
    To explain it further, consider you have 3 node cluster. The database instance on first and second node are preferred instances for the net service and service-level goals are defined for server side load balancing.
    Now suppose second node fails and Oracle relocates the service to third node. Because Oracle is aware about the services running in the cluster even the relocated services (You should read about LOCAL_LISTENER and REMOTE_LISTENER to understand how Oracle register services with listeners on other cluster nodes) thats why using the load balancing advisory Oracle decides, which node the new database connection should be connected.

  • Weblogic: load balancing and RAC contention

    I cannot locate any useful documentation on this: I am trying to find the optimal configuration to allow an Weblogic Application server to load balance to RAC.
    I see high numbers of v$sqlstats.clwait_delta for sessions connected from weblogic servers; typically from 25-95% over the overall statement execution time.
    Configuration is a three node RAC 10.2.0.4 on Linux; with and eight node weblogic cluster connected using about 150 sessions (equally divided between the rac nodes), hosting a number of applications. They use "Least Connections" load balancing which means any thread(/connection) could be used next. The weblogic sessions connect to a RAC service that is configured with LOAD_BALANCE=YES.
    I suspect that contention is caused by behaviour such as
    - insert on one node, then immediately query back on another node
    - inserts to indexed tables being distributed across all three nodes.
    There is too much going on here, and I want to simplify the configuration to eliminate contention for the same data blocks across nodes - this will likely mean new database services configured with LOAD_BALANCE=NO and some form of application partitioning on the weblogic servers. There are other load balancing schemes available for weblogic; but none seem designed to work well with rac.
    Is there any best practice documentation available to configure weblogic on RAC (as opposed to single-instance, which doesnt have any such contention issues).
    Any pointers appreciated!
    Rgds
    Mark Teehan
    Singapore

    Hi,
    see these 2 whitepapers:
    http://www.oracle.com/technetwork/database/enterprise-edition/twpracwkldmgmt-132994.pdf
    http://www.oracle.com/technetwork/database/enterprise-edition/bestpracticesforxaandrac-128676.pdf
    they should provide you with enough information on what to do.
    Regards
    Sebastian

  • RAC load balancing advice

    Hi guys,
    I’m in process of creating services for our RAC databases to ensure the system resources are efficiently utilized. Below is some info about my environment.
    2 node rac. 7 databases ,V11.2 and 10.2 ,system users: developers, testers
    Goal: to distribute the load as much as possible no prioritization is needed and all users have same SLA.
    I’m thinking of having one service for every database with following characteristics:
    Connection load balancing:=long (default)
    DBMS_SERVICE.GOAL=GOAL_THROUGHPUT
    Preferred instances: node1, node2
    Is thats the most efficient way of doing it?
    thanks

    user9198889 wrote:
    have seen people having around 20 db's across massive 2node rac. Sorry - I'm hard pressed to call 2 nodes, massive. :-)
    i guess the main reason behind this is oracle licensing fee, they cant afford having 20 smaller set of physical rac.... maybe its the hardware and maintenance cost too. I will dispute all those points. Especially the hardware cost side - as one wants the "+most bang for a buck+" from one's h/w investment. This can only be achieved by correctly utilising the h/w. Running multiple database instances on a single h/w platform like that, is everything but effectively utilising the h/w.
    To clear my doubt about the load balancing, do you approve service configuration which I mentioned above? Or that there are still better ways of distributing the load. I would need some very sound and very valid reasons for running 2 database instances on a single server, never mind running multiple RAC database instances on the same set of servers.
    If the intention is something along the lines of a RAC cloud - let's say 32 servers as a single cluster with Oracle RAC installed on each. Running 10 distinct RAC databases. 1 instance per server. And have the ability to distribute the available cluster nodes between cluster databases (e.g. 12 instances for RAC DB1 and 2 instances each for RAC DB2 to DB10, with the ability to reduce DB1 to 5 instances and allocate those nodes to another instance, etc).
    That is by far a more sensible approach than run multiple RAC instances per single cluster node.
    PS: if i was to add 3rd node to my cluster, i wouldnt have 3 smaller SGA's per every db, i would go for 2 large 2sgas per every db, for exmaple
    DB1 runs on node1,node2
    DB2 runs on node2,node3
    DB3 runs on node3,node1 This is still wrong. A single SGA is better ito scalability and performance than 2 SGAs.
    H/w is also cheap. The typical cost of a blade server for a cluster ranges from $2,000 to $8,000 - depending on how many CPUs and cores and memory you want per blade server.
    If you cost the cluster ito performance and capability, then it will be cheaper adding another server blade to the cluster, than to create another RAC instance to be run on an existing cluster, forcing blade servers to run multiple instances each.
    RAC architecture is scaling a single database across multiple servers. That is it. As simple as that.
    RAC architecture is not about using a single server and scaling multiple databases on it.
    So think carefully of WHY you want to do this.. as there are more than likely not one sound technical reason to justify this - which means you need exceedingly good business/environment reasons for violating the basic concept of RAC scalability.

  • 3G HSDPA/HSUPA + wifi load balancing in iOS

    I have a big trouble with my iPhone 3 and iPhone 3GS, when wifi RF level is low iPhone switch to 3G and when chance Internet connection is lost for a lot of second, the same problem exist when iPhone switch from a 3G cel to another cel
    Internet connection is lost and find again, but a short time multiplied for a lot of network changes result a distontinuous and slow browsing
    Load balancing 3G + WIFI increase speed and reduce lost of connection
    Load balancing Is possibile with iOs 4 or future os upgrade or with apps???

    I found that on my other account that has way less purchases the purchased tab does open on the exact same device.
    It all seem to have something to do with how many items you bought.
    Looks like you get punished for having bought too much :P
    Hope they fix it soon. The release of iTunes 11 was a small hope since the AppStore was updated there also. But nothing. I keep hoping, so far the comment in the iOS 5 keynote "We cut the wire you no longer need a PC" is not really doing it for me right now :D

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

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

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

  • SUNW.gds for jboss + Load Balancing Group = Failed to connect to host ...

    Hi all!
    In a simple two node cluster (Solaris cluster 3.2) with quorum server I've created a resource for jboss 5.1.0 using SUNW.gds. It is supposed to be load-balanced. To achieve that I've followed instructions from [http://download.oracle.com/docs/cd/E18728_01/html/821-1258/gds-25.html]
    The command I've used to create the resource was:
    clresource create -g scalable-rg -t SUNW.gds -p resource_dependencies=vip -p Scalable=TRUE -p Start_timeout=400 -p Stop_timeout=400 -p Probe_timeout=30 -p Port_list=8080/tcp -p Start_command="/opt/jboss-5.1.0.GA/bin/run.sh -b 0.0.0.0" -p Child_mon_level=0 -p Failover_enabled=TRUE -p Stop_signal=15 -p Load_balancing_policy=LB_STICKY_WILD jboss-rs
    The whole configuration seems to work, but when the second node joins cluster, resource with jboss can't bind to shared ip address. There are many entries in /var/adm/messages like:
    Jan 19 13:46:35 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
    Jan 19 13:46:35 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
    Jan 19 13:46:37 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
    Jan 19 13:46:37 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
    Jan 19 13:46:39 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
    Jan 19 13:46:39 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
    Jan 19 13:46:41 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
    Jan 19 13:46:41 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
    Jan 19 13:46:43 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
    Jan 19 13:46:43 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
    However, after some time, it finally somehow binds to shared ip and port 8080.
    Is this something I should be worried about? Or it is a normal thing, since e.g. it takes some time to bring the interface with shared ip up? I've never had to install such configuration, and I don't have neither intuiton, nor the experience. Any help would be very appreciated.
    Thanks a bunch,
    Bart

    Hi, a couple of things to check:
    - did you check that both JBOSS instances were up and running?
    - can you check in the logs (on both nodes) when a message saying something like "service .... registered..." showed up. This should show up for both JBOSS instances. From the time of the second "registered" message, the load balancer should sending incoming requests to both instances using its distribution mechanism
    - did you check the vip address on one of the nodes on an external interface and on lo0 on the other
    - connection refused looks like a server problem; can you connect to the JBOSS instance locally?
    Hth
    Hartmut

  • Load balancing 10g forms - Connection from new browser window not supported

    Load balancing 10g forms - Connection from new browser window not supported
    We're experimenting with using webcache to load balance between multiple applications servers running OC4J forms processes.
    We currently have one machine with infrastructure and mid-tier (BI & Forms) installed, which is being used for the webcache functionality, this is load balancing between 2 other servers each of which just have the mid-tier (BI & Forms) installation
    In order to get this to work, I had to follow the instructions in the Forms deployment guide : http://download-uk.oracle.com/docs/cd/B14099_11/web.1012/b14032/tuning.htm#sthref707
    The main gist of this is that you need to set the following in the orion-web.xml file in order that the sessions are maintained:
    <session-tracking
    cookies="enabled">
    </session-tracking>
    This all works fine in most cases.
    The problem I am having is if I do one of the following on the client machine:
    1) From IE6 / IE7 run a copy of a forms application. Then open a new window using the "New Window" menu option, and attempt to run another forms application.
    2) In IE7 or Firefox 2.0 open a copy of the forms application, and then open a new tab and try and open another forms application.
    If I try either of these I get a FRM-92101 error, and the following is displayed in the java console:
    oracle.forms.net.ConnectionException: Connection from new browser window not supported
    From trawling various forums (including metalink and otn) it looks like a problem with the way coockies are handled.
    Unfortunately the usual workaround is to ensure that the session tracking option in the orion-web.xml file is disabled.
    The problem is that I need this enabled in order for the load balancing to work.
    Does anyone know of any other workarounds or patches that might help resolve this?
    We're using Application server 10.1.2.0.2 running on windows 2003 servers.

    You were right. Carriage returns were stopping it from working (the document is laid out over separate lines, so I assumed it would make no difference...).
    I've now managed to get it so the forms at least run, but they are all being run in the forms OC4J instance on the same machine as the OHS.
    Has anyone actually managed to get this to work, or am I doing something wrong?
    I did wonder if using an OHS instance on a machine with no forms installation would make any difference?
    I had raised a support call via metalink on this subject, but they eventually came to the conclusion that the only way to do this is with a hardware load balancer (Despite several documents suggesting that webcache is the way to go (including the forms deployment manual)).
    I'm at the point now of giving up and writing some custom scripts to do the job instead...

  • SA520 load balancing for multiple IPSec connections

    Hello,
    I just would like to ask whether the following is possible or what other people think might be the best way to go.
    Let me describe the current setup:
    Our company has a main office which is connected to the internet through an SA520W appliance, and two satellite offices which have other IPSec routers installed. The SA520W is currently only connected through the main WAN interface to a DSL line (DSL 16000). The tunnels are established and it all works quite well.
    However, we have experienced lags and slow connections when someone transfers a larger file from the main office to the outside (either satellite office or, say, some FTP server on the internet). This is of course due to the limited upload capacity of the DSL line. Therefore, I am thinking about getting another DSL line for use as the optional WAN port of the SA520W.
    My question is: Is it possible to establish two IPSec tunnels from a satellite office to the main office, one to the main WAN port and one to the optional WAN port of the SA520W? The two main hurdles I see with that is that a) the SA520W can only bind IPSec to one port and b) the network mask of each IPSec phase 2 needs to identify the subnet uniquely. Am I correct with the assumption that this cannot be done?
    If so, the only way I can see right now is to bind all IPsec traffic to the optional port and have at least main office <-> internet traffic separated from all IPSec traffic. Or has anyone a better solution to this?
    Thanks in advance,
    Roland

    I honestly don't recall any issues with the load balancing. I've personally never seen an issue, opened a case for one or observed a problem in my lab using multiple T1 lines...
    That's not to say there could be a problem. But as far as I know this aspect of the router is solid.
    The only thing I strongly dislike about most modern DSL deployments, the ISP like to give out "residential" or "business" gateways. These things just make life terrible since it is a router/nat device.
    -Tom
    Please rate helpful posts

  • Configuring RFC connections for load balancing.

    Hi ,
    We have the following landscape for our systems.
    The database is installed on z/os , db2 (mainframe). The central services( SCS and ASCS) are also on the mainframe. So the message server is on mainframe.
    The CI is on AIX and The DI is on AIX.
    We have Logon groups configured and load balancing Configured and is RFC enabled.
    1) When we connect to SAP using the SAPGUI and  the portal connection is made to either CI or DI depending upon the best response times.  Now recently we are running the mercury load testing, all the users are connecting to DI. Why are the users connecting to DI even though we have load balancing?
    2) I have a system with SID BP0, with one CI and one DI. The logon group is BP0 and the message server name is cyrix. Now I have other another system EP0. I have created a RFC connection from EP0 to BP0. In SM59 I have selected the load balancing option, and provide the message server name, SID and logon group name. The connection does not work. If I connect directly to the CI or DI the connection works. Please tell me how can I configure load balancing for RFC connections.
    Thanks
    Manmath.

    Dear 917996,
    There are two types of load balancing:
    - Client-side load balancing (setting up the tnsnames.ora on client side). More information here (http://ggsig.blogspot.co.uk/2012/04/client-side-
    load-balancing-in-oracle.html). Very good video produced my friend Igor Melnikov is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/client/clientloadbalance_viewlet_swf.html)
    -Server-side load balancing (remote_listener and setting service parameter clb_goal). Very good Igor Melnikov's video is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/server/serverloadbalance_viewlet_swf.html).
    I have read about client side and server side load balancing. By editing tnsnames.ora I have enabled client side load balancing which is suppose to select listeners at random. then why does it only go to second node?Could you please show your tnsnames.ora on client?
    Please can anyone help me to configure server side load balancing with SCAN. I have read many many post but couldn't find a clear answer.Based on your output (remote_listener string cmbtrnrac-scan:1521) you have already configured the server side load balancing.
    SQL> show parameter listener
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=10.1
    7.67.214)(PORT=1521))))
    remote_listener string cmbtrnrac-scan:1521How many SCANs do you use? Do you use DNS?
    regards,
    Gennady

Maybe you are looking for