Connect to 11g RAC cluster failing

Hi,
I have a simple java client which tries to connect to the 11g RAC clustered Oracle server on a remote location using oracle thin client. We have been provided the SID of the load balancer and hence the client is not able to connect it. When I try to connect to individual nodes with their respective SID's it is able to connect. The server architect recommends to switch to OCI based client instead of thin client. On doing that I am getting this error "Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path". The client resides on a 64 bit Linux machine.How can I make it work.
Below is the code I am using to connect:
OracleDataSource _source = new OracleDataSource();
source.setURL(mInitConnString); //_mInitString="jdbc:oracle:oci:@ip:port:SID";
source.setUser(mDbUser);
source.setPassword(mDbPass);
mConn = source.getConnection();

user10183827 wrote:
It seems that the failover and load balancing features of JDBC do not work with Oracle RAC. As phrased that statement is wrong.
JDBC is an interface. It doesn't do much of anything.
JDBC drivers on the other hand do something.
Oracle has always and still does create a JDBC driver. And so do other companies - for Oracle. The merge will have no impact on that.
Oracle certainly seems to think that RAC does work with their JDBC driver. The following link demonstrates that. (Notice that the page copyright on that page is 2008 so perhaps they have thought so for a while.)
http://download.oracle.com/docs/cd/E13222_01/wls/docs103/jdbc_admin/oracle_rac.html
and the fail over strings connect but without failover. So if I take a rac node down then the sites go down.Far as I know the primary and most significant goal of RAC is to support clusters of servers, so if in fact there isn't in some way to actually do what you are saying then why does Oracle claim that RAC does in fact work in Java? Why does the above link specifically discuss failover/retries within a Java context if it does not in fact work at all?

