*.db_file_name_convert, *.log_file_name_convert

Hello guys,.

I have two servers:

SERVER01 Production

Server02 Standby

I have these settings in the file pfile (standby):

*.audit_file_dest='/U01/app/Oracle/admin/BD/adump '

* .audit_trail = "db".

* full = '11.2.0.0.0'

*.control_files='/data/BD/controlfile/control01.ctl','/U01/app/Oracle/flash_recovery_area/BD/control02.ctl'#restore Controlfile

* .control_management_pack_access = "DIAGNOSTIC + TUNING".

* .db_block_size = 8192

* .db_domain = "

data *.db_file_name_convert='/U01/app/Oracle/oradata/bd','/data/BD/fichier ' (change directory)

* .db_name = "bd".

*.db_recovery_file_dest='/media/ORACLE_BACKUP/Atual/FRA '

* .db_recovery_file_dest_size = 85899345920

*.diagnostic_dest='/U01/app/Oracle '

*. Dispatchers ='(Protocol=TCP) (SERVICE = bdXDB)"

*. Log_archive_dest_1 = 'LOCATION = / Media/ORACLE_BACKUP/atual/fra/BD/archivelog'

*.log_archive_format='arc_%t_%s_%r.arc'

*.log_file_name_convert='/U01/app/Oracle/oradata/bd','/data/BD/onlinelog ' (change directory)

* .open_cursors = 300

* .pga_aggregate_target = 11884560384

* runoff = 150

* .remote_login_passwordfile = "EXCLUSIVE."

* .sga_target = 1610612736

* .standby_file_management = "AUTO".

* .undo_tablespace = "UNDOTBS1.

First question:

Once the process is finished, I had create pfile from spfile, but is the same code that above...

So, what is a utility I have these commands in standby mode:

data *.db_file_name_convert='/U01/app/Oracle/oradata/bd','/data/BD/fichier ' (change directory)

*.log_file_name_convert='/U01/app/Oracle/oradata/bd','/data/BD/onlinelog ' (change directory)


??

If I can remove these commands (db_file_name_convert, log_file_name_convert - standby server) in sleep mode? some problem? How can I remove these commands?


Thank you

In Server 03 (new day), I alreadyhave/data/bd/datafile and/data/bd/onlinelog... Yes, in the case... is not necessary, I have these settings. You undertood now? I'll create the server03/data/bd/datafile and/data/bd/onlinelog, is equal to the server 02...

After that, in my view, is not necessary I have these settings. You got?

The parameters above may be omitted if the directory of the primary structure is the same in the standby mode, or if you configure settings DB_CREATE_FILE_DEST & DB_CREATE_ONLINE_LOG_DEST_n primary and secondary school with the correct values.

OK, I got it. And I give you the answer in my previous post.

In this case, you can reset or change or delete the pfile these parameters.

Kind regards

Juan M

Tags: Database

