Application Dependencies for RAC DBs

What are application Dependencies for RAC DBs specially there connectivity, and High availability?

You'll probably get lots of suggestions based on lots of experiences, however, those things may or may not happen to your application. The best and always-applicable advice you'll get is that you absolutely must test your application in every possible scenario (and even scenarios you think are impossible) for how it reacts to failure as well as how it scales with parallelism and how much contention it creates due to its design. Create a realistic test environment, ensure you can produce realistic, real-world load on the application, and then start testing. With 11g, the load generation gets a lot easier to do with Real Application Testing. With earlier releases, it will be using more traditional methods/tools.
So, you'll get good advice, but it won't be a substitute for doing the actual testing work yourself with your application.

Similar Messages

  • Applications Dependencies for RAC DBs

    What are application Dependencies for RAC DBs specially there connectivity, and High availability?

    Hi, not must exist any dependency, for the applications must be transparent. The application only can see the service database where it cans connect and work.
    Regards.

  • Application changes for RAC

    We are having 8 different applications supported by a single instance database with 8 different schema  for each of these applications. We are planning to move these schema to a oracle RAC environment for high-availability reasons. While I am very conformable with setting up the RAC environment( 2 node) , I have questions about how well the applications can function as soon as I migrate all
    the schema to the 2 node RAC. My questions are :
    a >> Do I need to have the developer change anything in the application code in order to support the RAC.
    b >> How  can I ensure the load balancing of the application happen after migration
    c >> Is there anything I have to do to make sure the application really works well in this environment so as to make the investment in time /money/effort is worthwhile ?
    Appreciate your response

    You may want to look at any sequences. By default, they will have been created with NOORDER which can cause unexpected results in a clustered database.
    And for your other question, are you sure you want load balancing? You said that the purpose of the RAC was high availability, so i would think that you need to look at service and session failover, not load balancing.

  • Defining one application module for several DBs

    Hi,
    Is it possible to define one application module that serves two different DBs?
    In other words:
    If I need to use two DBs in my application, how many application module should I define?
    Thanks in advance

    Shalom Moran,
    So you only need to connect to one DB at time - but to different DBs at different times right?
    If we are talking about changing this at development time then simply simply change the configuration of your application module to connect to a different DB. (right click on the AM in JDeveloper and choose preferences). You can also change this in a file somewhere (don't remember the name of the top of my head).
    The other option is to have your AM use the application server's data-sources and you can change the parameters of the data-source in your application server configuration file.
    Hope this helps.
    Shay

  • Dependencies for usermanagement in KM application

    Hi,
    I created a km portal application which uses the apis from the package com.sapportals.portal.security.usermanagement. Using the jarclass finder, I was able to find these jars/add them to the classpath/build and finally  deploy.
    However, when I convert this application to a DC, I get errrors on building the DC:
    package com.sapportals.portal.security.usermanagement does not exist
         [javac] ERROR: import com.sapportals.portal.security.usermanagement.IUser;
         [javac] ERROR:                                                      ^
    [javac] ERROR: import com.sapportals.portal.security.usermanagement.UserManagementException;
         [javac] ERROR:                                                      ^
    I've already added SC dependencies  for KM-BC, KM-CM, JTECHS, J2EE, BUILDT, etc..
    Under used DCs, I was able to add used dependency on DC tckmfrwk. However, I can't find the corresponding DC for 'com.sapportals.portal.security.usermanagement'..
    Can anyone point me to the right SC/DC to include for the above? Thanks.
    ~Prachi

    Hi Prachi,
    when you use Development Components, then you have to add the required library as "Used DC" to our project. The libraries will be added automatically to your build path.
    Try also to include the following SCs:
    - SAP_JTECHS -> epbc.prtapi._api
    - EP_BUILDT -> com.sap.security.api
    Otherwise you have to include the required libraries as External Library.
    Refer to this blog, it gives you an explanation of how to add an External Library DC.
    [Using KM API in Web Dynpro Application using Development Components|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11509]
    Best regards,
    Denis
    Edited by: Denis Schrodt on Jan 27, 2009 1:43 PM

  • CM12 - Reporting all Application Dependencies

    Dear all, we have CM12 with 2000 applications defined. Some of the applications have dependencies set.
    How to report all applications that have dependencies AND what those links are ?
    From the Console GUI it is possible to add the "References" attribute that reports which applications have a reference to another application. How to obtain a list of all dependencies and clearly see which application is a parent, which is a child
    Have searched the net and forums without an answer but see others have asked.
    D

    Hi
    If you want to see from inside the ConfigMgr 2012 console, you have to do the following per application:
    Select the application
    From the Ribbon, select View RelationShips -> Dependency
    You will then get dependencies for that application shown graphically
    If you want to see dependencies for all your applications, you will have to use reporting. I cannot remember if such a report exists that will give that information but I do not think so. So you will have to create such a report yourself or wait for others
    in this forum to give you more information.

  • Is a gateway mandatory for RAC environment?

    Question:
    Is a gateway mandatory for RAC installation, general on RAC environment?
    *..when yes, why?*
    Many thanks
    I make this test with my only one RAC node
    1. Run with gateway:
    [oracle@linux1 ~]$ crs_stat -t
    Name           Type           Target    State     Host       
    ora....SM1.asm application    ONLINE    ONLINE    linux1     
    ora....X1.lsnr application    ONLINE    ONLINE    linux1     
    ora.linux1.gsd application    ONLINE    ONLINE    linux1     
    ora.linux1.ons application    ONLINE    ONLINE    linux1     
    ora.linux1.vip application    ONLINE    ONLINE    linux1     
    ora.orcl.db    application    ONLINE    ONLINE    linux1     
    ora....l1.inst application    ONLINE    ONLINE    linux1     
    ora....test.cs application    ONLINE    ONLINE    linux1     
    ora....cl1.srv application    ONLINE    ONLINE    linux1
    [oracle@linux1 ~]$ srvctl status database -d orcl
    Instance orcl1 is running on node linux1All thing seem correct!
    2. run without gateway (blank setting):
    [oracle@linux1 ~]$ crs_stat -t
    Name           Type           Target    State     Host       
    ora....SM1.asm application    ONLINE    OFFLINE              
    ora....X1.lsnr application    ONLINE    OFFLINE              
    ora.linux1.gsd application    ONLINE    ONLINE    linux1     
    ora.linux1.ons application    ONLINE    ONLINE    linux1     
    ora.linux1.vip application    ONLINE    OFFLINE              
    ora.orcl.db    application    ONLINE    OFFLINE              
    ora....l1.inst application    ONLINE    OFFLINE              
    ora....test.cs application    ONLINE    OFFLINE              
    ora....cl1.srv application    ONLINE    OFFLINE              
    [oracle@linux1 ~]$ srvctl status database -d orcl
    Instance orcl1 is not running on node linux1Something is false!

    By default, the server's default gateway is used as a ping target during the Oracle RAC 10g VIP status check action.
    Upon a ping failure, Oracle will decide that the current interface where the VIP is running has failed, and will initiate
    an interface / internode VIP failover.
    In above case, we used just one node for CRS installation, so the VIP coudn't failover to other nodes and thus reported additional error like :
    CRS-1006: No more members to consider
    CRS-0215: Could not start resource 'ora.dbtest2.vip'.
    Try ->
    A parameter FAIL_WHEN_DEFAULTGW_NOT_FOUND in the file
    $ORA_CRS_HOME/bin/racvip to address this problem.
    The following steps will fix the VIP starting problem for above mentioned scenario.
    1- stop nodeapps
    2- As root,
    vi the script $ORA_CRS_HOME/bin/racgvip and change the value of
    variable FAIL_WHEN_DEFAULTGW_NOT_FOUND=0 .
    3- start nodeapps and you should see the resources ONLINE
    You may proceed with netca and dbca to create a RAC database after this.

  • 9i RAC DBs management notes/documents

    Looking for some good source to study for 9i RAC DBs administration...

    It depend om what OS you using, for Linux OCFS is preferred. But I feel NFS( like NetApps) is best to use for 9i/10g RAC.
    Have a look on following article
    RAC Filesystem Options

  • Complex application dependencies

    I have a somewhat complex application dependency tree.
    I have four applications A, B, C, and D. Each application is deployed in its own EAR file. B depends on EJB's from application A. C also depends on A. D depends on A, B, and C. In addition, A depends on B and C. So it makes a diamond, with A at the top, B and C side-by-side on the middle level, and D at the bottom. Each application is deployed in its own EAR file.
    The parent attrib in server.xml doesn't handle this at all. First, you can only specify one parent for each application, and I have one app (D) that depends on three others. Also, the parent relationship only flows one direction. I have three apps that have bidirectional dependencies (A<->B, A<->C).
    Putting all the EJB's in a single EAR file would be very clunky. A couple of my apps already take serveral minutes to deploy, putting them all together would seriously dent development productivity.
    Has anyone else had complex dependencies like this? If so, how did you deal with them?
    Thanks,
    Lance

    On 19/7/09 16:04, Ralf Ebert wrote:
    > I have to agree, setting up a run configuration and dependencies for
    > SWTBot for a complex application is tedious.
    >
    > What do you think about reducing the runtime dependencies of SWTBot?
    > Something like a single plug-in "org.eclipse.swtbot.runtime" containing
    > all the classes required at runtime (maybe complemented by separate
    > finder plug-ins)?
    Could you elaborate more on what you mean by a plugin containing runtime
    classes and how you propose to split them ?
    Ketan
    http://studios.thoughtworks.com/twist | http://twitter.com/ketanpkr

  • Application Dependencies

    Hoi!
    I've faced somekind of a bug, i think. It's surly documented but i will ask here anyway.
    I have a normal AO, nothing special, just association to a "install-user".
    Its like a installation-chain of needed applications, like JAVA, adobe flash player, microsoft office etc.
    In total i have 20 different AOs.
    Flash player for an example, I'd made one "installation-AO" and a "patch-AO".
    the installation-AO contains the msi-package, and the patch-AO distribute a file under the windows directory to disable autoupdates. Anyhow i want the installation-AO to get installed BEFORE the patch-AO.
    I've never seen this before, but when i run the installation-chain-AO with the application dependencies, it takes ALL of the containing application in a total random order. F**ked up?
    Is this behaviour normal?
    I'd also checked "Continue distributions immediately" on all the AOs within this dependency chain.
    Any help would be appreciated!
    Regards,
    Jokohanho

    Originally Posted by magic31
    Should be recent enough....
    The Snapins version in ConsoleOne can be found through the help 'about snapins' menu item (if that's what you are asking?)...
    I found it, is there any special snapins that is important?
    Most of the snapins exept the 3rd part snapins are 7.0 anyway. Its alot of snapis^^
    Originally Posted by magic31
    You might want to double-check if some other association has not been set (force run set on a group/container for example) directly on one of the dependencies...
    Nope, there is no force run.
    With all those install-AOs id only associated workstation with "App launcher" checked. To be able to install it as workstation thru, "Distribution Options > Options > Distribute in Workstation security space if...."
    Originally Posted by magic31
    If the order gets mixed-up when manually running the app and your dependency order and switches look okay... might be a bug??
    On the other hand, if this has only started happening recently.. one would think 'what has changed?' besides Zen that might be resulting to this?
    Is this random order happening everywhere, in in specific places?
    Mmm, never seen it before. And I've looked thru the settings alot in C1 and ZENworks.
    Its happening everywhere. With any user i use. (ive associated the chain to a user)
    Regards,
    Jokohanho

  • Toplink support for RAC Failover

    We need to enable Toplink to support RAC Fast Connection Failover. We need to support
    only read query retry functionality and not write query retry. We found one document
    (http://www.oracle.com/technology/events/develop2007/presentations/oracle_jdbc_high_availability_load_balancing_best_practices_and_road_map.pdf)
    that explains how to configure JDBC connection for RAC failover. However, since we
    are using Toplink, we don't explicitly write our own jdbc url and toplink's session/uow
    will automatically handle the actual sql query execution.
    Is there any way we can configure Toplink to support RAC Fast Connection Failover, such
    as possibly in the toplink's sessions.xml or in the oc4j container's connection pools setting?
    Just for information, the way we acquire Toplink session is through SessionFactory:
       SessionFactory sessionFactory = new SessionFactory("repository",
                                     "META-INF/repository-sessions.xml");
       Session toplinkSession = sessionFactory.acquireSession();Then we do queries, acquiring unit of work, etc, using that toplinkSession.
    Thanks.

    We have enhanced our RAC FCF support in 11gR1 leveraging the new Universal Connection Pool to make it more seamless to the application. Which version of TopLink and OC4J are you using?
    Doug

  • OS upgradation For RAC

    Hi guys...How is everything.....
    I have Node RAC on Windows2003R2 Itaniam. I Need to know is there any procedure for OS upgradation for RAC..I mean shall I down the Cluster & Database when OS up gradation..

    Hi JIC,
    Please be more specific. Do you plan upgrade OS for Win2008? Or did you means service packs and patches through windows update?
    In general, if your OS is certified by Oracle to run RAC if you are using service pack 1,2,3 doesn't matter, they are certified too.
    "The Oracle Clusterware and Oracle Real Application Clusters both support rolling upgrades of the OS software when the version of the Oracle Database is certified on both releases of the OS (and the OS is the same, no Linux and Windows or AIX and Solaris, or 32 and 64 bit etc.). This can apply a patch to the operating system, a patchset (such as EL4u4 to EL4u6) or a release (EL4 to EL5). Stay within a 24 hours of upgrade window and fully test this path as it's not possible for Oracle to test all these different paths and combinations."
    This rule is valid to Unix/Linux and windows Systems.
    You can check it on My Oracle Support note ID 220970.1
    Best Regards,
    Rodrigo Mufalani
    www.mufalani.com

  • How Do I Configure SSL for RAC Installation.

    Experts,
    Requesting your inputs on configuring SSL for my RAC environment.
    - Oracle DB version is 11.2.0.2
    - RAC is with two nodes.
    - Two nodes are : rac1.oracle.com and rac2.oracle.com
    - RAC setup has SCAN feature configured. SCAN FQDN : racscan.oracle.com
    - All clients talk to RAC DB using SCAN feature as shown below.
    client applications -> racscan.oracle.com ---> rac1.oracle.com
    ---> rac2.oracle.com
    - tnsnames.ora file on both RAC instances has hostname as "racscan.oracle.com" instead of their individual phyiscal host names.
    How do I configure SSL for RAC:
    1. Do I need to generate certificate request for individual hostnames or only for SCAN hostname ?.
    2. If I generate a certificate based on SCAN hostname, how does SSL work since SCAN hostname is not a phyiscal host name ?
    3. What is recommended strategy for configuring SSL for RAC environment ?
    Thanks

    The documentation on the creation of Oracle Wallets is not specific to RAC, and the RAC SCAN instructions for TCPS are very vague on the specific requirements for the certificates required in the wallets for proper operation. I too am struggling to get it to work. Does anyone have a more technical guide to the specific configuration of the certificates needed and what specific configuration file changes need to be made?
    Also, the self signed documentation is getting REALLY old. Oracle, please stop giving instructions that demonstrate irresponsibility and show the proper method of certificate requesting and importing to wallets.
    Edited by: user11338513 on Mar 21, 2012 2:23 PM

  • Firewire storage for RAC

    DB Version: 11.2.0.2
    OS : Solaris 5.10
    We are thinking of setting up a RAC db(Development) with a Firewire 800 device as our Shared storage. We are thinking of buying a 2 port Firewire Storage device mentioned in the below URL along with 2 firewire PCI cards for both of our machines.
    http://www.lacie.com/asia/products/product.htm?id=10330
    I have read in other OTN posts that RAC with firewire storage is only good for Demo purpose. Does this mean that it is not good for development DBs at least?

    T.Boyd wrote:
    DB Version: 11.2.0.2
    OS : Solaris 5.10
    We are thinking of setting up a RAC db(Development) with a Firewire 800 device as our Shared storage. We are thinking of buying a 2 port Firewire Storage device mentioned in the below URL along with 2 firewire PCI cards for both of our machines.
    http://www.lacie.com/asia/products/product.htm?id=10330
    I have read in other OTN posts that RAC with firewire storage is only good for Demo purpose. Does this mean that it is not good for development DBs at least?Oracle "supports" this in a pure development environment. There is (or was) an Oracle owned mailing list that specifically dealt with this - using firewire shared storage for RAC.
    Some years ago I tried it (with a Lacie drive). But could not get both RHEL3 servers to open a connection to the drive. The config was correct, but the 2nd server always failed to establish a connection (complaining something like that no more connections were supported to the drive). I put that one down as a driver bug of sorts - and were not keen to go bug hunting and build the driver from source code. Left it at that - but according to the docs I read (from Oracle) at the time, this was a "valid" config for testing RAC.

  • Solutions for access as ROOT for RAC DBA duties

    Our Networking Team and Applications Team are going through some growing pains. We are trying to resolve what permissions should be given to a RAC DBA. Our RAC DBA is responsible for Oracle Clusterware, Oracle Automatic Storage
    Management and Oracle RDBMS software. The OS, Server and Storage Subsystem are the responsibility of the System Administrator. We have the following Environment:
    Production and Test (RAC)
    Oracle Enterprise Linux 5 update 2
    Oracle Clusterware 11.2.0.2 -- Grid Infrastructure
    Oracle ASM 11.2.0.2
    Oracle Database 11.2.0.2 EE
    Development (Single Instance)
    Oracle Enterprise Linux 5 update 2
    Oracle ASM 11.2.0.2 -- Grid Infrastructure
    Oracle Database 11.2.0.2 EE
    As the RAC DBA, I have identified the following areas that require ROOT for RAC and Single Instance DB's; however, I understand there may be more:
    diagcollection.pl
    - diagnostic tool for Oracle Clusterware and may be requested by Oracle Support
    ocrconfig
    - to repair ocr configuration issue (add, replace and remove requires root)
    srvctl modify
    - required root to change ip address
    tar
    - TAR Grid Infrastructure Directory structure preserving files with ROOT ownership
    cluvfy
    - cluvfy fix it scripts need to run as ROOT
    - some cluvfy commands under 11gr1 would only run properly for -post cfs check as ROOT in our last installation
    ASM Libraries
    - ROOT required to install and configure ASM libraries
    fdisk - l
    - this is used to see disks attached which is relevant when ASM disks are not mounted
    /etc/sysconfig/oracleasm
    - oracleasm loading configuration file
    /usr/sbin/oracleasm
    - to make disks available to ASMLIB (scandisks etc.)
    /usr/sbin/asmtool
    - asm config tool due to bug
    asm cluster file system
    - some commands require ROOT (mounting etc.)
    - acfsutil
    /var/log/messages
    - loading errors ohas and oracleasm would be logged here
    cvuqdisk
    - needs to be loaded for new install
    root.sh
    - script needed to run at install, upgrades and patching
    oraInstRoot.sh
    - script needed to run at install
    rootupgrade.sh
    - upgrade script
    roothas.pl
    - upgrade script
    ocrcheck
    - check for ocr corruption
    - corrupt check portion requires ROOT
    - oracle local registry
    Grid Infrstructure
    - .runInstaller from Grid Infrastructure
    - includes upgrades
    asm configuration assistant (asmca)
    - configuration of asm diskgroups
    - vol mgr for asm disks
    ocrconfig
    - ocr configuration tool
    - ocr import
    - ocr export
    - oracle local registry
    ocrdump
    - used to check ocr backup file
    - oracle local registry
    opatch
    - patching grid control requires ROOT
    crsctl
    - Startup and Shutdown Oracle Clusterware, Oracle ASM and Database/Instance
    - restore voting disk
    - restore ocr
    - set log for dynamic debugging
    - check install periodically
    srvctl
    - modify nodeapps (ex. ip address change)
    - add filesystem (acfs)
    What solutions have people found so that RAC DBA can perform responsibilites yet not have ROOT password?

    In all the environments I've worked in, I either had direct su access with knowledge of the root password or used sudo. I really can't imagine an environment that would require something other than either of those two options.
    In places with stricter auditing requirements we used sudo in conjunction with the sudosh shell wrapper to log all activities to syslog, but this was used by everyone and not just the DBA
    Is SUDO the only solutuion? Every command need to be entered into SUDO config files that necessitates ROOT access.
    As I demonstrated in the other thread, giving the oracle user sudo access to files that are writable by the oracle user (eg. root.sh) gives them the ability to access to a root shell. It is good to implement a "minimum privileges necessary" policy in your organization but it has to be within reason. The minimum privilege necessary for running and maintaining CRS is root.
    Edited by: AllYourDataBase on Apr 18, 2011 1:44 PM

Maybe you are looking for