Implementing 11gR2 RAC with dataguard

Could any one provide the steps on how to setup 11gR2 two node RAC With Dataguard . Could the 11R2 Active database duplication can be used in setting up the standby ?
I just need the order of steps to be followed to set up the environment.
1] Set up the Grid Infrsatructure for the 2 node RAC .
2] Create the database .
3] Modify the init.ora prameter to chage the above created database as primary .
4] Set up the grid infrastructure for the 2 node RAC on the DR site.
5] Create the standby database using 11gR2 active database dupication.
Is the above order correct ? If not , let me know the correct order of steps that needs to be followed to setup 11gR2 RAC with dataguard.

Could any one provide the steps on how to setup 11gR2 two node RAC With Dataguard . Could the 11R2 Active database duplication can be used in setting up the standby ?This below document is one of best one, to configure two node standby for two node primary database,
http://www.oracle.com/technetwork/database/features/availability/maa-wp-10g-racprimaryracphysicalsta-131940.pdf
starting from 11gR2 you can use duplication from active database. also refer below note.
How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1]

Similar Messages

  • Implemeting 11gR2 RAC with Data Guard

    Hi ,
    Could any one provide the steps on how to setup 11gR2 two node RAC With Dataguard . Could the 11R2 Active database duplication can be used in setting up the standby ?
    I just need the order of steps to be followed to set up the environment.
    Thanks,
    shashi.

    Hi Fiedi ,
    Thanks for the reply .
    I know how to build the oracle dataguard . But , I'm looking for the order of steps that I need to follow to build 11gR2 RAC with data guard.
    1] Set up the Grid Infrsatructure for the 2 node RAC .
    2] Create the database .
    3] Modify the init.ora prameter to chage the above created database as primary .
    4] Set up the grid infrastructure for the 2 node RAC on the DR site.
    5] Create the standby database using 11gR2 active database dupication.
    Is the above order correct ? If not , let me know the correct order of steps that needs to be followed to setup 11gR2 RAC with dataguard.

  • How to convert single instance10g db to 11gR2 RAC with ASM

    Hi,
    I need your help to decide the plan about how to convert single instance 10g database to 11gr2 rac with asm.
    I can have about 6 to 8 hours of downtime to upgrade and move to rac with asm.
    db size is about 1.5tb and on AIX.
    here is my plan....
    1) install 11gr2 rac with asm on two nodes
    2) verify rac installation and clustered asm
    3)install 10g oracle binaries( yes 10g )
    4) shutdown production db ( machine prod )
    5) make copy of production and restore on 1st node ( using shadow image , so it's quick and its file system )
    6) upgrade db to 11g ( still of file system )
    7) after successful upgrade, move to asm ( rman backup )
    8) add another node
    does it look okay ? OR is there a better approach to save time?
    can someone help me ?
    Thanks...

    Thanks ...
    So here is what I thought... suggest if something is not right...
    1) install 11gr2 grid infra on node A and B with ASM
    2) stop CLUSTER ON BOTH NODES.
    3) shutdown prod db on 10g ( downtime starts )
    4) take rman cold backup
    5) restore rman backup on node A on ASM ( as if single instance 11g , no rac parameters )
    6) mount and run upgrade script for 11g, then open db with 11
    7) after successful upgrade, shutdown db node A
    8) change all rac related parameters, spfile,undo,redo for rac environment on both nodes
    9) open db in rac environment
    can I do this way ?
    My only question is, even though I installed rac on node A and B, in step 5 and 6 I'm using only node A as if it is single instance. Is it possible ?
    if it is then I'm good to go...
    Thanks for all suggestions.

  • EPB and DBI on RAC with Dataguard

    Hello all,
    I was wondering if anyone has installed and configured EPB and DBI on a
    - Apps 11.5.10.2,
    - Oracle Server 10.1.0.4 instance on
    - Red Hat AS 4,
    - HP Proliant,
    - 2 noded RAC cluster
    - Dataguard (in physical mode) as a DR solution.
    Please let me know if you were able to get this particular configuration up and running and what issues you ran into.
    Thanks
    Steve

    Hi,
    Im also keen to here of anyone with similar build for EPB and DBI Implementation ?
    Regards,
    TC

  • Oracle 11gR2 RAC with Sun clsuter 3.3 clsetup not showing  ASMDiskGroup RS

    Hello,
    I am installing Oracle 11gR2 RAC on Solaris cluster 3.3 with hardware RAID and ASM
    I was able to register rac-famework-rg and crs-framework-rg.
    Oracle RAC is up and running (confirmed from crs_stat -t -v)
    However, while creating option 5. Automatic Storage Management (ASM) on clsetup, I was getting ERROR: ASM is either not installed or the installation is invalid!
    I have created the asm-inst-rg with resource asm-inst-rs and asm-dg-rg with resources asm-dg-fra, asm-dg-data and asm-dg-crs using CLI. Please find the complete clrg and clrs status output below:
    root@rac1 # clrg status
    === Cluster Resource Groups ===
    Group Name Node Name Suspended Status
    rac-framework-rg rac1 No Online
    rac2 No Online
    asm-inst-rg rac1 No Online
    rac2 No Online
    asm-dg-rg rac1 No Online
    rac2 No Online
    root@rac1 # clrs status
    === Cluster Resources ===
    Resource Name Node Name State Status Message
    crs_framework-rs rac1 Online Online
    rac2 Online Online
    rac-udlm-rs rac1 Online Online
    rac2 Online Online
    rac-framework-rs rac1 Online Online
    rac2 Online Online
    asm-inst-rs rac1 Online Online - +ASM1 is UP and ENABLED
    rac2 Online Online - +ASM2 is UP and ENABLED
    asm-dg-fra rac1 Online Online - Mounted: FRA
    rac2 Online Online - Mounted: FRA
    asm-dg-crs rac1 Online Online - Mounted: CRS
    rac2 Online Online - Mounted: CRS
    asm-dg-data rac1 Online Online - Mounted: DATA
    rac2 Online Online - Mounted: DATA
    Once I reach clsetup option 6: Resources for Oracle Real Application Clusters Database Instances, I was able to select cluster db name, oracle home, SID for both nodes, and it listed the asm-inst-rg and asm-inst-rs for selection of "Specify Oracle ASM Instance Resource".
    The problem is the the next selection which is "Specify Oracle ASM Disk Group Resources" which does NOT list any asm-dg-rg or asm-dg-fra or anything, instead, it throws error "No existing disk-group resources available for selection. Run ASM subwizard create new resource(s) and come back to this panel for the selection."
    Kindly guide me to create Resources for Oracle Real Application Clusters Database Instances either in CLI or clsetup
    Thanks and Regards
    Ushas Symon

    Solaris Cluster 3.3 u1 solved the issue.
    The problem right now I am facing is IPMP on the public interface.
    When I remove the cable on the bge0, the ip on bge0 and the SCAN IP's are plumbed to bge1 which is in sc_ipmp0, but NOT the virtual IP!!! and the listeners on both nodes go offiline!!!
    any inputs on the configuration will be highly appreciated..
    Thanks and Regards
    Ushas Symon

  • TNS-12520 when connecting via TCPS on 11gR2 RAC with SCAN Listener

    I am struck trying to implement TCPS on our Oracle RAC SCAN Listener.  I have added to our Oracle 12c systems, but not on a RAC with SCAN.
    I created a wallet and certificate on one of the nodes, and copied it to the node and created auto login on each node.  I exported the trust.jks and identity.jks, and loaded them in my test java program as the trust store and key stores.  I have added the wallet location to the listener tns and sql  ora files.
    When attempting a TCPS connection, the ssl handshake succeed, but the client reports error:
    ORA-12520, TNS:listener could not find available handler for requested type of server
    The nodes scan listener log reports the TNS error, listener_scan1/alert/log.xml, when the connection is using TCPS on port 2484:
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'  type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:06:20 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcps)(HOST=9.55.61.122)(PORT=46635)) *
    establish * DUB11RAC * 12520
    </txt>
    </msg>
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'
    host_addr='9.55.59.45'>
    <txt>TNS-12520: TNS:listener could not find available handler for requested type of server
    </txt>
    </msg>
    A connection using TCP completes without error:
    <msg time='2015-04-29T14:42:02.588-04:00' org_id='oracle' comp_id='tnslsnr' type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:42:02 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcp)(HOST=9.55.61.122)(PORT=41950)) *
    establish * DUB11RAC * 0
    </txt>
    </msg>
    The scan listener is configured for TCP on 1521 and TCPS on 2484
    [oracle@dublr059vm ~]$ srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dublr060vm
    [oracle@dublr059vm ~]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521/TCPS:2484
    The service, dub11rac is ready on both instances.
    [oracle@dublr060vm ~]$ lsnrctl stat LISTENER_SCAN1
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 30-APR-2015 11:45:18
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN1
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                30-APR-2015 11:43:24
    Uptime                    0 days 0 hr. 1 min. 53 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File         /u01/app/11.2.0/grid/log/diag/tnslsnr/dublr060vm/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=9.55.59.47)(PORT=2484)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=9.55.59.47)(PORT=1521)))
    Services Summary...
    Service "dub11rac" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    Service "dub11racXDB" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Hi hitgon,
    Thanks first.
    The commands output are as the following:
    Command: srvctl status listener
    Output:
    # Listener LISTENER is enabled
    # Listener LISTENER is running on node(s): rac1,rac2
    Command: srvctl status scan_listener
    Output:
    # SCAN Listener LISTENER_SCAN1 is enabled
    # SCAN listener LISTENER_SCAN1 is running on node rac2
    # TNSNAMES.ORA
    RAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rac.localdomain)
    Command: sqlplus username/passwd@rac-scan:1521/rac.localdomain
    Output:
    # ERROR:
    # ORA-12520: TNS:listener could not find available handler for requested type of server
    # Enter user-name:
    By the way, rac-scan is the host where the SCAN listener is running and rac.localdomain is the service name. I've also tried the following commands
    with the same error output:
    sqlplus username/passwd@RAC
    At last, i think the output of "lsnrctl status LISTENER_SCAN1" might help:
    Service "rac.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...
    Service "racXDB.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...

  • Oracle 11gR2 RAC with nimbus storage

    Dear friends,
    We are planning to implement Oracle 11g R2 RAC over NFS or DNFS
    with a Nimbus gemini head storage based solution.If any one of you
    are using this configuration and tested ,Kindly share your experience
    it will be helpful for us.
    Thanks
    Suvv

    Search in Oracle Support  ,

  • Root.sh hangs at formatting voting disk on OEL32 11gR2 RAC with ocfs2

    Hi,
    Am trying to bring up Oracle11gR2 RAC on Enterprise Linux x86 (32bit) version 5.6. I am using Ocfs2 1.4 as my cluster file share. Everything went fine till the root.sh and it hangs with a message "now formatting voting disk <vdsk path>
    The logs are mentioned below.
    Checked the alert log:
    {quote}
    cssd(9506)]CRS-1601:CSSD Reconfiguration complete. Active nodes are oel32rac1 .
    2011-08-04 15:58:55.356
    [ctssd(9552)]CRS-2407:The new Cluster Time Synchronization Service reference node is host oel32rac1.
    2011-08-04 15:58:55.917
    [ctssd(9552)]CRS-2401:The Cluster Time Synchronization Service started on host oel32rac1.
    2011-08-04 15:58:56.213
    [client(9567)]CRS-1006:The OCR location /u02/storage/ocr is inaccessible. Details in /u01/app/11.2.0/grid/log/oel32rac1/client/ocrconfig_9567.log.
    2011-08-04 15:58:56.365
    [client(9567)]CRS-1001:The OCR was formatted using version 3.
    2011-08-04 15:58:59.977
    [crsd(9579)]CRS-1012:The OCR service started on node oel32rac1.
    {quote}
    crsctl.log:
    {quote}
    2011-08-04 15:59:00.246: [  CRSCTL][3046184656]crsctl_vformat: obtain cssmode 1
    2011-08-04 15:59:00.247: [  CRSCTL][3046184656]crsctl_vformat: obtain VFListSZ 0
    2011-08-04 15:59:00.258: [  CRSCTL][3046184656]crsctl_vformat: Fails to obtain backuped Lease from CSSD with error code 16
    2011-08-04 15:59:01.857: [  CRSCTL][3046184656]crsctl_vformat: to do clsscfg fmt with lease sz 0
    2011-08-04 15:59:01.910: [   SKGFD][3046184656]NOTE: No asm libraries found in the system
    2011-08-04 15:59:01.910: [    CLSF][3046184656]Allocated CLSF context
    2011-08-04 15:59:01.910: [   SKGFD][3046184656]Discovery with str:/u02/storage/vdsk:
    2011-08-04 15:59:01.910: [   SKGFD][3046184656]UFS discovery with :/u02/storage/vdsk:
    2011-08-04 15:59:01.910: [   SKGFD][3046184656]Fetching UFS disk :/u02/storage/vdsk:
    2011-08-04 15:59:01.911: [   SKGFD][3046184656]OSS discovery with :/u02/storage/vdsk:
    2011-08-04 15:59:01.911: [   SKGFD][3046184656]Handle 0xa6c19f8 from lib :UFS:: for disk :/u02/storage/vdsk:
    2011-08-04 17:10:37.522: [   SKGFD][3046184656]WARNING:io_getevents timed out 618 sec
    2011-08-04 17:10:37.526: [   SKGFD][3046184656]WARNING:io_getevents timed out 618 sec
    {quote}
    ocrconfig log:
    {quote}
    2011-08-04 15:58:56.214: [  OCRRAW][3046991552]ibctx: Failed to read the whole bootblock. Assumes invalid format.
    2011-08-04 15:58:56.214: [  OCRRAW][3046991552]proprinit:problem reading the bootblock or superbloc 22
    2011-08-04 15:58:56.214: [  OCROSD][3046991552]utread:3: Problem reading buffer 8532000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2011-08-04 15:58:56.214: [  OCROSD][3046991552]utread:3: Problem reading buffer 8532000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2011-08-04 15:58:56.214: [  OCROSD][3046991552]utread:3: Problem reading buffer 8532000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2011-08-04 15:58:56.214: [  OCROSD][3046991552]utread:3: Problem reading buffer 8532000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2011-08-04 15:58:56.214: [  OCROSD][3046991552]utread:3: Problem reading buffer 8532000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2011-08-04 15:58:56.214: [  OCROSD][3046991552]utread:3: Problem reading buffer 8532000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2011-08-04 15:58:56.214: [  OCRRAW][3046991552]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2011-08-04 15:58:56.365: [  OCRRAW][3046991552]iniconfig:No 92 configuration
    2011-08-04 15:58:56.365: [  OCRAPI][3046991552]a_init:6a: Backend init successful
    2011-08-04 15:58:56.390: [ OCRCONF][3046991552]Initialized DATABASE keys
    2011-08-04 15:58:56.564: [ OCRCONF][3046991552]csetskgfrblock0: output from clsmft: [clsfmt: successfully initialized file /u02/storage/ocr
    2011-08-04 15:58:56.577: [ OCRCONF][3046991552]Successfully set skgfr block 0
    2011-08-04 15:58:56.578: [ OCRCONF][3046991552]Exiting [status=success]...
    {quote}
    ocssd.log:
    {quote}
    2011-08-04 15:59:00.140: [    CSSD][2963602320]clssgmFreeRPCIndex: freeing rpc 23
    2011-08-04 15:59:00.228: [    CSSD][2996054928]clssgmExecuteClientRequest: CONFIG recvd from proc 6 (0xb35f7438)
    2011-08-04 15:59:00.228: [    CSSD][2996054928]clssgmConfig: type(1)
    2011-08-04 15:59:00.234: [    CSSD][2996054928]clssgmExecuteClientRequest: VOTEDISKQUERY recvd from proc 6 (0xb35f7438)
    2011-08-04 15:59:00.247: [    CSSD][2996054928]clssgmExecuteClientRequest: CONFIG recvd from proc 6 (0xb35f7438)
    2011-08-04 15:59:00.247: [    CSSD][2996054928]clssgmConfig: type(1)
    2011-08-04 15:59:03.039: [    CSSD][2942622608]clssnmSendingThread: sending status msg to all nodes
    2011-08-04 15:59:03.039: [    CSSD][2942622608]clssnmSendingThread: sent 4 status msgs to all nodes
    2011-08-04 15:59:07.047: [    CSSD][2942622608]clssnmSendingThread: sending status msg to all nodes
    2011-08-04 15:59:07.047: [    CSSD][2942622608]clssnmSendingThread: sent 4 status msgs to all nodes
    2011-08-04 15:59:11.057: [    CSSD][2942622608]clssnmSendingThread: sending status msg to all nodes
    2011-08-04 15:59:11.057: [    CSSD][2942622608]clssnmSendingThread: sent 4 status msgs to all nodes
    2011-08-04 15:59:16.068: [    CSSD][2942622608]clssnmSendingThread: sending status msg to all nodes
    2011-08-04 15:59:16.068: [    CSSD][2942622608]clssnmSendingThread: sent 5 status msgs to all nodes
    2011-08-04 15:59:21.079: [    CSSD][2942622608]clssnmSendingThread: sending status msg to all nodes
    2011-08-04 15:59:21.079: [    CSSD][2942622608]clssnmSendingThread: sent 5 status msgs to all nodes
    {quote}
    Any help here is appreciated.
    Regards
    Amith R
    Edited by: Mithzz on Aug 4, 2011 4:58 AM

    Did an lsof on vdisk and it showed
    >
    COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
    crsctl.bi 9589 root 26u REG 8,17 21004288 102980 /u02/storage/vdsk
    [root@oel32rac1 ~]# ps -ef |grep crsctl
    root 9589 7583 0 15:58 pts/1 00:00:00 [crsctl.bin] <defunct>
    >
    Could this be a permission issue ?
    --Amith                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle 11gR2 RAC with ASM with asm_preferred_read_failure_group

    Hello DBAs,
    I apologize first if this question has been posted somewhere.
    I have a two nodes cluster so essentially, I have 2 ASM instances (ASM1 & ASM2). It seems like both instances share the same ASM spfile.
    +ASM1> show parameter spfile;
    NAME TYPE VALUE
    spfile string +OCRDG/clone-cluster/asmparame
    terfile/registry.253.759424467
    =====================================
    +ASM2> show parameter spfile;
    NAME TYPE VALUE
    spfile string +OCRDG/clone-cluster/asmparame
    terfile/registry.253.759424467
    The Oracle docs says that you can configure asm_preferred_read_failure_group for each instance so when I logged in instance 1, I ran the command:
    +ASM1> alter system set asm_preferred_read_failure_groups='DATA.FG1', 'DATA.FG2';
    then it showed DATA.FG1 is primary and DATA.FG2 is secondary but this also shows on instance 2 because it uses the same spfile.
    How can I make instance 1 uses DATA.FG1 for primary and instance 2 uses DATA.FG2 for primary. I have separate GRID home for each node.
    Any help is much appreciated.
    thanks,
    TD

    user11380530 wrote:
    Hello DBAs,
    I apologize first if this question has been posted somewhere.
    I have a two nodes cluster so essentially, I have 2 ASM instances (ASM1 & ASM2). It seems like both instances share the same ASM spfile.
    +ASM1> show parameter spfile;
    NAME TYPE VALUE
    spfile string +OCRDG/clone-cluster/asmparame
    terfile/registry.253.759424467
    =====================================
    +ASM2> show parameter spfile;
    NAME TYPE VALUE
    spfile string +OCRDG/clone-cluster/asmparame
    terfile/registry.253.759424467
    The Oracle docs says that you can configure asm_preferred_read_failure_group for each instance so when I logged in instance 1, I ran the command:
    +ASM1> alter system set asm_preferred_read_failure_groups='DATA.FG1', 'DATA.FG2';
    then it showed DATA.FG1 is primary and DATA.FG2 is secondary but this also shows on instance 2 because it uses the same spfile.
    How can I make instance 1 uses DATA.FG1 for primary and instance 2 uses DATA.FG2 for primary. I have separate GRID home for each node.
    Any help is much appreciated.Normally we can give different values for each instance, But i never tried in ASM.
    Here is example
    SQL> alter system set  asm_preferred_read_failure_groups='DATA.FG1' sid='ASM1';
    SQL> alter system set  asm_preferred_read_failure_groups='DATA.FG2' sid='ASM2';So DATA.FG1 will be allocated to ASM1, DATA.FG2 will be allocated to ASM2.
    Now check from ASM1
    SQL> show parameter asm_preferred_read_failure_group
    & from ASM2
    SQL> show parameter asm_preferred_read_failure_group
    HTH.

  • TAF with FAN in oracle 11gr2 RAC

    dear all,
    our enviornment is 11GR2 RAC with 2 ndoe RAC. it has four different applications accessing the database.
    so for each application i have created services as A,B,C,D.
    services in NODE1- Prefered service in NODE2 -Prefered
    A B
    C D
    services in NODE1- available service in NODE2 -Available
    B A
    D C
    now i have the services as described above.
    each services are created with
    srvctl add service -d DB -s A -r NODE1 -a NODE2 –P BASIC –y AUTOMATIC
    srvctl modify service -d DB -s A -q TRUE -P BASIC -e SELECT -z 180 -w 5 -j LONG
    srvctl start service -d DB -s A
    now i have enable server-side TAF with FAN. so do i need to provide the TNS entries to application layer namely oracle client
    as below
    AP =
    (DESCRIPTION =
    (ADDRESS=(PROTOCOL=TCP)(HOST=cluster01-scan)(PORT=1521))
    (LOAD_BALANCE = YES)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TEST)
    (FAILOVER_MODE =
    (TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))
    or
    do i need to add the above TNS entries in serverside tnsnames.ora file?
    1) the connection from jdbc thin or session established via JDBC thin is not having the TAF details in v$session view.
    SELECT machine, failover_method, failover_type,
    failed_over, service_name, COUNT(*)
    FROM v$session
    GROUP BY machine, failover_method, failover_type,
    failed_over, service_name;
    if i execute the above query i couldnt find any session is having failover_method as BASIC and FAILOVER_TYPE as select.
    all my application tier is using JDBC thin to access the database.
    if i use oracle client from application server to access the database i could see my session having FAILOVER_METHOD as BASIC and FAILOVER_TYPE as SELECT.
    so please provide me any realtime example for accessing database using JDBC thin with TAF and FAN properties for their sessions.

    Hi,
    1.) No if you define a service with TAF, then the TAF information will be provided to the client, without having to specify it again in the TNSNAMES.ora (neither client nor server).
    However it does not hurt, if you have specified it additionally (it just makes it more difficult if you want to change something, because the client side does not get updated).
    See this whitepaper for more information:
    http://www.oracle.com/technetwork/database/clustering/overview/awm11gr2-130711.pdf
    2.) However it seems you have forgotten to specify something with the service (you seem to be missing -m):
    srvctl add service -h
    Adds a service configuration to the Oracle Clusterware.
    -P {NONE | BASIC | PRECONNECT} TAF policy specification
    -e <Failover type> Failover type (NONE, SESSION, or SELECT)
    -m <Failover method> Failover method (NONE or BASIC)
    -w <integer> Failover delay
    -z <integer> Failover retries
    Regards
    Sebastian

  • How to migrate data from oracle 9i database to new machine 11gr2 RAC ASM

    Hi Expert
    I need your expertise to advise me what is the best method to move data from oracle 9i database to new machine running oracle 11r2 RAC database with ASM.
    Currently my production server running on HPUX ORACLE 9I database with normal file system. My new server is running SUN SOLARIS SPACR 64 bit ORACLE 11gr2 RAC with ASM. What is best method to move data over so it will be consistent. Any guide can refer.
    Regard
    William

    Hi William,
    See the note in metalink Migration of Oracle Database Instances Across OS Platforms [ID 733205.1] to saw the Endian Format of your OS. If is the same you can use the RMAN to convert the database to another OS, if not the only option is using export/import (Transportable Tablespaces).
    To upgrade from 9i to 11g, see the note 837570.1 - Complete Checklist for Manual Upgrades to 11gR2.
    To migrate your FS to ASM the only way is using RMAN, so see the note - How to move a datafile from a file system to ASM [ID 390274.1].
    Hope this help you.
    Best Regards,
    Ruben Morais

  • ASM vs RAID for 11gR2 RAC Environment

    Hi There!
    We are planning to install 11GR2 RAC with two nodes Cluster on LINUX in Our Environment.
    Operating System: OEL 5.4
    In our hardware we got two dell Servers with 16GB RAM on each plus On SAN side we have only 8 disk (173GB) left for RAC Cluster Setup. I am going to create to database (LIVE/UAT) on This Cluster Setup. Currently Our Production DB size is 6GB and I assume for coming 5 year it will not go beyond 100GB And I keep UAT size 15GB fix with No changes.So how you get the best ASM performance by using my all Resources.
    My question:
    1)     Which is best solution for ASM and RAID in our storage Environment?
    2)     How many Disk group I Create for Both Databases (UAT/LIVE)?
    3)     How many disks should I allocate in Each Disk Group with which RAID Option or if any suggesting for LUN, How do I create LUNS across the Disk which I got?
    4)     I know oracle recommended Two DISK Group DATA&FRA is there any other suggestion for CRS, REDO, and TEMP FILE?
    Thanks for your Assintance.
    Hemesh.

    My first question was : Which RAID Option(0,1,5,0+1) I choose with ASM ?Well, it doesnt matter for ASM. At least in your configuration with 8 disks.
    RAID0is not an option - forget about it. RAID1 (or combined with more than two disks and an overlayed RAID0 which makes an RAID 1+0) might be an option for write-intensive databases. RAID5 is more for read-intensive due to the RAID5-write-hole but offers "more" capacity at the cost of slower write speed.
    I recommended to stick with RAID1 (thus mirroring two disks) and exporting them to ASM rather than creating one big RAID1+0 over all of your disks and exporting the storage as one big chuck to ASM for manageability. If you want to add storage lateron your perfect in line with Oracles recommendations to have equal size LUNs in ASM with two mirrored disks. If you create on big RAID 1+0 and lateron add two disks you have a LUN of 600 GB size and one of 170 GB size...thats a big mismatch.
    But If i create TWO disk group then, is there good practice to offer them to both (UAT/LIVE) databases.?Normally there is a separation between UAT and P on storage and on server level. In your case it might be "ok" to place everything in the same disk group. This mainly depends on which database puts the most load on the disk subsystem.
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • Migration 10gr2 rac to 11gr2 rac

    Hi all,
    Can I use Transportable Tablespaces to migrate 10gr2 rac with ASM (solaris) to 11gr2 rac with ASM (AIX), the server is not the same.
    regards
    Edited by: mexman on 06-may-2010 15:36

    mexman wrote:
    OK, and can I use Transporting Tablespaces Between Databases 10gr2 to 11gr2 ?Yes.. as mentioned above by Dan , you can use..

  • Oracle 11gR2 RAC setup with ASM option running on two nodes . Seeking help

    Hi ,
    Recently we have migrated to 11gR2 extended RAC for one of our application using ASM . Its a two node RAC setup . We are using ASM Normal redundancy feature maintaining two failure group .
    I need few clarification regarding our new DR set up .
    We are planning to have EMC SRDF replication from any of node storage ( Either 1 or 2) to the DR disks .
    Its stright to use when we use the normal file systems . In case of ASM , I am not sure how this replication will work ? and on which level the replication should happen ?
    Do i need an ASM instance up and running on DR server , Which will recognize the disks as it is once DR disks are separated from prod replication and assigned to the server ?
    What should be prerequisite on DR server before we can start the srdf replication (EMC) and make it work .
    Thanks for All your Valuble suggestion .

    Before you decide to use EMC replication give considerable thought to the fact that you are introducing a single point of failure.
    Hardware snapshot replication is very fast. That is all it is. If you database crashes because of corruption on disk ... your replica will be equally corrupt.
    What is fast can not do what DataGuard does ... verify quality. If the point is DR. Go with DataGuard unless EMC is willing to, in writing (not verbally) give you a guarantee (in hard cash) to cover all costs if they replicate bad blocks and it causes an outage.
    And just so no one thinks I'm picking o EMC ... the same weakness exists with all of the other storage vendor's products.

  • Oracle 11gR2 RAC in LDOM Network issue

    Hi, Requesting your expert advise regarding this configuration.
    We are implementing LDOM 2.2 on two SPARC T4-4 for Oracle 11gR2 RAC; Solaris 10 U10 on both control and guest domain. The setup for each primary/control domain is: Two 10g links aggregated and have four VLAN trunked on the aggregate. vSwitch created using the aggr as the device as following per T4-4:
    NOTE: VLAN 1501 is for data connection and VLAN 10 is for heartbeat for one RAC cluster and VL 1601 and 11 is for another RAC. all together four LDOMS.
    ldm add-vswitch vid=1501,1601,10,11 net-dev=aggr1 primary-vsw0 primary
    ldm add-vnet pvid=1501 vnetprod primary-vsw0 guest1
    ldm add-vnet pvid=10 vnethb primary-vsw0 guest1
    ldm add-vnet pvid=1601 vnetprod primary-vsw0 guest2
    ldm add-vnet pvid=11 vnethb primary-vsw0 guest2
    vnet inside the LDOM are not tagged:
    vnet1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
    inet 10.220.128.20 netmask ffffff80 broadcast 10.220.128.127
    ether 0:14:4f:f9:ec:7f
    vnet2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
    inet 192.168.2.11 netmask ffffff80 broadcast 192.168.2.127
    ether 0:14:4f:fb:2b:8f
    Here is the whole configuration:
    root@gp-cpu-suh004 # ldm -V
    Logical Domains Manager (v 2.2.0.0)
    Hypervisor control protocol v 1.9
    Using Hypervisor MD v 1.4
    System PROM:
    Hostconfig v. 1.2.0. @(#)Hostconfig 1.2.0.a 2012/05/11 07:34
    Hypervisor v. 1.11.0. @(#)Hypervisor 1.11.0.a 2012/05/11 05:28
    OpenBoot v. 4.34.0 @(#)OpenBoot 4.34.0 2012/04/30 14:26
    root@gp-cpu-suh004 # ldm ls
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    primary active -n-cv- UART 32 16G 2.5% 48m
    oidrac1 active -n---- 5000 32 16G 0.0% 27m
    root@gp-cpu-suh004 # ldm ls -l
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    primary active -n-cv- UART 32 16G 3.1% 48m
    SOFTSTATE
    Solaris running
    UUID
    e73421fe-7003-e748-be7e-801fee5bfcc7
    MAC
    00:21:28:f1:95:26
    HOSTID
    0x85f19526
    CONTROL
    failure-policy=ignore
    extended-mapin-space=off
    cpu-arch=native
    DEPENDENCY
    master=
    CORE
    VCPU
    MEMORY
    RA PA SIZE
    0x20000000 0x20000000 16G
    CONSTRAINT
    threading=max-throughput
    VARIABLES
    auto-boot-on-error?=true
    auto-boot?=true
    boot-device=/pci@400/pci@1/pci@0/pci@0/LSI,sas@0/disk@w5000cca0251e7a29,0:a
    keyboard-layout=US-English
    nvramrc=." ChassisSerialNumber 1207BDYFFE " cr
    use-nvramrc?=true
    IO
    DEVICE PSEUDONYM OPTIONS
    VCC
    NAME PORT-RANGE
    primary-vcc0 5000-5100
    VSW
    NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
    primary-vsw-mgmt 00:14:4f:fb:75:c0 igb1 0 switch@0 1 1 1500 on
    primary-vsw0 00:14:4f:fa:33:8b aggr1 1 switch@1 1 1 1501,1601,10,11 1500 on
    VDS
    NAME VOLUME OPTIONS MPGROUP DEVICE
    primary-vds0 rootoid /dev/dsk/c14t50060E8005BFAA04d1s2
    data_oid /dev/dsk/c14t50060E8005BFAA04d2s2
    ocr_oid /dev/dsk/c14t50060E8005BFAA04d3s2
    VCONS
    NAME SERVICE PORT
    UART
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    oidrac1 active -n---- 5000 32 16G 0.0% 27m
    SOFTSTATE
    Solaris running
    UUID
    0fcbbf21-14a2-eb21-f544-d4424212f3ef
    MAC
    00:14:4f:f9:1b:d4
    HOSTID
    0x84f91bd4
    CONTROL
    failure-policy=ignore
    extended-mapin-space=off
    cpu-arch=native
    DEPENDENCY
    master=
    CORE
    CID CPUSET
    VCPU
    VID PID CID UTIL STRAND
    MEMORY
    RA PA SIZE
    0x20000000 0x420000000 16G
    CONSTRAINT
    threading=max-throughput
    VARIABLES
    auto-boot?=true
    boot-device=disk:a
    keyboard-layout=US-English
    NETWORK
    NAME SERVICE ID DEVICE MAC MODE PVID VID MTU LINKPROP
    vnet1 primary-vsw-mgmt@primary 0 network@0 00:14:4f:fa:61:77 1 1500
    vnetprod primary-vsw0@primary 1 network@1 00:14:4f:f9:ec:7f 1501 1500
    vnethb primary-vsw0@primary 2 network@2 00:14:4f:fb:2b:8f 10 1500
    DISK
    NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
    oneidrootdisk rootoid@primary-vds0 0 disk@0 primary
    oid_data data_oid@primary-vds0 1 disk@1 primary
    oid_ocr ocr_oid@primary-vds0 2 disk@2 primary
    VCONS
    NAME SERVICE PORT
    oidrac1 primary-vcc0@primary 5000
    root@gp-cpu-suh004 # ldm ls-services
    VCC
    NAME LDOM PORT-RANGE
    primary-vcc0 primary 5000-5100
    VSW
    NAME LDOM MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
    primary-vsw-mgmt primary 00:14:4f:fb:75:c0 igb1 0 switch@0 1 1 1500 on
    primary-vsw0 primary 00:14:4f:fa:33:8b aggr1 1 switch@1 1 1 1501,1601,10,11 1500 on
    VDS
    NAME LDOM VOLUME OPTIONS MPGROUP DEVICE
    primary-vds0 primary rootoid /dev/dsk/c14t50060E8005BFAA04d1s2
    data_oid /dev/dsk/c14t50060E8005BFAA04d2s2
    ocr_oid /dev/dsk/c14t50060E8005BFAA04d3s2
    root@gp-cpu-suh004 # dladm show-link
    vsw0 type: non-vlan mtu: 1500 device: vsw0
    vsw1 type: non-vlan mtu: 1500 device: vsw1
    vsw1501001 type: vlan 1501 mtu: 1500 device: vsw1
    igb0 type: non-vlan mtu: 1500 device: igb0
    igb1 type: non-vlan mtu: 1500 device: igb1
    qlge0 type: non-vlan mtu: 1500 device: qlge0
    qlge1 type: non-vlan mtu: 1500 device: qlge1
    qlge2 type: non-vlan mtu: 1500 device: qlge2
    qlge3 type: non-vlan mtu: 1500 device: qlge3
    aggr1 type: non-vlan mtu: 1500 aggregation: key 1
    root@gp-cpu-suh004 # ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    igb0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.223.12.14 netmask ffffff00 broadcast 10.223.12.255
    ether 0:21:28:f1:95:26
    vsw1501001: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 3
    inet 10.220.128.9 netmask ffffff80 broadcast 10.220.128.127
    ether 0:14:4f:fa:33:8b
    root@gp-cpu-suh004 # netstat -nr
    Routing Table: IPv4
    Destination Gateway Flags Ref Use Interface
    default 10.220.128.1 UG 1 7
    10.220.128.0 10.220.128.9 U 1 5 vsw1501001
    10.223.0.0 10.223.12.1 UG 1 2
    10.223.12.0 10.223.12.14 U 1 1 igb0
    224.0.0.0 10.220.128.9 U 1 0 vsw1501001
    127.0.0.1 127.0.0.1 UH 8 261 lo0

    Yes, I can connect to the vswitch interface on the control domain. I didn't specify any PVID because my understanding is that PVID will tag any frame with the PVID VLAN by default. basically the PVID for this interface is 1.
    Here's the VNET config for the other LDOM in the RAC cluster:
    VSW
    NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
    primary-vsw-mgmt 00:14:4f:f9:91:fa igb1 0 switch@0 1 1 1500 on
    primary-vsw0 00:14:4f:fa:8e:cf aggr1 1 switch@1 1 1 1501,1601,10,11 1500 on
    NETWORK
    NAME SERVICE ID DEVICE MAC MODE PVID VID MTU LINKPROP
    vnet1 primary-vsw-mgmt 0 00:14:4f:fb:65:6d 1
    vnetprod primary-vsw0 1 00:14:4f:fa:2b:02 1501
    vnethb primary-vsw0 2 00:14:4f:f8:12:c1 10
    Thanks for reviewing my configuration.

Maybe you are looking for

  • An accounting document is not required for this billing document

    Hi, While releasing the billing document to accounting the error is coming like "An accounting document is not required for this billing document" Diagnosis: The billing document has the net value '0' and does not create an accounting document. Despi

  • I had a power outage while updating my Apple TV, now it only blinks

    I had a power outage while my Apple TV was updating, now it only blinks

  • Html code in JButton not working

    hi all, i wrote html code in JButton,but it's not working,it is displaying all the code what i have placed in the html tag.this message is displaying in button. "<html><STYLE=\"font-family: Dialog; font-size: 12pt\"><center>Current<br>Date</center></

  • Here's a bit of a gotchya!

    So isn't it great that we can install on two machines now and use one at a time of course? Anyway, I thought I would utilize the ability to share my various presets and KCs between my machines, when I discovered that I couldn't. (was trying to simply

  • Disabling menu option

    Hi,     I want to disable the menu option dynamically for certain condition, can anybody please say the procedure. Thanks in Advance