Protect single instance linux Oracle 11Gr2 with Clusterware 11Gr2 non-RAC

Hi All,
I saw this link, but it mentions RAC as a solution:
Using Oracle Clusterware to Protect A Single Instance Oracle Database 11g
I have seen various articles about protecting single instance with cold failover using clusterware, but they mention scripts and older versions of Clusterware. I am trying to figure out if possible to incorporate virtual ip's / scan listeners or if this is even a supported configuration...
I have set up clusterware 11gr2 using OCFS2. I basically just want to do a cold failover from one node to the other, and I do not wish to purchase a RAC license...
thanks much
Edited by: vcovco on Sep 30, 2010 1:52 PM

Below are the steps which i followd. Can you pls take a look & reply if the below are correct.
Step1 rg1
crsctl add resource rg1 -type cluster_resource \
-attr "ACTION_SCRIPT=$CRS_HOME/crs/public/act_resgroup.pl, \
CHECK_INTERVAL=600"
./crsctl start resource rg1
Step2 rg1.vip
As root
$CRS_HOME/bin/appvipcfg create -network=1 -ip=xx.xx.xx.xx -vipname=rg1.vip -user=root -group=root
./crsctl setperm resource rg1.vip -u user:oracle:r-x
./crsctl start resource rg1.vip
Step3 rg1.listener
export CRS_HOME=/optware/grid/11.2.0.2
export ORACLE_HOME=/optware/oracle/11.2.0.2/db
export USRORA_LANG=$ORACLE_HOME
export USRORA_SRV=LISTENER_rg1
export ORACLE_SID=rg1
$CRS_HOME/crs/public/act_listener.pl start
Listener.ora
=========
LISTENER_rg1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=lxwkbc-app)(PORT=1320))))
Tnsnames.ora
=========
LISTENERS_rg1 =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = lxwkbc-app)(PORT = 1320)))
./crsctl add resource rg1.listener -type cluster_resource \
-attr "ACTION_SCRIPT=$CRS_HOME/crs/public/act_listener.pl, \
CHECK_INTERVAL=20,RESTART_ATTEMPTS=5, \
START_DEPENDENCIES=hard(rg1.vip) pullup(rg1.vip),STOP_DEPENDENCIES=hard(rg1.vip)"
./crsctl start resource rg1.listener
Step4 rg1.db_rg1
export CRS_HOME=/optware/grid/11.2.0.2
export ORACLE_HOME=/optware/oracle/11.2.0.2/db
export USRORA_LANG=$ORACLE_HOME
export USRORA_SRV=rg1
export ORACLE_SID=rg1
export USRORA_FLAGS=1
$CRS_HOME/crs/public/act_db.pl stop
./crsctl add resource rg1.db_rg1 -type cluster_resource \
-attr "ACTION_SCRIPT=$CRS_HOME/crs/public/act_db.pl, CHECK_INTERVAL=20,RESTART_ATTEMPTS=5, \
START_DEPENDENCIES=hard(rg1.listener) pullup(rg1),STOP_DEPENDENCIES=hard(rg1.listener)"
./crsctl start resource rg1.db_rg1
Step5 rg1.head
./crsctl add resource rg1.head -type cluster_resource \
-attr "ACTION_SCRIPT=$CRS_HOME/crs/public/act_resgroup.pl, CHECK_INTERVAL=600,RESTART_ATTEMPTS=2, \
START_DEPENDENCIES=hard(rg1.listener,rg1.db_rg1,rg1)"
./crsctl start resource rg1.head