Similar Messages

  • Oracle 11 RAC Cluster failed on NFS

    Command return code of 255 (65280) from command: /u01/app/11.2.0/grid/bin/ocrcon fig -upgrade oracle oinstall
    Failed to create Oracle Cluster Registry configuration, rc 255
    CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl sto p resource ora.crsd -init
    Stop of resource "ora.crsd -init" failed
    Failed to stop CRSD
    CRS-2673: Attempting to stop 'ora.ctssd' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.ctssd' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.cssd' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.gpnpd' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.gipcd' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.mdnsd' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.mdnsd' on 'bnl11237dat01' succeeded
    Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsc
    I am getting the error when executing root.sh /u01/app/11.2.0/grid.
    I am following http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnLinuxUsingNFS.php for installation.
    Please can I know how to fix this error or any document which I can follow to install Orace 11g RAC with file system (NFS).

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Grid Computing » RAC, ASM & Clusterware Installation which you can get more quick response
    Regard
    Helios

  • APEX on RAC cluster

    I"m setting up a 11g RAC cluster and will be using APEX. My question is:
    can http server run off of all nodes in the cluster or just one?

    Hello Kevin,
    When I run following sql statement:
    select DBMS_XDB.getHTTPPort from dual;to check if APEX listener is running the gethttpport return 0.This command queries the port of the database internal XDB HTTP Server. The return value 0 means it is disabled.
    If you want to use APEX Listener, you have to install it according to the corresponding documentation. See
    - [url http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/otn_install.htm#BABJJAGF]Downloading from OTN and Configuring Oracle Application Express Listener in APEX 4.2 Install Guide on how to configure your APEX properly.
    - [url http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/install.htm#CHDIDHCD]APEX Listener 2 Installation Guide on how to install and configure APEX Listener 2.
    Note that APEX Listener support starts with APEX 4.0. It also works with previous APEX versions such as your 3.2, but is not officially supported (and not documented). I'd recommend to update to the recent APEX release anyway, as it offers several new features, includes several bug fixes, ...
    Also note that you can't configure RESTful services for APEX Listener 2 on APEX releases prior to 4.1.
    -Udo

  • Routing all connections through a one node in a 2 node RAC cluster

    Hi everyone
    My client has the following requirement: an active/active RAC cluster (eg node1/node2), but with only one of the nodes being used (node1) and the other sitting there just in case.
    For things like services, i'm sure this is straightforward enough - just have them set to preferred on node1 and available on node 2.
    For connections, I imagine I would just have the vips in order in the tns file, but with LOAD_BALANCING=OFF, so they go through the tns entries in order (i.e node 1, then node 2), so this would still allow the vip to failover if node 1 is down.
    Does that sound about right? Have I missed anything?
    Many thanks
    Rup

    user573914 wrote:
    My client has the following requirement: an active/active RAC cluster (eg node1/node2), but with only one of the nodes being used (node1) and the other sitting there just in case.Why? What is the reason for a "+just in case+" node - and when and how is is "enabled" when that just-in-case situation occurs?
    This does not many any kind of sense from a high availability or redundancy view.
    For connections, I imagine I would just have the vips in order in the tns file, but with LOAD_BALANCING=OFF, so they go through the tns entries in order (i.e node 1, then node 2), so this would still allow the vip to failover if node 1 is down.
    Does that sound about right? Have I missed anything?Won't work on 10g - may not work on 11g. The Listener can and does handoff connections, depending on what the TNS connection string say. If you do not connect via a SID entry but via a SERVICE entry, and that service is available on multiple nodes, you may not (and often will not) be connected to instance on the single IP that you used in your TNS connection.
    Basic example:
    // note that this TEST-RAC alias refers to a single specific IP of a cluster, and use
    // SERVICE_NAME as the request
    /home/billy> tnsping test-rac
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2011 09:06:33
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS=(PROTOCOL=TCP)(HOST= 196.1.83.116)(PORT=1521)) (LOAD_BALANCE=no) (CONNECT_DATA=(SERVER=shared)(SERVICE_NAME=myservicename)))
    OK (50 msec)
    // now connecting to the cluster using this TEST-RAC TNS alias - and despite we listing a single
    // IP in our TNS connection, we are handed off to a different RAC node (as the service is available
    // on all nodes)
    // and this also happens despite our TNS connection explicitly requesting no load balancing
    /home/billy> sqlplus scott/tiger@test-rac
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 18 09:06:38 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
    SQL> !lsof -n -p $PPID | grep TCP
    sqlplus 5432 billy    8u  IPv4 2199967      0t0     TCP 10.251.93.58:33220->196.1.83.127:37031 (ESTABLISHED)
    SQL> So we connected to RAC node 196.1.83.116 - and that listener handed us off to RAC node 196.1.83.127. The 11gr2 Listener seems to behave differently - it does not do a handoff (from a quick test I did on a 11.2.0.1 RAC) in the above scenario.
    This issue aside - how do you deal with just-in-case situation? How do you get clients to connect to node 2 when node 1 is down? Do you rely on the virtual IP of node 1 to be switched to node 2? Is this a 100% safe and guaranteed method?
    It can take some time (minutes, perhaps more) for a virtual IP address to fail over to another node. During that time, any client connection using that virtual IP will fail. Is this acceptable?
    I dunno - I dislike this concept of your client of treating the one RAC node as some kind of standby database for a just-in-case situation. I fail to see any logic in that approach.

  • Is there a way to config WLS to fail over from a primary RAC cluster to a DR RAC cluster?

    Here's the situation:
    We have two Oracle RAC clusters, one in a primary site, and the other in a DR site
    Although they run active/active using some sort of replication (Oracle Streams? not sure), we are being asked to use only the one currently being used as the primary to prevent latency & conflict issues
    We are using this only for read-only queries.
    We are not concerned with XA
    We're using WebLogic 10.3.5 with MultiDatasources, using the Oracle Thin driver (non-XA for this use case) for instances
    I know how to set up MultiDatasources for an individual RAC cluster, and I have been doing that for years.
    Question:
    Is there a way to configure MultiDatasources (mDS) in WebLogic to allow for automatic failover between the two clusters, or does the app have to be coded to failover from an mDS that's not working to one that's working (with preference to a currently labelled "primary" site).
    Note:
    We still want to have load balancing across the current "primary" cluster's members
    Is there a "best practice" here?

    Hi Steve,
    There are 2 ways to connect WLS to a Oracle RAC.
    1. Use the Oracle RAC service URL which contains the details of all the RAC nodes and the respective IP address and DNS.
    2. Connect to the primary cluster as you are currently doing and use a MDS to load-balance/failover between multiple nodes in the primary RAC (if applicable).
        In case of a primary RAC nodes failure and switch to DR RAC nodes, use WLST scripts to change the connection URL and restart the application to remove any old connections.
        Such DB fail-over tests can be conducted in a test/reference environment to set up the required log monitoring and subsequent steps to measure the timelines.
    Thanks,
    Souvik.

  • OBIEE 11g agents are failed to connect to Essbase

    OBIEE 11g agents are failed to connect to Essbase. We are using :USER & :PASSWORD (SSO) in connection pool setting to connect to Essbase.
    User account exists in both OBIEE and Essbase. OBIEE dashboards which are based on Essbase are working fine. Essbase variables in RPD are upto date.
    Only agents are failing and error says invalid credentials, but dashboard pages are running without any issue.
    OBIEE: 11.1.1.5 (BP4)
    Essbase: 11.1.2.1
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96002] Essbase Error: Login fails due to invalid login credentials (HY000)
    Essbase and OBIEE services are up and running.
    Any help will be appreciated.

    We finally implemented CSS Token option and ended up with this error. We are unable to connect to essbase with CSS Token option.
    We followed the Oracle document to implement this.
    [nQSError: 43119] Query Failed: EPMCSS-00301: Failed to authenticate user. Invalid credentials. Enter valid credentials. (HY000)
    We did update this property:
    JAVA_PROPERTIES="-Dplatform.home=${WL_HOME} -Dwls.home=${WLS_HOME} -Dweblogic.home=${WLS_HOME} -Didstore.identityAttribute=objectguid"
    Any help will be appreciated!

  • All connections are connecting to 2nd node only in a 2 Node RAC Cluster

    Hello,
    I have a 10.2.0.3 database on a two node RAC Cluster with only one service configured. This service set to be preferred on both nodes.
    However, all the connections are falling on Node2 only. Any idea where to look.
    $> srvctl config service -d PSDB
    psdbsrv1 PREF: psdb1 psdb2 AVAIL:
    Thanks,
    MM

    Application is using the following connection string.
    jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = PQ2-PS-db-01-vip)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = PQ2-PS-db-02-vip)(PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = PSDBSRV1)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to find which instance in the RAC cluster the application is connected

    How to find which instance in the RAC cluster the application is connected to ?
    Raees

    well if you know the user through which your application is connected to instance, you can easily find out by querying gv$session view.
    select inst_id,sid,serial#,program,username from gv$session where username is not null;
    Thanks
    Gaurav

  • Using SCAN to Connect to 11g R2 RAC from Weblogic 10.3.3

    Hi,
    Can we use SCAN( Single Client Access Name) to Connect to 11g R2 RAC from Weblogic 10.3.3.
    Please redirect me to the doucmentation on the same.
    Thanks

    If you do not need XA connectivity then you are free to do whatever you want,
    but it is not supportable for XA. We do document fairly well what we recommend
    for RAC connectiviity.

  • Help : Cluster Fail over Test - Could not establish a connection

    Hi All
              I'm trying to do Cluster fail over test with two Weblogic 8.1 sp2 instances in cluster.
              During that testing, I'm restarting the one of the instance which is handing my request, to make sure the session is replicated smoothly to the other instance,so that can continue accessing my application without any interuption. But when I restart the instance, I'm getting following exception
              Error 500--Internal Server Error
              java.rmi.ConnectException: Could not establish a connection with 8909815174098071019S:dappsn03:[8201,8201,-1,-1,8201,-1,-1,0,0]:dappsn03-04:TNL:tnl1_81dappsn03, java.rmi.ConnectException: Destination unreachable; nested exception is:
                   java.net.ConnectException: Connection refused; No available router to destination
                   at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
                   at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
                   at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
                   at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
                   at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
                   at com.sns.pfk.ejb.PfkSessionBean_mz6mqm_EOImpl_812_WLStub.getPortalRecord(Unknown Source)
                   at com.sns.pfk.servlet.PfkMainServlet.getInfofromSB(Unknown Source)
                   at com.sns.pfk.servlet.PfkMainServlet.doActionDisplay(Unknown Source)
                   at com.sns.pfk.servlet.PfkMainServlet.doGet(Unknown Source)
                   at com.sns.pfk.servlet.PfkMainServlet.doPost(Unknown Source)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
                   at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:607)
                   at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:400)
                   at com.sns.ana.ui.servlet.AuthorisationBaseServlet.service(AuthorisationBaseServlet.java:109)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              Buddies, anyone hit this issue before, pls show up some light to escape this hickup.
              With Regs
              -SHAN

    Hi,
              Thanx for ones, spend time on reading this thread.This problem was due to some missing entries in weblogic-ejb.xml. This got fixed as we got support from BEA.
              With Regs
              -SHAN

  • Oracle 11g RAC on RHEL 4.0, error on 1 Node while running ./root.sh for CRS

    Hi,
    I am trying to install Oracle 11g RAC on RHEL 4.0 on Vmware and at the end of CRS installation when installer asks to run the two scripts (orainstRoot.sh and root.sh) on one node (on the node where runInstaller is started) throws following error
    [root@LRAC1 crs]# ./root.sh
    WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
    WARNING: directory '/xhdd/u01/crs' is not owned by root
    WARNING: directory '/xhdd/u01' is not owned by root
    WARNING: directory '/xhdd' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: cannot execute binary file
    /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: Success
    Failed to upgrade Oracle Cluster Registry configuration
    [root@LRAC1 crs]#
    While on the second node the root.sh script does not give any errors, here the output
    [root@LRAC2 crs]# ./root.sh
    WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
    WARNING: directory '/xhdd/u01/crs' is not owned by root
    WARNING: directory '/xhdd/u01' is not owned by root
    WARNING: directory '/xhdd' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    /etc/oracle does not exist. Creating it now.
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    Oracle Cluster Registry configuration upgraded successfully
    The directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs/oracle/product' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs/oracle' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs' is not owned by root. Changing owner to root
    The directory '/xhdd/u01' is not owned by root. Changing owner to root
    The directory '/xhdd' is not owned by root. Changing owner to 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 1: lrac1 lrac1-priv lrac1
    node 2: lrac2 lrac2-priv lrac2
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Now formatting voting device: /dev/sdd1
    Format of 1 voting devices complete.
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Cluster Synchronization Services is active on these nodes.
    lrac2
    Cluster Synchronization Services is inactive on these nodes.
    lrac1
    Local node checking complete. Run root.sh on remaining nodes to start CRS daemons.
    Any ideas to solve this issue.
    Thanks in advance,
    Sameer

    I tried reinstalling again and it worked on Vmware Server.Some oracle products are certified on Oracle VM , but not RAC at the moment.
    You can download Oracle VM from otn.oracle.com
    Check ML Note:464754.1 for details about Certified Software on Oracle VM.
    - Virag Sharma
    http://virag.sharma.googlepages.com/

  • Tnsentries in 11g RAC

    Dear all,
    We have 11g RAC installed on Solaris 5.10
    Our failover TNS Entries are like this
    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.85)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.94)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HYDES)
    TEST1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.85)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HYDES)
    whem am giving tnsping test and tnsping test1 from any client , it works fine..connection succeded..
    but when am trying to connect using sqlplus user@test
    am getting the error :
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    whereas I can able to connect sqlplus user@test1
    Any ideas ?
    Kai
    LOCAL_LISTENER IS ALREADY set to the listener name on both the nodes..
    I can able to connect from the server , but from any client it is giving this problem
    Thanks
    Kai

    LOCAL_LISTENER is not supposed to be the listener name - it should be a tnsnames entry from the server's tnsnames.ora (in $ORACLE_HOME/network/admin). Or it can be an embedded connect string such as "(ADDRESS=(PROTOCOL = TCP)(HOST = 192.168.0.85)(PORT = 1521))".
    Check that LOCAL_LISTENER is configured correctly with "lsnrctl services <LISTENER_NAME>" on your server - you should see the instance listed as accepting connections. If you don't see the instance then maybe you have an invalid TNSNAMES alias in LOCAL_LISTENER.

  • Can Oracle 11g RAC support 2 separate databases?

    1. Can Oracle 11g RAC support 2 separate databases given that it asks for SCAN ip for cluster with a single Listener port number?
    2. Will the Oracle 11.2 database connections work successfully if I setup a mandatory DNS server within the Oracle RAC servers?
    I'm leading a team for a 11g project and appreciate responses.
    Thanks
    Satish.

    No Real Application Cluster technology has ever supported more than one database.Quite untrue.
    I know that both you and Tom Kyte take the stand that a cluster should have only 1 instance per node.
    That doesn't mean that it is not possible to have more than one database in a cluster -- i.e more than one instance in a node.
    That doesn't mean that it must always be so. Installing a separate cluster and additional EE + RAC licences for a separate database can be quite expensive. Of course, your reply is "consolidate". That is another debate that has been going on for years.
    A discussion on multiple databases on RAC is also at
    http://www.freelists.org/post/oracle-l/multiple-databases-in-a-single-RAC-cluster
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jan 12, 2010 11:15 AM

  • Theoretical question on having "stand by" instance on 4 node RAC cluster.

    We have been having discussions on how we can improve the overall stability and performance of our RAC cluster. Currently we are running multiple databases on a 2 node cluster. The idea is that we will add two more nodes to the cluster and then spread the instances across the 4 nodes but only have two active and 1 as a standby in the event of node failure.
    In other words:
    Node1, Node2, and Node3 would run DB1
    Node 4 Node3 and Node2 would run DB2
    Additionally DB1_Instance3 would be shutdown on Node3 and only started if Node1 or 2 failed.
    This would be the same for DB2 where DB2_Instance3 on Node2 would only be started if Node3 or Node4 failed.
    Underneath them all would be the same ASM database shared for all 4 nodes.
    Has anyone seen such a configuration? Is anyone aware of a white paper that discusses it.

    the parameter active_instance_count is a 9i parameter and should only be set if you want to run RAC with a 2 node cluster - one instance active (all users connected here) and the second instance up but no one actively using it. IF instance one goes away, all work is move to instance 2. This is hot failover .
    If you are adding a new instance to a rac database, you are recommended to use DBCA or EM to add the instance. If you do not want to have users connected to the instance all the time, you can either leave it running but do not enable any services on it until you need it or stop the instance with srvctl stop instance. The cluster will not try to restart the instance automatically.
    The services option, when you create a service, you define which instances you wish it to run on. You can dynamically change where it runs. For the end user, they just connect to the service, the listener directs the connection to the least loaded instance providing the service at connect time. See the workload management with RAC 10g white paper on otn (otn.oracle.com/rac) or Chapter 6 of admin & deploy guide

  • Unable to create RFC iviews - connection test of the system failed

    hello,
    I always try to configure my system to run an RFC iView...
    The connection of myt system is failed for 1 of the 4 tests.
    i don't know why.
    I have filled this fields :
    - application host
    - ITS host name
    - ITS path
    - ITS protocol
    - Logical system name (not sure it's correct)
    - Sap client
    - Sap system ID
    - SAP system number
    - Server port (not sure it's correct)
    - System type
    - Web as host name
    - Web as path
    - Web as protocol
    and i have this error :
    SAP Web AS Connection
      Test Details:
    The test consists of the following steps:
    1. Check the validity of the system ID in the system object
    2. Check if the system can be retrieved
    3. Check if a SAP system is defined in the system object
    4. Validate the following parameters: WAS protocol; WAS host name
    5. Check HTTP/S connectivity to the defined back-end application
      Results
    1. The system ID is valid
    2. Retrieval of the system was successful
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (wsapv49.dhcp.xxx.xx.xxxx:8045)
    5. HTTP/S connection successful
    ITS Connection
      Test Details:
    The test consists of the following steps:
    1. Check the validity of the system ID in the system object
    2. Check if the system can be retrieved
    3. Check if the system object has a valid system alias
    4. Check if a SAP system is defined in the system object
    5. Validate the following parameters: ITS protocol; ITS host name
    6. Check the validity of any user mapping in the system object
    7. Check HTTP/S connectivity to the defined back-end application
      Results
    1. The system ID is valid
    2. Retrieval of the system was successful
    3. Retrieval of the default alias was successful
    4. The system object represents an SAP system
    5. The following parameters are valid: ITS Protocol (http) ITS Host Name (wsapv49.dhcp.xxx.xx.xxxx:8045)
    6. HTTP/S connection successful
    Test Connection with Connector
      Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    Test Connection through the DQE
      Test Details:
    The test consists of the following steps:
    1. Checks the existence of a backend admin user ID/password in the system properties.
    2. Checks the existence of a default alias for the system.
    3. Checks the DQE connection.
      Results
    1. DQE admin user ID or password is missing in the system properties. Make sure those properties exist for this system object.
    2. Default alias of the system exists.
    3. DQE connection successful. If you continue to experience problems, verify the DQE admin user ID and password properties for this system object.
    can you help me to end this configuration?
    thanks a lot.
    (reward points for helful answers...)
    Adrien

    doesn't work, doesn't work... :o(
    I found this in "analysis" -> "Debug"
      error 3 mai 2007 16:49:32:168 Failed to get connection for system final
    /System/Server com.sap.portal.ivs.connectorService sap.com/irj admin ITEM-31892 Server 0 0_33638
      error 3 mai 2007 16:49:32:168 (R3/BW) Failed to get connection. Please contact your admin.
    /System/Server com.sap.portal.connectors.R3 sap.com/irj admin ITEM-31892 Server 0 0_33638
    i found too a -BIG- file in the directories, "last block" of the file
    #1.5#000D56D8CEA2005D0000001500000FC400042F9201A5E5D2#1178204046283#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Administrator#49##ITEM4531892.dhcp_J2E_3363850#admin#1a943a10f98511dbc5d6000d56d8cea2#SAPEngine_Application_Thread[impl:3]_3##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: The connection is closed.
    Exception id: [000D56D8CEA2005D0000001300000FC400042F9201A5E071]#
    #1.5#000D56D8CEA2005D0000001600000FC400042F9201A76132#1178204046383#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Administrator#49##ITEM4531892.dhcp_J2E_3363850#admin#1a943a10f98511dbc5d6000d56d8cea2#SAPEngine_Application_Thread[impl:3]_3##0#0#Error##Plain###Cannot send an HTTP error response [500 Application error occurred during request processing. (details: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: The connection is closed.)]. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: An attempt to write after the stream had been closed.
         at com.sap.engine.services.servlets_jsp.server.runtime.client.GzipResponseStream.write(GzipResponseStream.java:209)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.GzipResponseStream.write(GzipResponseStream.java:193)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.writeError(HttpServletResponseFacade.java:952)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.sendError(HttpHandlerImpl.java:955)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleGeneralException(HttpHandlerImpl.java:860)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.processError(HttpHandlerImpl.java:851)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #1.5#000D56D8CEA2005D0000001800000FC400042F9201A765B7#1178204046383#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Administrator#49##ITEM4531892.dhcp_J2E_3363850#admin#1a943a10f98511dbc5d6000d56d8cea2#SAPEngine_Application_Thread[impl:3]_3##0#0#Error#1#/System/Server/WebRequests#Plain###Cannot send an HTTP error response [500 Application error occurred during request processing. (details: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: The connection is closed.)].
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: An attempt to write after the stream had been closed.
    Exception id: [000D56D8CEA2005D0000001600000FC400042F9201A76132]#
    and with another test connector
    #1.5#000D56D8CEA200600000001800000FC400042F921D02D625#1178204505301#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#SAPEngine_Application_Thread[impl:3]_14##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: The connection is closed.
    Exception id: [000D56D8CEA200600000001600000FC400042F921D02D1AE]#
    #1.5#000D56D8CEA200560000001600000FC400042F921D39B77B#1178204508896#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###wdDoInit()-> enter#
    #1.5#000D56D8CEA200560000001700000FC400042F921D3AE547#1178204508977#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###connectToSystem()->Selected Systemnull#
    #1.5#000D56D8CEA200560000001800000FC400042F921D3BE964#1178204509037#com.sap.tc.lm.ctc.provider.configurationmanager.ConfigManagerReader#sap.com/tcwddispwda#com.sap.tc.lm.ctc.provider.configurationmanager.ConfigManagerReader#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###getElement(String, Filter, int):NamedLocatedElement!ConfigManagerReader.SEARCH_FOR!CTC#
    #1.5#000D56D8CEA200560000001900000FC400042F921D414CF2#1178204509397#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###wdDoInit()-> leave success#
    #1.5#000D56D8CEA200560000001A00000FC400042F921E69A639#1178204528816#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###wdDoModifyView()-> enter#
    #1.5#000D56D8CEA200560000001B00000FC400042F921E69A953#1178204528816#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###wdDoModifyView()-> success#
    #1.5#000D56D8CEA2006E0000010500000FC400042F9231C81C6F#1178204853786#com.sap.portal.connectors.R3#sap.com/irj#com.sap.portal.connectors.R3#admin#47##ITEM4531892.dhcp_J2E_3363850#admin#e91a07a0f98711db85f4000d56d8cea2#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#/System/Server#Plain###(R3/BW) Failed to get connection. Please contact your admin. #
    #1.5#000D56D8CEA204E70000000100000FC400042F9231C90EA8#1178204853846#com.sap.engine.services.dqe#sap.com/irj#com.sap.engine.services.dqe#admin#47##ITEM4531892.dhcp_J2E_3363850#admin#e91a07a0f98711db85f4000d56d8cea2#Thread[Log_Worker_6,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error#1#/System/Server/DQE#Plain###mai 03, 2007 17:07:33.786 [SAP_HOST|4039|SAPEngine_Application_Thread[impl:3]_9] <CONNECTOR.ERROR> Error trying to establish connection to the EIS : final Connection Failed: Nested Exception. Failed to get connection. Please contact your admin. #
    #1.5#000D56D8CEA200690000001E00000FC400042F92335B4C9E#1178204880215#com.sap.portal.connectors.R3#sap.com/irj#com.sap.portal.connectors.R3#admin#47##ITEM4531892.dhcp_J2E_3363850#admin#e91a07a0f98711db85f4000d56d8cea2#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Server#Plain###(R3/BW) Failed to get connection. Please contact your admin. #
    #1.5#000D56D8CEA200690000002000000FC400042F92335B4FE3#1178204880215#com.sap.portal.ivs.connectorService#sap.com/irj#com.sap.portal.ivs.connectorService#admin#47##ITEM4531892.dhcp_J2E_3363850#admin#e91a07a0f98711db85f4000d56d8cea2#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Server#Java###Failed to get connection for system #1#final#
    i happy to carry my life's number one goal with another guy
    (thanks, again and again)
    Adrien
    Message was edited by:
            Adrien Loire

Maybe you are looking for

  • IPod Touch (yet another) syncing problem contacts, address book

    I have a new 2nd gen Touch 8g. I am trying to sync to my MacBook Pro. Would like to sync all my contacts and calendar info from my old Palm, but that is not my question today. I am unable to sync my Address Book and iCal information to Contacts and C

  • Illustrator and Apples aluminum keyboard

    Hello, Is there some kind of known issue concerning Apples new Aluminum keyboard and Illustrator (CS2)? I can get it to recognize simple key strokes like "a" for choosing the point select tool and "p" for pen, etc, but I cannot get it work any comman

  • I need some sort of a Timer ..

    How are you doing ... I'm making a game for my gr 12 class, Target Practice crap, very simple. I don't know how to get the target to stay up for a certain amount of time, and then dissapear at a next random spot, OR dissapear if it's clicked on ... i

  • MIDI interface compatible with OS X 10.9.5?

    I'm looking for a reliable way to send MIDI information out from my Macbook Pro (using QLab 3 software) to trigger the GO button on my Zero88 Jester 24/48 theatre lighting desk that has a 5-pin DIN MIDI input. Has anyone had any success using USB to

  • No persistent tags mavericks

    I am running MacOs 10.9.5 and I am creating custom tags to organise my job. This is my problem: I am adding 2 different tags to a file, but If I edit that file and save it again, it looses one tag, the second in order. Is there a way to fix this and