Oracle RAC 10g - Application connect directly to database IP address

Hi,
I am a developer and does not have much knowledge about oracle admin. Sorry, if I don't use the term correctly.
We have a vendor application using Oracle RAC on two node (node1/vip1,node2/vip2). Our application was configured to use JDBC connection string (not TNS, someone told me it's a bad practice - but it's how our consultant vendor set it up). The connection string is configured to point to VIP1 hostname and VIP2 hostname.
When I look at the list of connections using netstat, I am seeing the connection was established to vip1's ip address as well as node2's ip address (no vip2 or node1 ip).
1) Should the application just only connect to VIP ip address and not to server ip address?
2) Because our JDBC entry only contains VIP1 and VIP2 hostname, does it normal that the application can resolve the NODE2 ipaddress? ( we look on all application's configuration files, we are sure that application does not have knowledge of node1/node2 ip address or hostname)
3) Is this a normal VIP hostname to be resolved to database ip address and not VIP ip address?
4) I read about VIP address that it will be mapped to the other node's MAC when the node fail, could this happen because VIP misconfiguration?
Edited by: user644523 on Aug 19, 2010 1:34 PM

Hi buddy,
When I look at the list of connections using netstat, I am seeing the connection was established to vip1's ip address as well as node2's ip address (no vip2 or node1 ip). pls show us what You are seing.
1) Should the application just only connect to VIP ip address and not to server ip address? Yes
2) Because our JDBC entry only contains VIP1 and VIP2 hostname, does it normal that the application can resolve the NODE2 ipaddress? ( we look on all application's configuration files, we are sure that application does not have knowledge of node1/node2 ip address or hostname)No it's not. It should use the vip until release 11.1 and on release 11.2 the scan
3) Is this a normal VIP hostname to be resolved to database ip address and not VIP ip address?no, it's not it should be resolved to the ip address configured to the VIP
4) I read about VIP address that it will be mapped to the other node's MAC when the node fail, could this happen because VIP misconfiguration?We have to check that. Get the nodeapps config (ask trhe dba the output off "srvctl config nodeapps -n <nodename> -a" ) for all nodes and check if the client machine is resolving the name to the right IP address. (good start I guess).
Regards,
Cerreia

