What is the best method to use Oracle 11gR2 RAC as Active/Passive
I have 2 node 11gR2 RAC configured.
My application needs to connect to only 1 node as it is not supported with 2 node RAC.
I am planning to use the second node as passive node.
I have configured my TNS as below:
The TNS is configured to connect to Node1-VIP.
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = bl870_3-VIP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
I am able to connect to the database using sqlplus without any issue. The connection are connected to Node 1.
I tried to do failover test by shutting down Node1.
After shutdown, VIP is failovered to node 2.