Can PHP leverage RAC cluster?

Can PHP leverage the scalability of RAC?
It appears to connect to a single node only with no TAF capability.
Any guidance please
Will Brown
[email protected]

It appears to connect to a single node only with no TAF capability.Will,
I'm affraid that I don't understand what do you mean exactly. Could you be more specific please?

Similar Messages

  • Does anybody know how we can blackout a RAC cluster database?

    When attempting to start a blackout for a cluster database we get the message:
    "<DB NAME>" is a cluster target, hence skipping it. Please use EM console.
    Is there an api to allow us to do this from a script just prior to a scheduled refresh?

    Apparantly Oracle thinks its a feature:
    Symptoms
    Grid Control 10.2.0.2
    Agent 10.2.0.2
    Cluster RAC database 10.2.0.2 or 9.2.0.6
    The command line 'emctl start blackout test <RAC database target>' fails to initiate a blackout
    against a cluster database target, returning the message "<EM102:rac_database>" is a cluster
    target, hence skipping it. Please use EM console.
    A blackout for the same target type is established successfully using the EM console.
    Cause
    The emctl utility cannot be used to control blackouts for clustered targets.
    This is a limitation when using emctl to control blackouts against clustered targets, because the
    command needs to be issued simultaneously on all the agents in the cluster.
    Solution
    To implement the solution, please execute the following steps:
    1. Use the EM Console to establish the blackout for clustered targets. You will find the Black Out
    option in the General section on the home page of any application server target. For composite
    targets like OracleAS Farms, you will find this option in the Administration tab.

  • Can I install Sun Cluster on LDOM guest domain. Is Oracle RAC a supported c

    Hello,
    Can I install Sun Cluster on LDOM guest domains. Is Oracle RAC on LDOM guest domains of 2 physical servers a supported configuration from oracle?
    Many thanks in advance
    Ushas Symon

    Hello,
    The motive behind using LDOm Guest domains as RAC node is to have a better control of the resource allocation, since i will be having more than one guest domains which should perform different functions. The customer wants to have ORACLE RAC alone (without sun cluster).
    I will have two T5120's and one 2540 shared storage.
    My plan of configuration is to have
    Control&IO Domain with 8VCPU, 6GB mem
    one LDOM guest domain on each physical machine with 8 VCPU's, 8GB of memory, shared n/w and disks participating as RAC node's. (Don't know yet if i will use solaris cluster or not)
    one guest domain on each physical machine with 12 VCPU's, 14GB of memory, shared n/w and disks participating as BEA weblogic cluster nodes (not on solaris cluster)
    One guest domain on each physical machine with 4 VCPU's, 4GB of memory,shared n/w and disks participating as apache web cluster (on solaris cluster)
    Now, My question is, is it a supported configuration to have guest domains as Oracle RAC participants for 11gR2 (either with or without solaris cluster).
    If I need to configure RAC nodes on solaris cluster, is it possible to have two independent clusters on LDOM , one 2 node cluster for RAC and another 2 node cluster for apache web?
    Kindly advise
    Many thanks in advance
    Ushas Symon

  • Interesting load issue on a new 11.2.0.3.0 RAC cluster

    Hi All,
    This is for a two node 11.2.0.3.0 Std RAC cluster running RHEL 5.4 x64.
    I've built a good few RAC clusters before, and this is a new issue in 11.2.0.3.0 (I haven't seen it in 10.2.0.4/5, 11.1.0.6/7, or 11.2.0.1/2). What I've noticed is that the grid infrastructure processes are "busier" on both nodes than they were in previous releases. These include, but are not limited to, ocssd.bin, gipcd.bin, and oraagent.bin.
    Load isn't "high", but the database isn't in use and the load on the server is sitting at around 1.05, whereas on other idle clusters it would be a quarter of that, on average. Has anyone else observed this behavior? If possible, provide a MOS article.
    If not, I will escalate this to Oracle and see what they say.
    Thanks.

    It seems that grid processes in 11g are not fully optimized/tested and due to that higher load can be expected to appear although the 'real', actual load on the system is not happening.
    Few months ago we had similar situation on 11.2.0.2 two node RAC.
    On one node, grid user(eons resource) was doing high CPU load causing load on the OS varying from 3-4, database was almost completely inactive,there were no other software installed on the nodes except oracle and on
    the second node load was at the same time varying from 0,2-0,5.
    I resolved that by doing a stop/start of the eons resource on the overloaded node.
    There are several articles on support.oracle.com about similar situations with grid.
    Some of them are:
    High Resource Usage by 11.2.0.1 EONS [ID 1062675.1]
    Bug 9378784: EONS HIGH RESOURCE USAGE

  • RMAN Backup to Disk in a RAC cluster...?

    We have a two-node RAC cluster, using Linux and ASM. Pretty typical setup.
    We are backing up to disk via RMAN. Right now, that filesystem is mounted on node #1. It's a SAN volume but is not presently clustered.
    My questions...
    (1) Is it best practice that only one node out of the cluster performs the backups?
    (2) Or is there a config where all nodes participate in the backup?
    My concerns are what happens when node #1 fails (presumably we'd have to mount the volume on node #2), and also the asymmetrical load during backups.
    Thank you!

    Hello;
    Managing backup and recovery for RAC databases is no different from managing those for single-instance databases.
    RMAN backs up the database not the individual instance.
    This may help :
    http://www.databasejournal.com/features/oracle/article.php/3665211/Oracle-RAC-Administration--Backing-up-your-RAC-with-RMAN.htm
    Instance Recovery in Oracle RAC
    http://docs.oracle.com/cd/E11882_01/rac.112/e16795/backup.htm#i492578
    Best Regards
    mseberg

  • Multiple databases in one single RAC cluster

    Hi, I would like to know if one can have multiple databases running on a single RAC cluster, we have several databases in our shop and would like to consolidate all of them into a single 3-4 node RAC cluster running databases with 10.2 and 11.1 versions.
    I am newbie to RAC and would like to get some clarification if anyone has done this, google search comes up with few hits on this topic, so obviously this is not doable.
    In our case we have one database supporting critical applications and few other not so critical but are used very extensively between 9-5, so what is the use of RAC if I cannot consolidate all my databases into one cluster, or if I need a separate cluster for each of these critical databases?
    I have been all the Oracle docs that keep repeating one database multiple instances and one instance-one machine-one node, they don't even advise running multiple instances on a single node?.
    I appreciate any insight.
    Thanks.

    ora-sql-dba wrote:
    Can you give more details on how you would setup multiple databases running different versions on a single RAC cluster, I am yet to find any documentation that supports or even elaborates on this topic.You can configure a cluster with 12 nodes. Then, using dbca, configure a dev instance for nodes 1 and 2, a prod1 instance for nodes 3 to 6 and a prod2 instance for nodes 7 to 12.
    You also can configure each of these instances for all 12 nodes. And use it on all 12 nodes.
    Or, after configuring it for all 12 nodes, you can start the dev instance on nodes 1 and 2, prod1 on 3 - 6 and prod2 on the remaining nodes. If dev needs more power, you can for example shutdown prod2 on node 12 and start another dev instance there.
    My issue is with the 2nd option - running more than one instance on the same node or server. Why? Each instance has a basic resource footprint ito shared memory needed, system processes required (like db writer, log writer, sys monitor) etc. It does not make sense to pay for that same footprint more than once on a server. Each time you do, you need to reduce the amount of resources that can be used by each instance.
    So instead of using (for example) 60% of that server's memory as the SGA for a single instance, if you use 2 instances on that server you now have to reduce the SGA of each to 30% of system memory. Effectively crippling those instances by 50% - they will now have smaller buffer caches, require more physical I/O and be more limited in what they can do.
    So unless you have very sound technical reasons for running more than one instance on a server (RAC or non-RAC), do not.

  • 10.1.0.3 Agent on 10.2 RAC Cluster

    Has anyone sucessfully installed the 10.1.0.3 OEM agent on a linux based 10.2 RAC cluster? I can not seem to find any documention on this. I have 10.1.0.3 agent running on 10.2 "non-rac" nodes but the installer seems to have difficulty when I try to configure it for my 10.2 cluster.

    Never mind. Supoprt got back to and said that it's not supported. It looks like I'll have to wait for the next release of OEM before I can effectively monitor 10.2 with Grid Control..

  • JVM patch required for DST on 10.2.0.2 RAC cluster

    I have looked all over the internet and Metalink for information regarding the JVM patching on a RAC cluster and haven't found anything useful, so I apologize if this question has already been asked multiple times. Also if there is a forum dedicated to DST issues, please point me in that direction.
    I have a 10.2.0.2 RAC cluster so I know I have to do the JVM patching required because of the DST changes. The README for 5075470 says to follow post-implementation steps in the fix5075470README.txt file. Step 3 of those instructions say to bounce the database, and then not allow the use of java until step 4 is complete (which is to run the fix5075470b.sql script).
    Here's my question: since this is a RAC database, does that mean I have to shutdown both instances, start them back up, run the script, and then let users log back in? IN OTHER WORDS, AN OUTAGE IS REQUIRED?
    Is there a way around having to take an outage? Can I bounce each instance separately (in a rolling fashion) so there's no outage, and then run the script even though users are logged on if I think java isn't being used by the application? Is there a way to confirm whether or not it's being used? If I confirm the application isn't using java, is it ok to run the script while users are logged on?
    Any insight would be greatly appreciated.
    Thanks,
    Susan

    According to Note: 414309.1 USA 2007 DST Changes: Frequently Asked Questions an Problem for Oracle JVM Patches, question 4 Does the database need to be down before the OVJM patch is applied, the bounce is necessary. That says nothing about a rolling upgrade in RAC.
    You might file an SR asking if a rolling upgrade is possible.

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

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

  • OWB paris install on 10g rel1 RAC cluster

    We are trying to install OWB paris on our 10.1.0.4 RAC cluster using OCFS. When launching OUI without setting oracle home the OUI prompts to install on both nodes, the install fails because it is trying to use the database oraInventory.
    as below
    Error in invoking target 'isqlldr' of makefile
    '/u01/app/oracle/OraHome_2/rdbms/lib/ins_rdbms.mk'. See
    '/u01/app/oracle/oraInventory/logs/installActions2005-07-11_10-28-24AM.log' for details.
    Metalink suggested the following:
    Note:317510.1
    Create a seperate oraInventory folder and oraInst.loc file for OWB and specify the file oraInst.loc as parameter while invoking the installer.
    Re-install the OWB in a new ORACLE_HOME i.e altogether in a new location and don't install on top of database ORACLE_HOME.
    In addition to new location(ORACLE_HOME), create a new Inventory and inventory location file as follows.
    1. Set the new location for installing OWB like
    export ORACLE_HOME=/u01/app/oracle/product/owb
    ensure that the location /u01/app/oracle/product/ exists.
    2. Create a diectory oraInventory inside the ORACLE_HOME
    3. Create a file oraInst.loc pointing to oraInventory in $ORACLE_HOME by doing:
    echo "inventory_loc=$ORACLE_HOME/oraInventory" > oraInst.loc
    Note: the directory oraInventory and file oraInst.loc will be present under ORACLE_HOME
    4. Invoke the installer by providing the parmater as
    ./runInstaller -invPtrLoc $ORACLE_HOME/oraInst.loc
    When we do this, the OUI does not prompt to install on both nodes.. how can we work around this?, do we have to install owb on each individual node individually?

    Hello.
    I had the same problem as you did. But i managed to install OWB on both nodes with user equvalents set and by slightly modifying the steps from metalink as follows:
    unset ORACLE_HOME (if it is set)
    create owb directory
    create oraInst.loc in owb
    create oraInventory directory in owb
    export ORACLE_HOME=/u01........./owb_1
    ./runInstaller
    (note no command line parameters so it picks up the other node)
    Basically if you specify the oraInst.loc it goes tot he oraInventory direct instead of doing checks (one of which for the cluster)
    Hope this helps.
    Thanks
    Vix

  • Migrate from  2.6.9-67.ELsmp  2.6.9-67.ELlargesmp in RAC Cluster?

    We have a 7 node RAC cluster running on Redhat 2.6.9-67.ELsmp that we are adding two additional nodes to. The existing nodes have 8 cores each. The new nodes have 16 cores each. For linux to identify the 16 cores on the new servers we need to run the 2.6.9-67.ELlargesmp kernel. Can I compile the exisiting nodes with the 2.6.9-67.ELsmp kernel to the 2.6.9-67.ELlargesmp kernel and then add the new nodes? I would assume I would need to replace the asm drivers to 2.6.9-67.ELlargesmp version and I would need to relink the Oracle binaries to the new kernel. Does this sound feasible? Has anyone done this?
    Thanks,
    -Rich

    It would be more easy if you listed more of your stack in this thread, for example: oracle 10 or 11? exact release? Using ASM? (apparently yes) asm separately installed or does the ASM instance use the oracle binaries? clusterware version? any patches?
    But in general, the only thing with a real kernel requirement is the one you've listed yourself; the asm kernel driver. Because the new kernel has a new directory structure with drivers, you'll need the rpm with the asm kernel driver for that specific version of the kernel.
    Relinking of the oracle homes doesn't seem necessary to me, what relinking does is generating the executables out of the object files, libraries, archives and system provided archives and libraries. These don't change.

  • Real Application Cluster (RAC) & Cluster Suite

    Redhat Cluster Suite can create n-node server clusters, load balances incoming IP network requests and supports up to 16 nodes. So, do I need to configure RAC if I'm going to use Redhat Cluster Suite?

    Hi buddy,
    Let's clarify some points:
    Redhat Cluster Suite can create n-node server clusters, load balances incoming IP network requests and supports up to 16 nodes. So, do I need to configure RAC if I'm going to use Redhat Custer Suite?RAC- Real applications clusters, a clustered database so that many instances can accessing only one database, many features available like cache fusion.
    CRS- Cluster Solution from Oracle needed to run RAC databases with or without a vendor cluster solution.
    with the information above I'd say:
    1) If You want to use a cold fail over cluster, You can use a vendor cluster solution or just CRS.
    2) If You want to use RAC databases, You must use CRS, with or without a vendor cluster solution. ( since release 10G no more needed to use a vendor cluster solution)
    Hope it helps,
    Cerreia

  • 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

  • Oracle RAC cluster ID

    Hi,
    I would like to know the my cluster Unique ID.
    While "cemutlo -w" gives me the cluster version and "cemutlo -n" gives me the cluster name, I could not find which command will provide me the cluster ID.
    Regards,
    Igor

    What I mean is that if I have several RAC clusters in my environment, I want to differentiate not by the cluster name but by some kind of UID of each clustereach RAC cluster have cluster name so you can identify the number in particular Cluster which you'll get in olsnodes -n.
    oracle@ >olsnodes -help
    Usage: olsnodes [-n] [-p] [-i] [<node> | -l] [-g] [-v]
            where
                    -n print node number with the node name
                    -p print private interconnect name with the node name
                    -i print virtual IP name with the node name
                    <node> print information for the specified node
                    -l print information for the local node
                    -g turn on logging
                    -v run in verbose mode

Maybe you are looking for