RMAN shared_pool or large_pool

Hi, I want RMAN to use LARGE_POOL to allocate buffers instead of SHARED_POOL.
I use :
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
On Windows 2000.
SQL> show parameters large_
NAME TYPE VALUE
large_pool_size big integer 52M
SQL> show parameters io_slaves
NAME TYPE VALUE
backup_tape_io_slaves boolean FALSE
dbwr_io_slaves integer 1
So after reading notes : 134214.1 47326.1 and 73354.1 I thought that RMAN will use the large_pool but when I check using:
select * from v$sgastat where pool='large pool';
POOL NAME BYTES
large pool krcc extent chunk 2068480
large pool PX msg pool 206208
large pool CTWR dba buffer 385024
large pool free memory 51866240
and run a RMAN backup, the free memory does not decrease,
but
select * from v$sgastat where pool='shared pool' and name='free memory' decrease during backup and increase when RMAN finished.
So from my point of views RMAN still use the shared_pool.
Did I miss something or miss understood something ?
Regards

Hi Aron, no BACKUP_TAPE_IO_SLAVES = FALSE because I use disks backup only.
I found in note 336313.1 that my sizing for large_pool_size was not enought:
LARGE_POOL_SIZE = (No:channels * (16 + 4)) +16 Mb
I use 2 disk channels so my 52Mb was not good I increase to 60Mb
SQL> show parameters larg
NAME TYPE VALUE
large_pool_size big integer 60M
But the result is still the same when RMAN run :
SQL> select * from v$sgastat where pool='large pool';
POOL NAME BYTES
large pool krcc extent chunk 2068480
large pool PX msg pool 206208
large pool CTWR dba buffer 385024
large pool free memory 60254848
I can find KSFQ buffer in this pool.
when I do :
SQL> select * from v$sgastat where name like '%KSFQ%';
POOL NAME BYTES
shared pool X$KSFQP ANCHOR 52
shared pool KSFQ buffer pool 2376
We can see that only few bytes are allocated in the shared_pool.
I have no errors in the alert.log during backup nor at RMAN level.
I just want to know how to check where RMAN buffers are allocated.
Regards

Similar Messages

  • Interface RMAN with BACKUP EXEC

    Hi,
    I want to backup my database on tape with backup exec but i don't know the parameters to put on init.ora.
    Thanks

    Possibly 2 parameters (depends on the environment, refer to your MML documentation):
    RMAN utilizes the LARGE_POOL area of the SGA for allocating
    memory for input/output buffers.
         The LARGE_POOL is only used if I/O Slaves are specified by one or
    both of the initialization parameters DBWR_IO_SLAVES or BACKUP_TAPE_IO_SLAVES.
    If DBWR_IO_SLAVES has a non-zero value and/or BACKUP_TAPE_IO_SLAVES is set to TRUE,
    then RMAN uses the LARGE_POOL because the I/O Slave Processes must coordinate their
    buffer read/writes in a common area. If no value for LARGE_POOL_SIZE is set in the init.ora file,
    and if I/O slaves are configured to be used, then RMAN uses the SHARED_POOL for
    input and output buffers. This can put severe strain on the Shared Pool,
    and should be avoided. This is often indicated by RMAN receiving an ora-4031
    error from the target database.
    Werner

  • The old allowing oracle 3GB virtual memory on windows 2003 server question?

    Hi all,
    I have a 9.2.0.7.0 database on windows 2003 server (32bit). 4 dual core cpu's and 16GB of Ram.
    I have set .use_indirect_data_buffers=TRUE and *._enable_NUMA_optimization=FALSE.
    The db_block_buffers is set at 4GB.
    Shared_pool 200MB
    Large_pool 56MB
    Java pool 56MB
    PGA is currently at 400MB
    AWE_WINDOW_MEMORY is set at 720MB (which is the lowest I can set it)
    At the moment there are various jobs running on the database and no users logged on and the virtual memory is at 1.8GB.
    The problem is as soon as the users logs onto the DB the virtual memory goes over 2GB and we see the error 'ORA-04030: out of process memory when trying to allocate 2416 bytes'.
    Now I have edited the boot.ini with the following parameters:
    multi(0)disk(0)rdisk(0)partition(1)\WINNT="UBS WSP - Wintel Server Platform with PAE" /fastdetect /PAE /4GT
    because the /3GB parameter switch started the server with lots of errors.
    The oracle.exe process still seems unable to go over the 2GB limit with getting 'ORA-04030' errors.
    Can someone tell me if I have missed anything? Or a reason why oracle is not using the switch?
    TIA
    Eddy

    Satish,
    see metalink Note:1036312.6 : Utilizing Up to 3GB Virtual Memory on Windows.
    it says :
    "The 32-bit versions of the Windows® 2000 Advanced Server and Windows NT Server 4.0, Enterprise Edition, operating systems were the first versions of Windows to provide applications with a 3-GB flat virtual address space, with the kernel and executive components using only 1 GB. In response to customer requests, Microsoft has expanded the availability of this support to the 32-bit version of Windows XP Professional and all 32-bit versions of Windows Server™ 2003."
    of course, we mustn't be mistaken with the AWE switch (/PAE) that is not available for standard edition.
    http://support.microsoft.com/kb/291988 ==> tells more about what can be supported
    regards,
    marc

  • Recommended size for SGA.

    Hi All,
    I need to know what will be the recommended size for the SGA.
    how to calculate the MAX size for sga?
    its an interview question.
    Please help?

    SGA is composed of buffer_cache, shared_pool, java_pool, large_pool etc. How much memory they need depends on the number of users, the number of different sql statements, the size of the plsql packages, the size of the database, the type of query etc.
    You size SGA to get the best performance you can on the server based on what you need to run. There is no rule or formula, just make it as big as possible to give the best performance without causing the server to use paging.
    The Max size will depend on how much memory is on the server, the OS you are running, and whether you are using 32 or 64 bit Oracle.
    Message was edited by:
    rgeier

  • SAG_TARGET

    Hi,
    If we set sga_target= 5gb in initilization parameter, do we need to set pga_aggregate_target ,shared_pool and large_pool values or no need to set?
    I belive if we set sga_target , no need to set remaning values.oracle internally assigine values to each pool.
    If we set sga_target and pga_aggregate_target, will it cause for performance issue?
    I am asking this question just for conformation, have little bit doubt.
    Please give your comments.
    Thanks,

    Once you have set a value to the SGA_TARGET instance parameter, you may leave unset these parameters
    shared_pool_size
    large_pool
    java_pool_size
    db_cache_size (default cache, not segmented nor different block sizes)
    Oracle will automatically tune them.
    You must define
    DB_<KEEP/RECYCLE>CACHESIZE
    DB_nK_CACHE_SIZE (non default block size)
    LOG_BUFFER
    STREAMS_POOL_SIZE
    Fixed SGA is not tuned by this parameter.
    pga_aggregate_target is not considered for Automatic memory management.
    Please read the Memory Architecture Chapter from the Concepts manual for further details.
    ~ Madrid.

  • Rman WIth Large_pool

    Hi ALL,
    I read, Oracle suggest to use Large_pool for Rman BAckups, so we configured the Database with Large Pool and its working Fine.
    BUt My question is, if we are not configure the large Pool, then with memory oracle will use for RMAN.
    If its shared_pool, then kindly tell me which memory part in shared Pool will use by RMAN.
    Regards
    S.Senthil Kumar

    where are you backup going ?? disk or tape ??
    here is some more info...if going to tape
    Allocation of Tape Buffers
    If you backup to or restore from an sbt device, then by default the database allocates four buffers for each channel for the tape writers (or reads if doing a restore). The size of these buffers is platform dependent, but is typically 256K. This value can be changed using the ALLOCATE or SEND command using the PARMS and the BLKSIZE option.
    RMAN allocates the tape buffers in the SGA if I/O slaves are being used, or the PGA otherwise.
    If you use I/O slaves, then set the LARGE_POOL_SIZE initialization parameter to set aside SGA memory dedicated to holding these large memory allocations. This prevents RMAN I/O buffers from competing with the library cache for SGA memory. If I/O slaves for tape I/O were requested but there is not enough space in the SGA for them, slaves are not used, and a message appears in the alert log.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmtunin.htm#BRADV170

  • Why sum of  shared_pool, large_pool. java_pool  does not match with "Variab

    Hi,
    See the SQL output below.
    1. What are all the SGA_DYNAMIC_COMPONENTS ( ie. shared_pool, large_pool. java_pool , etc)
    goes into the SGA "Variable Size" ?
    2. Why sum of shared_pool, large_pool. java_pool does not match with "Variable Size" of SGA ?
    SQL Output:
    =========
    SQL> show sga
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145750508 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    SQL> select component,current_size from v$sga_dynamic_components;
    COMPONENT CURRENT_SIZE
    shared pool 83886080
    large pool 8388608
    java pool 50331648
    streams pool 0
    DEFAULT buffer cache 25165824
    KEEP buffer cache 0
    RECYCLE buffer cache 0
    DEFAULT 2K buffer cache 0
    DEFAULT 4K buffer cache 0
    DEFAULT 8K buffer cache 0
    DEFAULT 16K buffer cache 0
    DEFAULT 32K buffer cache 0
    OSM Buffer Cache 0
    13 rows selected.
    SQL> select 83886080 + 8388608 + 50331648 from dual;
    83886080+8388608+50331648
    142606336

    In the "Variable Size" size you will have the free memory of SGA_MAX_SIZE too.
    Aron

  • Parallel processing in large_pool

    How can you set the parallel processes to use the large_pool instead of the shared_pool on an 11gR2 database? Pre 10g, parallel_automatic_tuning would set the large_pool for processing by paralel processes. Pparallel_automatic_tuning is deprecated since 10g. Also, I know that setting the PXuse_large_pool enables parallel processing in the large_pool. If PXuse_large_pool and parallel_automatic_tuning is set to FALSE and ASSM is disabled (sga_target=0), then what else can cause parallel processing to use large_pool?

    Large Pool Sizing
    Sizing the large pool can be complex. The large pool, if configured, must be at least 600 kilobytes in size. Usually, for most MTS applications, 600 is enough. However, if PQO (parallel query option) is also used in your Oracle8,Oracle8i, or Oracle9i environment, then the size of the large pool will increase dramatically. The V$SGASTAT dynamic performance view has a new column in Oracle8 called POOL. It is used to contain the pool area where that particular type of object is being stored. By issuing a summation select against the V$SGASTAT view, a DBA can quickly determine the size of the large pool area currently being used.
    SELECT name, SUM(bytes) FROM V$SGASTAT WHERE pool='LARGE POOL' GROUP BY ROLLUP(name);
    The above select should be used when an “ORA-04031:Unable to allocate 16084 bytes of shared memory (‘large pool’, ‘unknown object’, ‘large pool hea’, ‘PX large pool’)” error is received during operation with a large pool configured (the number of bytes specified may differ). When the above select is run, the resulting summary number of bytes will indicate the current size of the pool and show how close you are to your maximum, as specified in the initialization parameter LARGE_POOL_SIZE. Generally, increasing the large_pool by up to 100 percent will eliminate the ORA-04031 errors.
    In an undocumented (as of this writing) bug in 8.1.7.1 if you have large complex SQL statements, such as a 15 table join, and nothing to force large pool usage you can get excessive CPU times, ORA-04031 and ORA_01037 errors. If you get ORA-04031, or ORA-01037 errors and aren't using the large pool try turning on parallel query by setting the parallel query processes to minimum values to force use of the large pool.

  • RMAN performance query

    Hi experts,
    Could you please recommend some information for better rman performance
    what i know is
    1. using duration parameter
    2. sizing large_pool
    3. i/o slaves
    Please mention any other point i have missed out.
    regards,
    shaan

    Check Tuning Backup and Recovery.

  • LARGE POOL and RMAN

    Hi,
    Because I use RMAN I decided to configure Large Pool. It is said, that RMAN should use this area if it's defined. But im my system statistics for LargePool are constant - there is always only empty space, no blocks are allocated by RMAN. Could someone tell me what's wrong? Why my RMAN still uses shared pool and no large?
    Regards,
    Kuba

    that was an interesting question, after checking in metalink this seems to be myth that if you configure large_pool rman will use it. (the problem with oracle documentation is it conveniently forgets to qualify the conditions).
    "The LARGE_POOL is only used if I/O Slaves are specified by one or both of the initialization parameters DBWR_IO_SLAVES or BACKUP_TAPE_IO_SLAVES."
    so in your case may be you have not using these parameters, that maybe the reason why RMAN is not using Large_pool.
    check metalink note : 134214.1 for more RMAN myths.
    which leaves us wondering...why can't these information be made available in the public documentation in the form of short notes or caveats???

  • RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: [kccsbck_first], [2], [2349545192]" on DB startup

    Hi All,
    DB:11.2.0.3.0
    OS: Sun Solaris SPARC 64 bits
    I am facing an issue -  RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: , , " on DB startup. Restored from RMAN backup DB test2 to DB test1.
    <p mcekeep="true">  $ sqlplus / as sysdba
    <p mcekeep="true">   SQL*Plus: Release 11.2.0.3.0   Production on Sun Oct 6 09:31:28 2013
    <p mcekeep="true">   Copyright (c) 1982, 2011,   Oracle.  All rights reserved.
    <p mcekeep="true">   Connected to an idle instance.
    <p mcekeep="true">  
    SQL> startup
    ORACLE instance started.
    Total System Global Area 4277059584 bytes
    Fixed Size                  2166160 bytes
    Variable Size            1493176944 bytes
    Database Buffers         2768240640 bytes
    Redo Buffers               13475840 bytes
    ORA-00600: internal error code, arguments: , , ,
    SQL> exit
    DB test2 database validated:
    RMAN> validate Database;
    No issues reported.
    Could anyone please let me the what's the cause of this error
    Thanks for your time
    Regards,
    user10088255

    HI,
    CASE : I
    C:\>set ORACLE_SID=xxxx
    C:\>sqlplus sys/XXXXX@rosen as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area   3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                2080377408 bytes
    Database Buffers           1325400064 bytes
    Redo Buffers                   16007168 bytes
    ORA-00600: internal error code, arguments: [kccsbck_first], [1], [3978145973],
    Solution:   AFTER GETTING  ORA-00600, SHUT THE DATABASE AND STARTUP IT INTO MOUNT STAGE  AND  THEN ALTER  DATABASE   TO OPEN STAGE .
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                 2080377408 bytes
    Database Buffers           1325400064 bytes
    Redo Buffers                    16007168 bytes
    Database mounted.
    SQL> alter database open;
    Database altered.
    SQL> select name,open_mode from v$database;
    NAME      OPEN_MODE
    ROSEN     READ WRITE
    CASE :: II
    C:\>sqlplus sys/XXXX@royalton as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:37:37 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                  1979714112 bytes
    Database Buffers            1426063360 bytes
    Redo Buffers                  16007168 bytes
    ORA-00600: internal error code, arguments: [kccsbck_first], [1], [73515151],[], [], [], [], [], [], [], [], []
    Solution :  As in above case, I have started the database in mount and then alter it to the open mode but it doesnot work out. After some analysis ,troubleshooting and googling, we have decided to flush the shared pool  component of the SGA . So, we have started the database in mount stage and then flush the shared pool and further alter it to open stage . Below are the steps performed to solve this issue .
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    C:\>set ORACLE_SID= royalton
    C:\>sqlplus sys/xxxxxxxx@royalton  as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 3423965184 bytes
    Fixed Size                     2180544 bytes
    Variable Size                 2080377408 bytes
    Database Buffers            1325400064 bytes
    Redo Buffers                  16007168 bytes
    Database mounted.
    SQL> alter system flush shared_pool;
    SQL> alter database open
    Database altered.
    SQL> select name,open_mode from v$database;
    NAME            OPEN_MODE
    ROYALTON        READ WRITE
    Conclusion : Though this is not the solution but a workaround to solve ORA-00600  which is having same argument as above, then you may follow the above steps.
    Please chek this link : One Can Succeed at Almost Anything For Which He Has Enthusiasm...: ORA-00600: internal error code, arguments: [kccsbck_f…

  • RMAN, Shared Pool

    Hi,
    Pardon my ignorance, but I have 3 basic questions please:
    1- What these commands are doing:
    sql  'alter tablespace test2 offline';
    switch tablespace test2 to copy;
    recover tablespace test2;
    sql 'alter tablespace test2 online';I have found above in a script, and confused about it.
    2- If I have set my memory_taget to 3G and memory_max_target to 3G, and then I set shared_pool to 50M, then does it mean that shared pool is fixed at 50M and cannot extend beyond that by Oracle automatically, if need arises?
    3- I have this line from RMAN report
    File Key     TY LV S Ckp SCN    Ckp Time  #Pieces #Copies Compressed Tag
    1    5       B  F  A 631092     04-NOV-09 1       1       YES        TAG20031104T195949What is the meaning of column TY, LV, S, and Pieces?
    Thanks for your patience.

    1- What these commands are doing:
    sql  'alter tablespace test2 offline';
    switch tablespace test2 to copy;
    recover tablespace test2;
    sql 'alter tablespace test2 online';I have found above in a script, and confused about it.Your code should be like this. In this you are moving tablespace test2 to a new diskgroup called as '+DATANEW'.
    backup as copy tablespace test2 format '+DATANEW';
    sql  'alter tablespace test2 offline';
    switch tablespace test2 to copy;
    recover tablespace test2;
    sql 'alter tablespace test2 online';regards
    2- If I have set my memory_taget to 3G and memory_max_target to 3G, and then I set shared_pool to 50M, then does it mean that shared pool is fixed at 50M and cannot extend beyond that by Oracle automatically, if need arises?No, Oracle will not restrict shared pool to 50M, but will use the space from 3G, if available, on need basis. But why set shared pool to so low value, as compared to your total SGA?
    regards

  • What init.ora parameters needed for RMAN,

    Hi,
    We would like to implement RMAN at our site and like to know what are the parameters required in init.ora for using RMAN, where can I find more info regarding the tuning of these parameters ? Please reply..
    Thanks a lot in advance,
    Sreedhar

    Tammy,
    Thanks for your reply. I didn't post the exact question, let me do it again.
    I need to determine the 'large pool' size to be implemented for using RMAN. (We already have RMAN running).
    I need to know what parameters I need to set in init.ora for large_pool to work efficiently in conjunction with RMAN. How do I calculate the required size.
    I found some material on this, here, but it's confusing.
    By default LARGE POOL = 0, unless PARALLEL_AUTOMATIC_TUNING = TRUE, (in which case LP will be set automatically). Also, set LARGE_POOL_MIN_ALLOC to a non-zero value to enable a minimum allocation with LP.
    When I read document (ID 73079.1) it gets more confusing, as whether to take MULTIBLOCK-READ-COUNT value or db_file_direct_io_count into consideration.
    Any help is appreciated.
    Thanks again, Sreedhar
    null

  • How can i do a RMAN backup of my database from the network ?

    i'm using oracle 8i.1.7.3 with win server 2003
    i want to know how can i do a RMAN backup of my database (sever machine A) from the network.
    i'd like to save the backup in another machine (the same LAN, the same OS ).
    to do that i've mapped a logical device in my comptur (z):
    when i run rman command i got this error:
    channel ORA_DISK_1: starting piece 1 at .......
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command ON ORA_DISK_1 channel at .......
    00
    ORA-19504: failed TO CREATE file "\\remote\save\"
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 123) The filename, directory name, or volume label syntax is inco
    rrect.

    Hi,
    ORA-19504: failed TO CREATE file "\\remote\save\"make sure you have created this directory and change it's ownership (chown command)to oracle.
    also make sure that oracle user has permission to write to this direcotry (chmod command)
    hope this helps
    cheers, walrus

  • Issue in configuring Standby Database from Active database in 11g by RMAN

    POSTED THE SAME IN DATA GUARD CATEGORY UNABLE TO DELETE
    Hi All,
    I am facing issue in creating the standby database from Active database using RMAN and getting the below issue after i executed the duplicate command.
    Version of Database:11g(11.2.0.1.0)
    Operating System:Linux 5
    Error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/21/2012 17:26:52
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Primary Database Entries:
    Tnsentry:
    SONYPRD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)(UR=A)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listner Entry:
    SID_LIST_SONYPRD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtproc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = SONYPRD)
    (GLOBAL_DBNAME = SONYPRD)
    Auxiliary Details:
    Tns Entry:
    SONYPRD =
    (DESCRIPTION =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11g.localdomain)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listener Entry in auxiliary:
    SID_LIST_SONYPRDSTBY =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = SONYPRDSTBY)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = SONYPRDSTBY)
    TNSPING from Primary DB:
    [oracle@oracle11g ~]$ tnsping sonyprdstby
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:39:28
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprdstby)(UR=A)))
    OK (0 msec)
    TNSPING from Auxuliary server
    [oracle@oracle11gstby ~]$ tnsping sonyprd
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:40:19
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprd.localdomain)))
    OK (10 msec)
    Script Used for duplicate:
    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate auxiliary channel stby type disk;
    duplicate target database for standby from active database
    spfile
    parameter_value_convert 'sonyprd','sonyprdstby'
    set db_unique_name='sonyprdstby'
    set db_file_name_convert='/sonyprd/','/sonyprdstby/'
    set log_file_name_convert='/sonyprd/','/sonyprdstby/'
    set control_files='/u01/app/oracle/oradata/control01.ctl'
    set log_archive_max_processes='5'
    set fal_client='sonyprdstby'
    set fal_server='sonyprd'
    set standby_file_management='AUTO'
    set log_archive_config='dg_config=(sonyprd,sonyprdstby)'
    set log_archive_dest_2='service=sonyprd ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=sonyprd'
    Tried the script from both Primary and auxiliary but no luck
    [oracle@oracle11gstby admin]$ rman target sys/welcome@sonyprd auxiliary sys/*****@sonyprdstby
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 21 17:26:24 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: SONYPRD (DBID=3131093559)
    connected to auxiliary database: SONYPRD (not mounted)
    Listener Status from primary:
    [oracle@oracle11g ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:08:56
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 20-DEC-2012 17:42:17
    Uptime 1 days 0 hr. 26 min. 41 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "sonyprd.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    Service "sonyprdXDB.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Listener Status from Standby when database bring to Nomount state:
    [oracle@oracle11gstby admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:11:54
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 21-DEC-2012 16:13:47
    Uptime 0 days 1 hr. 58 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11gstby/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11gstby)(PORT=1521)))
    Services Summary...
    Service "sonyprdstby" has 1 instance(s).
    Instance "sonyprdstby", status BLOCKED, has 1 handler(s) for this service...
    The command completed successfully
    Please provide any work arounds to proceed further in creating the standby database.
    Thanks,
    Ram.
    Edited by: 895188 on Dec 21, 2012 5:50 PM
    Edited by: 895188 on Dec 21, 2012 6:09 PM
    Edited by: 895188 on Dec 21, 2012 6:22 PM

    Hello;
    Script has to be run from auxiliary.
    Great details, but what I don't see is how you connect in RMAN.
    Example
    Start RMAN
    $ORACLE_HOME/bin/rman target=sys/@recover2 auxiliary=sys/@reclone
    Recovery Manager: Release 11.2.0.2.0 - Production on Wed Feb 22 14:50:31 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: RECOVER2 (DBID=3806912436)
    connected to auxiliary database: RECLONE (not mounted)Nothing in your tnsnames or listener jumps out as wrong. I copied them into my text editor and compared against my working ones.
    Generally for active duplication I start the future standby on a pfile NOMOUNT.
    Auxiliary Instance Initialization Parameters Needed :
    DB_NAME
    CONTROL_FILES
    DB_BLOCK_SIZE
    ( add extra parameters like DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT instead of using the SET command - clean up standby spfile right after duplication )
    Then start RMAN and finally run a single line duplication command.
    $ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
    RMAN>duplicate target database for standby from active database NOFILENAMECHECK;Best Regards
    mseberg

Maybe you are looking for

  • Sick of syncing problems

    hey apple. get your act together! the one huge plus about having everything in the apple ecosystem is how it all synced seamlessly. not anymore. every other attempt at syncing music will either 1. lose the album art, 2. not update checked playlists e

  • Programme enrelment

    dears i have purchase the IPhone developer program and continue all steps and i received mail confirmation, but unfortunately i don't know the next Steps need to follow it in order to use the ID to build the application (for now i can just run the ap

  • Get Started with Oracle 9i

    I am requesting information on Getting Started with Oracle 9i. Like the information, you have on your website for Get Started with 10g.

  • My question has to do with the apple ID

    Hi i have bought an Iphone 5 from a customer at my store I have a receipt that was giving to me and him by myself and the customer forgot to give me the Icloud Id and password and now i'm stuck with a non usable phone. Is there anyway that i can reso

  • How do I cancel a subscription which I wasn't aware I had subscribed to!

    Hi I had a 30 day free trial with the Daily Record newspaper.  I wasn't aware the free trial had ended, I have now been charged £9.99 for the renewal of the subscription to this newspaper.  How do I cancel this subscription?  Thank you.