Weblogic and Oracle RAC + DataGuard

Hi,
I am testing Weblogic 9.2 with Oracle 10g RAC (2 nodes) and Oracle DataGuard and I am trying to figure out the best possible data source configuration that would handle load balancing between RAC nodes and failover/switchback between RAC nodes and the standby database. The problem that I see is that all Oracle instances have to be open in order to successfully deploy the data sources on Weblogic. This means that at creation/deployment time and after every Weblogic reboot all Oracle instances have to be up and running and accepting connections, because otherwise the data sources won't be instantiated and therefore not accessible to the consuming application.
Is there any way to smoothly deploy the data sources without having to go through the hassle of making sure that all RAC nodes and DataGuard are open?
What I would expect is that the data source would be instantiated but disabled if no connection is available. Having to redeploy the data source once the database instance is again available is a limitation in providing transparent high availability.
Thanks.

Hi, yes. Configure the pool to have an initial capacity of zero. Then it will
deploy and not try to make any connections. It will only try when/if
it is asked for one at runtime. Even if the DBMS is not up, the
DataSource will just throw an exception until the DBMS is up.

Similar Messages

  • Install SAP ERP 6.0 with Linux and Oracle RAC

    Hi Guru,
    I want to install SAP ERP 6.0 with Linux and Oracle RAC. Is this possible?
    Where do I find information?
    Thanks,
    Hugo.

    Hello Hugo,
    You can use either RAC or dataguard. On note [105047|http://service.sap.com/sap/support/notes/105047]:
    14. Data Guard
        o  You can use "Physical Standby".
        o  You cannot use "Logical Standby".
        o  You can use Data Guard Broker.
        o  You can use Maximum Performance Mode, Maximum Availability Mode and Maximum Protection Mode.
        o  In the case of Maximum Availability and Maximum Protection, you must pay particular attention to a fast network connection in order to avoid performance problems.
        o  Maximum Protection causes the primary database to terminate if problems occur in the standby database.
    60. Real Application Cluster (RAC)
        o  You can use this feature in accordance with Note 527843.
    Regards,
    Eduardo Rezende

  • BODS and Oracle RAC

    Do we know of any problems with BODS and Oracle Real Application Clusters architecture? For example, a RAC TNS entry would specify one service name but multiple hosts for load balancing and failover. In BODS the connections are specified in many places (web console, datastores, job server). As far as I remember in some of those places we do have to enter the host name. Would this disqualify BODS from benefiting from RAC or would it (even worse) cause problems? Any official note by SAP on BODS and Oracle RAC?
    Thanks.

    Hi Mahir,
    As far as I know it's only the web console that requires the hostname, however I am using DS XI 3.1 and when selecting database type Oracle in the web console there is a checkbox for 'Oracle RAC'. If you check this box then you do not require to enter the hostname.

  • Multipool with weblogic 8.1 sp3 and Oracle RAC

    Hi,
    I have an Oracle RAC define with 2 node.
    For each node I defined a simple ConnectionPool using the Oracle thin driver 10 g.
    Then I set a multipool that contains those conections pool.
    This is a good solution: It works... :-)
    Now I would like to use a XA Driver. The documentation say that it is not supported...
    I would like to figure out why?
    Does it mean that an EJB that connect to this multipool cannot participate in a XA transaction?
    Will it work if I use the param KeepXAConnTillTXComplete="true" on the connectionpool? which means that I will use the same conection throughout the transaction.
    Thank you
    Yann.

    Yann Albou wrote:
    Hi,
    I have an Oracle RAC define with 2 node.
    For each node I defined a simple ConnectionPool using the Oracle thin driver 10 g.
    Then I set a multipool that contains those conections pool.
    This is a good solution: It works... :-)
    Now I would like to use a XA Driver. The documentation say that it is not supported...
    I would like to figure out why?
    Does it mean that an EJB that connect to this multipool cannot participate in a XA transaction?
    Will it work if I use the param KeepXAConnTillTXComplete="true" on the connectionpool? which means that I will use the same conection throughout the transaction.
    Thank you
    Yann.Hi. The trouble with XA and multipools is that sometimes XA must recover after failures,
    and if a multipool is involved, the transaction coordinator cannot know whether the
    connection it gets from the multipool for recovery is talking to the same DBMS that was
    involved in the transaction that has to be recovered.
    Do check the 81sp3 documents on this issue.
    Joe

  • UTL_FILE_DIR and Oracle RAC

    Gentlemen,
    I have installed with sucess an environment with Oracle RAC with two servers. The application that runs in these servers, has batch procedures, and it has to save flat files during these processes. When the processes run with both servers something goes wrong and the system stops. It doesn´t happen when I shutdown one of the servers. I tried to setup directories in the storage system (external disks) but it wasn´t allowed too.
    Does anyone know how can I setup utl_file_dir to work with both servers? Is there another parameter to set?
    Thank you all,
    Best regards.
    Roberto Cavalcante
    Brazil

    VCFS/CFS/NFS are just filesystems and UTL_FILE does file i/o. If you have sessions in multiple instances that write to the same file on a cluster filesystem, the outcome would be unpredictable. Most likely, the last person to write to the file would have their changes saved. Oracle DB (RAC or not) doesn't handle any concurrency related to UTL_FILE writes. So, even if you were in the same instance (non-RAC) and had two sessions writing to the same file, I don't think you'd get the desired results :). The file would likely be a mess and you'd have to use different file names or control concurrency yourself manually.

  • HACMP and Oracle RAC

    Hello All,
    I want to install Oracle 11g R2 on AIX 6.1.
    After doing some researches i found that there are some documents mentioning that HACMP should not be installed while installing Oracle RAC.
    what is the use of HACMP ? Is it optional ? when should be installed and when not?
    Please can you provide me all details abut HACMP and how it affects ORACLE RAC 11g R2 installation on AIX??
    Regards,

    NB wrote:
    Hello All,
    I want to install Oracle 11g R2 on AIX 6.1.
    After doing some researches i found that there are some documents mentioning that HACMP should not be installed while installing Oracle RAC.
    what is the use of HACMP ? Is it optional ? when should be installed and when not?
    Please can you provide me all details abut HACMP and how it affects ORACLE RAC 11g R2 installation on AIX??
    Regards,
    Hi,
    HACMP is vendor clusterware (IBM technology) for cluster it is High Availability Cluster Multi Processing. When installing Oracle RAC it must installed on top of vendor clusterware.
    HACMP comes in play when you use raw logical volume and it needs to be managed by HACMP.
    Since 10g it is not mandatory to use HACMP so you can choose not to use it and let Oracle manage all the cluster services
    Hope this helps
    Cheers

  • Java application (tomcat) and Oracle RAC 10gR2

    Hi, I have an Oracle RAC 10gR2 (10.2.0.3) on Suse Linux Enterprise Server (3 nodes).
    I have several application running on tomcat 5.X and tomcat 6.X with java 1.5 and java 1.6. Sometimes, because of hardware fail, network problems,... one of the nodes fails, and then the other 2 nodes still working and my database is up. However, the most of applications lose the connection with the database, and I must to restart the tomcat. I want to have a system more reliable and robust, and I want to prepare the tomcat's and java application for prevent it. I have read the http://drdobbs.com/java/222700353?pgno=1 and http://db360.blogspot.com/2007/01/is-your-java-application-failoverproof.html. I've been tried the example of the first url, but I don't connect with my database. However, I've probe the sample on another oracle rac (10.2.0.4) and it works. In the samples, it use the ucp.jar (11g) and ons.jar (10g) and ojdbc6.jar (11g driver).
    Anyone can help me how can I configure my application for I must not to restart the tomcats??
    Thanks you very much!!.

    The best solution for your problem is ORACLE SUPPORT.. Please raise an SR and coordinate with them.. GoodLuck!

  • Does oracle clusterware and oracle RAC require sun cluster

    Hi,
    I have to setup oracle RAC on solaris 10 SPARC. so is it necessary to install sun cluster 3.2, QFS file system on solaris
    I have 2 sun sparc servers with solaris 10 installed on it and shared LUN setup(SAN disk RAID 5 partitions)
    Have to have 2 node setup for RAC load balancing.
    Regards
    Prakash

    Hi Prakash,
    very interesting point:
    As per oracle clusterware documents the cluster manager support is only for windows and linux.
    In case of solaris SPARC will the cluster manager get configured ???
    The term "Cluster Manager" refers to a "cluster manager" that Oracle used in 9i times and this one was indeed only available on Linux / Windows.
    Therefore, let me, please, ask you something: Which version of Oracle RAC do you plan to use?
    Because for 9i RAC, you would need Sun or Veritas Cluster on Solaris. The answers given here that Sun Cluster would not be required assume 10g RAC or higher.
    Now, you might see other dependencies which can be resolved by Sun Cluster. I cannot comment on those.
    For the RAW setup: having RAW disks (not raw logical volumes) will be fine without Veritas and ASM on top.
    Hope that helps. Thanks,
    Markus

  • Problem setting up APEX 4 with WebLogic and Oracle XE

    I'm am trying to install and test Application Express 4 (latest version) on a brand new installation of Oracle WebLogic Server and Oracle XE.
    I have followed the Installation Guide for APEX and have successfully installed all tables and scripts into my Oracle XE schema and am able to connect to the Application Express Workspace login page (http://localhost:8080/apex) but am not able to log in. All styles and images are missing.
    I have followed the steps in the Application Express Listener Guide to install the Listener to my WebLogic deployments and have my i.war and apex.war files deployed but these apparently are not working. When I go to my WebLogic server and view the /apex/ListenerConfigure page I can see the page but get an HTTP 404 "Page Not Found" error and appears to be looking for the WLS's apex/apex directory.
    Note: My Oracle XE / APEX setup is on a separate server than my WebLogic server.
    Also, I see the APEX Listener file (apex-confix.xml) from the install zip file but I don't believe it is being used anywhere, as the documentation never told me what to do with it.
    Any help would be awesome. Let me know what I can provide that I haven't. Thanks!

    Thank you, I was able to use what you said as well as this information here: Installing Apex 4 on Oracle XE:  Almost there, but no cigar yet!
    Thank you for the help :)

  • Red Hat Cluster Suite and Oracle RAC

    HI Guys,
    Our boss will plan to configure Red Hat Cluster Suite to replace to update oracle RAC.
    Are there some experienced expert to explain advantage and risk of Red Hat Cluster Suite v Oracle RAC 11.2
    Thanks
    Jin

    Hi,
    first of all Red Hat Cluster Suite cannot replace the RAC functionality. RAC is database Red Hat Cluster Suite, just provides clusterware. So all with what you will end up is a plain old failover cluster solution.
    So in maximum Red Hat Cluster Suite can replace the Oracle Clusterware. (But not below a RAC, since this is not supported and even with integration with other clusterware Oracle Clusterware will still be there).
    So what he will end up is also replacing RAC with single instance databases in a failover cluster solution, and with this will decrease a lot of RAC capabilities:
    => Rolling Upgrade (OS / Clusterware and some database patches)
    => Storage migration/consolidation
    => Fast failover (30 seconds vs. minutes).
    See www.oracle.com and you will find whitepapers with differences between failover clusters and RAC.
    http://www.oracle.com/technetwork/database/enterprise-edition/failover-cluster-134770.pdf
    But even if there are other justifications to reduce availablity (which actually can only be costs), I still wonder, why he wants to replace Oracle Clusterware - the clusterware shipped with Oracle is far more mature than the one from the Red Hat cluster Suite.
    And there is no better integration for Oracle databases in clusterware than what Oracle clusterware can provide.
    Even more so, OCW is a full capable clusterware and you can build your own failover cluster solution for free.
    The same would have to be done if he replaces it with redhat cluster.
    PS: If someone is providing failover scripts for Oracle in Redhat clusters, it will be Redhat (but I think you have to write them yourself).
    Regards
    Sebastian

  • NetBackup Oracle Agent and Oracle RAC

    Hi
    In normal oracle, i will just need to customise the template (hot_database_backup.sh) provided by the netbackup installation. Under the selection list, type in "hot_database_backup.sh" and it will work fine.
    For oracle rac, it seems not so straight forward. Has any tried it?
    Regards
    sek

    user10255282 wrote:
    Cost is the big factor. We have certain environments that have no intention of moving to 11.. but some do. Cost moves around. This is simply trading one kind of cost for another. Especially if all environments are covered by an Oracle Support contract. Then the cost is not Oracle related.
    But that ultimately is a PHB decision.
    Instead of buying dedicated RAC clusters for the offending ones.. its a thought to run 2 versions on the same servers... ofcourse with the higher CRS.However, yes you can run run a mix ... as Dan says, not necessarily recommended. MUST use highest available CRS and be very careful that the CRS supports all version of the DB.
    (And plan on having your interconnect flooded.)
    I highly recommend testing the bejazis out of it to verify your shop can indeed handle the configuration.

  • Sun cluster and oracle RAC

    my client is insisting on putting oracle RAC on top of sun cluster, the thing is i don't know what is the benifit of creating such an architecture, i tries to search on the internet but couldn't understand the benifits nor the advantage, Kindly if some one has implemented such an architecture to let us know the use and the benifits

    Hi,
    Here on my environment, there is SUNCluster only for single instances. The Clusterware Oracle is complete providing high availability and load balance for your database, you don't need sun cluster with this case, no advantages gained. The only thing controlled by SUNCluster on my RAC environment is QFS (Cluster file system from SUN).
    If search on this forum, there are many discussion by this topic (suncluster X RAC) like this post Re: Sun Cluster.. Why?
    Regards,
    Rodrigo Mufalani

  • Weblogic and Oracle VM

    Hi all,
    Is Weblogic certified to run on an operating system such as Oracle Enterprise Linux (OEL 5.x) that is running on an Oracle VM? Metalink note "Oracle VM General Policy Description [ID 466538.1]" makes me hesitant about Weblogic on Oracle VM. Also the metalink note "Certified Software on Oracle VM [ID 464754.1]" did not seem to give a clear indication about Weblogic.
    Thanks,

    See these two points (http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html):
    # If an Oracle product has been certified against and is supported on a version of Red Hat Enterprise Linux (RHEL),
    it is automatically certified and supported on the corresponding version of Oracle Linux . (e.g., RHEL4->Oracle Linux 4, RHEL5->Oracle Linux 5).
    # If a product is supported and certified on Oracle Linux or RHEL, it is also certified and supported in the virtualized
    installation of the same version of Oracle Linux or RHEL running on Oracle VM. (e.g. Oracle Linux 4 -> Oracle Linux 4 on Oracle VM,
    Oracle Linux 5 -> Oracle Linux 5 on Oracle VM, RHEL4 -> RHEL4 on Oracle VM, RHEL 5 -> RHEL5 on Oracle VM).
    Oracle recommends using latest updates levels and Oracle VM versions available.
    Looks like Oracle Enterprise Linux (OEL 5.x) that is running on an Oracle VM is certified.

  • Differences b/w Oracle Workshop WebLogic and Oracle Eclipse Enterprise Pack

    What are the differences between the Oracle Workshop Studio for WebLogic and the Oracle Eclipse Enterprise Pack

    While both OEPE and Workshop are Eclipse-based IDEs, they are in fact separate products with some similarities
    Both products provide tooling for webapp and Java EE development for Weblogic Server but OEPE is Oracle's strategic Eclipse-based solution and new features are released as OEPE plugins. One goal for OEPE is to cover and eventually exceed Workshop's feature set. You can start to see that today in OEPE 11g's JPA, Spring, and Weblogic Server. For example, JPA support in OEPE 11g is available on more project types, like EJB and Utility Projects, and has better Entity source code completion and validation against the schema. OEPE's Weblogic Server support includes new graphical editors for the common deployment descriptors, like weblogic.xml, which simplifies adding new content, validation, and accessing context sensitive help.
    Also, with OEPE we are more active in the Eclipse community with participation in WTP projects like JSF Tools and Dali. In fact, in Eclipse 3.5 the new JPA Entity generation wizards were originally developed as part of OEPE 11g and contributed to WTP.
    Finally, if you need support for the latest Eclipse, OEPE's frequent release schedule keeps us supporting new Eclipse versions much faster than we were able to with Workshop.
    If you are debating between OEPE and Workshop for new projects, I would definitely recommend that you give OEPE a try.
    Thanks,
    Greg

  • RMAN backup and Oracle RAC

    Hello,
    I am newbie with Oracle RAC 11g.
    So, I do the following steps to configure RMAN to back up the Oracle RAC:
    - Create a tablespace to RMAN User;
    - Create the user rman;
    - Connect to catalog (the databsae RAC itself);
    - Register the database;
    - Create the "complete_backup" script on catalog.
    So, when I enter on Enterprise Manager, I can see
    the "Availability" tab and the "Recovery Catalog Settings" link.
    I setup the user rman that I've created with the host RAC1.
    Is this really necessary on EM? The "Backup Setting" on EM
    is equals to rman (database user) catalog?
    When I go to "Schedule backup", I want to use the "complete_backup" script
    that I've created. What the best way to schedule this script
    to run each sunday, for example?
    Thank you.

    Hi,
    To perfom a test you can create a new single database (RCVCAT) in one of the hosts that you have.
    Create a database without any option with and use minimum of memory (don't use memory_target) set pga (50M) and sga(400M).
    Create a user RMAN; with Grant connect,resource,recovery_catalog_owner.
    Tablespace RCVCAT;
    With RMAN connect on RCVCAT and create your catalog.
    Levi Pereira

Maybe you are looking for

  • How can I select shutdown & close the display w/o going into sleep mode?

    I have learned to wait untill the MBP full shuts down before closing the display. In the past I have pressed shutdown closed the display only to find out later the MBP goes into sleep mode before fully shuting down. When I reopen the display the comp

  • What is this file and why can't I do anything with it?

    I found this file in All my Files today and it's bugging me a bit. It seems to be a Pixelmator file with the same creation date as the file before with, giving me the impression they're linked somehow. The mystery file, however, doesn't have a locati

  • JDBC error in PreparedStatement using TimesTen 6.0.3

    TimesTen supports this kind of sql statement select rows 3 to 5 * from products (it returns 2 rows started from row #3) I want to implement this in java thru JDBC PreparedStatement pstmt = con.prepareStatement(select rows ? to ? * from products); pst

  • How to stop the Selection Tool from selecting effects around objects?

    This question is for Illustrator CS5. I can't seem to figure out how to fix this problem. I vaguely recall finding a solution in CS4, but cannot recall how it was achieved: Scenario: If I have a number of shapes on top of each other, with, for exampl

  • Quicktime + Picture Viewer?

    I recently updated iTunes, and it appears Picture Viewer has been installed on my PC. Needless to say, I am not happy. I cannot remove it via Programs and Features, and I did not agree for it to be installed. I'd like this useless 'Picture Viewer' re