Similar Messages

  • Setup single instance of  Oracle B2B to handle both HTTP as well as HTTPS r

    Hi,
    I want to send 850 transaction to different trading partner who are using HTTP and HTTPS.I want to create a single instance of ORACLE B2b to handle both HTTP and HTTPS. Please do the needful.
    Thanks and Regards
    Srinivas kola
    Edited by: user11342588 on Jul 15, 2009 3:15 AM

    Hi Anuj,
    Thanks for your response.But i want to do for both inbound and outbound, Given below is an example
    OUTBOUND:
    Host Trading Partner ------------------------------- Internet----------------encrypt message------------------>--trading partner1
    Port no 50
    ------------------------------ Internet----------------encrypt message-------------------->trading partner2
    ------------------------------Internet----------------encrypt message-------------------->trading partner3
    INBOUND:
    Host Trading Partner ------------------------------- Internet----------------encrypt message-<-------------------trading partner1
    Port no 50
    ------------------------------ Internet----------------encrypt message-<-------------------trading partner2
    I want to use only a single instance of Oracle B2B to handle both HTTP and HTTPS
    Help me please

  • Making single instance DB/ RAC Database with 2 instances

    i created single instance DB , now i want to make it RAC DB with 2 instances. Need guidelines/Notes to do so.

    Creating RAC Databases with the Database Configuration Assistant
    10g Release 1 (10.1.0.3) for Linux x86-64
    http://download-east.oracle.com/docs/html/B14406_01/dbcacrea.htm

  • Single instance app with native packaging

    Is there any way to allow only one instance of the app to run with javafx2 native packaging? Like an attribute in the build.xml or something?
    I'm using the .exe for windows and the .dmg for mac.
    Appreciate your help.

    There is no simple deployment build switch that I know of for achieving a single instance app.
    A couple of ideas (none of which I have tried).
    Perhaps you could use the SingleInstanceService:
    http://www.oracle.com/technetwork/articles/java/fxbest-1583679.html "Ensuring Only One Instance of the Application Is Started"
    http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/examples.html#SingleInstanceService "SingleInstanceService"
    It is a jnlp api based service though and I'm not sure if such a service would be available to a packaged app (maybe it would require including the jre/lib/javaws.jar file with your app or something like that).
    You could write out a lock file when the app starts.
    On unix (i.e. mac/linux) the lock could include the process pid for your app. On startup, check if there is a process with the lock pid currently running, if so, don't startup and perhaps send an interrupt signal to the existing app notifying it that the user tried to start a new instance.
    On windows you could read and write the lock value value from the registry.
    To get rid of the OS specific stuff surrounding this, perhaps this kind of lock logic could be implemented using the Java Preferences API:
    http://docs.oracle.com/javase/7/docs/technotes/guides/preferences/index.html
    Intellij Idea is open source and and seems to have this kind of functionality, so you could check how they do it.

  • Using Timesten with Clusterware

    We try to develop new system using Oracle products. Can you answer me some questions - is it possible to use Oracle Timesten with Clusterware? Does it have any sense? So I guess that in this pair TimesTen can't have its advantages. Am I right or not?
    Message was edited by:
    user616685

    One little addition here, please: Oracle internally we try to make Oracle Clusterware the standard Cluster HA solution for all Oracle applications. One result of those efforts is the "Siebel CRM Applications protected by Oracle Clusterware" TWP that was published recently.
    Currently, we are working on more cases like this (each of them takes some testing effort). One of them is Times Ten. Concluding, yes, there are scenarios in which Clusterware can make Times Ten more available, as mentioned before.
    However, I would be more interested in the scenarios you would like to cover!? Having a Cluster HA solution does not mean that any HA requirement is covered automatically. Therefore, could you provide more information about your environment and what you try to establish?
    Thanks.

  • Hosting two portals on a single instance of enterprise portal server

    Hi,
    We have a requirement to host two different portals on a single instance of enterprise portal server. The URLs to the portals would be different. Also for logging into the portal, one portal would have only User ID and Password and
    the other may have Retailer ID, User ID and Password for logging.
    I am trying to understand what kind of an approach needs to be followed. There
    is a single instance of Oracle server where PCD is stored.
    How will authentication/authorization happen and how would the user data be stored for both the portals in a single instance of Oracle database.
    Thanking you in advance,
    Regards,
    Veena

    Hi,
    in general,  could do that by using a distinct role concept. With the "Collection of base rules" you can assign different portal desktops with different layouts to everyone based on criterias like groups, roles or users.
    We have 4 very different portals running inside one instance. Every portal has its own standardized structure and is selected by logon groups, that points to roles, which points to desktops.
    What will not work is a logon concept other than "userid, password". SAP, by default. only allows standard authentication with userid and password or ticket. Even if you use an LDAP that would have that distinction, you cannot query that property without modifying the system
    If you want to use anything different, you have to write a new logon handler for the logon stack (using JAAS). This is tricky, but not outrageous difficult. We have implemented three different new steps in the logion stack, each handles a different case, from ip-based logon, ticket or LDAP query. It is possibly, all of them don't have more than 20 lines of java. 
    But, still tricky.
    It is a broad theme and you can try it out with showcasing two different desktop themes belonging to two different roles. Than you can work your way through tge problems.
    In terms of database, it makes no distinction. You work solely with the PCD, and that is stored in the database. We are using DB2 and I've never touched the DB at all.
    HTH
    hs

  • 10.2.0.4 patch on single instance standby database

    Hi All,
    We have production database 10.2.0.3 running with RAC having 2 nodes on Solaris 10. We have patched this
    databases to 10.2.0.4 (both nodes) on production without any issue.
    We have a physical standby database (10.2.0.3) with 2 nodes on solaris 10. But we have stopped node2 sometime
    back and currently it's a single instance standby database. Whe nwe are trying to apply patch to standby dataabse
    it's showing both node during installation and installation fails when it tries to search for node2.
    What's the solution for this problem? Any document on how to patch the single instance standby database when
    production is running in RAC.

    I think you are basically saying that you have a 2 node RAC cluster with 1 node down (possibly permanently) and you want to just patch 1 of the nodes?
    It's not overly a surprise the installer is trying to patch the other node, when as far as your inventory is concerned you have a 2 node cluster.
    Have you tried running the installer with the -local option?
    This should just patch your local node. Obviously the dictionary changes will get applied via MRP from the primary db.
    jason.
    http://jarneil.wordpress.com

  • Move single instance db to RAC10g2 - the best choice ?

    Hello,
    We need to move our old, single instance 10.2 DB to new, two node RAC installation. DB size is about 500GB. What could be a best method for this ?

    922039 wrote:
    Hello,
    We need to move our old, single instance 10.2 DB to new, two node RAC installation. DB size is about 500GB. What could be a best method for this ? Option 1) Best method would be using RMAN to take backup from old server and restore it into new server. I'm assuming version of oracle to be same i.e 10.2 and OS is also same.
    The effort is required a little bit higher then you do for IMPORT/EXPORT of database using DataPump.
    Option 2) Use physical standby database setup if migration time is supposed to be very low. I hope you know how to achieve this
    Option 3) Use goldan gate to migrate data from old to new, if migration time is nearly zero.
    And ofcourse you would be doing following:
    1) Install and configure Cluster
    2) Install oracle database software

  • CloudControl 12c: when adding cluster-database single instances are missing

    Hello ,
    I'e have installed the agent 12c on every single host of our RAC. When adding a database to CloudControl 12c just the RAC-instance gets discovered - but not the single database instances on each host.
    Due to this when clicking targets -> databases I just see the cluster-database - but not every single instance of the database.
    Compared to another RAC database this is totally different behaviour.
    Any help will be appreciated
    Rgds
    JH

    Hello ,
    maybe I should try to explain the issue a little bit clearer...
    We have one RAC database called PROD02. When clicking "targets -> databases" I see the following:
    PROD02 of type Cluster Database
    PROD021 of type Database Instance
    PROD022 of type Database Instance
    That's the way it shoudl be - that's the way I expected it...
    For the newly cofgured RAC database, called PREP02, it looks different when clicking "targets -> databases"
    PREP02 of type Cluster Database
    The single instances don't show up. Of course I see the single instances when clicking on "PREP02" under the item "Instances".
    Now I wonder why these two RAC databases are differently displayed when clicking "targets -> databases". When trying to add the single instances (clicking "Add" under "targets -> databases") and selecting then either "only on the host <hostname>" or "on all hosts in the cluster" no single instances are found or displayed...
    Rgds
    Jan

  • Oracle 11gR2 RAC (convert single instance to RAC)

    Hi,
    Using Metalink Doc [ID 747457.1] I have converted single instance database running on 11gR2 to RAC (2 node) database 11gR2 with ASM. Its running fine, I am able to see the instances running on both nodes. But I am unable to login to the instance. It is connecting to ideal instance., but the instance is already running
    oracle@hublhp1:/home/oracle$ export ORACLE_SID=cadtest1
    oracle@hublhp1:/home/oracle$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 2 11:23:43 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    oracle@hublhp1:/home/oracle$ srvctl status database -d cadtest
    Instance cadtest1 is not running on node hublhp1
    Instance cadtest2 is not running on node hublhp3
    oracle@hublhp1:/home/oracle$ ps -ef | grep pmon
    oracle 2407 1 0 15:28:21 ? 0:27 asm_pmon_+ASM1
    oracle 4125 1 0 15:51:18 ? 0:36 ora_pmon_cadtest1
    oracle 4973 3295 0 14:31:13 pts/1 0:00 grep pmon
    oracle@hublhp1:/home/oracle$
    I am able to stop/start the database using SRVCTL but I am not able to login to this instance. Can anyone please help me to find the issue or where & what to look at.
    - Mano

    Thank you so much, I did the following, but I still have the same issue, the instance is running on both nodes, but I am unable to stop/start the database using SRVCTL and I am unable to login using SQLPLUS.
    oracle@hublhp1:/home/oracle$ *srvctl modify database -d cadtest -n cadtest -o $ORACLE_HOME -p +asmcdb01/cadtest/spfilecadtest.ora -a ASMCDB01,ASMCFR01*
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$ srvctl config database -d cadtest -a
    Database unique name: cadtest
    Database name: cadtest
    Oracle home: /app/oracle/rdbms/product/11.2.0
    Oracle user: oracle
    Spfile: +asmcdb01/cadtest/spfilecadtest.ora
    Domain:
    Start options: open
    Stop options: immediate
    Database role: PRIMARY
    Management policy: AUTOMATIC
    Server pools: cadtest
    Database instances: cadtest1,cadtest2
    Disk Groups: ASMCDB01,ASMCFR01
    Services:
    Database is enabled
    Database is administrator managed
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$ srvctl stop database -d cadtest
    PRCC-1016 : cadtest was already stopped
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$ srvctl status database -d cadtest
    Instance cadtest1 is not running on node hublhp1
    Instance cadtest2 is not running on node hublhp3
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$ echo $ORACLE_SID
    cadtest1
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 2 15:31:55 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> exit
    Disconnected
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$
    oracle@hublhp1:/home/oracle$

  • Converting Single Instance database into Oracle Fail-Safe on Linux

    Hi All,
    We have single instance Oracle10g database running on Linux RHEL4. We are looking to convert this database into Oracle Fail-Safe (Active-Passive). Does any one have document for Oracle fail-safe setup?
    Regards,
    Tushar

    Tushar,
    you can't use software for windows on Linux.
    However, there's number of ways to implement high-availability solution on Linux Oracle.
    You can go with Active-Active (RAC) - which means that you'll have two servers attached to the same database at the same time. You can use either, and if one goes down(due to power failure for instance), the second will still be available.
    You can go with Active-Passive (Data Guard) - which means that you'll have one of the nodes being active and the second passive, but synchronized with the first one, so in case of failure of the first node you can activate the second one.
    You can also go with linux clustering - which is most similar to MCS + fail-safe - you'll have two nodes clustered with linux clustering software (RH cluseter suite for instance) and connected to shared storage. One node is active, and in case of crash database instance will be automatically started on the second node. This is beneficial because you can use your resources more efficiently. In case if you have two databases you can run each of them on dedicated server and then, in case of node failure move to another one. However, the setup of such configuration is quite cumbersome.

  • Oracle single instance 10.2.0.4 on AIX 5.3 with GPFS

    Hi there,
    Is there anybody ever that has been used oracle SINGLE instance with only all data files & its archival on AIX GPFS filesystem ? I am currently supporting on this environment, and would like to know whether there is any concern or issue.
    Thank you,
    Bundit

    Pl post details of exact versions of OS and database. By "SINGLE", do you mean a non-RAC database ? I believe it is supported - more details in MOS Doc 282036.1 (Minimum Software Versions and Patches Required to Support Oracle Products on IBM Power Systems)
    HTH
    Srini

  • Re: Is Oracle 11gR2 and 10gR2 BOTH compatible with Oracle Linux 6 Update 1?

    Hello,
    Required to Install Oracle 11gR2 and 10gR2 Oracle binaries on Oracle Linux 6 Update 1, are both versions compatible to install and run with databases on Oracle Linux Release 6 Update 1 or Oracle Linux Release 5 Update 7 is required for this?
    Thanks in advance,
    Regards,
    A
    Edited by: 850391 on Oct 13, 2011 3:43 PM
    Edited by: 850391 on Oct 13, 2011 3:44 PM
    Edited by: 850391 on Oct 13, 2011 3:44 PM

    Hi;
    Oracle 11g or 10g is not certified wiht OEL or RHEH6 yet. Please use OEL 5.x version which you can download from edelivery.
    Also see:
    Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
    Regard
    Helios

  • Oracle single instance installation  with RHEL Cluster suite

    Hi ,
    Can anyone help regarding Oracle single instance installation with RHEL Cluster suite? I have to know what factor need to be considered for RHEL Cluster configuration for Oracle Installation. And is it certified by Oracle?
    Aungshu

    Does any body like to share their experience ?

  • Deinstall Oracle 11.2.0.2 grid Single instance with ASM at AIX

    Hi gurus,
    I'm trying to deinstall Oracle 11.2.0.2 grid Single instance with ASM at AIX when executing deinstall utility It's doesn't show any commando to run with root:
    the first execution, ran the command as root (normally), but the session where it ran the deinstall tool was closed.
    [root@> /tmp/software ]#/tmp/deinstall2011-07-05_06-54-19PM/perl/bin/perl -I/tmp/deinstall2011-07-05_06-54-19PM/perl/lib -I/tmp/deinstall2011-07-05_06-54-19PM/crs/install /tmp/deinstall2011-07-05_06-54-19PM/crs/install/roothas.pl -force -deconfig -paramfile /tmp/deinstall2011-07-05_06-54-19PM/response/deinstall_Ora11g_gridinfrahome1.rsp
    Using configuration parameter file: /tmp/deinstall2011-07-05_06-54-19PM/response/deinstall_Ora11g_gridinfrahome1.rsp
    PRKO-2573 : ONS daemon is already stopped.
    CRS-2500: Cannot stop resource 'ora.cssd' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'dwmdm'
    CRS-2673: Attempting to stop 'ora.evmd' on 'dwmdm'
    CRS-2677: Stop of 'ora.evmd' on 'dwmdm' succeeded
    CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'dwmdm' has completed
    CRS-4133: Oracle High Availability Services has been stopped.
    ACFS-9459: ADVM/ACFS is not supported on this OS version: 'AIX 5300-10-01-0921'
    ACFS-9201: Not Supported
    Successfully deconfigured Oracle Restart stack
    [root@> /tmp/software ]#
    -- here the deinstall tool was closed --
    -- -Here the output for the second execution --
    $deinstall
    Checking for required files and bootstrapping ...
    Please wait ...
    Location of logs /u01/app/oracle/oraInventory/logs/
    ############ ORACLE DEINSTALL & DECONFIG TOOL START ############
    ######################### CHECK OPERATION START #########################
    Install check configuration START
    Checking for existence of the Oracle home location /grid/app/grid/grid
    Oracle Home type selected for de-install is: SIHA
    Oracle Base selected for de-install is: /grid/app/grid
    Checking for existence of central inventory location /u01/app/oracle/oraInventory
    Checking for existence of the Oracle Grid Infrastructure home
    Install check configuration END
    Skipping Windows and .NET products configuration check
    Checking Windows and .NET products configuration END
    Traces log file: /u01/app/oracle/oraInventory/logs//crsdc.log
    Network Configuration check config START
    Network de-configuration trace file location: /u01/app/oracle/oraInventory/logs/netdc_check2011-07-06_09-16-58-AM.log
    Network Configuration check config END
    Asm Check Configuration START
    ASM de-configuration trace file location: /u01/app/oracle/oraInventory/logs/asmcadc_check2011-07-06_09-16-58-AM.log
    ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: n
    ASM was not detected in the Oracle Home
    ######################### CHECK OPERATION END #########################
    ####################### CHECK OPERATION SUMMARY #######################
    Oracle Grid Infrastructure Home is:
    The cluster node(s) on which the Oracle home de-installation will be performed are:null
    Oracle Home selected for de-install is: /grid/app/grid/grid
    Inventory Location where the Oracle home registered is: /u01/app/oracle/oraInventory
    Skipping Windows and .NET products configuration check
    ASM was not detected in the Oracle Home
    Do you want to continue (y - yes, n - no)? [n]: y
    A log of this session will be written to: '/u01/app/oracle/oraInventory/logs/deinstall_deconfig2011-07-06_09-16-56-AM.out'
    Any error messages from this session will be written to: '/u01/app/oracle/oraInventory/logs/deinstall_deconfig2011-07-06_09-16-56-AM.err'
    ######################## CLEAN OPERATION START ########################
    ASM de-configuration trace file location: /u01/app/oracle/oraInventory/logs/asmcadc_clean2011-07-06_09-17-03-AM.log
    ASM Clean Configuration END
    Network Configuration clean config START
    Network de-configuration trace file location: /u01/app/oracle/oraInventory/logs/netdc_clean2011-07-06_09-17-03-AM.log
    De-configuring backup files...
    Backup files de-configured successfully.
    The network configuration has been cleaned up successfully.
    Network Configuration clean config END
    ---------------------------------------->
    Press Enter after you finish running the above commands
    <----------------------------------------
    *1. Any idea to remove Grid infraestructure normally?*
    *2. In this step, can I remove (rm) the grid HOME ?*
    Regards

    Mexman wrote:
    *1. Any idea to remove Grid infraestructure normally?*
    *2. In this step, can I remove (rm) the grid HOME ?*
    RegardsHi,
    You must use deinstall tool to remove Grid Infrastructure installation,
    as grid owner run $GRIDHOME/deinstall/deinstall
    Cheers

Maybe you are looking for