Results 1 to 5 of 5

Thread: How to check the load balancing via server side using the code into the TNSNAmes.ora

  1. #1
    Join Date
    Oct 2008
    Posts
    4

    Thumbs down How to check the load balancing via server side using the code into the TNSNAmes.ora

    hi all,

    i have used the code provide for load balancing through server side and i just want too check how it is possible to verify that its is really working.

  2. #2
    Join Date
    Oct 2005
    Posts
    2,557
    Turn on logging, or sniff the network.

  3. #3
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    you can connect to database using multiple sql plus window and check which instance it connected to

    select instance_name from v$instance

    if load balancing is working, you should get fairly balanced connections.

  4. #4
    Join Date
    Oct 2008
    Posts
    4

    connecting application with different dbserver instances

    hi
    thanx for reverting.

    what exactly i want to know is that how can i make my appliaction to get connected to different database server instance in oracle 10G XE, so that if one connection fails then it should automatically connect to other instance availabe.

    We are using hibernate in ur appliaction of j2ee.

    Plz reply i need to do it asap.

    satish.

  5. #5
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Load balancing does not autamatically failover connections. You have to use Transparent Application Failover (TAF) to do that.

    You need to put TAF specific parameters in your tnsnames.ora file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •