I am doing Testing on Oracle 9i RAC databases now.
Ours is a 2-node RAC on IBM HACMP with GPFS.
The TNS entry on the client side, I use is given below:
(ADDRESS = (PROTOCOL = TCP)(HOST=RAC1.NODE1.com)(PORT=1521))
(ADDRESS = (PROTOCOL = TCP)(HOST=RAC2.NODE2.com)(PORT=1521)))
For Failover testing, I connected to the first node, and ran a long SELECT query.
When the SELECT runs, I shut down the instance in the first node, with "shutdown immediate" command.
I get the following message.
ORA-01089: immediate shutdown in progress - no operations are permitted
960 rows selected.
ORA-25408: can not safely replay call
Here above, if I do not exit and check the V$instance, it shows the session got switched over
to the surviving instance, even though the SELECT got stopped.
Why this is happening, as I am using (ENABLE=BROKEN) and (TYPE=SELECT) options???
Surprisingly, the test succeeds on some other servers with the same DB Physical structure
and memory parameters, by automatically failing over the SELECT query to the surviving node, and without the
query being halted.
Is there any Operating System setting we need to set for successful failover?
Thanks in advance,