Add listener to 10g RAC manually

Hi RAC Expert,
Currently thinking to build RAC standby site. I believe that NETCA can be use to configure network services and it will automatically add to OCR.
If I put the tnsnsames.ora and listener.ora manually to $ORACLE_HOME/network/admin and start the listener manually (lsrnctl start)..etc
I only able to see srvctl configure listener ... (query the listener configuration), but there has no srvctl add listener....
How can I register the listener in ocr manually by using srvctl?
Thanks
Best Regards,
Vbeer

Hi,
I Need help here. Somehow netca cannot add listener to crs. Is there any other way to do it?say crs_register?
When I put listener.ora file that I use to start listener on one node, netca recognizes the listener for the instance and can delete it. However when I ask it to add, it hungs at registering the listener with the name listener ( suppose it should be listener_hostname).
my /crs_stat -t will never show the lsnr resource being registered)
Thanks

Similar Messages

  • 10g RAC's listener cannot startup when the node's back from down

    Hello
    My 10g RAC node1 down and I reboot it ,
    then everything's back except the listener of node1.
    [oracle@node2 crsd]$ crs_stat -t
    Name Type Target State Host
    ora....SM1.asm application ONLINE ONLINE node1
    ora....E1.lsnr application    ONLINE    OFFLINE
    ora.node1.gsd application ONLINE ONLINE node1
    ora.node1.ons application ONLINE ONLINE node1
    ora.node1.vip application ONLINE ONLINE node1
    ora....SM2.asm application ONLINE ONLINE node2
    ora....E2.lsnr application ONLINE ONLINE node2
    ora.node2.gsd application ONLINE ONLINE node2
    ora.node2.ons application ONLINE ONLINE node2
    ora.node2.vip application ONLINE ONLINE node2
    ora.v20db.db application ONLINE ONLINE node2
    ora....b1.inst application ONLINE ONLINE node1
    ora....b2.inst application ONLINE ONLINE node2
    And I did start it manually, but failed:
    [oracle@node2 crsd]$ crs_start ora.node1.LISTENER_NODE1.lsnr
    Attempting to start `ora.node1.LISTENER_NODE1.lsnr` on member `node1`
    `ora.node1.LISTENER_NODE1.lsnr` on member `node1` has experienced an unrecoverable failure.
    Human intervention required to resume its availability.
    CRS-0215: Could not start resource 'ora.node1.LISTENER_NODE1.lsnr'.
    What does that mean?
    and what should I do?
    Thank a lot.

    You should first force stop it by doing:
    crs_stop -f ora.node1.LISTENER_NODE1.lsnr
    and then do :
    crs_start ora.node1.LISTENER_NODE1.lsnr
    either the listener will start or it will show you the error which will point to the real cause.
    regards

  • Oracle 10G RAC - Public & Heartbeat on 1 NIC

    Hello all,
    actually I am installing Oracle 10G RAC on rhel 4 (4 node cluster). But the Cluster Verification Utility aborts with errors. I checked the configToolAllCommands and tried to run the failed commands manually:
    #/opt/oracle/crs/bin/oifcfg setif -global eth0.100/172.18.0.0:cluster_interconnect eth0.728/172.16.128.0:public eth0.498/172.17.1.0:cluster_interconnect
    PRIF-50: duplicate interface is given in the input
    PRIF-50: duplicate interface is given in the input
    PRIF-50: duplicate interface is given in the input
    Question:
    Is it possible to put Public & Heartbeat on one NIC (eth0.728 & eth0.498)
    If not is their any workaround for that issue?
    Output /etc/hosts
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    172.18.253.48 eu0266.[company].net cfmaster
    172.16.128.11 eu0200.[company].net eu0200
    172.16.128.12 eu0201.[company].net eu0201
    172.16.128.13 eu0202.[company].net eu0202
    172.16.128.14 eu0203.[company].net eu0203
    172.18.13.11 eu0200m.[company].net eu0200m
    172.18.13.12 eu0201m.[company].net eu0201m
    172.18.13.13 eu0202m.[company].net eu0202m
    172.18.13.14 eu0203m.[company].net eu0203m
    # Private section
    172.17.1.11 eu0200-priv.[company].net eu0200-priv
    172.17.1.12 eu0201-priv.[company].net eu0201-priv
    172.17.1.13 eu0202-priv.[company].net eu0202-priv
    172.17.1.14 eu0203-priv.[company].net eu0203-priv
    # Virtual section
    172.16.128.16 eu0200-vip.[company].net eu0200-vip
    172.16.128.17 eu0201-vip.l[company].net eu0201-vip
    172.16.128.18 eu0202-vip.[company].net eu0202-vip
    172.16.128.19 eu0203-vip.[company].net eu0203-vip
    Output install log:
    Checking existence of VIP node application (required)
    Check failed.
    Check failed on nodes:
    eu0203,eu0202,eu0201,eu0200
    Checking existence of ONS node application (optional)
    Check ignored.
    Checking existence of GSD node application (optional)
    Check ignored.
    Post-check for cluster services setup was unsuccessful on all the nodes.
    Command = /opt/[company]/oracle/crs/bin/cluvfy has failed
    INFO: Configuration assistant "Oracle Cluster Verification Utility" failed
    *** Starting OUICA ***
    Oracle Home set to /opt/[company]/oracle/crs
    Configuration directory is set to /opt/[company]/oracle/crs/cfgtoollogs. All xml files under the directory will be processed
    INFO: The "/opt/[company]/oracle/crs/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
    SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
    1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
    2. Fix the errors causing these failures.
    3. Select the failed assistants and click the 'Retry' button to retry them.
    Thanks in advance for your help!
    Regards

    Tads wrote:
    Hi all,
    I have a question about Oracle RAC and network interface.
    We're using Oracle 10gR2 RAC with two nodes on Linux Red Hat.
    Let's assume that the public network interface goes down.
    I would like to know what happens with existing connections
    on node with network interface with problems.
    Are connections frozen, actives?
    Can the users continue to use theses existing connections using the another node of RAC?If the interface is down? what do you think? All connections to this node will die. How does your application handle fail-over, does it attempt to reconnect or just have a complete application failure?
    You should spend some time in a test lab where you can test this stuff for yourself. Read the documentation and there are tons of sites out there that purport to have all of your RAC/TAF/FAN/FAF questions. - I would read and trust the documentation first.
    >
    I know that the listener goes down and any other connections is allowed.
    Thank you very much!!!!

  • Asm, instance and service failing to start 10g rac redhat el5

    hi,
    i have been following a how to guide from oracle's website about implementing a 10g rac system using el5 (http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html), by the end of the installation and setup I had both the nodes up and running and all services were up and running. Then under the root account I rebooted one of the nodes. now when I check the status of the services I get this:
    [oracle@rac01 ~]$ crs_stat -t
    Name           Type           Target    State     Host
    ora.orcl.db    application    ONLINE    ONLINE    rac01
    ora...._taf.cs application    ONLINE    ONLINE    rac02
    ora....cl1.srv application    ONLINE    OFFLINE
    ora....cl2.srv application    ONLINE    ONLINE    rac02
    ora....l1.inst application    OFFLINE   OFFLINE
    ora....l2.inst application    ONLINE    ONLINE    rac02
    ora....SM1.asm application    OFFLINE   OFFLINE
    ora....01.lsnr application    ONLINE    ONLINE    rac01
    ora.rac01.gsd  application    ONLINE    ONLINE    rac01
    ora.rac01.ons  application    ONLINE    ONLINE    rac01
    ora.rac01.vip  application    ONLINE    ONLINE    rac01
    ora....SM2.asm application    ONLINE    ONLINE    rac02
    ora....02.lsnr application    ONLINE    ONLINE    rac02
    ora.rac02.gsd  application    ONLINE    ONLINE    rac02
    ora.rac02.ons  application    ONLINE    ONLINE    rac02
    ora.rac02.vip  application    ONLINE    ONLINE    rac02though I can start the asm instance manually by
    srvctl start asm -n rac01and it starts but the instance and service on the rebooted node still wont start. is there a log file which tells me what the error is when it tries to start the instance? what can I do to ensure that if a node is rebooted that all of the services get started correctly and the node automatically rejoins the cluster (i thought I had set all of this from the instructions of the guide I was following).
    Regards
    Martin.

    Check ASM resource:
    crs_stat -p "resource_name
    $ crs_stat | grep NAME\= | grep ASM1
    NAME=ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    *AUTO_START*=1
    CHECK_INTERVAL=600
    DESCRIPTION=CRS application for ASM instance
    What do you see AUTO_START?
    if 1 = auto start:
    or check error ASM while start... at ASM_HOME/log/rac01/racg/*
    If AUTO_START=2
    Oracle Clusterware is configured to start the VIP, listener, instance, ASM, database services and other resources during system boot. Starting with 10.1.0.4, it is possible to modify some resources to have their profile parameter AUTO_START set to the value 2. This means that after node reboot, or when Oracle Clusterware is started, resources with AUTO_START=2 will need to be started manually via srvctl. Please work with Oracle Support if you need to modify this attribute.
    If AUTO_START=2 and need to change to 1:
    Example:
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    AUTO_START=2
    $ crs_stat -p ora.rac01.ASM1.asm > ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm
    $ crs_unregister ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    CRS-0210: Could not find resource 'ora.rac01.ASM1.asm
    $ vi ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm.cap
    AUTO_START=2
    to
    AUTO_START=1
    $ crs_register ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    *AUTO_START=1*
    Edited by: Surachart Opun (HunterX) on Jul 31, 2009 1:06 PM

  • Oracle 10g RAC installation on HP-UX 11.31 for SAP ERP 6.04

    Dear experts,
    We are trying to install SAP ERP 6.0 EHP4 with Oracle 10g RAC on HP-UX 11.31. Please note that, We are using VERITAS cluster filesystem (CFS) for this purpose and not HP-UX ServiceGuard ClusterFileSystem.
    *As per SAP procedure, we have installaed plain plain SAP system with single instance Oracle (ref: Configuration of SAP NetWeaver for Oracle Database 10gRAC guide). Now we are first trying to install Oracle Clusterware (CRS) and then we will install Oracle RAC software. Is this procedure right?*
    Which file (and its path) we have to use for CRS installation and its patch? Is it runInstaller under /oracle/stage/102_64/clusterware? With this file we can install CRS 10.2.0.1. Similarly for Oracle RAC, which files we are supposed to use, i.e for installation and patch upgrade?
    Also can we use clusterware package available from Oracle directly in the SAP environment?
    We tried to install CRS with runInstaller while running Configuration Assistant after root.sh script.
    The following commands are failing in Configuration Assistant:
    /oracle/CRS/102_64/bin/racgons add_config erpprdd1:4948 erpprdd2:4948
    /oracle/CRS/102_64/bin/oifcfg setif -global  lan1/20.20.20.0:cluster_interconnect lan0/192.168.3.0:public
    /oracle/CRS/102_64/bin/cluvfy stage -post crsinst -n erpprdd1,erpprdd2
    1st command does not give any output if run manually.
    2nd commands o/p: PRIF-12: failed to initialize cluster support services
    3rd commands fails in every check
    Please suggest the solution and expecting answers to the above mentioned questions.
    Thanks & Regards,
    Tejas

    >
    Charles Yu wrote:
    > Q1:  Oracle RAC with 9.2.x on HP-UX?
    > A:   For HA environment, cluster software is: MC/SG on HP-UX 11.31; there are  optional components of MC/SG  for supporting Oracle RAC and SAP application.  I was confused that I could not find the installation guide regarding 4.6C on MC/SG HA environment of HP-UX.
    > Charles
    Relevant docs for Service Guard (SG) cluster are available at http://docs.hp.com. Hope you have checked for the suport of oracle 92x on HP-UX 11.31
    >
    Charles Yu wrote:
    > Q2: Any reason why you don't use a supported database version?
    > A:   Actually, in order to avoiding the the risk of database upgrade and minimizing the migration risk,  top level has decided that keeping the same Oracle version. Indeed, we don't plan the migration of application. On the other hand, it is complicated to do the assessment for application migration.
    > Charles
    You can go for combined os migration and db release upgrade also at a stretch with the same downtime.

  • 10g RAC upgrade to 11g RAC

    How to perform 10g RAC upgrade to 11g with Dataguard in place?
    OS=LINUX
    RDBMS=10.2.0.4
    DG=PHYSICAL STANDBY
    Below is my understanding
    1)Install 11g CRS in NEW_CRS_HOME
    2)Install 11g in NEW_ASM_HOME
    3)Install 11g in NEW_RDBMS_HOME
    4)Export the new NEW_ORACLE_HOME and start up the database with startup upgrade.
    5) Run the catupgrade.sql script.
    Are there any other steps involve?
    In case I have to rollback then how to rollback CRS.

    Personally I would use DBUA instead of catupgrade.sql, but make sure you follow the upgrade documentation for pre-checks etc. You will also need to use netca to recreate the sqlnet listeners in the 11g homes and register with 11g CRS.
    CRS is generally fairly quick to re-install and re-register databases, and this is cleaner than trying to restore OCR and VOTE disks etc. If you prefer to rollback be sure you backup the OCR and VOTE disks (e.g use dd), backup /etc/oracle, CRS_HOME, /etc/init* scripts etc.
    The dataguard standby database should roll forward through the upgrade, but you will need to manually register the standby with 11gCRS. Make sure you have your DB and Log create_file_dest's set, as well as standby_file_management=auto. Personally I would manually recover the standby after the upgrade in case I need to use it to fallback.
    Edited by: rgeier on Sep 1, 2009 3:51 PM

  • 10g RAC - should I use RAW, OCFS and/or ASM ?

    I am about to install 10G RAC on RHAS3. Options for sharing disk partitions are raw, OCFS and ASM. The OCR and voting files must be raw or OCFS, I would tend to go for OCFS in this case. For the Oracle datafiles, again, I would tend to go for OCFS simply for ease of management since ASM seems to add another layer of complexity, and raw lacks flexibility. OCFS however is also new technology and may still have some stability issues. I'm not yet sure of our disk configuration, but there will be HBA cards in each machine with one or two SAN partitions, so I don't expect some of the ASM features such as mirroring etc. will be required as this will be done in the hardware. Does anyone have any recommendations or experiences(good or bad) in which way to go ?
    Philip

    We're using raw partitions for some years now, (since oracle 8i, then 9i and now 10g). It is quite flexible, but you shouldn't use physical partitions but LVM. It's very stable.
    Now on 10g we're using ASM on some sites where mirroring is needed. It works, but not so stable as raw. we discover some bugs as well.
    We've never used OCFS. I don't like it. To much limits. I belive that special utilities are needed for managing files. I don't like linux system software produced by oracle.

  • CRS-0210: Could not find resource while start ASM on 10G RAC

    Dear All
    I'm trying to install 10g RAC on Redhat 4.1. At the point at which I try to start ASM it fails with the message
    ORA-03113: end-of-file on communication channel
    select value from v$parameter where name='instance_type'
    ERROR at line 1:
    ORA-01034: ORACLE not available
    This seems to be due to a failure CRS. The trace file shows:
    [Thread-11] [17:14:2:907] [HAOperationImpl.runCommand:1254] CRS cmd is: /u01/app/oracle/product/10.2.0/crs/bin/crs_stat -u ora.bfhxx-sql012.ASM1.asm
    [Thread-41] [17:14:2:964] [StreamReader.run:65] OUTPUT>CRS-0210: Could not find resource ora.bfhxx-sql012.ASM1.asm.
    Executing
    /u01/app/oracle/product/10.2.0/crs/bin/crs_stat
    produces:
    NAME=ora.bfhxx-sql012.LISTENER_BFHXX-SQL012.lsnr
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on bfhxx-sql012
    NAME=ora.bfhxx-sql012.gsd
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on bfhxx-sql012
    NAME=ora.bfhxx-sql012.ons
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on bfhxx-sql012
    NAME=ora.bfhxx-sql012.vip
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on bfhxx-sql012
    Is this a red herring or is it the reason ASM won't start? At what point should this entry have been created (ie should it already exist when ASM starts or should ASM create it)? Can I manually create the entry using crsstat.
    Many thanks
    Paul

    It all depends on what your mapping problem was and what you did to resolve it. Here are a couple of things you could try:
    -Make sure the orc.loc file on ebdb1 has the same entry as ebdb2. Also, say you are using shared raw devices for CRS: make sure your raw devices are consistent on both nodes.
    If the above does not work
    -Make sure the shared devices are consistent on both nodes and restore one of the OCR backups. I am sure at least one of the backups 4hrs/8hrs/1day/2day/1week some thing must be a worthwhile. If you do restore OCR from a backup make sure to run cluvfy before you start your CRS.
    Always a good practise to take a backup of status quo before you restore from the backups.
    It would be interesting to know what lead to your disk mapping problem in the first palce.
    Good Luck!

  • Oracle 10g RAC+ASM - Storage Issue

    I’ve an issue related to Oracle 10g RAC.
    I’ve 2 node cluster each being Dell 2850 Server with RHEL 4.0
    I’ve EMC CX300 SAN storage with following partitions
    /orasoft     10 Gb          OCFS2 File system
    /oracrs          2 Gb          OCFS2 File system
    /orabackup      100 Gb          OCFS2 File system
    The datafiles are on ASM which is not directly visible in OS.
    I’ve common Oracle Home installed in /orasoft/db_1 which is shared by both nodes in cluster.
    I’ve faced an issue recently related to EMC storage.
    The /orasoft partition displays 1.4 Gb space available using df command.
    With both nodes sharing the common Oracle Home (/orasoft/db_1), when ever I try to touch a file I get an error as No Space left on device. I’m unable to start any service with the same reason.
    Is this setup correct ??
    Can anyone help me with this storage issue ??

    Hi,
    If you create a new diskgroup you may be to add the same diskgroup to parameter file or spfile and which will be needing down time.
    sugestion: Instead of creating new diskgroup you should to add disk to existing group.if you add asm disk to existing group your all problem will be solved and Oracle itself will be managing all.And than i am sure no need to add entry in the parameter or spfile like +db_create_file_dest=.....
    regards,
    Sher khan

  • R12 with 2 node 10g RAC is not updating with autoconfig correctly.

    Hi,
    we are on R12.0.6 with 2 node 10g RAC. Our collegue did the RAC setup, I was not there at that moment
    steps he followed is
    1. Installed 10g CRS,ASM 10.2.0.3 software and bring up the two nodes.
    2. Configured the RAC DB to Oracle Appplication and registered the Listener with CRS.
    Name Type Target State Host
    ora....D1.inst application ONLINE ONLINE erpdb1
    ora....D2.inst application ONLINE ONLINE erpdb2
    ora.ERPPROD.db application ONLINE ONLINE erpdb1
    ora....SM1.asm application ONLINE ONLINE erpdb1
    ora....B1.lsnr application ONLINE ONLINE erpdb1
    ora.erpdb1.gsd application ONLINE ONLINE erpdb1
    ora.erpdb1.ons application ONLINE ONLINE erpdb1
    ora.erpdb1.vip application ONLINE ONLINE erpdb1
    ora....SM2.asm application ONLINE ONLINE erpdb2
    ora....B2.lsnr application ONLINE ONLINE erpdb2
    ora.erpdb2.gsd application ONLINE ONLINE erpdb2
    ora.erpdb2.ons application ONLINE ONLINE erpdb2
    ora.erpdb2.vip application ONLINE ONLINE erpdb2
    oracle@erpdb1 $
    The issue is, in our tnsnames.ora in both the nodes.
    ===
    ERPPROD=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    instead of
    ERPPROD=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    (INSTANCE_NAME=ERPPROD2)
    Node1 tnsnames.ora
    oracle@erpdb1 $ cat tnsnames.ora
    # This file is automatically generated by AutoConfig. It will be read and
    # overwritten. If you were instructed to edit this file, or if you are not
    # able to use the settings created by AutoConfig, refer to Metalink Note
    # 387859.1 for assistance.
    #$Header: NetServiceHandler.java 120.16.12000000.4 2008/04/28 06:39:48 schagant ship $
    ERPPROD=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    ERPPROD1=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    ERPPROD1_FO=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    ERPPROD2=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD2)
    ERPPROD2_FO=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD2)
    ERPPROD_FO=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    ERPPROD2_LOCAL=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    ERPPROD1_LOCAL=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    ERPPROD_BALANCE=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (LOAD_BALANCE=YES)
    (FAILOVER=YES)
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    ERPPROD_REMOTE=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    LISTENER_ERPPROD1=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    LISTENERS_ERPPROD=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    extproc_connection_data =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCERPPROD1))
    (CONNECT_DATA=
    (SID=PLSExtProc)
    (PRESENTATION = RO)
    IFILE=/u01/app/oracle/product/10/db/network/admin/ERPPROD1_erpdb1/ERPPROD1_erpdb1_ifile.oraoracle@erpdb1 $
    oracle@erpdb1 $
    =======
    Node2 tnsnames.ora
    =======
    oracle@erpdb2 $ cat tnsnames.ora
    # This file is automatically generated by AutoConfig. It will be read and
    # overwritten. If you were instructed to edit this file, or if you are not
    # able to use the settings created by AutoConfig, refer to Metalink Note
    # 387859.1 for assistance.
    #$Header: NetServiceHandler.java 120.16.12000000.4 2008/04/28 06:39:48 schagant ship $
    ERPPROD=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    ERPPROD1=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    ERPPROD1_FO=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    ERPPROD2=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD2)
    ERPPROD2_FO=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD2)
    ERPPROD_FO=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    (INSTANCE_NAME=ERPPROD1)
    ERPPROD2_LOCAL=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    ERPPROD1_LOCAL=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    ERPPROD_BALANCE=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (LOAD_BALANCE=YES)
    (FAILOVER=YES)
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=ERPPROD)
    ERPPROD_REMOTE=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    LISTENER_ERPPROD2=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    LISTENERS_ERPPROD=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb2-vip.domain.com)(PORT=1521))
    (ADDRESS=(PROTOCOL=tcp)(HOST=erpdb1-vip.domain.com)(PORT=1521))
    extproc_connection_data =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCERPPROD2))
    (CONNECT_DATA=
    (SID=PLSExtProc)
    (PRESENTATION = RO)
    IFILE=/u01/app/oracle/product/10/db/network/admin/ERPPROD2_erpdb2/ERPPROD2_erpdb2_ifile.oraoracle@erpdb2 $
    =====
    Pl let us know how we can achive through autoconfig.
    Regards
    Vasu

    Vasu,
    The issue is, in our tnsnames.ora in both the nodes.What is the issue?
    I believe the following documents should be helpful in configuring your tnsnames.ora (and other files) with RAC implemented.
    Note: 388577.1 - Using Oracle 10g Release 2 Real Application Clusters and Automatic Storage Management with Oracle E-Business Suite Release 12
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=388577.1
    Note: 756050.1 - Troubleshooting Autoconfig issues with Oracle Applications RAC Databases
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=756050.1
    Regards,
    Hussein

  • Error while deleting instance in 10g RAC

    Hi,
    I am trying to delete an instance in node 3 using DBCA. I am in node 2 and when I give username and password (Instance Management --> Delete Instance) i get the following error
    "SID given in connect descriptor could not be resolved.
    Connection to the database failed. Please make sure that service "xxxxxx" is registered with the listener. Username Sys has SYSDBA privleges, password is correct and then try again."
    The local_listener parameter is set to the listener name.
    Please provide suggestions...Its urgent.

    Hello,
    I think you should refer to this Doc ID:  269320.1 : Removing a Node from a 10g RAC Cluster ; this might be helpful to you. You can also try srvctl command to remove instance from the RAC and follow the instructions.
    Make sure you take backup of OCR before removing the node /instances.
    Can you connect from node2 to node 2 using explicit connection string, how is your tnsnames.ora configured? If not able to connect correct that issue and try again
      sqlplus username/password@NODE3_INSTANCE;
    Regards

  • Using Clob with TopLink 9.0.4.5 and Oracle 10g RAC

    I am trying to store an XML file in a Clob type field of a DB table using TopLink 9.0.4.5 and Oracle 10g RAC and need some guidance about how to do it. I got some directions to start it with the Tip "How-To: Map Large Objects (LOBs) to Oracle Databases with OracleAS TopLink" but still need some more helps.
    When using the Oracle JDBC OCI driver, the tip gives the code block for a Clob field:
    DirectToField scriptMapping = new DirectToField();
    scriptMapping.setAttributeName("script");
    scriptMapping.setFieldName("IMAGE.SCRIPT");
    descriptor.addMapping(scriptMapping);
    As I understand, TopLink creates instances of the Descriptor class at run time for each of the descriptor files and stores them in a database session, where is the proper place (in SessionEvent of TopLinkSessionEventHandler?) for me to get a reference to such an instance of my Descriptor class in Java code so that I can add the above mentioned additional Mapping? Are the above String values of "script" and "IMAGE.SCRIPT" predefined in TopLink API? Can I accomplish the same thing just using the TopLink Workbench tool instead? If yes, please advise the detailed steps to do so.
    The tip also states to call the following code in case of using Clob:
    DatabaseLogin login = session.getLogin();
    login.useStringBinding();
    Should the above 2 lines of code be called after the following lines of code?
    SessionManager sessionManager = SessionManager.getManager();
    Server serverSession = (Server)sessionManager.getSession("MY_SESSION_NAME");
    Besides the above extra coding for the Session and Descriptor Mapping, is there any special handling in between Data model and DB table mapping? Can I map a Java String type to a DB Clob field using the Direct-to-field mapping?
    Appreciate any help.

    Never mind ....... I had already figured it out .....

  • Oracle database not starting up in oracle 10g RAC

    Hi!
    Recently I came across one problem with one node oracle 10g RAC.When the Oracle database is started,while opening it is giving ORA-03113:End of file on communication channel error.When I saw the the alert trace file and other trace files I found Disk group is exhausted error and it is not able to create .dbf files.Actually it is not a production server and I gave archive log destination in SAN.Even the spfile(content of init_database.ora) is in SAN..
    I tried Asmcmd utility to delete the archive log files.As the oracle is not available I am not able to asmcmd prompt.
    How to change the destination of archive log and to remove the old archive log files(as it is a testing environment we can remove) from SAN?Please let me know.
    Thanks & Regards
    Srikanth MVS

    keithrust wrote:
    On VMware there's a known issue with Oracle databases on a Windows client not starting up properly all the time and a manual startup using oradim -start -sid <whatever> is required to get it fully running. Hmmm, doing it several time, and never seen such issue. Which "known issue" and by who are you talking about ?
    I created a brand new Oracle VM Windows 2003 32-bit server, installed the Oracle drivers for paravirtualization, and whammo, the problem is still hereI'm sure, you miss something somewhere in the config. Right now, you're on supported configuration, you could either raise a SR to the support, or get help from your peer on Oracle Database General forum.
    Ah, but it's not a Windows issue. On a non-VM Windows box the database starts just fine all the time. Again, this is a known issue acknowledged by Oracle on the VMware side, I'm just surprised it exists on the Oracle VM side.Again, give more details about this "known issue". Never heard about that, eventhough I've been around for years.
    I was afraid you were going to ask that. I'll have to search for it again, but I think you can do the same as well....Well, I doubt you could find a Metalink note about Oracle on VMWare. So far, Oracle has always refused to support database on OS virtualized on VMWare (or any VM software other than Oracle VM). Based on that, you could be sure, your "known issue" is not an issue on Oracle VM.
    If you want more help, again, give more details about your issue.
    Nicolas.

  • What could be the disadvantage of the "AUTO_SPACE_ADVISOR_JOB" in 10g RAC?

    Hi, all.
    The database is 2 node RAC database on 32 bit windows 2003 EE SP1.
    What could be the pros and "CONS" of the "AUTO_SPACE_ADVISOR_JOB" job
    in 10g RAC?
    It is one of advisor, and thus I think it is not required.
    What could be the disadvantage of AUTO_SPACE_ADVISOR_JOB
    in terms of PERFORMANCE in 2 node RAC environment?
    The 2 node RAC database seems to be experiencing performance degrade
    due to default jobs on installation such as AUTO_SPACE_ADVISOR_JOB and
    GATHER_STATS_JOB.
    I am looking forwared to hearing your experience and advice.
    Thanks and Regards.

    Dear Justin.
    Thanks for your reply.
    1) What is the magnitude of the waits you're seeing? Over what time frame?
    --> I found the above wait events in the top 5 wait event section from AWR report.
    The AWR snapshot time frame is one hour.
    --> On a regular basis(maybe, one or two week), the database hangs, causing a number of library cache related wait events and gc related wait event.
    2) If the system is hanging and not doing a log switch, have you debugged that process? I'd be hard-pressed to imagine how library cache events would be related to this sort of thing. I would tend to suspect a hardware/ RAC install/ RAC config issue.
    --> I applogize for insufficient information. I took "system state dump" and "hang analyze" at the time of database hang.
    --> It is hard for me to understand the system dump file. I reported those files to Oracle Support, but no answer was returned now.
    --> As you said, it may be caused by different issues. I will try to investigate other factors.
    3) Why do you "guess that when gather_database_stats tries to get statistics about AWR snapshot objects, it causes a number of library cache invalidation and dictionary cache reload between two nodes?"
    --> I investigated AWR reports during the period of database hang. I found the above wait events with gather_database_stats in common. That is all why I suspect "gather_database_stats" job.
    Specifically regarding the statistics gathering job, is your application is doing something unusual that forces the default statistics job to gather statistics regularly on a substantial fraction of your tables forcing your application to re-parse a substantial fraction of its SQL? Do you have an alternate method for gathering statistics that is going to generate less load and/or invalidate fewer SQL statements? Is your application reusing SQL (i.e. using bind variables)?
    --> Currently, we have not deployed all part of an application. At this point, the data is about 10 Mega. The application is using bind variables, but I also could see high number of sql version count. I am inspecting why.
    --> I am considering gathering statistics manually (only application schema, not all database objects)
    4) What makes you believe that the AWR snapshot process is causing problems?
    --> I applogize for insufficient explanation. I mean the problems occur when "gather_database_stats" job takes statistics of "AWR snapshot data",
    because application data is very very small, only 10 Mega and 28 tables.
    Currently, we have deployed only 1 % of the entire application.
    ● This is the first time I manage a RAC database. I think a RAC database is something different from a single database.
    I do not think the same problem could occur in a single database.
    Thanks for detailed explanation and advice.
    Best Regards.

  • Putting Oracle Apps 11i on 10g RAC using VMware

    Hello All,
    I am building a Oracle Applications 11i on 10g RAC, using VMware..Since there aren't any docs I could find on internet explaining how to do this, I have come up with my own. I have combined the MEtalink doc:362135.1 and the docs describing building a 10gRAC "database" using VMware..I want to know if the below process is good enough to get the required results:
    Steps:
    -Install VMware on HOST m/c
    -Configure 1st virtual m/c, say RAC1
    -Install RHEL on RAC1
    -Install 11i with 9i database on the local SCSI bus- SCSI 0:0
    -Install VMware client tools
    -Create a new ethernet adapter(for private interconnect) on RAC1
    -Create shared disks on RAC1
    -Partition the disks
    -Add the disks as RAW devices in /etc/rawdevices
    -Clone RAC1 to a new virtual m/c,say RAC2
    -Delete the 11i apps directories from its local SCSI bus..since these would be redundant on RAC2
    -Install Clusterware s/w on RAC1 using the same oraInventory that is used by the Applications 11i installation-
    -Install the 10g DB software and create ASM instances using dbca
    -Install Database componenets from 10g companion CD
    -Upgrade CRS abd DB s/w to 10.2.0.4
    -Upgrade the 9i database to 10g using dbua from the 10g ORACLE_HOME
    -Convert the newly upgraded 10g databse to RAC using the rconfig tool
    -Post migration steps for RAC
    -Enable AutoConfig on the Applications Database tier
    - Follow the "Establish Applications Environment for RAC" section from Doc:362135.1
    -Configure PArallel Concurrent Processing(PCP)
    Thanks,
    Sandeep

    (Considering that there are only 2 nodes the scenario the steps would be as follows:
    1. Install RAC using the steps provided at the link:
    http://oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
    2.On RAC1 create a single instance of Oracle 11i (Both DB and Apps are on the same node)
    3. Follow the steps outlined in the Note:362135.1
    One thing to note is that the steps are the same whether the nodes are real or virtual.

Maybe you are looking for

  • How much RAM can my computer hold?

    I have a Macbook Pro 2GHz, I believe one of the first models that came out. I have 1GB RAM, and while looking to buy a 2GB upgrade, I couldn't figure my computer's max memory. Can all of the Macbook Pros use 3GB of memory, or do the original models o

  • Itunes wont work

    My itunes suddenly stopped working today.. I downloaded 10.1 yesterday or something, worked perfectly fine for some time, but now it wont open. (this actually happend after i used a jailbreak on my iphone 4. (greenp0ison or something like that). The

  • Procedure of EXCISE INVOICE cancellation

    Hi, Experts want to cancel the EXCISE INVOICE but system wont allow for cancellation it is saying CEIV modvat a/c not updated. Can you give the solution for that., tell the procedure of reverse also. For ARE1 whats the procedure for cancellation or r

  • Model Binding and Calculated Field Syntax for "class" Attribute

    Hi, I tried to use the calculated field syntax from SAP UI5 to change the CSS class attribute of an element based on some model property, i.e., I wanted to change the class in the corresponding formatter function based on the currently bound value. H

  • SWF panel listener for changed selection

    In short, my question is as follows. Is it possible to create a listener which detects when the current selection in the Flash authoring tool has changed, and informs my SWF panel? This does not have to be a listener per se, it can be some hand-craft