>>> Hi,
>>>
[quoted text clipped - 15 lines]
> I have configured the services based on TAF policy. The first node is
> preferable and the second node is available.
You really need to read the documentation. TAF has absolutely nothing to
do with listener load balancing.
If you configure your TNSNAMES.ORA properly the nodes will load balance
themselves.
http://www.psoug.org/reference/rac.html
Look at the TNSNAMES.ORA

Signature
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Ravip - 18 Sep 2007 05:35 GMT
My scenario is, I have a application server in between the front end and
database. During the service configuration the TNSNAMES.ORA is rightly
mentioned with the parameters that is mentioned in URL that you mentioned.
I have 2 node cluster and as of now only 1 of the node is having the full
load. I'm using Webspere as the middle tier. There are some occassions where
only 1 node in the RAC was fully loaded and the CPU reached 100% and
continued for 3-4 minutes, then it came down. Obvious reason for the load is
bad queries and some of them has been rectified.
But my doubt is, if the load balance is enabled or working fine, during the
100% CPU usage of Node 1, the load has to be distribute to the 2nd node -
right ? But it doesn't happen and at that time the 2 node load was just 2%.
To make this work load evenly distributed between 2 nodes, what configuration
should I check and change ?
Thank You.
>>>> Hi,
>>>>
[quoted text clipped - 10 lines]
>http://www.psoug.org/reference/rac.html
>Look at the TNSNAMES.ORA
DA Morgan - 18 Sep 2007 16:20 GMT
> My scenario is, I have a application server in between the front end and
> database. During the service configuration the TNSNAMES.ORA is rightly
[quoted text clipped - 28 lines]
>> http://www.psoug.org/reference/rac.html
>> Look at the TNSNAMES.ORA
People read from top to bottom. Please do not top post or you will be
ignored by most. Scroll to the bottom to reply.
You wrote:
" I have 2 node cluster and as of now only 1 of the node is having the
full load."
Which is a clear indication that while you may or may not have a RAC
cluster you definitely do not have it configured properly. Post your
tnsnames.ora file. Also validate that your login is to the service
and not to an instance.
Take a look at this page again:
http://www.psoug.org/reference/rac.html
Scroll down to the listing:
"TNSNAMES.ORA 10.2.0.1 RedHat Linux AS 4 U2"
Note that the same cluster can addressed as:
TSTA.TAF ... the TAF service
TSTA
TSTA1
TSTA2
etc.
Each one produces a different behavior.

Signature
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Ravip - 20 Sep 2007 06:45 GMT
I will correct myself to read from top. Please find the tnsnames.ora below
pasted. Obviously yes I'm using service names to connect to DB.
----
# tnsnames.ora Network Configuration File:
/u01/app/oracle/product/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
RAC_DB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = iims_db2_vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RAC_DB)
(INSTANCE_NAME = RAC_DB2)
)
)
RAC_DB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = iims_db1_vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RAC_DB)
(INSTANCE_NAME = RAC_DB1)
)
)
LISTENERS_RAC_DB =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = iims_db1_vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = iims_db2_vip)(PORT = 1521))
)
RAC_DB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = iims_db1_vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = iims_db2_vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RAC_DB)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)
)
)
RACDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = iims_db1_vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = iims_db2_vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME =RACDB)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
>> My scenario is, I have a application server in between the front end and
>> database. During the service configuration the TNSNAMES.ORA is rightly
[quoted text clipped - 26 lines]
>etc.
>Each one produces a different behavior.
Ravip - 21 Sep 2007 10:16 GMT
Hi Brian,
I need your valuable inputs to make the load balancing evenly distribute. I
have pasted my tnsnames.ora and I believe there should be some configuration
change to be made. Please have your feedback.
I need to configure the same in my production system ASAP.
Thank You.
>I will correct myself to read from top. Please find the tnsnames.ora below
>pasted. Obviously yes I'm using service names to connect to DB.
[quoted text clipped - 73 lines]
>>etc.
>>Each one produces a different behavior.
DA Morgan - 21 Sep 2007 17:33 GMT
> Hi Brian,
>
[quoted text clipped - 82 lines]
>>> etc.
>>> Each one produces a different behavior.
Please stop top posting or I will ignore all future posts.
This means scroll to the bottom to reply.
How did you create the RAC_DB service?
How are you determining the load balancing ... post your actual SQL
statement and results.
Also post your actual Oracle version number to four decimal places.

Signature
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Ravip - 29 Sep 2007 06:08 GMT
Hi,
Any of your valuable feedback is highly appreciated.
Thank You.
>>>> Hi,
>>>>
[quoted text clipped - 10 lines]
>http://www.psoug.org/reference/rac.html
>Look at the TNSNAMES.ORA