Auxiliary instance timeout

Hi Experts,
I'm creating a database of duplicate on oracle 10.2.0 on XP on a remote machine.

first host (suman) is the source and the second host (sumanr) is target means duplicate. in 2nd host, I have installed the oracle software, created the pswd, pfile, the instance file and started in nomount. In home 1st DB is open and ongoing, now I try to connect to the 2nd host instance but get the following error...
RMAN> connect target

connected to target database: ORCL (DBID=1255758361)

RMAN> connect auxiliary sys/oracle@stby

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12170: TNS:Connect timeout occurred
the host "stby" chain is to connect to the 2nd DB host.

I did not mention any parameter of timeout in sqlnet.ora

Any help will be appreciated

Rgds

Always try to clone instance to the. as

RMAN target sys/***@orcl auxiliary.

Error: ORA-12170 (ORA-12170)
Text: TNS: Connect timeout occurred
---------------------------------------------------------------------------
Cause: The server is stopped because the connection with a
customer did not complete in the allotted time interval. This
may be the result of network/system delays; or it can mean
that a malicious client tries to cause a denial of Service
attack on the server.
Action: If the error occurred because of a slow system/network,
Reconfigure the SQLNET. Setting INBOUND_CONNECT_TIMEOUT in
SQLNET.ora to a higher value. If a malicious client is suspected,
Use the address in sqlnet.log to identify the source and to limit
access. Note that the registered addresses are maybe not reliable because they can
be forged (e.g. TCP/IP).

Tags: Database

Similar Questions

  • RMAN-05520: name of database incompatibilities, auxiliary instance a SANDBOX, command specified SANDBOX

    Hello

    I get error rman-05520 while trying to replicate the database by using the active database method.  You want to clone the dev to sandbox without catalog database using the current database.  Target and auxiliary databases are connected, kept auxiliary in nomount pfile, then use command below, but get error below.  Can anyone help on this.

    Thank you

    RMAN > current database of target for sandbox database duplicate nofilenamecheck.

    From 30 November 15 Db double

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_AUX_DISK_1

    channel ORA_AUX_DISK_1: SID = device type 1510 = DISK

    allocated channel: ORA_AUX_DISK_2

    channel ORA_AUX_DISK_2: SID = device type 1887 = DISK

    allocated channel: ORA_AUX_DISK_3

    channel ORA_AUX_DISK_3: SID = device type 2264 = DISK

    allocated channel: ORA_AUX_DISK_4

    channel ORA_AUX_DISK_4: SID = 2641 type device = DISK

    allocated channel: ORA_AUX_DISK_5

    channel ORA_AUX_DISK_5: SID = 3018 type device = DISK

    allocated channel: ORA_AUX_DISK_6

    channel ORA_AUX_DISK_6: SID = device type 3395 = DISK

    allocated channel: ORA_AUX_DISK_7

    channel ORA_AUX_DISK_7: SID = device type 3772 = DISK

    allocated channel: ORA_AUX_DISK_8

    channel ORA_AUX_DISK_8: SID = device type 4149 = DISK

    allocated channel: ORA_AUX_DISK_9

    channel ORA_AUX_DISK_9: SID = device type 4526 = DISK

    allocated channel: ORA_AUX_DISK_10

    channel ORA_AUX_DISK_10: SID = device type 4903 = DISK

    allocated channel: ORA_AUX_DISK_11

    channel ORA_AUX_DISK_11: SID = 5280 type device = DISK

    allocated channel: ORA_AUX_DISK_12

    channel ORA_AUX_DISK_12: SID = device type 5656 = DISK

    allocated channel: ORA_AUX_DISK_13

    channel ORA_AUX_DISK_13: SID = 3 type of device = DISK

    allocated channel: ORA_AUX_DISK_14

    channel ORA_AUX_DISK_14: SID = 379 type device = DISK

    allocated channel: ORA_AUX_DISK_15

    channel ORA_AUX_DISK_15: SID = 757 type device = DISK

    allocated channel: ORA_AUX_DISK_16

    channel ORA_AUX_DISK_16: SID = 1134 type device = DISK

    content of Script memory:

    {

    clone of SQL "create spfile from memory";

    }

    execution of Script memory

    SQL statement: create spfile memory

    content of Script memory:

    {

    clone to stop immediately;

    startup nomount clone;

    }

    execution of Script memory

    Instance Oracle to close

    connected to the auxiliary database (not started)

    Oracle instance started

    Total System Global Area 36344233984 bytes

    Bytes of size 2227112 fixed

    16911434840 variable size bytes

    19327352832 of database buffers bytes

    Redo buffers 103219200 bytes

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command duplicate Db at 30/11/2015-14:57:21

    RMAN-05501: abandonment of duplicate target database

    RMAN-05520: name of database incompatibilities, auxiliary instance a SANDBOX, command specified SANDBOX

    Make sure remote_login_passwordfile = 'EXCLUSIVE '.

    and pfile orapwd is sycn with primary

  • Purpose of the auxiliary instance in TSPITR

    Need help!
    I read Database Backup and Recovery Guide 11 g but I can't uderstand why we need an auxiliary instance to run tspitr.
    We can complete the recovery of the space within the same instance, why it is impossible for the tspitr of?

    Here Re: Question on recovery of Hemant K Chitale said: "+ you can't recover a tablespace to an SCN that is lower than the rest of the database. + ». Can someone help me uderstand why?

    In this message Re: scn of the data after the restore file shows that when we turn tablespace offline, its YVERT becomes less than the other tablespaces SNA after awhile and when we spend it online "+ it will not redo it will adopt just current SNA +".

    Published by: jonny.engineer on 23.04.2013 21:39

    We can complete the recovery of the space within the same instance, why it is impossible for the tspitr of?

    A TSIPTR is an incomplete recovery. Oracle does not allow you to run a database as to, say, stop and start, the data files are in different SNA. All data files must correspond to the same point in time. (TSPITR makes a compatible database - the auxiliary instance - and then uses the Transportable Tablespace for copying the tablespace and plug it into the original database. At this point, the Checkpoint SCN of data files to reset the tablespace GET transported to be consistent with the rest of the database).

    Here Re: Question on recovery of Hemant K Chitale said: "You can not retrieve a tablespace to an SCN that is lower than the rest of the database.". Can someone help me uderstand why?

    See my response above. A database cannot have data files that are from different points in time (SNA). The exception is when portable tablespaced is used - in this case the SNA control point transported data files are reset to be consistent with the database.

    In this message Re: scn of the data after the restore file shows that when we move tablespace offline, its YVERT becomes less than the other tablespaces SNA after awhile and when we turn online "will not apply redo it will adopt just current SNA.

    It's a tablespace which belongs to the database. Activity against the tablespace is interrupted once done the offline. The database knows that the data files are frozen and have no change. Therefore, it is easy for the database reset the SNA control point when the LINE is made.

    Hemant K Collette

  • [ADF, JDev12.1.3] How/where to set the session timeout

    Hallo,

    After a few minutes of inactivity, the browser displays a message to inform that the session is not more active and only OK been must be clicked to refresh the page.

    If a dialog box "btf" has been opened on the left, it becomes...

    I would like to know what is the right place/method to set a deadline.

    If possible I would like that when the timeout checks, the application performs a redirect to a page I like (for example the login page).

    The application of ADF Essentials and is deployed to the GlassFish application server.

    My concern is... what should happen to the open operation / pending when the time-out occurs?

    For example, the user is modifying an af:table but it has not clicked validate or cancel...

    Thank you

    Federico

    I would like to know what is the right place/method to set a deadline.

    For java web applications, you can set the session timeout in the web.xml file. (this is the global settings associated with all sessions)

    If you wish, you can set the timeout of session by program (and this is related only to the current http session).

    If possible I would like that when the timeout checks, the application performs a redirect to a page I like (for example the login page).

    http://fortunefusionminds.blogspot.com/2014/04/how-to-redirect-to-custom-page-whenever.html

    ADF: Session expires management redirect to login page | Bungbutan

    ADF developers World: Detection and handling of user session expiry

    My concern is... what should happen to the open operation / pending when the time-out occurs?

    Well, session is destroyed, it will destroy all instances of AM and do rollback.

    See also: Andrejus Baranovskis Blog: ADF BC Application Module Instance Timeout and reliance Timeout of Session Web

    Dario

  • RMAN duplicate - instance parameters

    Hi all.

    I want to update the test with the new backup of production environment in the oracle 10g database.

    We have configured standby and its synchronization with prod. So we took the last backup of database backup and will use to update the test environment.

    Prod is a 2 node rac and test is also a two node rac.

    prod of different use asm disk group and asm disk group test different uses.

    so moved after backup, backups to the test environment.

    A backup of spfile test.

    stop the test of two rac nodes after you change the setting "cluster_database = false" spfile parameter.

    I am little confused on settings to remove and not be removed in pfile to start the auxiliary instance.

    We can delete the settings associated with these parameters and rac also

    cluster_database_instances = 2

    * .cluster_database = TRUE

    kindly let me know

    What value can I give for the parameters from the location is different in the prod to test and how to order duplicate manage these setting to duplicate the database

    control_files

    db_create_file_dest =

    db_create_online_log_dest_1

    db_create_online_log_dest_2

    and I'll use the database of target in doubles at < aux_db_name >

    Concerning

    Hello

    I received responses from this link

    Duplicating a database: Advanced Topics

    Oracle offers link, to use 'db_create_file_dest' and 'db_create_online_log_dest_n' when duplicating a database that uses the OMF and not to use the following settings above

    control_files, "DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT"...

    Thanks a ton :-)

    Kind regards

    Pradeep

  • Removing instance pool AM

    Hi experts.

    I need help to clarify certain concepts of pool application module.

    What happens with instances of application module and their database connections once they are removed from the pool of the AOS, either because the Instance of Idle Timeout or time Maximum Instance Timeout Live?

    1 are not reserved DB connections immediately returned to the JDBC connection pool? As Andrejus said in his post ([optimization of Oracle ADF AppPool | http://andrejusb.blogspot.com.es/2010/02/optimizing-oracle-adf-application-pool.html]), even after an instance of the application module is removed from the pool, it is still alive and keeps the reserved - DB connection in order to clean it, the maximum life expectancy is defined.
    2. why would want to preserve DB connection after the abduction of instance AM?

    3. don't deleted AM instances never go back in the pool? Alternatively, wait to be garbage collected?

    4. If the Instance Idle Timeout (jbo.ampool.maxinactiveage) is defined as less than the maximum duration of Instance to Live (jbo.ampool.timetolive). What role the latter in AM instance elimination / out DB connection?

    Thank you
    Barbara

    My understanding timetolive applies to AMs unused AMs not all. One exercise from the book of Jobinesh:
    >
    The monitor of the pool uses the following algorithm to remove instances of unused application module. It uses two independent strategies to identify candidates for removal:

    (1) the application module pool instructor will delete all instances of request unused module who lived in the pool for more than 3600000 milliseconds (1 hour) without worrying about the minimum size for the pool. You can override the maximum time to live for a module of the application by setting the jbo.ampool.timetolive configuration setting. The default value is 1 hour. In real life applications, you can use this property. To ignore this property during execution, you can set a value of 1.

    (2) the application module pool instructor will delete all instances of application module that are inactive for 600 000 milliseconds (10 minutes). This cleaning will be stopped when the number of instances in the basin reaches the minimum size available. The timeout of an application module can be configured by using the jbo.ampool.maxinactiveage parameter. The default timeout is 10 minutes.
    >
    Can highlight you when you have determined that it applies at ALL, so I can review it please?

    CM.

  • RMAN-04006: auxiliary database error.

    Hi all

    Get this error when you try to do an RMAN Duplicate command.
    Well, first of all, just try to connect to THE DB fails with this error:

    ORA-12528: TNS:listener: all appropriate instances are blocking new connections


    (1) target to the db is in State of EDITING.
    (2) the DB versions are 11.2.0.2
    (3) file listener is supported by the GRID.

    I looked at a few notes of ML, specially
    Connection to the use of the auxiliary string failed with ORA-12528 [419440.1 ID]
    also this:

    ORA-12528: TNS:listener: all appropriate instances are blocking new connections [301099.1 ID]

    doesn't help at all...

    any ideas?

    RMAN-03002: failure of Db in dual at 13/06/2011 13:25:01
    RMAN-06174: not connected to the auxiliary database
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-04006: auxiliary database error: ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    Well... DATABASE TARGET (script running);

    I always offer to run DUPLICATE ONLY auxiliary instance. No source/target server.

    Instance Oracle to close
    output channel: prmy1

    Because if you connect an auxiliary instance of another remotly server, for the most part, it fails each time as oracle bounces to THE databases (because of internal scripts).
    So I highly recommend to run the script from the auxiliary server no target.

    as

    $ rman target sys/***@prod auxiliary.

    RMAN > duplicate target database to "to the";

    Thank you.

  • RMAN, auxiliary db and blocked listener?

    Hey;

    I am to the point of trying the rman duplication in my study of backup/restore and I ran into a bit of a problem with oracle net.

    Oracle 10g, 10.2.0.1.0, under oracle redhat linux.

    I know rman requires a dedicated server, so I'm in netmgr and tried to create a.

    The listener.ora file has not changed and shows:

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    )
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ocidb1.olearycomputers.com) (PORT = 1521))
    )
    )

    The tnsnames.ora file now has a section for oci3 (auxiliary, hope to be cloned db) as follows:

    OCI3 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ocidb1.olearycomputers.com) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = oci3)
    )
    )


    And who exactly resembles the entrance to oci1 with the exception of the service_name.

    I reload, restart the listener, then "startup nomount" oci3.

    RMAN target / catalog rcat/${mypwd}@oci2

    shows a good connection to the source and the catalog, then:

    RMAN > Connect auxiliary sys/${mypwd}@oci3

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-04006: auxiliary database error: ORA-12528: TNS:listener: all appropriate instances are blocking new connections

    Headset shows the connection as blocked oci3:

    $ lsnrctl status
    [[snip]]
    Service 'oci3' has 1 instance (s).
    Instance 'oci3', LOCKED status, has 1 operation for this service...
    Service 'oci3_XPT' has 1 instance (s).
    Instance 'oci3', LOCKED status, has 1 operation for this service...
    The command completed successfully

    Can someone indicate on what I am to spoil? Net Oracle was my next field of study; However, what little I know, and, more importantly, from what I read, it looks like it's supposed to work

    Thanks for all the tips/advice/suggestions.


    Doug

    Dear dkoleary,

    BLOCKED instance means that the auxiliary instance in the phase nomount. If you mount the database or open it, you can connect via the entry of ID of the Oracle (sqlplus @ oracle_sid).

    You can use the following command on the auxiliary instance, where the primary is defined in the tnsnames.ora.

    # RMAN TARGET SYS/PASSWORD@PRIMARY AUXILIARY /
    

    Hope that helps.

    Ogan

  • Duplicate RMAN with specific backup location

    Hello

    I explain here my architecture:

    -Server Oracle 11.2.0.4 production: prod db with the instance name PROD with RMAN backups on the F: drive

    -Test the Oracle 11.2.0.4 Server: test-db with the instance name TEST with RMAN backups on the F: drive and production available on the G: drive backup drive

    -Customer name: customer

    My goal is to reproduce the production server to the test server instance and I can't achieve this goal. The connection is client-side.

    I do it like this:

    -startup nomount TEST

    -On the client, run the following "rman target sys/pass@PROD auxiliary sys/pass@TEST.

    Then in RMAN, I run the following:

    RUN

    {

    CHANNEL AUXILIARY ALLOCATE ch01 DEVICE TYPE DISK;

    CHANNEL AUXILIARY ALLOCATE ch02 DEVICE TYPE DISK;

    DUPLICATE THE DATABASE TO THE LOCATION OF THE BACKUP TEST "G:\RMAN";

    }

    RMAN does not see my "LOCATION of BACKUP" command because it tries to reproduce the F: drive and can't find the backup files.

    I have the thing like this:

    CH01 channel: reading of the element of backup F:\RMAN\CTRLFILES\CTRL-PROD-C-2267984545-20150826-00

    CH01 channel: ORA-19870: error when restoring full backup, F:\RMAN\CTRLFILES\CTRL-PROD-C-2267984545-20150826-00

    ORA-19505: impossible to identify the file "F:\RMAN\CTRLFILES\CTRL-PROD-C-2267984545-20150826-00 '

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    Single quote, double quote, tried almost everything and RMAN always look for the backup in the F: drive. Can you help me to use the G: drive?

    And at the beginning of this thread someone told me not to connect to the target database.

    You use the clauses unwanted duplicating without connecting to the target database. SPFILE clause is not necessary, but you seem to use it in the block of the RACE.

    Create a simple PFILE with all the parameters required for the auxiliary instance, startup nomount and run the duplicate.

    Also worth db_file_name_convert log_file_name_convert parameters in the PFILE to the auxiliary instance file, run the duplicate.

    run

    {

    CHANNEL AUXILIARY ALLOCATE ch01 DEVICE TYPE DISK;

    CHANNEL AUXILIARY ALLOCATE ch02 DEVICE TYPE DISK;

    DUPLICATE THE DATABASE TO THE LOCATION OF THE BACKUP TEST "G:\RMAN";

    output channel ch01.

    output channel ch02;

    }

    HTH

    Duplication of data without a connection to the target database or catalog of database in Oracle 11 g | Shivananda Rao

    -Jonathan Rolland

  • RMAN cloning daily of the CARS to the NON-RAC

    Hi all

    How can I get a daily updating of Production - database of node 2 CARS to a single instance database. Ideally, I would use as RMAN backup to restore the database rather than duplicate using the current database.

    Please can someone help me with the steps to achieve this?

    Thank you very much

    Details:

    Database production 11.2.0.4 (node 2) RAC on ODA (Oracle Database Appliance) Oracle Linux 5.9

    Backup RMAN in place on PROD - full backup weekly and daily incremental

    I don't think that we have different steps to duplicate cars cars not

    create pfile to auxiliary instance

    Start the database in condition nomount

    Have db_file_name_convert and log_file_name_convert

    Run the command duplicate

    RMAN target sys /@TARGET auxiliary sys /@AUX DEBUG trace = rman.trc

    Also take a look at

    https://blogs.Oracle.com/HA-architecture/entry/clone_rac_database_to_non

  • Link Module and DB App

    I use 11.1.1.6 JDeveloper.

    I have 20 modules app in my application. Each is set up using the weblogic Server Data Source.

    On Weblogic, I configured the Data Source, pooling of max size 50.

    While I tried to load test the application, I found the connection DB grow quickly with users to connect and eat 50 connections with only 10 user sessions.

    I had

    weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException: no resources currently available in the pool

    CentralConnection to allocate to the applications, please increase the size of the pool and try again...

    at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:252)


    Is it assumed that all modules to share the DB connection? seems each module contains a DB data source and never release.

    What configuration I missed?

    Thank you

    You can create of 01:00 and adds the other AMs as nested AMs (but this will also require changes in pageDef files)

    What is the configuration that is optimized for the following scenarios:

    1. 100 concurrent users

    2. top of 1000 concurrent users

    Depends on the definition of 'simultaneous user '. If users are concurrent on db level, then you must have db, WLS datasource and AM pool configured to support connections simultaneous db at the minimum of 100 (or 1000).

    Is they are simultaneous only on the level of the web session (so they access db at the same time), then it can be treated with the smaller number of cases of AM and db connections (but with AM activation/passivation, which can affect performance).

    Here are some tips:

    https://docs.Oracle.com/CD/E24382_01/Web.1112/e16182/bcampool.htm#ADFFD1347

    http://technology.AMIS.nl/2014/07/01/10-tips-for-ADF-application-module-pool-tuning/

    Andrejus Baranovskis Blog: ADF BC Application Module Instance Timeout and addictive Web Session Timeout

    Dario

  • Cloning of boredom

    I can't clone a database.  It worked, but I'm not sure what I'm doing differently now.  First of all I have the database backup.

    BACKUP DATABASE

    FORMAT ' / ora2/adhoc_bkp/HEPRD_5_2_2014_%u.bak'

    TAG HEPRD_ADHOC_2014_05_23

    I think that the backup will be a backupset and compressed it is defined as the default value

    SET UP THE DEVICE TYPE DISK PARALLELISM 3 TYPE OF BACKUP TO COMPRESSED BACKUPSET;

    After the backup I would then sftp files on the server where I want to make the clone

    Then I would start the auxiliary instance using an init file

    STARTUP NOMOUNT PFILE=$ORACLE_HOME/dbs/init2.ora FORCE

    Finally, I was running a double using the following.

    DUPLICATE THE TARGET TO HEUPX DATABASE

    SPFILE

    PARAMETER_VALUE_CONVERT 'HEPRD', 'HEUPX '.

    SET CONTROL_FILES='/m60/oradata/HEUPX/control01.ctl ',' / d60/oradata/HEUPX/control02.ctl',

    ' / x60/oradata/HEUPX/control03.ctl'

    SET DB_UNIQUE_NAME = "HEUPX".

    SET DB_FILE_NAME_CONVERT "/ d10/oradata/HEPRD / ', ' / d60/oradata/HEUPX / ',.

    "/ m10/oradata/HEPRD / ', ' / m60/oradata/HEUPX / ',.

    ' / x 10/oradata/HEPRD / ',' / x 60/oradata/HEUPX /'

    SET LOG_FILE_NAME_CONVERT "/ m10/oradata/HEPRD / ', ' / m60/oradata/HEUPX / '.

    SET DB_RECOVERY_FILE_DEST "/ ora2/FRA.

    # SET DB_RECOVERY_FILE_DEST_SIZE 250 G'

    SET MEMORY_TARGET ' 2147483648 "

    SET MEMORY_MAX_TARGET ' 2147483648 "

    INSTANCE_NAME SET 'HEUPX '.

    LOCATION of BACKUP "/ ora2/adhoc_bkp";

    The problem that I get is that it keeps telling me

    RMAN-05569: backup SPFILE not found in/ora2/adhoc_bkp

    So I don't understand why he can't see the backup.  Is it because I'm doing a backupset?  What Miss me

    Hello

    It would not be able to see the SPFILE in the BACKUP LOCATION ' / ora2/adhoc_bkp "; The BACKUP LOCATION "/ ora2/adhoc_bkp /'."

    You could also LIST BACKUP and see when the last backup SPFILE or first take a quick backup of spfile.

    Kind regards

    Kent D Sorber, OCP

  • Destination different archivelog on the physics of the standby database

    Hello

    Can I set different archivelog destination for the physics of dual standby database? (Because of space issues) How can I do?

    For example, on the site main archivelogs reside in/u01/ORCL/archivelog and I want on phy. side Eve archive dest. under/u08/ORCL/archivelog.

    You can also give LOG_ARCHIVE_DEST_1 in file init Eve, so whenever you start sleep/auxiliary instance automatically done dest_1 refers to/u08/orcl (whereever you want).  So you can have destination archive anywhere but must have the appropriate permissions and location should be available.

    If you want to set a destination, then again you can use the "ALTERNATE" sort clause only when the primary location unavailable or unable to archive, and then, of course, he wrote in the other location you have specified a pfile.

    You can check this

    http://docs.Oracle.com/CD/B28359_01/server.111/b28294/log_arch_dest_param.htm#i91817

  • RMAN DUPLICATE: Use backup or CURRENT database

    Hi all

    I have a database of 32 TB, and about what I've experienced so far, using backup to duplicate the database is similar to the use of the command to RESTORE and RECOVERY manually.

    If I use the option of DATABASE ACTIVE, then I should be concerned about the missing log files?

    Hereby, I mean, text source and target are in ARCHIVELOG MODE anyway.

    Thank you

    To answer your original question, yes you are worried for your missing log file.

    RMAN automatically copies the file to the server in the destination host settings, start the auxiliary instance with server settings file, copy all database files needed and archived redo logs over the network to the destination host and recovers the database.

    If your copy of 32 TB on the network would take more than 1 day (what is your strategy of retention according to your other thread), so what, you won't be able to recover the database.

    And you must mark this thread as a response and continue in your original thread.

  • DUPLICATE TAPE BACKUP DATABASE


    Hello

    I wonder if someone can help me. My environment is Linux, and the Oracle version is 11.2.0.3.0. I'm trying to clone a database from one server to another by using a tape backup (no database). I implemented the appropriate TNS entries, so that the two systems can communicate. I created a password file and a PFILE in the destination server, and I started upward (NOMOUNT) of the instance.

    Initially, I tried the operation from the destination server; I received the error message such as: RMAN-06100: no channel to restore a backup or a copy of the data file 11

    Suspecting that the destination server have not may not be the level of appropriate access to the MLL, I tried the operation from the source server.

    But I am getting: RMAN-06101: no channel to restore a backup or a copy of the control file

    Source database: MM1

    (Cloned) database of destination: MBA

    RMAN script

    ------------------

    target connection.
    connection Assistant sys/***@MBA

    Run {}
    allocate channel 'dev_01' type 'sbt_tape '.
    parms ' ENV = (OB2BARTYPE = SAP, MM1, OB2BARLIST = WYC_CENTRICA_wycvlsapx115_SAP_MM1_ON_Weekly = OB2APPNAME), SBT_LIBRARY = / opt/omni/lib/libob2oracle8_64bit.so ';
    allocate channel 'dev_02' type 'sbt_tape '.
    parms ' ENV = (OB2BARTYPE = SAP, MM1, OB2BARLIST = WYC_CENTRICA_wycvlsapx115_SAP_MM1_ON_Weekly = OB2APPNAME), SBT_LIBRARY = / opt/omni/lib/libob2oracle8_64bit.so ';
    allocate channel 'dev_03' type 'sbt_tape '.
    parms ' ENV = (OB2BARTYPE = SAP, MM1, OB2BARLIST = WYC_CENTRICA_wycvlsapx115_SAP_MM1_ON_Weekly = OB2APPNAME), SBT_LIBRARY = / opt/omni/lib/libob2oracle8_64bit.so ';
    allocate channel 'dev_04' type 'sbt_tape '.
    parms ' ENV = (OB2BARTYPE = SAP, MM1, OB2BARLIST = WYC_CENTRICA_wycvlsapx115_SAP_MM1_ON_Weekly = OB2APPNAME), SBT_LIBRARY = / opt/omni/lib/libob2oracle8_64bit.so ';
    Disc CHANNEL AUXILIARY ALLOCATE c1 TYPE of AIRCRAFT;
    up to the time "to_date('14-aug-2013:16:20','dd-mon-YYYY:hh24:mi')";
    DUPLICATE THE MBA NOFILENAMECHECK TARGET DATABASE;
    output channel c1;
    release the string "dev_01";
    release the string "dev_02";
    release the string "dev_03";
    release the string "dev_04";
    }

    Journal:

    ------

    Recovery Manager: release 11.2.0.3.0 - Production Fri Aug 15 11:27:24 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    RMAN >
    RMAN >
    connected to target database: MM1 (DBID = 1713891644)

    RMAN >
    connected to the auxiliary database: MBA (unassembled)

    RMAN >
    RMAN > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10 > 11 > 12 > > > > > > 18 17 16 15 14 13 >
    using the control file of the target instead of recovery catalog database
    allocated channel: dev_01
    channel dev_01: SID = 188 device type = SBT_TAPE
    channel dev_01: A.06.20/PHSS_42081/PHSS_42082/DPSOL_00448/DPLNX_ Data Protector

    allocated channel: dev_02
    channel dev_02: SID = 17 device type = SBT_TAPE
    channel dev_02: A.06.20/PHSS_42081/PHSS_42082/DPSOL_00448/DPLNX_ Data Protector

    allocated channel: dev_03
    channel dev_03: SID = 191 device type = SBT_TAPE
    channel dev_03: A.06.20/PHSS_42081/PHSS_42082/DPSOL_00448/DPLNX_ Data Protector

    allocated channel: dev_04
    channel dev_04: SID = 31 device type = SBT_TAPE
    channel dev_04: A.06.20/PHSS_42081/PHSS_42082/DPSOL_00448/DPLNX_ Data Protector

    allocated channel: c1
    channel c1: SID = 161 type device = DISK

    executing command: SET until clause

    From duplicate Db 15 August 13

    content of Script memory:
    {
    clone of SQL "create spfile from memory";
    }
    execution of Script memory

    SQL statement: create spfile memory

    content of Script memory:
    {
    clone to stop immediately;
    startup nomount clone;
    }
    execution of Script memory

    Instance Oracle to close

    connected to the auxiliary database (not started)
    Oracle instance started

    Total System Global Area 6631034880 bytes

    Bytes of size 2240744 fixed
    2315259672 variable size bytes
    Buffers data 4294967296 bytes
    Redo buffers 18567168 bytes
    allocated channel: c1
    channel c1: SID = 11 type of device = DISK

    content of Script memory:
    {
    until the SNA 208772810.
    clone of SQL 'alter system set = db_name
    "MM1" comment =
    ' Modified by RMAN duplicate "scope = spfile;
    clone of SQL 'alter system set db_unique_name =
    "MBA" comment =
    ' Modified by RMAN duplicate "scope = spfile;
    clone to stop immediately;
    Start clone force nomount
    Restore controlfile primary clone;
    change the clone database mount;
    }
    execution of Script memory

    executing command: SET until clause

    SQL statement: change the system db_name set = comment "MM1" = "modified by RMAN duplicate" scope = spfile

    SQL statement: alter system set db_unique_name = comment "MBA" = "modified by RMAN duplicate" scope = spfile

    Instance Oracle to close

    Oracle instance started

    Total System Global Area 6631034880 bytes

    Bytes of size 2240744 fixed
    2315259672 variable size bytes
    Buffers data 4294967296 bytes
    Redo buffers 18567168 bytes
    allocated channel: c1
    channel c1: SID = 160 type device = DISK

    From restoration to August 15, 13

    output channel: dev_01
    output channel: dev_02
    output channel: dev_03
    output channel: dev_04
    output channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 15/08/2013 11:28:44
    RMAN-05501: abandonment of duplicate target database
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06101: no channel to restore a backup or a copy of the control file

    RMAN >
    RMAN >

    Complete recovery manager.

    I finally understood what was wrong with my approach. I had missed a bit in the literature: the definition of AUXILIARY channel should be the same as that used for the backup. Of course, RMAN normally does you not clear in its mystical error messages.

    In addition, according to the document, it's a good idea to create a SPFILE in the auxiliary instance. I did it.

    Therefore, in my case, the same channels as those used for backups on tape. So is the syntax I used successfully:

    target connection.
    connection Assistant sys/***@MBA

    Run {}
    allocate channel 'dev_01' type 'sbt_tape '.
    parms ' ENV = (OB2BARTYPE = SAP, MM1, OB2BARLIST = WYC_CENTRICA_wycvlsapx115_SAP_MM1_ON_Weekly = OB2APPNAME), SBT_LIBRARY = / opt/omni/lib/libob2oracle8_64bit.so ';
    allocate channel 'dev_02' type 'sbt_tape '.
    parms ' ENV = (OB2BARTYPE = SAP, MM1, OB2BARLIST = WYC_CENTRICA_wycvlsapx115_SAP_MM1_ON_Weekly = OB2APPNAME), SBT_LIBRARY = / opt/omni/lib/libob2oracle8_64bit.so ';
    allocate channel 'dev_03' type 'sbt_tape '.
    parms ' ENV = (OB2BARTYPE = SAP, MM1, OB2BARLIST = WYC_CENTRICA_wycvlsapx115_SAP_MM1_ON_Weekly = OB2APPNAME), SBT_LIBRARY = / opt/omni/lib/libob2oracle8_64bit.so ';
    allocate channel 'dev_04' type 'sbt_tape '.
    parms ' ENV = (OB2BARTYPE = SAP, MM1, OB2BARLIST = WYC_CENTRICA_wycvlsapx115_SAP_MM1_ON_Weekly = OB2APPNAME), SBT_LIBRARY = / opt/omni/lib/libob2oracle8_64bit.so ';
    ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE 'sbt_tape '.
    parms ' ENV = (OB2BARTYPE = SAP, MM1, OB2BARLIST = WYC_CENTRICA_wycvlsapx115_SAP_MM1_ON_Weekly = OB2APPNAME), SBT_LIBRARY = / opt/omni/lib/libob2oracle8_64bit.so ';
    up to the time "to_date('15-aug-2013:12:30:46','dd-mon-YYYY:hh24:mi:ss')";
    DUPLICATE THE MBA NOFILENAMECHECK TARGET DATABASE;
    output aux1 channel;
    release the string "dev_01";
    release the string "dev_02";
    release the string "dev_03";
    release the string "dev_04";
    }

    To improve the programming of schedules, the next time I can increase the number of auxiliary channels. I need to know how many tape drives, I have at my disposal.

Maybe you are looking for