Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RAC Failover testing

RAC Failover testing

From: Anurag Verma <anuragdba_at_gmail.com>
Date: Fri, 25 Aug 2006 12:17:21 -0500
Message-ID: <e2431aa40608251017g222f61d6u8a259a123ece26af@mail.gmail.com>


Hi,

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:

MYDB =
  (DESCRIPTION =
(ENABLE=BROKEN)
(FAILOVER=ON)
(LOAD_BALANCE=ON)
(ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST=RAC1.NODE1.com)(PORT=1521))     (ADDRESS = (PROTOCOL = TCP)(HOST=RAC2.NODE2.com)(PORT=1521)))

     (CONNECT_DATA =
      (SERVICE_NAME=FNWFI1)
      (FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=250)(DELAY=5))
    )
  )

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.



ERROR:
ORA-01089: immediate shutdown in progress - no operations are permitted

960 rows selected.

SQL>
SQL> ex
ERROR:
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,

Best Regards,
Anurag

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Aug 25 2006 - 12:17:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US