Oracle insert sessions not failover to node1 in 11gr2 suse linux 2 node rac

Hi all,
I already setup a 2 node oracle 11gr2 rac and setup is installaed fine. in baseline testing insert sessions are not failovering to the node1. scenario i do as follows.
Scenario 1 - We ran an insert query in both Nodes and unplugged the Node2 interconnect wires from the server. In which case the Node2 insert session should failover to Node1 without any interruption to the users and the Node2 CRS( Cluster Ready Services) should reboot.
Scenario 2 - We ran the insert queries and unplugged Node 1 interconnections from the server. In this scenario also Node2 CRS should reboot and the insert session should failover to Node2.
please let me know any one have face this issue.
Regards,
Kanchana.

Hi,
I already created the TAF service and try to failover it. Node going down and nothing will happen. But the insert query of the client machine will hand and not getting any error. We using VIP for local and remote listner as well. because still not configure the DNS.
Regards,
Kanchana.

Similar Messages

  • GLIBC_2.3 not found when installing oracle10g on SUSE linux

    Hi all,
    i am tryring to build a test server of SUSE linux 8 and when installing oracle 10g on the same....i am getting an error
    GLIBC_2.3 not found
    oracle@testserver:~/database>export DISPLAY=:0.0
    oracle@testserver:~/database>./runInstaller
    /opt/oracle/database/install/.oui:/lib/libc.so.6: version 'GLIBC_2.3' not found
    (required by /opt/oracle/database/install/.oui)
    oracle@testserver:~/database>pls suggest me where can i found these rpm i have been tryring to google the same....i have tried on rpmfind.com but not found rpm for suse 8
    pls help me...

    You should have searched a little bit, but my home server is an OpenSuSE 10.2/64 with Oracle 10g/64, so I will reply:
    runInstaller -ignoreSysPrereqsOpenSuSE 10.2/64 works really fine with 10g, installation is straightforward.

  • Oracle Alter Session not working in CF9

    Hello,
    I'm trying to understand differences between CF5 and CF9 when I retrieve numbers and dates from an Oracle Database.
    The code I ran on CF5 and CF9 servers :
    <cfoutput>
    <cftransaction>
    <cfquery datasource="intranet">
    alter session SET NLS_TERRITORY =  FRANCE
    </cfquery>
    <cfquery name="qry" datasource="intranet">
    select
         TO_NUMBER(12345/10) as nbr,
         sysdate as dt,
         TO_CHAR(1234.56,'L99G999D99') as cur
    from dual
    </cfquery>
    </cftransaction>
    #qry.nbr#<br>
    #qry.dt#<br>
    #qry.cur#
    </cfoutput>
    I've got those outputs :
    Result in CF5
    Result in CF9
    1234,5
    01/12/09
    ¿1.234,56
    1234.5
    2009-12-01 19:16:04.0
    ¿1.234,56
    The first two rows in CF5 display data in French format. That's not the same for CF9, the data are in American format.
    Then I changed the NLS_TERRITORY parameter
    alter session SET NLS_TERRITORY =  AMERICA
    Result in CF5
    Result in CF9
    1234.5
    01-DEC-09
    $1,234.56
    1234.5
    2009-12-01 19:20:39.0
    $1,234.56
    The two first row haven't changed in CF9, it seems that the "alter session" has no effect on number and date format in query results. Is that a bug or am I misunderstanding something ?
    Regards,
    Maxime

    Thank you for your reply.
    I tried what you've suggested on the CF9 server.
    The results are :
    NLS_TERRITORY =
    1) oracle JDBC database
    2) oracle JDBC thin client
    3) oracle JDBC-ODBC bridge
    AMERICA
    1234.5
    2009-12-02 13:24:30.0
    $1,234.56
    1234.5
    {ts '2009-12-02 00:00:00'}
    $1,234.56
    1234.5
    2009-12-02 13:24:30.0
    $1,234.56
    FRANCE
    1234.5
    2009-12-02 13:29:53.0
    ¿1.234,56
    1234.5
    {ts '2009-12-02 00:00:00'}
    ¿1.234,56
    1234.5
    2009-12-02 13:29:53.0
    ¿1.234,56
    The behavior is pretty much the same in the three differents ways to call the database. The only difference is on the date display using the Oracle JDBC thin client, which is another format from those I've already got.
    Regards,
    Maxime

  • Suse Linux and Oracle 10g

    Is SUSE Linux 10.1 certified by Oracle 10g R2?
    Thanks in advance.

    According to Metalink Certify - Oracle's Certification Matrices, Desupport Notices & Product Availability, only Suse Linux 9 is certified for Oracle 10g R2.

  • New Note 790189.1 - Oracle Clusterware and Application Failover Management

    Hi all,
    please, note the newly created Metalink Note 790189.1 - Oracle Clusterware and Application Failover Management if you want to use Oracle Clusterware as a general purpose cluster solution. The note intends to clarify and to explain the current situation in regards to the supportability of applications managed by Oracle Clusterware.
    In environments not including Oracle RAC, Oracle Clusterware still provides the level of high availability that is commonly known to be achievable for applications and databases managed in (failover) cluster environments. These environments can include Oracle Single Instance Databases, Oracle Application Servers, Oracle Enterprise Manager components, third party databases, or any other kind of application. (For more information on Oracle Clusterware 11g in general, please, refer to [Oracle Clusterware homepage|http://otn.oracle.com/clusterware].)
    Metalink Note 790189.1 - Oracle Clusterware and Application Failover Management is tightly integrated with the information on application failover management available on the [Oracle Clusterware homepage|http://otn.oracle.com/clusterware] and discusses typical questions like
    * Terminology
    * Script supportability and preconfigured agents
    * How to prove that action scripts work outside of Oracle Clusterware
    * Supportability of the Oracle Database Single Instance example scripts
    * How do I know whether a certain script is supported as a preconfigured agent?
    Metalink Note 790189.1, however, does not change the level of support that has been introduced for these kind of configurations as of Oracle Database 10g Release 2: "Generally, Oracle does not support action scripts in the strict terms of supporting individual code fragments. Oracle fully supports the integration of individual action scripts proven to run outside of Oracle Clusterware into the Oracle Clusterware management stack. Supported operations therefore typically involve crs_* commands such as crs_profile, crs_register, crs_setperm, crs_getperm, crs_start, crs_stop, and crs_relocate invoked on custom resources. If actions scripts are used as part of a preconfigured agent, Oracle or the application provider who provides the agent will support the integration of this agent, while only the application provider will provide support for the individual action scripts."
    Just for your information. Thanks,
    Markus

    not meant to be a question - rather an announcement.

  • Oracle insert problem(records not in the order they are inserted)

    hi, all:
    I tried to insert a word list into a oracle table, everything is fine except that the words are not in the order they are inserted. For example, the words are inserted in the following sequence:
    accreted     
    accreting     
    accretion     
    accretionary     
    accretive     
    bladebone
    bladed     
    bladeless
    bladelike
    When I retrived the resultset from the table and iterate through each of the record, the words are not in the order inserted, i.e., it may look like this,
    accreted     
    accreting     
    bladebone
    bladed     
    accretion     
    accretionary     
    accretive     
    bladeless
    bladelike
    This strange phenomenon won't happen when the word list is small, like 500 words or so, but when the number of words reaches around 10,000, it takes place. My coworker also experienced this problem when trying to insert large volume of data into oracle table.
    The code I used to insert into the DB table:
    BufferedReader reader=new BufferedReader(new FileReader("C:\\Dictionary.txt"));
    while( (line=reader.readLine())!=null )
         sql="INSERT INTO DICT " +
         "VALUES ('" + line +"')";                         
         statement.executeUpdate(sql);
    Any advice will be highly appreciated,
    thanks

    Well, the best thing to do is follows scsi-boy's advice and add the additional column and either put a sequence number in it from the Java side as you insert, or use an Oracle sequence object to put a sequence number in it from the Oracle side (which is sort of like an auto-generated value, but different).
    Note that an Oracle sequence generates numbers in sequence, but possibly with gaps (usually if the database is rebooted), unless you do some things that slow sequences down substantially. Sequences can also be something of a bottleneck on RAC clusters. See:
    http://www.dizwell.com/oracle/articles/autonumbering.html
    However, if your coworker is commiting after each and every insert (which is bad form and slows the database down, -10 points), and if your coworker is also never ever ever updating the columns after they've been inserted, and if your coworker is using Oracle 10g and not some older version such as 9i, then your coworker could use the ORA_ROWSCN pseudo-column to order by. Those are very very severe constraints and you shouldn't begin to consider doing it that way without a very good reason, and right now you and your coworker wouldn't know a good reason if it snuck up and bit you on the butt, you've got a lot of learning the basics first.

  • In RAC Database All sessions are connecting to Node1 only

    Hi Gurus,
    Oracle RAC 10R2.
    OS: IBM AIX
    We have two node RAC instance. When I checked, all sessions are connecting to NODE1. and node2 is not having any worload.
    can you guys suggected me from where I start troubleshooting.
    Thanks,
    Chinmay

    Hi Chinmay,
    Check for active_instance_count parameter in database.If it's value is 1, database connection will go to only one instance.To check to which instance it will go you can use below query.
    select INSTANCE_NAME,HOST_NAME,INSTANCE_ROLE from gv$instance;
    Instance_role has two value: active instance (=primary instance) or a passive instance (secondary instance).
    Connection will always go to active instance only.
    Regards
    Sushant

  • Oracle BPEL - Does not cater for not null columns and use of "default".

    Oracle BPEL - Does not cater for not null columns and use of "default".
    BPEL fails with message:
    ORA-01400: cannot insert NULL into ("EDDB"."SEISMIC_LINES"."COORD_SYSTEM_ID")
    But SQL*PLUS command works:
    INSERT into EDDB.SEISMIC_LINES
    (etc)
    regards
    Allan Ford
    Analyst / Programmer - IT Application Services, IT Services, Shared Business Services
    Santos Ltd
    Level 4, 91 King William Street, Adelaide SA 5000
    Phone: 08 8224 7944 Fax: 08 8218 5320
    Email: [email protected]

    note: BPEL keeps it's own "offline" copy of table and database items. A column that is marked not null in the database can be marked as nullable in this area. (if you kmow that a trigger is going to cater for this ..)
    One workaround is to use a trigger to provide value rather than use the column default ..

  • Get a insert session value for SQL query at report

    Hi friends
    I created a global temp table and procedure to support web search form.
    and a search result report. The procudure
    gets search result from multip tables and
    insert into temp table --recordsearch. I can get value from temp table  by call procedure
    at SQL*Plus.
    However, I can not get this value by web report.
    How can I get this insert session value and pass to SQL query for report?
    Thanks,
    Newweb
    CREATE GLOBAL TEMPORARY TABLE recordsearch
    (emp_id          VARCHAR2(200),
    ssn               VARCHAR2(9),
    fname          VARCHAR2(200),
    lname           VARCHAR2(200),
    m_name          VARCHAR2(200)
    ) ON COMMIT PRESERVE ROWS;

    it possible that your web form does not have a persistent, dedicated connection. if you have connection pooling for example, multiple sessions will see the same instance of the GTT, so if one deletes it, then nobody sees it (or you can see others data). if the connections are not persistent, then they can disconnect between calls, deleting the GTT table.

  • Update working, but insert is not working.

    Hi friends,
    Im creating a process for the manular tabular form, that im developing.
    Since for the update im giving the below query
    for i in 1..htmldb_application.g_f01.count
    loop
    if htmldb_application.g_f01(i) is not null then                 
        update gen_req_items
        set item_id = replace(htmldb_application.g_f03(i),'%'||'null%',NULL),
           item_uom_id= replace(htmldb_application.g_f04(i),'%'||'null%',null)
          where req_itm_id = htmldb_application.g_f01(i);
    end if;
    end loop;It is working fine, and i can able to update the rows in my tabular form.
    For insert im giving the following query.
    for i in 1..htmldb_application.g_f01.count
    loop
    if htmldb_application.g_f01(i) is not null then                 
        update gen_req_items
        set item_id = replace(htmldb_application.g_f03(i),'%'||'null%',NULL),
           item_uom_id= replace(htmldb_application.g_f04(i),'%'||'null%',null)
          where req_itm_id = htmldb_application.g_f01(i); 
    else if
    if htmldb_application.g_f01(i) is null
    insert into gen_req_items(barcode, item_id, item_uom_id)
    values(htmldb_application.g_f02(i),replace(htmldb_application.g_f03(i),'%'||'null%',NULL),replace(htmldb_application.g_f04(i),'%'||'null%',NULL));
    end if;
    end if;
    end loop;But the insert is not working, as i couldnt able to insert the values. I dont know what went wrong.
    The below is my region source coding of my tabular form.
    select x.req_itm_id,
    x.barcode,
    x.item_id,
    x.item_uom_id
    from (
    select htmldb_item.text(1,req_itm_id) req_itm_id,
    htmldb_item.select_list_from_query(2,barcode,'select distinct barcode, barcode from gen_req_items') barcode,
    htmldb_item.text(3,item_id,10) item_id,
    htmldb_item.text(4,item_uom_id,10) item_uom_id
    from gen_req_items
    union all
    select htmldb_item.hidden(1,null)  req_itm_id,
    htmldb_item.select_list_from_query(2,null,'select distinct barcode, barcode from gen_req_items') barcode,
    htmldb_item.text(3,null,10) item_id,
    htmldb_item.text(4,null,10) item_uom_id
    from dual) xIm developing a manular tabular form by referring the below link, FYR
    http://www.oracle.com/technetwork/developer-tools/apex/tabular-form-090805.html_
    what might be wrong with my insert statement.
    As i also created sequence and trigger for my primary key column req_itm_id in tabular form
    Brgds,
    Mini

    Mini wrote:
    But the insert is not working, as i couldnt able to insert the values. I dont know what went wrong.
    You've posted here often enough to know that this isn't really sufficient detail. Regarding the above statement, how did you reach that particular conclusion? It might sound like a stupid question, but it gives us a bit of insight into how you have attempted to diagnose the problem and can speed up its resolution.
    * Does the insert work "standalone" i.e. if you write it as a manual query in, for example, the SQL Window, using bind variables?
    * If it does, do you have any special constraints on one or more of the relevant fields (e.g. "not null" on the barcode field)?
    * If so, have you ensured that the relevant field(s) (e.g. F02) are actually populated with values and are valid for insertion?
    In addition, I'm not sure what the purpose of the nested "If" statement is
    if htmldb_application.g_f01(i) is null
    end if;Indeed, the else if won't work either... the correct syntax is elsif

  • DB Trigger firing issue in case of oracle forms session crash

    Hi All,
    Oracle DB version: Oracle Database 10g Release 10.2.0.2.0 - Production
    Oracle Forms version: (Oracle Developer Suite 10g) 10.1.2.0.2 Production
    I am entering some data in the oracle forms and committed the data to database. This form is still open.
    By some reasons i get a error as "FRM-92101: There is error during forms server startup" and the forms session gets crashed.
    When this event happens i wanted to update the records which are inserted before this error occurred. For this purpose i created a BEFORE LOGOFF ON DATABASE trigger (in SYS user) and declared that transaction as autonomous and performed update and then commit.
    But when i get this error in forms runtime session, this trigger doesn't fire and also the records don't get updated.
    If i query to v$session view, the session entry is gone because the forms session is crashed.
    Can anyone please tell me why this trigger don't get fire when oracle forms session gets crashed? Or is there is any other way to run update statement as soon as the forms session gets crashes?
    Thanks.

    Hi,
    please check java runtime console for more issue information.
    Windows:
    SystemControl->Java Plugin Ver XXXX -> Standard -> Check "Show Java Console"
    In Systray, check the console for information about errors in java after the form error.
    Attackwave

  • Processes in v$process that do not exist in v$session (2 node RAC)!

    Hi, all.
    The database is 2 node RAC database (10.2.0.2.0)
    on 32 bit windows 2003 EE SP1.
    Our database is suffering "CKPT hang" from time to time.
    I checked v$process and v$session on both node by the following sql.
    select addr,pid,spid,username, program
    from v$process
    where addr not in (select paddr from v$session)
    ADDR PID SPID USERNAME PROGRAM
    56E2 1 PSEUDO
    56E2 18 3984 SYSTEM ORACLE.EXE (D000)
    56E2 19 4020 SYSTEM ORACLE.EXE (S000)
    56E2 27 3176 SYSTEM ORACLE.EXE (PZ99)
    56E3 39 2296 SYSTEM ORACLE.EXE (PZ97)
    ●select * from v$px_process
    SERVER_NAME STATUS PID SPID SID SERIAL#
    PZ97 AVAILABLE 39 2296
    PZ99 AVAILABLE 27 3176
    ●select * from V$PX_SESSION
    --> no rows
    ●select slave_name,status from v$pq_slave
    SLAVE_NAME STATUS
    PZ97 IDLE
    PZ99 IDLE
    I found the above processes which do not exist in v$session.
    Is this normal??
    Thanks and Regards.

    you see nothing in v$session because there is nothing to see ...
    the Parallel servers are AVAILABLE , ie no session are running parallel executions (as shown in V$PX_SESSION)
    PID is not SID

  • Sp2-0575: Use of oracle SQL feature  not in sql 92 entry level.

    Hi,
    While logging to sqlplus I'm getting the following message
    "sp2-0575: Use of oracle SQL feature not in sql 92 entry level."
    and login is successful, but I'm not able to generate next value from the sequence .
    t says no rows selected when i request
    for nextval a
    EX: select mySeq.nextval from dual; (mySeq is sequence)
    Thanx,
    Ravi.

    What has happened is that someone has enabled the Oracle feature called as FIPS flagger.
    This is a feature that Oracle provides to you if you plan to write SQL code that should be portable
    to other RDBMS systems. IF you enable this flagger and use a feature which is not in the SQL standard,
    Oracle will complain that use of this feature will make your application Oracle dependent, and you may not
    be able to run this application against any other RDBMS.
    To disable this for your SQL*Plus session do this:
    SQL> set flagger off
    SQL>
    Once you do this it will allow you to use all SQL commands including Oracle specific extensions.

  • Setup to replicate update/insert and not delete

    Currently what I am looking to do is setup streams to do a one way replication of only updates and inserts but not include deteles. I've only done the most basic searches through the Oracle documentation, but as I read the 10.2G pdfs so far it seems like you can only turn on streams for all DML transactions and not selectively.
    Is there an option like include_deletes, which I could set to false that I am missing?

    Hi user489811.
    You can configure the Streams capture process at the table level for DML capture and you can to exclude a specific DML operation from the capture process. For example, you do not want to capture the DELETE operation.
    Yes, is possible. Exists two ways to do this.
    For example, read a bit about rules and the package DBMS_RULE_ADM to implement that you want.
    Best regards
    Roberto

  • Concurrent manager did not failover

    Dear all,
    i've setup the load balancer and PCP on 2 appsTier and 2 DBTier.
    the failover of forms and HTTP are working fine.When i shutdown node 2, i can connect to common URL and open forms and run request because node one is the primary node for all managers and node 2 is the secondary node for failover. but when shutdown node # 1, i still can connect to common URL and open the self service, forms but could not submitted any job because there were no manager to handle the request.
    i check my setup and i have primary and secondary on all those managers.
    Please advise why the managers did not failover and where to check and correct.
    Please help.
    Thanks in advance.
    Regards,

    Hi,
    What is the application release?
    Can you find any errors in the CM log file?
    Review the following documents and see if it helps.
    Note: 271090.1 - Parallel Concurrent Processing Failover/Failback Expectations
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=271090.1
    Note: 752604.1 - Failover Does Not Occur To The Secondary Node While The Primary Node Is Up
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=752604.1
    Note: 408311.1 - Second connection failover
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=408311.1
    Regards,
    Hussein

Maybe you are looking for

  • Unable to see Shared Folder / Drop Box on wired LAN

    I am unable to connect to another Mac on my wired LAN (Netgear wndr3700), and it is unable to connect to my machine. We cannot see each others' Public Folder / Drop Box. We can see each others Macs in the Shared section of the Finder's sidebar, but t

  • No Hard Drive Space...0 kb available

    Folks - I've tried a few of past replies to this issue to no avail...anyhow earlier this week I upgraded to 10.4.6 from 10.3.9. Yesterday my G4 Powerbook 1.25 GHz with 1.25 GB of RAM was locked up and I hard to hold the power key down to shutdown and

  • Help with PDF settings in InDesign for Newspaper print

    Hi I work for a newspaper and until recently we have done the newspaper layout in Pagemaker. We finally changed to InDesign. I am now at the point where I have to export to PDF. What would be the best to use, export as PDF or printing to postscript?

  • Why does my group header keep repeating?

    Hi, I can't figure this out.  My group header appears on the first page as it should.  It doesn't appear on the second page.  Then it appears on the third page and all subsequent pages for that group. In my example group #1 is the invoiceID.  For eac

  • "oracle/wss_username_token_service_policy" could not be retrieved as con...

    I am getting below error....I have two laptops with 11g and I am getting this error on both laptops......I am using Oracle 11g XE database on both boxes.....I can see the OBI Sign In page, when I enter the userid password it says - invalid userid or