Similar Questions

  • 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

  • DataGuard folder names

    Hi all

    9i

    RHEL5

    I am currently dataguard configuration.

    I just copied all our production configuration to the backup target server so everything is identical with its folder names. Their init.ora is who is different.

    The instance_name source is PROD, while the eve instance_name target is STBY.

    My question is: is it OK to remember all the names of folders as is? for example, the folder


    / U01/oradata/prod where all dbf and control files are located, is it OK to keep such what? one does not change for/u01/oradata/STBY?



    Thank you all,

    JC

    Hello Jenna:

    Controlfiles are defined by the parameter control_files in initSTBY.ora.

    For the data files (and logs), if db_file_name_convert (log_file_name_convert) in initSTBY.ora. parameter is empty, then PROD and STBY directories must be the same on both computers.

    in the case of initSTBY.ora. you define db_file_name_convert = ' / u01/oradata/PROD ', ' / u01/oradata/STBY ", then all data files who prod/u01/oradata/PROD, in STBY machine are in/u01/oradata/STBY.

    Don t forget to do the same in initPROD.ora, IE.

    db_file_name_convert = ' / u01/oradata/STBY ", ' / u01/oradata/PROD.

    and the same for log_file_name_convert.

    Kind regards.

  • Disable dataguard

    Hi all

    11.2.0.1

    We currently waiting for data on the DR site. But the site of DR broke.

    How to disable or stop the dataguard to primary DB replication?

    Thank you

    pK

    Hello

    Remove the physical Configuration of Eve
    ==========================

    1. turn on the primary database in maximum performance Mode

    On the main database, put the database in the Mode of Performance maximum (if not already):

    SQL > ALTER DATABASE DATABASE SET STANDBY TO MAXIMIZE PERFORMANCE;

    or if you are using the Data Guard Broker:

    DGMGRL > EDIT CONFIGURATION SET PROTECTION MODE YOU MAXPERFORMANCE;

    2 remove the Data Guard Broker Configuration

    If you are using the Data Guard Broker, remove the Data Guard Broker Configuration:

    DGMGRL > REMOVE CONFIGURATION;

    3. specific guard of unset data initialization parameters

    Deletion/deletion according to the parameters of the PFILE (S) of the primary database initialization:

    LOG_ARCHIVE_CONFIG
    DB_FILE_NAME_CONVERT
    LOG_FILE_NAME_CONVERT
    LOG_ARCHIVE_DEST_n pointing to the database of the previous day and valid for STANDBY_LOGFILES
    LOG_ARCHIVE_DEST_STATE_n
    DG_BROKER_START
    DG_BROKER_CONFIG_FILE1
    DG_BROKER_CONFIG_FILE2
    STANDBY_ARCHIVE_DEST
    STANDBY_FILE_MANAGEMENT
    FAL_SERVER
    FAL_CLIENT

    4. remove the Redologs Eve from the primary database

    Use after query to find Redolog Standby groups:

    SQL > SELECT GROUP # FROM V$ STANDBY_LOG;

    Use the following command to drop the standby Redo logs:

    SQL > ALTER DATABASE DROP STANDBY LOGFILE GROUP ;
    for example
    SQL > alter database drop logfile group sleep 3;

    Remove all groups from Redolog sleep using above command.

    5 drag the files of Configuration Data Guard Broker if used.

    Thank you

    Renu

  • A physical database configuration ensures in 9i

    Hi all

    OS: Solaris 10 SPARC x 64

    DB: 9.2.0.6 x 64

    I have a task to create a physical database ensures in a solaris 10 - Oracle 9.2.0.6 approx. I'm used to doing this configuration on version 11.2 of Oracle and because of that I have some doubts about the possible configurations needed to be done in a 9i database.

    (1) the main question I have is in regards using RMAN. I would like to know if it is possible to restore a normal backup of my primary database in the database pending and after that, apply necessary to synchronize the day before with the primary logs archived? The controlfile I would use would be created by the RMAN command "BACKUP CONTROLFILE CURRENT for INTELLIGENCE". The RMAN script woulb be similar to the one below:

    Run {}

    allocate channel ch01 device type disk;

    allocate channel ch02 device type disk;

    allocate channel ch03 device type disk;

    allocate channel ch04 device type disk;

    Restore controlfile from "standby_controlfile.ctl"

    SQL 'edit the editing of the database';

    restore the database;

    recover the database;

    }

    (2) the directory structure will be the same, so I think that it is not necessary to use SET NEWNAME and DB_FILE_NAME_CONVERT/LOG_FILE_NAME_CONVERT, is that correct?

    (3) you have any other regarting considerations the differences between a 9i and a 11 g physical secondary Configuration?

    Thank you for your attention and patience beach.

    Hello;

    Question 1 – see this:

    http://docs.Oracle.com/CD/B10500_01/server.920/a96566/rcmstand.htm

    On question 2 - work assuming RMAN then DB_FILE_NAME_CONVERT/LOG_FILE_NAME_CONVERT would NOT have to be defined in the same directory structure.

    Question 3 - Check this:

    http://docs.Oracle.com/CD/B10500_01/server.920/a96653.PDF

    Best regards

    mseberg

  • Doubt RMAN backup

    I took a full backup of our TEST database using command in a different way because of problems of space below.

    Backup database archivelog format ' / u01/ora_rman_bkups/%d_%u_%s';

    When I go to RMAN and LIST BACKUP can't backup set above. When I go to OS I see two files created in this directory

    [oracle@enash ora_rman_bkups] $ ls-l
    Total 1428312
    -rw - r - 1 oracle oinstall 1460956160 Apr 2 13:36 AMAZTST_0oo62q17_24 * (I think it is the backup to the base) it is a correct element of different backup? *
    -rw - r - 1 oracle oinstall 189952 Apr 2 13:37 AMAZTST_0ro62qlf_27 * (I think they are archiving logs) - it is different element of proper backup? *


    I want to clone my AMAZPRD with above backup AMAZTST...

    Please suggest me if I can use the above backup items for duplication of data.

    Please look in my post...

    Yes, you can...

    1. produce a pfile to the new database
    assume that the source database uses a spfile. If this is not the case, simply make a copy the file pfile existing.

    Connect to the database as sysdba source and run the following:

    create pfile = "init.ora' of spfile;"

    This will create a new pfile directory of $ORACLE_HOME/dbs.

    The new pfile will have to be changed immediately. If the cloned database must have a different name from the source, this should be changed, as well as paths. Look at the contents of the file and make changes if necessary.

    Suppose that the cloned database will reside on the same machine that the source, Oracle must be told how to convert file names during the operation of double RMAN. This is achieved by adding the following lines in the newly created pfile file:

    db_file_name_convert = (,)
    log_file_name_convert = (,)

    2. create the bdump, udump and cdump directories
    Create directories as specified in the file pfile bdump, udump and cdump from the previous step.

    3. Add a new entry to oratab and source of the environment
    Edit the/etc/oratab (or/opt/oracle/oratab) and add an entry for the new database.

    Source the new environment with "." oraenv' and check that it worked by running the following command:

    echo $ORACLE_SID

    If it doesn't come out of the new sid database go back and examine why not.

    4. create a password file
    Use the following command to create a password file (add a password right at the end):

    orapwd file = $(ORACLE_HOME) / dbs/orapw$ {ORACLE_SID} password =

    5 duplicate the database
    From sqlplus, start the instance in nomount mode:

    startup nomount

    Output of sqlplus, start RMAN and then duplicate the database. As in step 1, it is assumed that no recovery catalog is available. If it is available, simply change the RMAN command to include it.

    RMAN target sys @ nocatalog auxiliary.

    duplicate target database to ;

    This will restore the database and apply some archiving logs. It may appear to hang at the end sometimes. Just give him the time - I think that it's because RMAN makes a stop 'normal '.

    If you see the following error message, it's probably due to the settings of file_name_convert, err. Return to step 2 and check the settings.

    RMAN-05001: auxiliary filename '%s' is in conflict with a file used by the target database

    Once the copy is complete, RMAN will display a message similar to the following:

    open database
    Finished the duplicate Db to 26 February 05

    RMAN >

    RMAN output.

    6. create a spfile
    From sqlplus:

    Create spfile from pfile;

    immediate stop
    startup

    Now that the clone is built, we need more file_name_convert settings:

    change the system reset db_file_name_convert scope = spfile sid ='* '
    /

    change the system reset log_file_name_convert scope = spfile sid ='* '
    /

    7. possibly take the clone off journal mode database archive
    RMAN will leave the database cloned in log mode archive. If the log mode archive is not necessary, run the following sqlplus commands:

    immediate stop
    Startup mount
    ALTER database noarchivelog;
    ALTER database open;

    8 Configuring the TNS
    Add entries for the new database in the listener.ora and tnsnames.ora as needed.

  • How to copy a database to a new database on Windows 32 bit?

    Hi gurus,

    I have a data base of production 10g on 32-bit Windows and I want to make a copy of this database as a Test in the same server?

    Help, please...

    Thank you

    What is your database?

    (1) if the size of the database is small, create a test db to white. The export of Production using expdp and impdp on Test.

    (2) if the database size is hundreds of gb duplicate order use rman. That you are restoring to the same host
    in your pfile file configure db_file_name_convert/log_file_name_convert
    And also control_files parameter to new location in your new pfile.

    Reference: http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006859

    Published by: renee_mathieu on 7 Sep 2012 14:03

  • Upgrade Dataguard 9.2.0.8 (32-bit) to 10.1.0.5(64-Bit)

    What is the best way to do this with minimal downtime. I have two (2) machines [the two 32-Bit] primary (9.2.0.8) and Eve (9.2.0.8)... I need to switch the primary and standby to 10.1.0.5 (64-bit) to new hardware, limited service disruption. I'll have the new machines built and installed with 64 - Bit. My question is: can I have a computer 32-bit archlogs sending to a 64-Bit machine to apply (Dataguard)? My thought was to have the original upgraded to 10.1.0.5 (32-bit) 32-bit machine (9.2.0.8) Firstly build a Dataguard on one of the new 64-Bit machines and ship the new machine until the changeover weekend newspapers. I read a few posts that I can have a 32-bit database running on a 64-bit computer (with just the RPM 64 - Bit and 64-Bit o/s installed), deliver the newspapers to the Machine 64 - Bit, and then failover weekend change the wordsize of 32 bit to 64 bit, but don't know how true that is. Any help would be greatly appreciated

    I agree with FZheng, you should consider Oracle 11.

    You can avoid a database bounce by putting in place all your new settings Data Guard and FRA beforehand. And you can use an alter system to change the LOG_ARCHIVE_DEST_STATE_2 of "reporter" while you use RMAN duplicate to create the day before.

    So to build the new system, but add these settings even before starting the data move from Oracle 9.

    FAL_SERVER
    FAL_CLIENT
    STANDBY_FILE_MANAGEMENT=AUTO
    DB_UNIQUE_NAME
    DB_FILE_NAME_CONVERT
    LOG_FILE_NAME_CONVERT
    log_archive_dest_1
    log_archive_dest_2
    LOG_ARCHIVE_DEST_STATE_1
    LOG_ARCHIVE_DEST_STATE_2
    LOG_ARCHIVE_MAX_PROCESSES
    

    Create your spfile on the primary with LOG_ARCHIVE_DEST_STATE_2 set to ACTIVATE and you avoid a stop and restart later. Then change to DELAY until you build the day before. You can save time more by copying the password in advance. Wait to issue the FORCE LOGGING until all the data is transferred.

    Place your tnsnames and the Auditor including _DGMGRL on both servers in advance.

    If plan you correctly, you can use RMAN two copies and never primary stop. The day before will just begin to apply again them.

    If you find this "Helpful" Please mark as well.

    Best regards

    mseberg

  • DATA PROTECTION SETTINGS

    Hi all
    I have a doubt about the parameter t db_file_name_convert & log_file_name_converin DATA GUARD.
    According to my knowledge following setting are correct or not, give it me conformation

    for ex: primary db_unique_name = prd
    db_unique_name Eve = dev

    In d.b (prd) elementary school
    db_file_name_convert = "DEV", "PRD".
    log_file_name_convert = "DEV", PRD'

    Standby mode d.b (dev)
    db_file_name_convert = 'PRD', 'DEV '.
    log_file_name_convert = 'PRD', 'DEV '.


    Kind regards
    DSP

    DSP_863977 wrote:
    Hi all
    I have a doubt about the parameter db_file_name_convert & log_file_name_convert in DATA GUARD.
    According to my knowledge following setting are correct or not, give it me conformation

    for ex: primary db_unique_name = prd
    db_unique_name Eve = dev

    In d.b (prd) elementary school
    db_file_name_convert = "DEV", "PRD".
    log_file_name_convert = "DEV", PRD'

    Standby mode d.b (dev)
    db_file_name_convert = 'PRD', 'DEV '.
    log_file_name_convert = 'PRD', 'DEV '.

    Kind regards
    DSP

    See the link: -.
    http://oracleinstance.blogspot.com/2010/01/step-by-step-document-for-creating.html

  • ASM - no to the question of the ASM DB_FILE_NAME_CONVERT

    Nice day. I'll put up a Data Guard environment in which existing primary is no - ASM and the new auxiliary will be ASM. I am trying to determine the correct entries for the parameters DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT. can someone please tell me if I am following the right path?

    On the primary (non - ASM), I'm going in SQLPLUS:

    SQL> select file_name from dba_data_files;
    FILE_NAME
    ------------------------------------------------------------------------
    /u03/app/oracle/oradata/prodDB/system01.dbf
    /u03/app/oracle/oradata/prodDB/sysaux01.dbf
    etc...
    
    

    SQL> select member from v$logfile;
    MEMBER
    ------------------------------------------------------------------------
    /u02/app/oracle/redologs/prodDB/redo03a.rdo
    /u03/app/oracle/redologs/prodDB/redo03b.rdo
    /u02/app/oracle/redologs/prodDB/redo02a.rdo
    /u03/app/oracle/redologs/prodDB/redo02b.rdo
    etc...
    
    
    

    My expectation is a new facility with ASM and Oracle 11r2 software installation so there not necessarily all the files yet, but in addition the system drive, it has 4 discs. Disk1 and DISK2 are in the disk group ASM 'DATA' and DISK3 and DISK4 are in the "FRA" ASM disk group

    Is below what would look like my settings?

    Elementary school:

    DB_FILE_NAME_CONVERT ='+ DATA / prodDB / ',' / u03/app/oracle/oradata/prodDB /'

    LOG_FILE_NAME_CONVERT ='+ FRA/prodDB / ',' / u02/app/oracle/redologs/prodDB / ',' + FRA/prodDB / ',' / u03/app/oracle/redologs /'

    And on standby to invert the inputs?

    Finally, if I were to add a third guard database server in this situation, I just fired on another comma and add a third entry in the above settings?

    Elementary school:

    DB_FILE_NAME_CONVERT ='+ DATA / prodDB / ',' / u03/app/oracle/oradata/prodDB /'

    LOG_FILE_NAME_CONVERT ='+ FRA/prodDB / ',' / u02/app/oracle/redologs/prodDB / ',' + FRA/prodDB / ',' / u03/app/oracle/redologs /'

    When the primary is on no - asm and pilot light is on ASM, then the first string, always belongs to the primary and then the following string is of course the day before... If your data files located in several locations, then you can add more as needed.

    An example below, you can mention '+ DATA' instead of '+ DATA/prodDB' If you use OMF and Oracle takes the directory based on the DB_UNIQUE_NAME you define, then disk group can do your job.

    DB_FILE_NAME_CONVERT = "/ u03/app/oracle/oradata/prodDB ', '+ DATA ';

    The same applicable to the LOG_FILE_NAME_CONVERT as well.

    A link to what you are going through.

    http://docs.Oracle.com/CD/B19306_01/server.102/b14237/initparams048.htm

    HTH.

  • log_file_name_convert, db_recovery_area and recovery multiplexed logs

    Hi, I have a confusion here, need help.

    I have multiplexed redo log members on the two DATA, FRA asm diskgroup.

    My log_file_name_convert = '+ DATA', '+ DATA '.
    and db_recovery_area = '+ FRA.
    db_create_online_log_dest_1 = + DAT


    Are above the settings right?

    log_file_name_convert is simply a string replace function.

    His behavior even as DB_FILE_NAME_CONVERT

    If all entries in will be replaced with and entry will be replaced by the and so on.

    Yes, the channels should be in even numbers like 2,4,6,8... ther should be the sequence for the diskgroup source & destination and so on.

    So, if you have:

    'DATA', 'REPLACE', 'FRA', 'REPFRA '.

    all occurrences of DATA will be replaced by RAPLACE. But it also means that ORADATAGRAM would be replaced with ORAREPLACEGRAM.

    If any ORL / SRL is created in the DATA in the source, by mentioning LOG_FILE_NAME_CONVERT who will be created in the chain of the connected instance...

    Can remember you it please where is the error in my previous post?

  • Is log_file_name_convert in block running rman duplication.

    Log_file_name_convert is allowed in the execution of rman block?

    If Yes, what is the correct syntax for pair of mutiple coversion

    I have 3 newspaper group on target (source). Each has 2 members.

    target-> in the
    Group1
    U01/oradata/prod/redo01.log-> /ora1/oradata/test/redo01.log
    /U02/oradata/prod/redo01b.log-> /ora2/oradata/test/redo0b.log

    group2
    /U01/oradata/prod/redo02.log-> /ora1/oradata/test/redo02.log
    /U02/oradata/prod/redo02b.log-/oRA2/oradata/test/redo02b.log

    Group 3

    /U01/oradata/prod/redo03.log-> /ora1/oradata/test/redo03.log
    /U02/oradata/prod/redo03b.log-> /ora2/oradata/test/redo03b.log


    Run {}
    ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
    CHANNEL AUXILIARY ALLOCATE aux3 DEVICE TYPE DISK;
    until ' to_date (24 June 11 10:22 ',' DD-MON-YY HH24:MI:SS') ";
    DUPLICATE TARGETS of DATABASE 'test '.
    PFILE=/opt/Oracle/product/10.2/Db_1/DBS/inittest.ora
    DB_FILE_NAME_CONVERT = ' / u01/oradata/prod / "," / ora1/oradata/test / '.
    log_file_name_convert = ' / u01/oradata/prod / "," / ora1/oradata/test / "," / u02/oradata/prod / "," / ora2/oradata/test / '.

    output channel aux_01;
    output channel aux_02;
    }

    Rename data files in the DATABASE DUPLICATE RMAN

    There are several methods of specification of new names to use for your database duplicate data files. Listed in order of precedence, they are:

    Use the RMAN SET NEWNAME command for DATA file within a RUN block that surrounds the SET NEWNAME commands both DUPLICATE the order.

    Use the RMAN command CONFIGURE AUXNAME to specify the new name of the existing data files. Run the CONFIGURE AUXNAME command before the command DUPLICATE.

    Specify the parameter DB_FILE_NAME_CONVERT on ordering DUPLICATE to specify a rule to convert filenames to data not renamed with the VALUE of NEWNAME or CONFIGURE AUXNAME files.

    Note:
    DUPLICATE the DB_FILE_NAME_CONVERT the command clause cannot be used to control the generation of new names for the files to duplicate instance that are Oracle-managed files (OMF) to the target instance. For more information about this restriction, see Oracle database backup and recovery Reference.

    Set the DB_FILE_NAME_CONVERT initialization parameter.

    Note:
    The DB_FILE_NAME_CONVERT initialization parameter cannot be used to control the generation of new names for the files to duplicate instance that are Oracle-managed files (OMF) to the target instance. It is subject to the same semantics and limitations as DUPLICATE DB_FILE_NAME_CONVERT parameter to the command. He see reference recovery and backup of Oracle database for more details.

    Set DB_CREATE_FILE_DEST initialization parameter to create Oracle managed files data files at the specified location.

    If you do not use the previous options, then the duplicate database reuses the locations of original data file of the target database.

    See the link:-http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1008481

    See also:-http://www.akadia.com/services/ora_duplicate_database_rman.html

  • syntax of log_file_name_convert in the case of several members to redo

    Dear Oracle guru,
    I'm doing a script rman duplication.
    on the target db I redo 3 groups each have 2 members on the different directory path. On les(different machine), the logs under/U01 will pass to the /ora1
    and / U02 will move to the /ora2


    /U01/oradata/prod/redo01.log
    /U02/oradata/prod/redo01b.log

    /U01/oradata/prod/redo02.log
    /U02/oradata/prod/redo02b.log


    /U01/oradata/prod/redo03.log
    /U02/oradata/prod/redo03b.log


    I know
    DB_FILE_NAME_CONVERT = ' / u01/oradata/prod / "," / ora1/oradata / to the /.

    What should be the proper syntax for log_file_name_convert

    I am looking for site to oracle but they just be listed in case 1 example

    log_file_name_convert = (< source_db_path >, < target_db_path >)

    should I use
    log_file_name_convert = ' / u01/oradata/prod / "," / ora1/oradata / to the / "," / u02/oradata/prod / "," / ora2/oradata / to the /.


    Thanks for your time...

    No, you cannot use log_file_name_convert in an RMAN execution block.

    But you have not :)

    Just put the conversion in the pfile/spfile file, start the auxiliary database in nomount mode and duplicate the database. Your conversion rules for log files are correct. You can collect both the logfile group members in directory a target on the side of the auxiliary.

    And Yes, you will get the same number of log files on Test as the Prod.

    HTH

    Joerg

  • ORA-02095 trying to change log_file_name_convert

    Hi all

    IV' just rebuilt a standby database 11 GR 2 under HP - UX (physical Guard standbyData)

    In the alert, I see errors related to the location of the online redo logs.
    I think that is has to do with the LOG_FILE_NAME_CONVERT parameter

    I redo logs in two locations, so I should use 2 pairs of parameters to convert the path from primary to standby.

    When I run: alter system set LOG_FILE_NAME_CONVERT = "/ oradata/primary", "/ oradata/sleep ', ' / FRA/primary", "/ FRA/standby" scope = both; It returns:

    ORA-02095 specified initialization parameter cannot be changed.

    How will I know Oracle redo log are in a different place at the backup site?

    If I query v$ log mode standby, location is false, as some redo logs it displays/FRA/primary and it is and must be/FRA/standby

    Thank you very much

    But I think you want "LOG_FILE_NAME_CONVERT.

    See this

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/initparams112.htm

    Should work the same way on 10 and 11. Would still use "ALTER SESSION".

    I would try this first: (after redesign and an editing tool)

    ALTER session set log_file_name_convert =

    ALTER session set db_file_name_convert = (not that)

    SELECT name, value, ISSES_MODIFIABLE, ISSYS_MODIFIABLE of the parameter $ v where name like '% log_file_name ';

    You should be able to create a pfile your spfile file, stop

    Change the setting in the file pfile

    and start again from the shape of the pfile to re-create the spfile for Data Guard.

    Who is?

    Or scope = spfile

    Might work too (less jacking autour)

    Best regards

    mseberg

    Published by: mseberg on August 4, 2011 14:20

    Published by: mseberg on August 4, 2011 14:21

  • Change DB_FILE_NAME_CONVERT

    Oracle Database 10g Enterprise Edition
    Oracle Enterprise Linux


    I am trying to learn the Dataguard configuration on my laptop. Since I created primary databases and ensures same House on the same laptop using Oracle, I need to use db_file_name_convert and Log_file_name_convert. But I can't just change parameter db_file_name_convert. I use spfile.

    I get the error ORA-2096. That this setting can be changed with these options.

    Can someone tell me how to change this setting.

    I tried different ways,

    ALTER SYSTEM SET DB_FILE_NAME_CONVERT =('ABC','XYZ') SCOPE = BOTH;
    ALTER SYSTEM SET DB_FILE_NAME_CONVERT =('ABC','XYZ') SCOPE = SPFILE;
    ALTER SYSTEM SET DB_FILE_NAME_CONVERT =('ABC','XYZ') SCOPE = BOTH DEFERRED;
    ALTER SYSTEM SET DB_FILE_NAME_CONVERT =('ABC','XYZ') SCOPE = SPFILE DEFERRED;

    Whenever I am getting error 2096.

    Hello
    DB_FILE_NAME_CONVERT is not editable using change control system. you will need to put in file pfile and start your db using this file.

    then this is the thing you are trying to define DB_FILE_NAME_CONVERT change the db name. his evil. This is used to change the location of the data file.

    Let's say your prumary data has its data in f:\oracle\datafile files. but when it comes to the standby location, you do not have this place or do not want to keep to f:\ himself. then use this setting to change the structure of database pending directory.

    ex:
    SQL > sho DB_FILE_NAME_CONVERT parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    db_file_name_convert H:\ORADATA\, F:\ORADATA\ chain

    Anil Malkai

Maybe you are looking for

  • Why add-ons do not appear when I click on 'get the modules?

    I tried to find new Add-ons for Thunderbird and Firefox, but the 'load' button appears, then a box that says "what are the Add Ons" and goes into the details. Said that they will appear when it is connected to the internet. I am connected, but nothin

  • SSD GB total wrote the problem.

    Hi guys, I used to have the OS in a typical hard drive, and I used a program to clone my new SSD. Everything works well, and the system got faster. But there is a big problem, I can't determine what is the cause. Smart written GB total value going up

  • Why can't I update the file Premium Commander?

    Hello everyone. I want to update my version (3.1.13174) PREMIUM file Commander, but whenever I try to install a message appears and the application has not been installed. Someone can tell me what this message and why does it appear? I have this vers

  • Dell A920 for Windows 8 printer driver

    HI -. I followed the instructions to the title of the other positions and installed the A920 on my Windows 8 print driver, however, when printing it seems to be a problem to identify the ink levels.  The display window shows no ink and therefore does

  • Issues related to running applications after installation using a package created with CC Packager

    I am a technician in the field with a school district in Idaho. We just moved to Windows 10 this year, deploy us through SCCM. For the first time this year one of my schools chose to share the cost of a site license for the creative cloud. The licens