Similar Messages

  • Failover not happening the Oracle RAC 10g

    Hi All,
    I am new to RAC.
    I have installed Oracle RAC 10g on Redhat Linux 4.0. Till yesterday failover was happening that is when i stopped one instance on node01 the vip of node01 was transferred to node02.This was shown using ifconfig -a but now that is now happening.Don't know as what has happened.Can you please help me out
    Below information is given:
    [oracle@node01 ~]$ crs_stat -t
    Name Type Target State Host
    ora.hitesh.db application ONLINE ONLINE node02
    ora....h1.inst application ONLINE ONLINE node01
    ora....h2.inst application OFFLINE OFFLINE
    ora....SM1.asm application ONLINE ONLINE node01
    ora....01.lsnr application ONLINE ONLINE node01
    ora.node01.gsd application ONLINE ONLINE node01
    ora.node01.ons application ONLINE ONLINE node01
    ora.node01.vip application ONLINE ONLINE node01
    ora....SM2.asm application ONLINE ONLINE node02
    ora....02.lsnr application ONLINE ONLINE node02
    ora.node02.gsd application ONLINE ONLINE node02
    ora.node02.ons application ONLINE ONLINE node02
    ora.node02.vip application ONLINE ONLINE node02
    Listner status on node01 is given:
    [oracle@node01 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 06-APR-2013 12:59:29
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER_NODE01
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 06-APR-2013 11:59:03
    Uptime 0 days 1 hr. 0 min. 25 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /home/oracle/oracle/product/10.2.0/db_1/network/log/listener_node01.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.131)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "hitesh" has 2 instance(s).
    Instance "hitesh1", status READY, has 2 handler(s) for this service...
    Instance "hitesh2", status READY, has 1 handler(s) for this service...
    Service "hiteshXDB" has 2 instance(s).
    Instance "hitesh1", status READY, has 1 handler(s) for this service...
    Instance "hitesh2", status READY, has 1 handler(s) for this service...
    Service "hitesh_XPT" has 2 instance(s).
    Instance "hitesh1", status READY, has 2 handler(s) for this service...
    Instance "hitesh2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [root@node01 oracle]# crsctl check crs
    CSS appears healthy
    CRS appears healthy
    EVM appears healthy
    [root@node01 oracle]# ps -ef | grep lmon
    oracle 5741 1 0 12:07 ? 00:00:03 ora_lmon_hitesh1
    root 22582 20805 0 13:01 pts/2 00:00:00 grep lmon
    oracle 23643 1 0 11:58 ? 00:00:01 asm_lmon_+ASM1
    Please let me know what information else is required
    Edited by: user12924280 on Apr 6, 2013 12:36 AM

    Since you didn't say "thank you", I assumed my time was of no value to you.
    However, I shall try again.
    There is no relationship between instance failure and VIP failover. How can there be? What if you are running ten instances on each node, and one fails? Would you want the VIP to relocate? And I've already told you how to test it: kill the node. Just reboot it.

  • Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0

    Hello,
    Maybe you can help me (new on RMAN backup) in doing this.
    I have configured a single Oracle 10g database to have backup with RMAN with following steps:
    1. $ mkdir $ORACLE_BASE/rman_scripts
    2. $ mkdir $ORACLE_BASE/logs
    3. $ mkdir $ORACLE_BASE/tracking
    4. $ mkdir $ORACLE_BASE/c_backup
    5. $ sqlplus sys/<password> as sysdba
    6. SQL> alter system set db_recovery_file_dest_size = 50G scope=both;
    7. SQL> alter system set db_recovery_file_dest='${ ORACLE_BASE}/flash_recovery_ area' scope=both;
    8. SQL> alter system set log_archive_dest_10='location= use_db_recovery_file_dest';
    9. SQL> shutdown immediate
    10. SQL> startup nomount
    11. SQL> alter database archivelog;
    12. SQL> alter database open;
    13. SQL> alter database enable block change tracking using file '${ORACLE_BASE}/tracking/rman_ change_track.f';
    14. $ rman target /
    15. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
    TO '/var/opt/oracle/flash_ recovery_area/ORCL/c_backup/% F';
    16. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    17. RMAN> CONFIGURE BACKUP OPTIMIZATION ON;
    18. RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    19. RMAN> exit
    I need to configure incremental backup with RMAN on a two node Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0 installation.
    We also use ASM to store database files, and have Oracle software installed on separate file systems (two Oracle roots for Node1 and Node2).
    I have following questions:
    1) where to put Flash Recovery Area (FRA)?
    I saw recommendations to put FRA on the ASM, is this the best way to do it?
    2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
    3) Is it possible/recommended to run RMAN from Node1 only?
    Below is the script used to run RMAN on the normal Oracle database (without RAC) which I need to change :
    =============================================================================================
    2.0 Oracle backup script: /opt/app/oracle/rman_scripts/backup.sh
    Use this for daily backups, possiblly as a cron job.
    Once a week run this: /opt/app/oracle/rman_scripts/backup.sh FULL
    All other days of the week: /opt/app/oracle/rman_scripts/backup.sh INCREMENTAL
    Note: You may have to change ORACLE_SID, ORACLE_BASE below to match your database.
    =============================================================================================
    #!/usr/bin/ksh
    ORACLE_SID=orcl
    ORACLE_BASE=/opt/app/oracle
    ORACLE_HOME=${ORACLE_BASE}/product/10.2.0/db_1
    PATH=${ORACLE_HOME}/bin:/usr/bin
    LOGDIR=${ORACLE_BASE}/logs
    LOGFILE=${LOGDIR}/rman.log
    if [[ $# < 1 ]]
    then
    echo "usage: backup.sh FULL|INCREMENTAL"
    exit;
    fi
    BACKUPTYPE=${1}
    full='FULL'
    incremental='INCREMENTAL'
    if [[ $BACKUPTYPE == $full ]]
    then
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup database;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    echo ''
    fi
    if [[ $BACKUPTYPE == $incremental ]]
    then
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup database;
    backup incremental level 1 database;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    echo ''
    fi

    Hi [email protected],
    Q1) where to put Flash Recovery Area (FRA)?
    A1) With RAC: on the shared storage
    I saw recommendations to put FRA on the ASM, is this the best way to do it?
    If you want your backups to be available for both nodes you have to use shared storage or tape using an mml library.
    So if you want to use the FRA for rman backups and the database is on ASM just make ASM the standard for the FRA as well.
    Q2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
    A2) Than you cannot recover in case Node1 is down. Best would be to send your storage admin to a training course so he can manage the clustered raw devices needed for ASM.
    Q3) Is it possible/recommended to run RMAN from Node1 only?
    A3) No see A2.
    Regards,
    Tycho

  • Compatibility with Oracle RAC 10g and E-business 11i ?

    Hi netpros,
    I am currently helping the sales guys with a tender. The customer requires the solution to be compatible for delivering Oracle RAC 10g and e-business 11i. we are proposing a combination of Cat6509E for the core with Infiniband server switches. Are these devices OK for use with Oracle. I have not much experience with Data centers and so any help is much appreciated.

    Hi,
    It just so happens Cisco have a paper on exactly this subject (Oracle and e-business 11i) here:
    http://www.cisco.com/application/pdf/en/us/guest/netsol/ns50/c649/ccmigration_09186a00807688ce.pdf
    The design is somewhat OTT as it includes everything which Cisco thinks may be even vaguely useful, including ACE and FWSM modules. However, it's very useful as a comparison document and does include some good design tips, and the references at the end are also worth following up.
    I wouldn't want to get into the whole Infiniband vs Fiber Channel argument (the doc uses MDS switches) but both work just fine in the DC environment.
    HTH
    Andrew.

  • Gracefully Shutting all the services pertaining to Oracle RAC 10g R2

    Hi !!
    Can anyone guide me in Gracefully Shutting Down All the services, processes pertaining to Oracle RAC 10g R2 - Clusterware, Oracle Software, Oracle RAC Database, Netservices, EMConsoles......
    Any Scripts / Metalink ID's / Comments would be very much helpful....
    Cheers n Thanks

    If its for both Linux and Windows .... Then it would be better ...

  • Oracle RAC 10g on Sun clustor

    Dear Friends,
    Did any body can expain installing Oracle RAC 10g on Sun clustor.
    is there any checklist or step by step procedure availbile for it.
    if we are using Sun cluster, is it required to install oracle ClusterWare on it..
    what will be the architecture for it..
    Thanks

    Hi,
    Refer the Metalink Note _160120.1_ :Oracle Real Application Clusters on Sun Cluster v3
    Hope helps
    Regards,
    Xaheer

  • Software need for oracle rac 10g r2

    Hi,
    Can any one please give the exact link to download the Oracle Rac 10g r2 for the setup of rac.
    Thanks & Regards,
    Poorna Prasad.

    Hi,
    On linux rhel4 we are installing the Rac .I am new to this high technology i need to create a rac set up on my own can any one please help me
    Here is the details of our san storage
    I am going to implement the RAC set up on my san storage .Here i am having 3 blades in my san and each blade is divided in to 4 parts as Vm1,vm2,vm3.vm4 virtual machines here i need to setup the rac database on vm4 virtual machine can any one please help me how to follow .
    Here first i need to configure the shared disk storage before installing the rac.
    And on vm3 virtual machine we have installed the oracle database 10g software.
    The rac configuration is between vm4 virtual machin on blade1 and vm4 virtual machine on blade2.
    Please help me.

  • Install Oracle RAC 10g (10.2.0.1) on HP-UX  B.11.31 U ia64 failed

    Hi All
    I am installing Oracle RAC 10g 10.2.0.1 on HP-UX B.11.31 U ia64 but can not complete
    hosts file
    #Public IPs
    10.144.1.111 spgdb01
    10.144.1.112 spgdb02
    #Private IPs
    10.144.2.2 spgdb01p
    10.144.2.3 spgdb02p
    #Virtual IPs
    10.144.1.113 spgdb01v
    10.144.1.114 spgdb02v
    I do installation with runInstaller without error. It copy and link is ok. When I run root.sh then It cannot complete as following
    Checking to see if Oracle CRS stack is already configured
    Checking to see if any 9i GSD is up
    Setting the permissions on OCR backup directory
    Setting up NS directories
    Oracle Cluster Registry configuration upgraded successfully
    WARNING: directory '/oracle/product/10.2.0' is not owned by root
    WARNING: directory '/oracle/product' is not owned by root
    WARNING: directory '/oracle' is not owned by root
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 0: spgdb01 spgdb01p spgdb01
    node 1: spgdb02 spgdb02p spgdb02
    Creating OCR keys for user 'root', privgrp 'sys'..
    Operation successful.
    Now formatting voting device: /ora/crs/votedisk01
    waitpid(-1, 0x7fffdf50, WUNTRACED) .................................................................................................... [sleeping]
    Now formatting voting device: /oracle/oradata1/crs/votedisk02
    Now formatting voting device: /oracle/oradata2/crs/votedisk03
    Format of 3 voting devices complete.
    Startup will be queued to init within 30 seconds.
    ====================
    I have waited for 10 mins but still not complete
    Additionally, log from runInstaller, I got
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-04-28_12-13-31AM. Please wait ...-bash-4.2$ Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.
    Private Interconnect : null
    Private Interconnect : null
    Private Interconnect : null
    Private Interconnect : null
    So, please help me fix this issue
    Thank you

    I had this problem and resolved it by transporting the file to the installation server with the correct ftp datatype (binary).
    On page 54 of the install guide (..Server\Oracle_Business_Intelligence\doc\doc\bi.1013\b31765.pdf) that comes with the installation files, there is an instruction to make sure that any ftp activity is done in binary.
    This may not have occured with the license.xml file if you use a tool which offers the "feature" of automatic datatype recognition.
    Hope this helps.

  • Oracle RAC 10g on Windows XP Professional

    Hi All,
    I read many articlaes that we can not install Oracle 10g RAC on Windows xp professional but the problem is I have a laptop where I am installing VMWARE with Unix O/S I can not upgrade my XP to Server edition as I do not have money o buy license.
    Please help me what all files I need to change to make my XP one of the nodes os RAC 10g.

    Thanks for replying.
    Can by downloading the kit,I will be able to install Oracle RAC?
    My question was:
    I have windows xp on my machine.I have vmware software also.I need to install Oracle RAC 10g on winxp and an guest opertaing system which will be linux.I want to test RAC by making 1 node on linux and one node on guest operating system winxp.
    Problem is RAC can only be installed on Server edition.Can it be possible to do it on WinXP?

  • Upgrade oracle rac 10g r2 10.2.0.3 to 10.2.0.4

    Hi all,
    I goint to upgrade oracle rac 10g r2 10.2.0.3 to 10.2.0.4 on Solaris 9, in the README file(patchset) does not say that upgrade the OCR, but int he Doc ID 316889.1 to say; it is necessary to upgrade or nothing happens if Iit does not upgrade?
    Mexman
    Edited by: ACS on 28/10/2009 12:19 PM

    Hi!
    I suppose if you have a Metalink note on which explains is necessary update OCR you must follow it. Software maker always are in reason!
    Chiao!

  • Oracle RAC 10g on Solaris 10 in a non-global zone

    I need to run Oracle RAC 10g on Solaris 10 in a non-global zone as I must cap the CPUs used for Oracle licensing limitations. My question is a simple one, but one for which I'm getting conflicting information depending upon whom I ask.
    If I want to run RAC in a non-global zone on two nodes, does this require the use of Solaris Cluster?
    I know there are good reasons to use Solaris Cluster, but the company for which I work cannot afford the additional expense of Solaris Cluster at this time. Is it possible to run Oracle RAC 10g in a capped container without Solaris Cluster or is Solaris Cluster absolutely required?
    Thanks in advance for any insight you can provide.

    AFAIK, Oracle 10g RAC is not supported in solaris containers.
    It is however supported in Solaris zone clusters...in order to use it, you would have to use Sun Cluster 3.2 (iinm).

  • Regarding Hangcheck timer configuration in Oracle RAC 10g r2 installation

    Hi,
    Is it necessary to configure hangcheck timer in Oracle RAC 10g R2 installation .
    Can somebody guide when we should install the hangcheck timer in Linux oracle 10g R2.
    Best Regards
    Gupteswar Prasad Mishra
    Edited by: Gupteswar on Jan 25, 2010 8:42 PM

    yes, its recommended to configure hangcheck timer in RAC configuration
    Configure the Hangcheck Timer
    The hang-check timer is loaded into the Linux kernel and checks if the system hangs. It will set a timer and check the timer after a certain amount of time. There is a configurable threshold to hang-check that, if exceeded will reboot the machine. Although the hangcheck-timer module is not required for Oracle Clusterware (Cluster Manager) operation, it is highly recommended by Oracle.
    cat /etc/rc.local
    modprobe hangcheck-timer hangcheck_tick=1 hangcheck_margin=10 hangcheck_reboot=1

  • Installation Guide needed for Oracle RAC 10G R2 Linux x86-64

    Hello All,
    Can someone point me to the Oracle documentation on installing Oracle RAC 10G R2 (10.2.1.0) for Linux x86-64?
    Seem unable to find the required doc.
    I greatly appreciate your help!
    Thanks!

    Additional to documentation which you can access and search from http://tahiti.oracle.com there are several good step by step installation articles which summaries documentation.
    http://www.oracle.com/technology/pub/articles/tech_dba.html#linux
    And you can find more similar articles at
    http://www.puschitz.com/
    http://www.oracle-base.com/articles/linux/ArticlesLinux.php

  • Installing Oracle RAC 10g

    Dears,,
    Please , it is the first time for me to install Oracle RAC 10g Release 2 on Linux x86
    It is mandatory to have two machines to install RAC and test it?
    Or can i install and test RAC on one machine? and How this?
    Please , provide to me installation guides for this practice and your advises
    Thanks & Best regards,,

    step by step installation of Rac on linux - single node
    user metalink note 241114.1

  • Installing Oracle RAC 10g Release 2 on Linux x86

    Dears,,
    Please , it is the first time for me to install Oracle RAC 10g Release 2 on Linux x86
    It is mandatory to have two machines to install RAC and test it?
    Or can i test it on one machine?
    Please , provide to me installation guides for this practice and your advises
    Thanks & Best regards,,

    The one of the best howto for 10gR2 RAC
    http://idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_14.shtml
    Also read the 2 day RAC on the official doc that will give you a head start..
    - Karl Arao
    karlarao.wordpress.com
    karlarao.tiddlyspot.com

