Sequence Co-ordination in Active/Passive RAC

Hello folks,
if we are creating 2 node RAC in Oracle 11g... Sequence coordination will happen between the nodes when the next sequence number is requested; The question is if I create the 2 node RAC in Active/Passive mode(I m thinking to do this either using ACTIVE_INSTANCE_COUNT parameter as I have only 2 nodes or to use srvctl to set preferred and available instances), will the sequence co-ordination will still happen if I request a sequence number?
Can you also please point me to the details on what all co-ordination happens between the nodes (2-active) at run-time?
I'm talking about Sequence coordination as the upstream app is dependent on Ordering of the Sequence.
Thanks in advance.
Edited by: ~RK on Mar 12, 2012 11:39 PM

Hi user1701261,
One option to divert traffic to specific node could be setting 11g Services in active , passive mode.
srvctl add service -d DB01 -s DB01_SRV -r "db011" -a "db012, db013"
Where
-d <db_unique_name> Unique name for the database
-s <service> Service name
-r "<preferred_list>" Comma separated list of preferred instances
-a "<available_list>" Comma separated list of available instances
Session will switch to incase db011 instance goes down.
active_instance_count parameter is effective only for Two node cluster, whereas using this method you could get more flexibility.
Regards
Krishan Jaglan

Similar Messages

  • Active passive RAC configuration

    hi,
    how can I change the active-active RAC database to active-passive RAC database?
    1) Is it enough to change active_instance_count=1?
    2) Is there any change required in client side tnsnames.ora file?
    I want to install two databases, db1 is active in node1 and passive in node2.
    And db2 is active in node2 and passive in node1.
    3) For configuration of this, which method is best?
    current client side tnsnames.ora file as follows:
    DBRAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gcappdev-vip)(PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = gcwebdev-vip)(PORT = 1523))
    (LOAD_BALANCE = yes)
    (FAILOVER=ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DBRAC)
    (FAILOVER_MODE = (TYPE=SELECT)(METHOD=BASIC))
    )

    When you mean passive.. do you want the database to be down or not usable?
    If you are on 10g.. then the best method to do this is to use Services. Have services enabled on both instances. however it will be preferred on one instance /node and available on the other.
    With this, when instance one where to crash, the service will failover to instance 2 and will be immediately available.

  • Active/Passive RAC setup in 11.2 Standard Edition?

    For the ACTIVE/PASSIVE setup in 10g RAC, the ACTIVE_INSTANCE_COUNT parameter works very well. However, in 11.2 version this parameter is obsolete. I'm testing this on our Test RAC server with Oracle Standard Edition 11.2.0.1. What are the other ways possible for an ACTIVE/PASSIVE cluster in Oracle 11.2? Has anybody gone through this before? I know that Oracle Enterprise Edition supports RAC One Node, but I've Standard Edition & moreover, I'm planning to have 2 databases on this cluster with 1 database being Active/Passive & the other being Passive/Active on the 2 nodes.
    Appreciate any quick help!! Thanks.
    Satish...

    Hi user1701261,
    One option to divert traffic to specific node could be setting 11g Services in active , passive mode.
    srvctl add service -d DB01 -s DB01_SRV -r "db011" -a "db012, db013"
    Where
    -d <db_unique_name> Unique name for the database
    -s <service> Service name
    -r "<preferred_list>" Comma separated list of preferred instances
    -a "<available_list>" Comma separated list of available instances
    Session will switch to incase db011 instance goes down.
    active_instance_count parameter is effective only for Two node cluster, whereas using this method you could get more flexibility.
    Regards
    Krishan Jaglan

  • Step for Active/Passive RAC Patching (CPU Patch )

    Hi
    I know how to patch active /active configuration patching done in RAC.
    I need to patch (CPU) for acitve/passive , how to i proceed ,is it the same ? i.e i can open passive node any how and the patch one by one .
    Please suggest the step

    Hi,
    1) Will the 9.2.0.8 upgrade patching modified the SYSTEM tablespace and corresponding SYSTEM datafilesYes it will modify the SYSTEM tablespace and corresponding datafiles.
    If I upgrade my active primary database first, will I be still able to upgrade the passive primary database without error laterYes u can upgrade passive primary database without error later
    I shall be patching the database after failover the passive DB to become activecan u elaborate this further.
    I suggest u to create a formal service request at MyoracoleSupport
    Regards,
    X A H E E R

  • RMAN for active passive 10g R2 RAC

    Hi,
    I am having 10g R2 Active-Passive RAC setup.
    in this environment,If I am taking the backup using RMAN,
    how can I handle the failover?
    In active-active instance, if channel allocated to one node is failed, backup will be completed from channel allocated to other node.
    how can i handle the failover in active-passive RMAN backup??/

    What was the reason you went for active/passive RAC setup ?
    --> this is requirement.
    I thought cluster could achieve the same thing.
    1) How can we achive active/passive setup by using cluster?
    2) In RAC active/passive configuration and Cluster setup, which one is good option?
    3) Any URLs on this topic
    Thanks in Advance....
    Regards:
    Abdul Rajak

  • RAC Active/Active VS Active/Passive 11g Configuration

    Thanks in advance.
    I appreciate your experience with implementing RAC in an Active/Active VS Active/Passive Configuration of 11g RAC.
    Much of my experience has been with Active/Active to take full advantage of performance capability of both nodes (2 node cluster). As such, I don't see the advantages of Active/Passive RAC configuration.

    The benefit is that you can save on licensing costs while gaining availability
    Bjoern

  • Active Passive Vs Active Active

    Hi All,
    How much more effort it requires to failover or get up and ready with passive node, if Active Passive strategy is followed rather than Active Active just for saving on licenses.
    Note : High availability is not a concern.
    thanks,

    Be clear what the policy means. RAC is normally considered an ACTIVE/ACTIVE solution since all nodes in RAC are actively processing. In an ACTIVE/PASSIVE setup by contrast one or more nodes are actively processing whilst others are standing by ready to take over the workload in the event of failure of the primary. Physical Standby, Failsafe and non-oracle clusters are often Active/Passive. You may also check if the policy comes from a sqlserver centric view of the world where you split the sqlserver databases between different nodes, so that although for any given sql database the solution is active passive, you don't 'waste' the resources of some nodes just waiting to take over, but rather run other databases on them.
    Your description of ACTIVE/ACTIVE seems to rather correspond to a Stretch Cluster http://www.oracle.com/technology/deploy/availability/pdf/1126_Ray_WP.pdf has a good overview of what this means. I'd be surprised if the policy was really to put all databases on just about the most expensive hardware and software solution available, but I'm used to surprises in the world of corporate policies.
    Niall
    user526463 wrote:
    My company was recently purchased. The new company has a "policy" about any High Availability database be an Active\Active configuration. We have in the past used active\passive RAC installs with each site have multiple active RAC nodes. I am interested in see what the cases are for a true Active\Active environment where there will be multiple RAC nodes in each "cluster" and multiple databases (disk) which are actively written to, then synchronized. (As apposed to a couple mutinode RAC setups with a primary\standby database)
    Any white papers or best practice document references would be great. I'd hate to do this just case of some policy.
    Thanks

  • Active\Active vs Active\Passive

    My company was recently purchased. The new company has a "policy" about any High Availability database be an Active\Active configuration. We have in the past used active\passive RAC installs with each site have multiple active RAC nodes. I am interested in see what the cases are for a true Active\Active environment where there will be multiple RAC nodes in each "cluster" and multiple databases (disk) which are actively written to, then synchronized. (As apposed to a couple mutinode RAC setups with a primary\standby database)
    Any white papers or best practice document references would be great. I'd hate to do this just case of some policy.
    Thanks

    Be clear what the policy means. RAC is normally considered an ACTIVE/ACTIVE solution since all nodes in RAC are actively processing. In an ACTIVE/PASSIVE setup by contrast one or more nodes are actively processing whilst others are standing by ready to take over the workload in the event of failure of the primary. Physical Standby, Failsafe and non-oracle clusters are often Active/Passive. You may also check if the policy comes from a sqlserver centric view of the world where you split the sqlserver databases between different nodes, so that although for any given sql database the solution is active passive, you don't 'waste' the resources of some nodes just waiting to take over, but rather run other databases on them.
    Your description of ACTIVE/ACTIVE seems to rather correspond to a Stretch Cluster http://www.oracle.com/technology/deploy/availability/pdf/1126_Ray_WP.pdf has a good overview of what this means. I'd be surprised if the policy was really to put all databases on just about the most expensive hardware and software solution available, but I'm used to surprises in the world of corporate policies.
    Niall
    user526463 wrote:
    My company was recently purchased. The new company has a "policy" about any High Availability database be an Active\Active configuration. We have in the past used active\passive RAC installs with each site have multiple active RAC nodes. I am interested in see what the cases are for a true Active\Active environment where there will be multiple RAC nodes in each "cluster" and multiple databases (disk) which are actively written to, then synchronized. (As apposed to a couple mutinode RAC setups with a primary\standby database)
    Any white papers or best practice document references would be great. I'd hate to do this just case of some policy.
    Thanks

  • Install of Data Services as active/passive behind F5 load balancers

    I currently have two RedHat 5.5 x86_64 hosts, SAP_DS1 and SAP_DS2, and 1 database, Oracle RAC 11g and 1 F5 LTM load balancer sitting in front of the two hosts. The F5 load balancer VIP is set up as active/passive (fail-over) for the two hosts.
    Will I need 2 local databases 1 central database or can I accomplish this with one local database?
    Please advise on the recommended method for installing BOBJ DATA SERVICES XI 3.2 on two Linux hosts in an active/passive design.
    Thanks

    You might have better luck asking this question in the (somewhat misnamed) [Data Integration and Data Quality Management|Data Services and Data Quality; forum:
    This forum is dedicated to topics related to SAP BusinessObjects Data Services (Data Integrator, Data Quality Management, Text Data Processing), SAP BusinessObjects Information Steward (Metadata Management, Data Insight), SAP BusinessObjects Rapid Marts and SAP BusinessObjects Data Federator.
    (emphasis added)
    Regards,
    Sean
    P.S. to moderators: can you create a sticky post to this effect?

  • How to : Active/Passive and Active/Active Enterprise manager R3 (10.2.0.3)

    Soon I will implement the above named version of EMR3 on a AIX 5.3.3 platform. I have a couple of questions about active/passive and active/active implementations. These are the questions I have:
    Basic install:
    Implementing 10.2.0.2 and upgrading to 10.2.0.3 works fine on host 1234 (already done that).
    Does anyone have experience with an implementation on host 1234', in other words, a virtual host (different IP-numbers on the same ethernet adapter)?
    Active/passive
    Lets assume that the implementation on server 1234' works fine, how can I realise a cold failover situation? On AIX you can move/transport the volume group to the failover server, activate the volume group, mount your filesystems and the application is running again. This is the theory but ....
    Active/Active
    If this 'basic' install is done, can someone briefly tell me how to migrate the OMS repository to a RAC implementation? Is this possible or do I need to setup the repository for the OMS at the start of the implementation. Has anyone experience with using virtual hostnames, RAC and EMR3.
    Can anyone tell me where I can find some good documentation instead of reading all these thousands of pages of Oracle's guides.
    Help would be appreciated.
    Message was edited by:
    Jeroen Udo

    Soon I will implement the above named version of EMR3 on a AIX 5.3.3 platform. I have a couple of questions about active/passive and active/active implementations. These are the questions I have:
    Basic install:
    Implementing 10.2.0.2 and upgrading to 10.2.0.3 works fine on host 1234 (already done that).
    Does anyone have experience with an implementation on host 1234', in other words, a virtual host (different IP-numbers on the same ethernet adapter)?
    Active/passive
    Lets assume that the implementation on server 1234' works fine, how can I realise a cold failover situation? On AIX you can move/transport the volume group to the failover server, activate the volume group, mount your filesystems and the application is running again. This is the theory but ....
    Active/Active
    If this 'basic' install is done, can someone briefly tell me how to migrate the OMS repository to a RAC implementation? Is this possible or do I need to setup the repository for the OMS at the start of the implementation. Has anyone experience with using virtual hostnames, RAC and EMR3.
    Can anyone tell me where I can find some good documentation instead of reading all these thousands of pages of Oracle's guides.
    Help would be appreciated.
    Message was edited by:
    Jeroen Udo

  • Active - Passive Cluster

    Hey, I have to manage an active passive cluster on SLES10 SP4. Oracle 10.2.0.4
    All oracle binaries are on a DRBD Device on mountpoint /oradata.
    This mountpoint includes the binaries and all datafiles.
    I havent installed these systems. At one stage on node died and got reinstalled by a systemadministrator.
    After a switch from the running node to the standby node, the cluster is not starting.
    Jan 3 14:36:01 a logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.6114.
    Jan 3 14:36:14 a logger: Waiting for Oracle CSS service to be available before starting
    Jan 3 14:36:14 a logger: ASM instance +ASM. Wait 2.
    After issung $ORACLE_HOME/bin/localconfig add the cluster is starting, the asm instance is coming up, and also the database instance is starting.
    Shortly after that the db instance dies. Alertlog is showing something like recursive sql error.
    Looks like writing to the datafiles is not working.
    In asmcmd the diskgroups are showing DISMOUNTED (show MOUNTED before)
    so what to do ?
    a) Why is it necessary to issue "localconfig add" to make the cluster starting ?
    b) What could be a reason for not being able to write to the database ?
    c) How would you guys install an active/passive cluster ?
    c1) Install OS on both nodes
    c2) Install oracle binaries
    c2.1) on both nodes in the local files system and do the mapping to the drbd afterwards?
    c2.2) only on one node and just switch the mountpoint ?
    Chris

    Hi,
    first of all please clarify, if you have Oracle clusterware installed, or just the local configuration for local ASM.
    There is a big difference between the 2, and also using DRBD has nothing to do with Oracle clusterware (and is not supported by Oracle).
    a.) Localconfig may be necessary for a local ASM installation in 10.2. Main reason is, that the CSS service configuraton includes the hostname (which changed if you switched nodes). Hence may not be able to start ASM. With localconfig you are fixing this issue.
    Very important: It is not a good idea to run this is a cluster configuration, since it will break things (a lot of things).
    b.) If the ASM diskgroup got dismouned, then the database cannot write. Hence your problem. Why the diskgroup dismounted, you should find in the ASM alert.log
    c.) I would go for RAC One Node. Which has this all preconfigured. So it makes life easier. Search for "RAC One Node" on OTN for more information. At least I would take a manual cluster, and do mirroring by ASM, and not DRBD....
    c1.) Yes install Oracle cluster (or Grid infrastucture in 11.2) on both nodes. Like a RAC.
    c2) Install database software on both nodes locally.
    c2.1) No. No DRDB.
    c2.2) Both nodes. Same installation.
    Regards
    Sebastian

  • Load balancing in Active-Passive architecture

    1) Is it possible to have load balancing in Active-Passive architecture?
    2) Pros & cons of RAC and Vertias cluster
    Cheers,
    Ashok Kumar C.

    Note:183408.1
    Note:259301.1
    Please see the above notes for anwers. Hope it helps.
    Though Oracle says that it does not need third party cluster software for RAC installation (Note:259301.1)
    , my experience on AIX was different, without HACMP in place we could not install Oracle CRS.
    On windows and Linux you do not need third party cluster software (Note:183408.1) ) and I did not need to use any third party cluster software on Linux platform.

  • High Availability - Active Passive setup for EBS Database

    Hello Gurus,
    We have the below environment:
    Oracle Applications - 12.1.3
    Oracle Database - 11.2.0.3
    OS - Oracle Enterprise Linux 5.7
    I would like to know how to achieve high availability (*Active/Passive*) for the database. We don't want to go with RAC at this stage. Can you please guide on a specific note id which explains how to setup an active passive database environment for HA.
    Thanks.

    Hi;
    We have the below environment:
    Oracle Applications - 12.1.3
    Oracle Database - 11.2.0.3
    OS - Oracle Enterprise Linux 5.7
    I would like to know how to achieve high availability (*Active/Passive*) for the database. We don't want to go with RAC at this stage. Can you please guide on a specific note id which explains how to setup an active passive database environment for HA.You can go with Dataguard. Please review:
    Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database [ID 1070033.1]
    Also see:
    MAA Roadmap for the E-Business Suite [ID 403347.1]
    Regard
    Helios

  • Passive RAC instance LMON is running out of page file quota

    I have quota watching tool that's showing lmon is running out of page file quota. What should I do to prevent database crash? ORACLE 9i RAC (active-passive) on openVMS.
    Thanks in advance

    Ah, VMS... long time no see. :)
    Since it has been ages since I touched Oracle on VMS, I really can't give you any config guidelines, other than the ones given in the Install guide. Did you follow pre-reqs and made sure you are on or above recommended minimum values?
    What's your current paging file quota limit? (and what does show process tell?)

  • Oracle Grid Infrastructure: Active/passive Clusters

    Full blown RAC instances are still relatively rare. Maybe the high costs are one of the main reasons for this. Anyway, many SAP/Oracle installations don't really require a fault tolerant database. A simple automatic failover in an active/passive cluster would be sufficient.
    In the book "Oracle Database 11g RAC on Linux"  I found a very interessting comment on page 28:
    A little known fact is that using Oracle Grid Infrastructure makes it very simple to set up a cost effective active/passive cluster. Leveraging the Grid Infrastructure API and Oracleu2019s Automatic Storage Management as a cluster logical volume manager makes it easy to constantly monitor a single instance Oracle database. In case of a node failure, the database will automatically be relocated to the standby node. Depending on the fast_start_mttr_target initialization parameter and the size of the recovery set, the failover to the standby node can be very quick; however, users will be disconnected from the database as part of the failover process.
    Now I have two questions:
    1. If I want to create a proof of concept, where do I start? I already had a look at the Oracle 11g documentation, but in the documentation "cluster" equals "RAC".
    2. It is not sufficient to perform only a database failover. We need to handle the SAP system as well. Is it supported by SAP to put /usr/sap/SID and /sapmnt/SID into ASM 11.2 and present them e.g. as ASM cluster file systems?
    Regards,
    Mark

    Hello Stefan,
    we are both on one line. I would also prefer a simple active-passive cluster setup to a full blown RAC or even a RAC One Node. especially if the license fee for Clusterware is significantly lower than for RAC. However, Oracle staff makes it really clear that Oracle does not want customers to implement active-passive clusters based on Clusterware without RAC. They even say this active-passive cluster is no longer supported on 11.2. by Oracle! Of course it worked fine with 11.1 and there is no reason why it should be technically no longer possible with 11.2. WIth this adverse winds from Oracle blowing in our face, it doesn't make sense to implement such a active-passive cluster any more, however elegent it might have been technically.
    So let's see what the alternatives are and when RAC One Node will be available (and at what price!).
    Regards,
    Mark

Maybe you are looking for