Notes to manage Oracle RAC

Is there any notes on metalink to manage Oracle RAC DBs?

You should be more specific, since you didn't define the version, 9i, 10g, 11g ? nor the platform.
As an starting point, you can read this:
Oracle® Database 2 Day + Real Application Clusters Guide
10g Release 2 (10.2)
Part Number B28759-01
~ Madrid

Similar Messages

  • FDM is not supported on Oracle RAC?  Why not?

    [http://download.oracle.com/docs/cd/E12825_01/epm.111/fdm_11113_readme.pdf|http://download.oracle.com/docs/cd/E12825_01/epm.111/fdm_11113_readme.pdf] We are in the process of implementing Oracle Hyperion Financial Data Quality Management (FDM) version 11.1.1.3 as part of our Hyperion Essbase BI environment. I read over the documentation prior to building the databases, but apparently I missed an important bit of information. It seems that FDM is not supported on Oracle RAC. I just noticed this under in the "Known Issues" section of the FDM 11.1.1.3 release notes, and that was only one sentence. The release notes do not explain why this is the case.
    - Does anyone know why FDM release 11.1.1.3 is not supported for Oracle RAC?
    - Has this always been the case?
    - Can a single node database, running on an Oracle 10.2.0.4 two node RAC environment, be used instead of building a separate, stand-alone database?
    Link to readme document. The reference to RAC support, or non-support, is on page 6:
    http://download.oracle.com/docs/cd/E12825_01/epm.111/fdm_11113_readme.pdf

    Hi Daan,
    I belive we all shoud consider http://forums.oracle.com/forums/ann.jspa?annID=939
    I get upset to see people on this forum who answer the questions like *'use google'* or *'let me google it for you'* or *'use this forum filter'*
    I belive it is better to help them answer a better question or if you don't like the question ignore it.
    Hi user10511107,
    I belive your problem is with Windows not with BI, BI just can't get windows version,
    If you are on right version of windows go to MSDN and search for your error and how to fix it
    ERROR: Provider Load Failure.
    Regards
    Nicolae

  • 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.

  • Cluster_resource not starting in oracle RAC 11gR2 after adding

    I am using a RAC of 2 nodes (rac1,rac2) on windows 2008 Server R2 with Oracle 11gr2 grid installed.
    I am trying to add a cluster resource using
    *> crsctl add resource check -type cluster_resource -attr "ACTION_SCRIPT=C:\app\agent.exe"*
    It is success and is shown using crs_stat -t
    C:\app\11.2.0>crs_stat -t
    Name Type Target State Host
    check clus...esource ONLINE UNKNOWN rac2
    Now I am trying to start this using
    *>crsctl start resource check*
    Its failing with following error:
    CRS-2672: Attempting to start 'check' on 'rac2'
    CRS-2674: Start of 'check' on 'rac2' failed
    CRS-2679: Attempting to clean 'check' on 'rac2'
    CRS-2678: 'check' on 'rac2' has experienced an unrecoverable failure
    CRS-0267: Human intervention required to resume its availability.
    CRS-5802: Unable to start the agent process
    CRS-4000: Command Start failed, or completed with errors.
    Please help me in solving this problem.

    Hi FZheng ,
    Thanks for your reply.
    agent.exe is a application containing start/stop/clean/check cases.Its a simple application through which we want to check cluster resource addition.
    Yes Grid user has privileges to rum agent.exe.
    One thing more I want to add,this problem is only coming for ORACLE 11gR2.
    All other versions (11gR1,10g) its working fine.
    If we check crsd.log in %GRID_HOME%/log/crsd directory ..the logs are as follows:
    *[ AGFW][3616] Starting the agent: C:\app\11.2.0\grid\bin\scriptagent.exe with user id: administrator and incarnation:9*
    *[ AGFW][3616]Created alert : (:CRSAGF00123:) : Failed to start the agent process: C:\app\11.2.0\grid\bin\scriptagent.exe Category: -2 Operation: OpenService Loc: getusrtok2 OS error: 1060 Other : OpenService Failed*
    *[ AGFW][3616]Created alert : (:CRSAGF00126:) : Agent start failed*
    I guess the problem is with scriptagent.exe which is used to start 3rd party cluster resources.
    Please comment.

  • 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.

  • Does managing Oracle 10g RAC with ASM require full root access?

    We currently have three entirely separate support areas, Unix, Storage and DBA. We're now considering using Oracle 10g RAC with ASM and as part of the assessment trying to work out if we can still draw similar support boundaries. I know that installing RAC and configuring ASM requires root access but will DBA continue to need root access to manage & support RAC? If so, does anyone know if the commands they need can be RBAC'd or if we just need to share root access going forwards. I've had a look at a number of docs including http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/toc.htm. which is fairly informative but none of them seem to mention the requirement for root access on Solaris. I'm guessing they just assume that it's available, but that's not generally the case in our environment.
    All advice / info welcome!

    I would have thought that the only reason you would need root access once RAC and ASM had been set up would be to add more disks to the ASM configuration. This would be needed to change the ownership on the raw LUNs or to make additions to metasets (SVM/Oban) or diskgroups (VxVM/CVM). Beyond that, I can't imagine needing root access.
    I'm sure others will chime in if they can think of other reasons!
    Regards,
    Tim
    Edited by: Tim.Read on Jun 3, 2008 2:25 AM

  • In-place upgrade of Enterprise Manager for RAC databases is not supported

    upgrading 2 node RAC from 10.2.0.1 to 10.2.0.3 on Windows 2003 64 bit. I got the following:
    In-place upgrade of Enterprise Manager for RAC databases is not supported in this release
    Now I cannot log in to the database control as sys with sysdba role . I get "invalid username/password" error
    I can login as a dba user
    I also get a java error after I log in, some thing about class not found, but then I'm in and I can do everything that I try, although I haven't tried scheduling a backup yet
    Can I upgrade EM to 10.2.0.3?
    If so, how?

    On the patchset readme...
    11.3 Upgrade of Oracle Enterprise Manager Not Supported
    When you start Oracle Database Upgrade Assistant to upgrade 10.2.0.1 database to 10.2.0.3 patch set, the following error occurs:
    Inplace upgrade of Enterprise Manager is not supported for RAC databases is not supported in this release
    Workaround:
    Ignore warning.
    If you drop and recreate the EM repository?
    1). emca -deconfig dbcontrol db repos drop
    2). emca -config dbcontrol db -repos create
    Be careful, doing this put the database on QUIESCE mode.
    Regards,
    Rodrigo Mufalani

  • Database Table Resource via Oracle RAC connection Manager

    Hello,
    Our current IDM 8.1 syncs off a HR Database Table using the Database Table connector.
    Our DBA's are moving the view into an Oracle RAC environment.
    Question: Is there a way for us to connect and sync off our DB table through an Oracle RAC connection manager.
    I understand that for the IDM repository, this is possible.
    jdbc:oracle:thin@(DESCRIPTION =
    (ADDRESS_LIST =
    (LOAD_BALANCE = ON)
    (FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1.ser.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = server2.ser.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = db.com)
    servers server1 and server2 are oracle connection managers
    Thank you for your input,
    -RC

    We moved the repository to Oracle RAC recently. The syntax to switch to the new databasecluster was something like this:
    lh setRepo -tOracle -ujdbc:oracle:thin:@//dbcluster1.domain:1521/service_idm.oradb.domain -Uwaveset -Pwachtwoord
    For the 'lh setRepo' command the old database had to be up, and we had to use the old ojdb5.jar. After that we switched to ojdb6.jar.
    One of our resources is a database table with HR data in the same database. The following Database Access Parameters work for us:
    Database Type:      Oracle
    JDBC Driver:      oracle.jdbc.driver.OracleDriver
    JDBC URL Template:      jdbc:oracle:thin:@//%h:%p/%d
    Host :     dbcluster1.domain
    Database: service_idm.oradb.domain
    Port: 1521
    Greetings,
    Marijke

  • Oracle RAC - Not getting performance(TPS) as we expect on insert/update

    Hi All,
    We got a problem while executing insert/update and delete queries with Oracle RAC system, we are not getting the TPS as we expected in Oracle RAC. The TPS of Oracle RAC (for insert/update and delete ) is less than as that of
    single oracle system.
    But while executing select queries, we are getting almost double TPS as that of Single Oracle System.
    We have done server side and client side load balancing.
    Can anyone knows to solve this strange behaviour? Shall we need to perform any other settings in ASM/ Oracle Nodes
    for better performance on insert/update and delete queries.
    The following is the Oracle RAC configuration
    OS & Hardware :Windows 2008 R2 , Core 2 Du0 2.66GHz , 4 GB
    Software : Oracle 11g 64 Bit R2 , Oracle Clusterware & ASM , Microsoft iSCSI initiator.
    Storage Simulation : Xeon 4GB , 240 GB ,Win 2008 R2, Microsoft iSCSI Traget
    Please help me to solve this. We are almost stuck with this situation.
    Thanks
    Roy

    Load Profile Per Second Per Transaction Per Exec Per Call
    ~~~~~~~~~~~~ ------------------ ----------------- ----------- -----------
    DB time(s): 48.3 0.3 0.26 0.10
    DB CPU(s): 0.1 0.0 0.00 0.00
    Redo size: 523,787.9 3,158.4
    Logical reads: 6,134.6 37.0
    Block changes: 3,247.1 19.6
    Physical reads: 3.5 0.0
    Physical writes: 50.7 0.3
    User calls: 497.6 3.0
    Parses: 182.0 1.1
    Hard parses: 0.1 0.0
    W/A MB processed: 0.1 0.0
    Logons: 0.1 0.0
    Executes: 184.0 1.1
    Rollbacks: 0.0 0.0
    Transactions: 165.8
    Instance Efficiency Indicators
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %: 93.74 Redo NoWait %: 99.96
    Buffer Hit %: 99.99 Optimal W/A Exec %: 100.00
    Library Hit %: 100.19 Soft Parse %: 99.96
    Execute to Parse %: 1.09 Latch Hit %: 99.63
    Parse CPU to Parse Elapsd %: 16.44 % Non-Parse CPU: 84.62
    Shared Pool Statistics Begin End
    Memory Usage %: 75.89 77.67
    % SQL with executions>1: 71.75 69.88
    % Memory for SQL w/exec>1: 75.63 71.38

  • Oracle RAC not starting

    Dear Experts....
    I have two node Oracle RAC 11g Setup. This was working fine. We have only single public network configured under cluster. Both nodes have CE0 interfaces configured for RAC public IP. Due to hardware failure, CE0 on node2 is not working. I have another interface CE3 free on system. I have configured IP on CE3 (from OS layer using ifconfig). But unable to start Clusterware as interface is not configured under RAC.
    My question is :-
    Can I run different interface instances (however interface types are same) on both nodes? What changes I need to do for this?
    A quick help would be appreciated...
    Kind Rgds
    Rajendra

    You cannot have interface whos name are different on both nodes. i.e you should have CE0 on node2 if node1 was configured with CE0. If this condition is not met then clusterware wont start.
    Read following from support.oracle.com which says network interface name should be same on all node.
    RAC and Oracle Clusterware Best Practices and Starter Kit (Platform Independent) [ID 810394.1]
    hope this help

  • Data Table module enabled script is not visible in Oracle Test Manager

    Hi,
    Data Table module enabled script is not visible in Oracle Test Manager (OTM)
    Steps to reproduce:
    1.     Create new script (Oracle EBS/Forms)
    2.     Enable Data Table module (Script--->Script Properties-->Modules) and save.
    3.     Try to add the script in Oracle Test Manager.
    Environment details:
    Windows 7
    OATS Version: 12.1.0.2 Build 58
    IE 9
    Thanks
    -Pops

    Hi Deepu,
    I'm trying to add Data Table enabled script in Oracle Test Manager.
    Data Table Module enable script is not visible in OTM.
    In OATS 12.3, also i'm facing the same issue.
    Thanks,
    POPS

  • Installing OIM 9.1.0.2 on Oracle RAC

    Hello friends,
    I have a question about installing Oracle Identity Manager, Oracle Identity Manager need to install 9.1.0.2 as a repository having an Oracle RAC database, my question is: when you run the script prepare_xl_db.sh Do I need to edit this file to prepare the Oracle database on RAC? or can be run without any parameter edit and prepare the Oracle database in RAC
    Thanks

    Check for Metalink Note: 788789.1

  • Encountered ora-29701 during Sun Cluster for Oracle RAC 9.2.0.7 startup (UR

    Hi all,
    Need some help from all out there
    In our Sun Cluster 3.1 Data Service for Oracle RAC 9.2.0.7 (Solaris 9) configuration, my team had encountered
    ora-29701 *Unable to connect to Cluster Manager*
    during the startup of the Oracle RAC database instances on the Oracle RAC Server resources.
    We tried the attached workaround by Oracle. This workaround works well for the 1^st time but it doesn’t work anymore when the server is rebooted.
    Kindly help me to check whether anyone encounter the same problem as the above and able to resolve. Thanks.
    Bug No. 4262155
    Filed 25-MAR-2005 Updated 11-APR-2005
    Product Oracle Server - Enterprise Edition Product Version 9.2.0.6.0
    Platform Linux x86
    Platform Version 2.4.21-9.0.1
    Database Version 9.2.0.6.0
    Affects Platforms Port-Specific
    Severity Severe Loss of Service
    Status Not a Bug. To Filer
    Base Bug N/A
    Fixed in Product Version No Data
    Problem statement:
    ORA-29701 DURING DATABASE CREATION AFTER APPLYING 9.2.0.6 PATCHSET
    *** 03/25/05 07:32 am ***
    TAR:
    PROBLEM:
    Customer applied 9.2.0.6 patchset over 9.2.0.4 patchset.
    While creating the database, customer receives following error:
         ORA-29701: unable to connect to Cluster Manager
    However, if customer goes from 9.2.0.4 -> 9.2.0.5 -> 9.2.0.6, the problem does not occur.
    DIAGNOSTIC ANALYSIS:
    It seems that the problem is with libskgxn9.so shared library.
    For 9.2.0.4 -> 9.2.0.5 -> 9.2.0.6, the install log shows the following:
    installActions2005-03-22_03-44-42PM.log:,
    [libskgxn9.so->%ORACLE_HOME%/lib/libskgxn9.so 7933 plats=1=>[46]langs=1=> en,fr,ar,bn,pt_BR,bg,fr_CA,ca,hr,cs,da,nl,ar_EG,en_GB,et,fi,de,el,iw,hu,is,in, it,ja,ko,es,lv,lt,ms,es_MX,no,pl,pt,ro,ru,zh_CN,sk,sl,es_ES,sv,th,zh_TW, tr,uk,vi]]
    installActions2005-03-22_04-13-03PM.log:, [libcmdll.so ->%ORACLE_HOME%/lib/libskgxn9.so 64274 plats=1=>[46] langs=-554696704=>[en]]
    For 9.2.0.4 -> 9.2.0.6, install log shows:
    installActions2005-03-22_04-13-03PM.log:, [libcmdll.so ->%ORACLE_HOME%/lib/libskgxn9.so 64274 plats=1=>[46] langs=-554696704=>[en]] does not exist.
    This means that while patching from 9.2.0.4 -> 9.2.0.5, Installer copies the libcmdll.so library into libskgxn9.so, while patching from 9.2.0.4 -> 9.2.0.6 does not.
    ORACM is located in /app/oracle/ORACM which is different than ORACLE_HOME in customer's environment.
    WORKAROUND:
    Customer is using the following workaround:
    cd $ORACLE_HOME/rdbms/lib make -f ins_rdbms.mk rac_on ioracle ipc_udp
    RELATED BUGS:
    Bug 4169291

    Check if following MOS note helps.
    Series of ORA-7445 Errors After Applying 9.2.0.7.0 Patchset to 9.2.0.6.0 Database (Doc ID 373375.1)

  • Error in ONS logs while implmenting FCF on oracle RAC from java program

    I have java prog on client machine that uses properties from a property file.While making the connection to the ONS port on the oracle RAC server to implement FCF the program is throwing error as below:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    and when i checked the ons logs for that node the logs are as follows:
    Connection 5,199.xxx.xxxxxx,8200 header RCV failed (Connect
    ion reset by peer) coFlags=1002a
    These logs are generated only when java program tries to connect else the daemon started without any errors.
    But sometime it connets and gives the desired output.
    Please advice and do let me know in case you need more information.
    Java program on the client machine is as follows..
    * Oracle Support Services
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.Enumeration;
    import java.util.Properties;
    import java.util.ResourceBundle;
    import oracle.jdbc.pool.OracleConnectionCacheManager;
    import oracle.jdbc.pool.OracleDataSource;
    public class FCFConnectionCacheExample
    private OracleDataSource ods = null;
    private OracleConnectionCacheManager occm = null;
    private Properties cacheProperties = null;
    public FCFConnectionCacheExample() throws SQLException
    // create a cache manager
    occm = OracleConnectionCacheManager.getConnectionCacheManagerInstance();
    Properties props = loadProperties("fcfcache");
    cacheProperties = new java.util.Properties();
    cacheProperties.setProperty("InitialLimit", (String)props.get("InitialLimit"));
    cacheProperties.setProperty("MinLimit", (String)props.get("MinLimit"));
    cacheProperties.setProperty("MaxLimit", (String)props.get("MaxLimit"));
    ods = new OracleDataSource();
    ods.setUser((String)props.get("username"));
    ods.setPassword((String)props.get("password"));
    ods.setConnectionCachingEnabled(true);
    ods.setFastConnectionFailoverEnabled(true);
    ods.setConnectionCacheName("MyCache");
    ods.setONSConfiguration((String)props.get("onsconfig"));
    ods.setURL((String)props.get("url"));
    occm.createCache("MyCache", ods, cacheProperties);
    private Properties loadProperties (String file)
    Properties prop = new Properties();
    ResourceBundle bundle = ResourceBundle.getBundle(file);
    Enumeration enumlist = bundle.getKeys();
    String key = null;
    while (enumlist.hasMoreElements())
    key = (String) enumlist.nextElement();
    prop.put(key, bundle.getObject(key));
    return prop;
    public void run() throws Exception
    Connection conn = null;
    Statement stmt = null;
    ResultSet rset = null;
    String sQuery =
    "select sys_context('userenv', 'instance_name'), " +
    "sys_context('userenv', 'server_host'), " +
    "sys_context('userenv', 'service_name') " +
    "from dual";
    try
    conn = null;
    conn = ods.getConnection();
    stmt = conn.createStatement();
    rset = stmt.executeQuery(sQuery);
    rset.next();
    System.out.println("-----------");
    System.out.println("Instance -> " + rset.getString(1));
    System.out.println("Host -> " + rset.getString(2));
    System.out.println("Service -> " + rset.getString(3));
    System.out.println("NumberOfAvailableConnections: " +
    occm.getNumberOfAvailableConnections("MyCache"));
    System.out.println("NumberOfActiveConnections: " +
    occm.getNumberOfActiveConnections("MyCache"));
    System.out.println("-----------");
    catch (SQLException sqle)
    while (sqle != null)
    System.out.println("SQL State: " + sqle.getSQLState());
    System.out.println("Vendor Specific code: " +
    sqle.getErrorCode());
    Throwable te = sqle.getCause();
    while (te != null) {
    System.out.print("Throwable: " + te);
    te = te.getCause();
    sqle.printStackTrace();
    sqle = sqle.getNextException();
    finally
    try
    rset.close();
    stmt.close();
    conn.close();
    catch (SQLException sqle2)
    System.out.println("Error during close");
    public static void main(String[] args)
    System.out.println(">> PROGRAM using JDBC thin driver no oracle client required");
    System.out.println(">> ojdbc14.jar and ons.jar must be in the CLASSPATH");
    System.out.println(">> Press CNTRL C to exit running program\n");
    try
    FCFConnectionCacheExample test = new FCFConnectionCacheExample();
    while (true)
    test.run();
    Thread.currentThread().sleep(10000);
    catch (InterruptedException e)
    System.out.println("PROGRAM Ended by user");
    catch (Exception ex)
    System.out.println("Error Occurred in MAIN");
    ex.printStackTrace();
    Some of the info i have deleted intensionally as this is confidential
    Property file is as follows
    # properties required for test
    username=test
    password=test
    InitialLimit=10
    MinLimit=10
    MaxLimit=20
    onsconfig=nodes=RAC-node1:port,RAC-node2:port
    url=jdbc:oracle:thin:@(DESCRIPTION= \
    (LOAD_BALANCE=yes) \
    (ADDRESS=(PROTOCOL=TCP)(HOST=RAC-node1)(PORT=1521)) \
    (ADDRESS=(PROTOCOL=TCP)(HOST=RAC-node1)(PORT=1521)) \
    (CONNECT_DATA=(service_name=RAC_SERVICE)))

    Hi;
    Please check below note:
    Link Errors While Installing CRS & RAC Database software [ID 438747.1]
    Codeword File $TIMEBOMB_CWD,/opt/aCC/newconfig/aCC.cwd Missing Or Empty [ID 552893.1]
    Regard
    Helios

  • Recommendations - Oracle RAC 10g on Solaris 10 Containers Logical/Local..

    Dear Oracle Experts et all
    I have a couple of questions for Oracle 10g RAC implementation on Solaris and seek your advice. we are attempting to implement oracle 10g RAC on Solaris OS and SPARC Platform.
    1 We are wondering if Oracle 10g RAC could be implemented on Solaris Local/Logical Containers? I was assuming that Oracle will always link it self with OS binaries and Libraries while S/W installation and hence will need an OS image/Root Disk over which it could go. However, in containers, I assume we have a single solaris installation and configuration which will thus be shared to the containers which will be further configured in it. In such situations how does Oracle instalation proceed? Do I need to look at a scenario where, the global Container/Zone will have Oracle install and this image be shared across to zones/containers accordingly? If it is so, what all filesystems from OS will need to be shared across to these zones/containers?
    Additionally, even if this approach is supported, is it a recommended approach? I am unsure about the stability and functionality of Oracle in such cases and am not able to completly conceptualize. However, I assume there could be certain items which needs to be approprietly taken care off. It will help if you could share observations from your experiences.
    2 The idea of RAC we are looking at is to have multiple Oracle Installations on top of native clustering solution say veritas clusters/Sun Clusters. Do we still need to have Oracle Cluster solution Clusterware (ORACRS) on top of this to achieve Oracle Clustering? Will I be able to install Oracle as a standalone installation on top of native clustering solution say veritas clusters/Sun Clusters?
    Our requirement is to have the above mentioned multiple Oracle installations spread across two (2) seperate H/W platforms,say Node A and Node B, and configure our Cluster Solution to behave as active-passive across Node A and Node B. In other words, I will configure Clustering Solution like VRTS/SunCluster in Active-Passive, then have 3 Oracle installations on Node A, another 3 on Node B. I will configure one database each for each of these Oracle S/W installation (with an idea not to have Clusterware between clustering solution VRTS/SunCluster and Oracle installation, if it works). Now I will run 3 databases thus on each of these nodes. If any downtime happens on any one of the nodes, say Node A, I will fail all oracle databases and S/W accordingly to the alternate available node, Node B in this case, using native clustering solution and I will want the database to behave as it was behaving earlier, on Node A. I am not sure though if I will be able to bring the database up on Node B when resources in OS perspective are failed over.
    we want to use Oracle 10g RAC Release 2 EE on Solaris 10 OS latest/one before the latest release.
    Please share your thoughts.
    Regards!
    Sarat

    Sarat Chandra C wrote:
    Dear Oracle Experts et all
    I have a couple of questions for Oracle 10g RAC implementation on Solaris and seek your advice. we are attempting to implement oracle 10g RAC on Solaris OS and SPARC Platform.
    1 We are wondering if Oracle 10g RAC could be implemented on Solaris Local/Logical Containers? My understanding is that RAC in a Zone (Container) is not supported by Oracle, and will not work anyway. Regardless of installation, RAC needs to do cluster level stuff about the cluster configuration, changing network addresses dynamically, and sending guaranteed messages over the cluster interconnect. None of this stuff can be done in a Local Zone in Solaris, because Local Zones have fewer permissions that the Global Zone. This is part of the design of Solaris Zones, and nothing to do with how Oracle RAC itself works on them.
    This is all down to the security model of Zones, and Local Zones lack the ability to do certain things, to stop them reconfiguring themselves and impacting other Zones. Hence RAC cannot do dynamic cluster reconfiguration in a Local Zone, such as changing virtual network addresses when a node fails.
    My understanding is that RAC just cannot work in a Local Zone. This was certainly true 5 years ago (mid 2005), and was a result of the inherent design and implementation of Zones in Solaris. Things may have changed, so check the Solaris documentation, and check if Oracle RAC is supported in Local Zones. However, as I said, this limitation was inherent in the design of Zones, so I do not see how Sun could possibly have changed it so that RAC would work in a Local Zone.
    To me, your only option is the Global Zone. Which pretty much destroys the argument for having Zones on a Solaris system, unless you can host other non-Oracle application on the other Zones.
    2 The idea of RAC we are looking at is to have multiple Oracle Installations on top of native clustering solution say veritas clusters/Sun Clusters. Do we still need to have Oracle Cluster solution Clusterware (ORACRS) on top of this to achieve Oracle Clustering? Will I be able to install Oracle as a standalone installation on top of native clustering solution say veritas clusters/Sun Clusters?I am not sure the term 'native' is correct. All 'Cluster' software is low level, and has components that run within the operating system. Whether this is Sun Cluster, Veritas Cluster Server, or Oracle Clusterware. They are all as 'native' to Solaris as each other. They all perform the same function for Oracle RAC around Cluster management - which nodes are members of the cluster, heartbeats between nodes, reliable fast message delivery, etc.
    You only need one piece of Cluster software. So pick one and use it. If you use the Sun or Veritas cluster products, then you do not need the Oracle Clusterware software. But I would use it, because it is free (included with RAC), is from Oracle themselves and so guaranteed to work, is fully supported, and is one less third party product to deal with. Having an all Oracle software stack makes things simpler and more reliable, as far as I am concerned. You can be sure that Oracle will have fully tested RAC on their own Clusterware, and be able to replicate any issues in their own support environments.
    Officially the Sun and Veritas products will work and are supported. But when you get a problem with your Cluster environment, who are you going to call? You really want to avoid "finger pointing" when you have a problem, with each vendor blaming the cause of the problem on another vendor. Using an all Oracle stack is simpler, and ensures Oracle will "own" all your support problems.
    Also future upgrades between versions will be simpler, as Oracle will release all their software together, and have tested it together. When using third party Cluster software, you have to wait for all vendors to release new versions of their own software, and then wait again while it is tested against all the different third party software that runs on it. I have heard of customers stuck on old versions of certain cluster products, who cannot upgrade because there are no compatible combinations in the support matrices between the cluster product and Oracle database versions.
    I will configure Clustering Solution like VRTS/SunCluster in Active-Passive, then have 3 Oracle installations on Node A, another 3 on Node B. As I said before, these 3 Oracle installations will actually all be on the same Global Zone, because RAC will not go into Local Zones.
    John

Maybe you are looking for