Maybe you are looking for

  • Adobe acrobat X Pro problem with installation

    Hi, I bought a creative Suite 5.5 design standard, evrything installed perfectly but not the Adobe Acrobat X Pro! Before I even install it, it's telling me that the minimum system requirements are not met. Same thing after I install it. What do you t

  • Creating new Attributes for use with AttributedStrings

    I trying to find a way to change the color of key strings in a phrase so that they stand out. For example. the String (The water is HOT). I want the word HOT to be the color RED. I have noticed in using the TextAttributes option on the AttributedStri

  • Grant Access on View

    Hi, I would like to know the appropriate and easy way of granting access (SELECT,INSERT,UPDATE..Etc) on newly created object (VIEWS/SYNONYMS) to all users at one go. I have created a public synonym so that I can grant the access on synonym. Appreciat

  • How do I delete duplicate fonts in font folder?

    Multiple copies of TimesSem  Oct 21, 2013  7:24 PM  Zero bytes  Document  are in my font folder. Exactly 147,134 copies. I've been deleting them in batches and emptying the Trash but it's taking a long time. How do I get rid of them quicker? What may

  • Openreach box

    Recently added the extra channels and upped the broadband to unlimited. its all settled down  but one thing I notice is the LAN1 light is  flasjing constanly ? is this normal or am I using tooo much bandwidth ? as yet i've not used the new cable and