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

Tags: Database

Similar Questions

  • Several primary and physical databases Configuration ensures in Data Guard Broker

    Hello

    Is it possible to add two or several primary and physical databases configuration ensures in data guard broker?

    I have 1 primary databases and two databases physical standby that is

    (1) primary that is pri - (database primary)

    (2) secondary i, e, s (physical pending)

    (3) Secondary2 i.e. sec2 (physical pending)

    Practical AM sinister place, my scenario is my pri and dry machines are in seat, if the pri crashed it switch to s that works very well and my S2 is in another area office. Suppose that if my two siege machines pri and sec crashed, so I want to do my mahcine sec2 as primary.

    I have two separate computers to the broker a headquarters and a District Office

    Use failure of quick start on Data Guard Broker, broker headquarters machine I have configured pri and dry but in sector office broker not able congifured pri and S2 and the machine.

    can be done several primary database configuration with data bases on hold?

    Has anyone done this before, or has a perform a recovery after loss of place...

    need help or suggestion

    thanx

    No.... It is not possible. When you use the DG broker, the first thing you can do in the DGMGRL utility is to deliver CONFIGURATION to CREATE. You can see on the doc of this command that you define here the PRIMARY DATABASE.

    The command to add a DATABASE to the broker, adds a new database pending. You cannot add an another primary.

    The broker configuration is explicitly for a primary and all standby databases is supported. If you have an another primary, you create a separate DG broker configuration.

    See you soon,.
    Brian

  • What to do for the main database when a physical database ensures converts a standby time of the snapshot

    Hello

    Need of the primary database to implement the flashback database when a physical database ensures converts a standby time of the snapshot? Or something to do with the primary database? I find some documents this work to allow the return of flame for the primary databases, but I think that he didn't need to do.

    Thank you

    Best regards.

    I did recently, I have not configured flashback on primary, only configured in the standby mode. I converted the standby database and restored the changes after the test. Primary database continued to send archives to the standby site. Instant once converted into sleep mode, as mseberg mentioned overlaps with the sync state after starting MRP.

  • Problem creating a Standby physical database with RMAN

    Hi all

    I am learning oracle dataguard and as part of the learning process of creation of database on hold.

    Platform: V250-fire-Sun Sparc, Solaris 10

    Version of database - Oracle 11R2

    I create standby database on the same server, so the directory structure is different.

    By following the instructions on the site of Oracle, I managed to create a functional physical standby database. But I'm not able to create a database with RMAN backup. Here are the steps that I follow-

    1 configure all the required settings on the primary database as done in creating physical standby database manually, for example implementation force of logging, the creation of newspapers ensure etc..

    2. settings edited on the primary database file as does everything in manual creation of physical database backup. Some of these changes are –

    On the primary database:
    *. FAL_CLIENT = "orcl11020" #Primary database unique name
    *. FAL_SERVER = "stdby_11" #Standby database unique name

    db_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 '

    log_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 ',' / < dir > / oradata/stdby_11/redo_mem ',' / < dir > / oradata/orcl11020/redo_mem '
    standby_file_management = auto

    * .log_archive_config = 'DG_CONFIG = (orcl11020, stdby_11)'

    * .log_archive_dest_1 = "LOCATION = / < dir > / flash_recovery_area/ORCL11020/archivelog"

    VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'

    * .log_archive_dest_2 = "SERVICE = db_unique_name LGWR ASYNC = (ONLINE_LOGFILES, PRIMARY_ROLE) stdby_11 = stdby_11 VALID_FOR'"

    *. LOG_ARCHIVE_DEST_STATE_1 = 'ENABLE '.
    *. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
    *. LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
    *. LOG_ARCHIVE_MAX_PROCESSES = 30

    Copied same pfile standby database and set to date follows.

    "* .control_files ='/ < dir > /oradata/stdby_11/stdby_11.ctl','/ < dir > / fra_stdby/stdby_11/stdby_11.ctl".
    * .db_name = "orcl1102".
    * .db_unique_name = "stdby_11".
    *. FAL_CLIENT = "stdby_11."
    *. FAL_SERVER = "orcl11020."
    db_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 '
    log_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 ',' / < dir > / oradata/orcl11020/redo_mem ',' / < dir > / oradata/stdby_11/redo_mem '
    standby_file_management = auto
    * .log_archive_dest_1 = "LOCATION = / < dir > / fra_stdby/STDBY_11/archivelog"
    VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = stdby_11'
    * .log_archive_dest_2 = "SERVICE = orcl11020 LGWR ASYNC VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
    db_unique_name = orcl11020'

    3. Add the relevant information in tnsnames.ora and listener.ora files and restart the listener.
    3 created the file password with the same credentials as database primary.
    4.up - to-date RMAN backup primary database available.
    5. create controlfile standby with rman
    While the primary database s open (I tried with a primary database in montage mode as well).

    $> rman/paswd@rman for catalog rman target /.
    RMAN > BACKUP CURRENT CONTROLFILE TO SLEEP;

    6. open a new terminal standby base and start in nomount mode using the settings created - file
    $> ORACLE_SID = stdby_11
    $> export ORACLE_SID
    $> sqlplus / as sysdba
    SQL > STARTUP NOMOUNT pfile =' < rental/initfilename.ora '
    SQL > quit
    $> rman AUXILIARY / target sys/passwd@orcl11020 catalog rman/passwd@rman
    RMAN > duplicate TARGET DATABASE ENSURES DORECOVER;


    RMAN ends without error but the archive logs is not eliminated. Looking at the newspaper, following caught my eye.

    Logging of 1017 errors received on the eve
    ------------------------------------------------------------
    Verify that the primary and standby use a password file
    and remote_login_passwordfile shared or EXCLUSIVE.
    and the SYS password is the same password files.
    error ORA-16191
    ------------------------------------------------------------
    FAL [client, ARC2]: error 16191 connection at orcl11020 for the extraction of the gap sequence
    Errors in file /<>dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
    ORA-16191: customer main newspaper not connected waiting for shipment
    Errors in file / < dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
    ORA-16191: customer main newspaper not connected waiting for shipment


    Thus on primary and standby I confirmed

    SQL > show parameter remote_login_passwordfile

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------
    Remote_login_passwordfile string EXCLUSIVE

    Make double sure that the password files are the same, I stop databases, delete the password and recreated with the same credentials.
    Password files are called - orapworcl11020 and orapwstdby_11

    Can someone guide me where thisngs wrong here please.

    How did you create your file of passwords on the rescue system?

    I will consider your entire post and see what jumps.

    * 3. Created the file password with the same credentials as primary database.*

    You cannot create the password on the eve of 11.1 from file. You must COPY the password from the primary to the wait for passwords to match. What I do, is copy and rename.

    E.g.

    I copy orapwPRIMARY to the standby server and rename it orapwSTANDBY

    (Your names varies)

    It could start to work if you do this with a stop and restart of recovery on the day before. Newspapers make up probably just.

    If you find this helpful please mark as well.

    Best regards

    mseberg

    Published by: mseberg on July 7, 2011 07:16

    A few things about the parameters (they can make no difference)

    This

    Log_archive_dest_1 =' LOCATION = /

    /flash_recovery_area/ORCL11020/archivelog VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'

    Would it be

    Log_archive_dest_1 =' LOCATION = USE_DB_RECOVERY_FILE_DEST VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'

    Not sure that you need.

    LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'

  • ORA-01274 on the physical database paused.

    Hello

    I configured a physical database ensures with * LGWR ASYNC * transport services, which works very well.
    When I create a set of data files and the users on the main site, and then create a control journal, the journal of alerts to the backup site is written with error: * ORA-01274 *.

    I have attributed this to a configuration problem and did the whole excerceise from the creation of the primary database of Eve databe and configure the dataguard, this time with * ARCH * transport services.

    But the problem still persists. Is this normal? I was told that new tablespaces/data files will not be replicated on the site of Eve by transport services. Is this true? If so, please tell me how to reproduce them on the backup site.
    If not, please help me solve the problem.

    I also write, the alert log sleep here for a better understanding of the problem. Kindly go through it...
    +
    Clearing online redo logfile 1 /u02/app/oracle/oradata/asridb/redologs/r01.log
    Clearing online log 1 of thread 1 sequence number 37
    Sun Mar 22 12:47:42 2009
    Errors in file /u02/app/oracle/admin/asridb/bdump/asridb_mrp0_20176.trc:
    ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 1 thread 1: '/u02/app/oracle/oradata/asridb/redologs/r01.log'
    Clearing online redo logfile 1 complete
    Media Recovery Waiting for thread 1 sequence 39
    Sun Mar 22 12:47:43 2009
    Completed: alter database recover managed standby database disconnect from session
    Using STANDBY_ARCHIVE_DEST parameter default value as /u02/app/oracle/asridb/archival
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 20213
    RFS[1]: Identified database type as 'physical standby'
    Sun Mar 22 12:49:04 2009
    RFS LogMiner: Client disabled from further notification
    Sun Mar 22 12:49:40 2009
    RFS[1]: No standby redo logfiles created
    RFS[1]: Archived Log: '/u02/app/oracle/asridb/archival/1_39_682125307.arc'
    Sun Mar 22 12:49:42 2009
    Media Recovery Log /u02/app/oracle/asridb/archival/1_39_682125307.arc
    Media Recovery Waiting for thread 1 sequence 40
    Sun Mar 22 12:56:33 2009
    RFS[1]: No standby redo logfiles created
    RFS[1]: Archived Log: '/u02/app/oracle/asridb/archival/1_40_682125307.arc'
    Sun Mar 22 12:56:38 2009
    Media Recovery Log /u02/app/oracle/asridb/archival/1_40_682125307.arc
    File #5 added to control file as 'UNNAMED00005' because
    the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL
    The file should be manually created to continue.
    Errors with log /u02/app/oracle/asridb/archival/1_40_682125307.arc
    MRP0: Background Media Recovery terminated with error 1274
    Sun Mar 22 12:56:38 2009
    Errors in file /u02/app/oracle/admin/asridb/bdump/asridb_mrp0_20176.trc:
    ORA-01274: cannot add datafile '/u02/app/oracle/oradata/asridb/datafiles/asrim_master.dbf' - file could not be created
    Some recovered datafiles maybe left media fuzzy
    Media recovery may continue but open resetlogs may fail
    Sun Mar 22 12:56:39 2009
    Errors in file /u02/app/oracle/admin/asridb/bdump/asridb_mrp0_20176.trc:
    ORA-01274: cannot add datafile '/u02/app/oracle/oradata/asridb/datafiles/asrim_master.dbf' - file could not be created
    Sun Mar 22 12:56:39 2009
    MRP0: Background Media Recovery process shutdown (asridb)
    +
    Thanks in advance,
    Aswin.

    Note this line:

    because the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL
    The file must be created manually to continue.

    If you want to have the automatic creation of files on the side of the watch, set this pfile/spfile to AUTO.

    Werner

  • Steps to remove a physical database standby

    Hello
    I would like to delete a physical database of Eve and the Data Guard Broker configuration. How could I do this properly?


    Thank you
    J

    user560159 wrote:
    Great! Thank you. What is MRP?

    MRP - Media recovery process.
    It will be launched if you order SQL > alter database recovery managed standby database disconnect from the session.

    and to stop, you must provide SQL > alter database recover managed standby database cancel;

  • database configuration waiting more than 2

    Hello
    IAM trying to configure 2 databases before my main database name is anupp1 and name of the standby database is respectively anups1 and anups2 (physical databases standby) when I configured means archiving is received in the two databases, but when I move to this time of check is received to the single database

    My primary database is anupp1 and databases on hold are anups1, anups2

    now, when I switch to digital at the time IE primary is anups1 and Eve are anupp1 and anups2

    so log archiving are nnoy shipped on anups2 they are on anupp1 iam showing the content of all the pfiles

    anupp1 pFile

    db_unique_name = "anupp1".
    Log_archive_dest_1 =' LOCATION = / u01/app/oracle/oradata/anupp1/arch /.
    VALID_FOR = (ALL_LOGFILES, ALL_ROLES)
    db_unique_name = anupp1'
    LOG_ARCHIVE_DEST_2 = "SERVICE = anups1 LGWR ASYNC
    VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
    db_unique_name = anups1'
    log_archive_dest_3 = "SERVICE = anups2 LGWR ASYNC
    VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
    db_unique_name = anups2'
    log_archive_dest_state_1 = enable
    LOG_ARCHIVE_DEST_STATE_2 = enable
    log_archive_dest_state_3 = enable
    fal_server = anups1
    fal_client = anupp1

    anups1 pFile

    db_unique_name = "anups1".
    Log_archive_dest_1 =' LOCATION = / u01/app/oracle/oradata/anups1/arch /.
    VALID_FOR = (ALL_LOGFILES, ALL_ROLES)
    db_unique_name = anups1'
    LOG_ARCHIVE_DEST_2 = "SERVICE = anupp1 LGWR ASYNC
    VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
    db_unique_name = anupp1'
    log_archive_dest_state_1 = enable
    LOG_ARCHIVE_DEST_STATE_2 = enable
    fal_server = anupp1
    fal_client = anups1
    log_file_name_convert ='/ u01/app/oracle/oradata/anupp1 / ',' / u01/app/oracle/oradata/anups1 /'
    db_file_name_convert ='/ u01/app/oracle/oradata/anupp1 / ',' / u01/app/oracle/oradata/anups1 /'


    anups2 pFile

    db_unique_name = "anups2".
    Log_archive_dest_1 =' LOCATION = / u01/app/oracle/oradata/anups2/arch /.
    VALID_FOR = (ALL_LOGFILES, ALL_ROLES)
    db_unique_name = anups2'
    LOG_ARCHIVE_DEST_2 = "SERVICE = anupp1 LGWR ASYNC
    VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
    db_unique_name = anupp1'
    log_archive_dest_state_1 = enable
    LOG_ARCHIVE_DEST_STATE_2 = enable
    log_file_name_convert ='/ u01/app/oracle/oradata/anupp1 / ',' / u01/app/oracle/oradata/anups2 /'
    db_file_name_convert ='/ u01/app/oracle/oradata/anupp1 / ',' / u01/app/oracle/oradata/anups2 /'

    so are over content... pls let me know what setting is not set correctly or the changes I need to make


    Thanks in advance
    Concerning
    Kavita

    Hello
    In this configuration, I guess that you are trying to implement a cascade configuration, because anups1 & anups2 set as log_archive_dest_x on anupp1.
    If you add log_archive_dest_3 to anups1 and anups2 they will ship archivelog to these two destinations in a failover. I mean:

    for anups1:
    log_archive_dest_3 = "SERVICE = db_unique_name LGWR ASYNC = (ONLINE_LOGFILES, PRIMARY_ROLE) anups2 = anups2 VALID_FOR'"

    for anups2:
    log_archive_dest_3 = "SERVICE = db_unique_name LGWR ASYNC = (ONLINE_LOGFILES, PRIMARY_ROLE) anups1 = anups1 VALID_FOR'"

    Underlined mseberg parameters are important.

  • Is it possible to create physical databases Eve from an another standby database?

    Is it possible to create physical databases idle for another physical standby database? I intend to create the second physical standby database, but I don't want to add more downtime to the production database to create the second database pending.

    You don't have to get the amount of Production downtime. Copy instead, ensure another wait. But, adds the second Eve also in Production for Archive log shipping.

  • Cannot access C: / drive with Oracle 11 G Database configuration Assistant

    Original title: m unable to access anything of my c drive.

    I configured my 11g using oracle it Database configuration Assistant O.S. is not allow me to access c still my system drive, it does not get as administration for all the system option. Please help me

    Hi abh.

    I suggest to see if the problem resolves running Startup Repair:

    http://support.Microsoft.com/kb/934540

    Chris
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can I create a new database without table using database configuration

    How can I create a new database without table using database configuration

    You can search for your "DBA 2 days" version oracle documentation for your version.  You should also read the manual of the concepts.  Create your own schema is pretty basic, all you have to do is to create a user.  Don't use dba or system for your own objects.

  • "Cannot find the dbcodes file": PeopleSoft database Configuration Wizard

    Hello

    I am setting up a new installation of PeopleSoft, based on a copy of the record of my client PS_HOME. I installed before PeopleSoft, but I used the latest versions and started from scratch. Now I use PS HRMS 8.9 and PT 8.48 on a Windows 2003 server. I followed the manual to install 8.48 PT (installation of third party tools, using configuration manager), except for the wizard to install PT, because the files are already there. I changed all config files I had to include suitable locations for PS_HOME, Oracle database drivers, etc.

    Now, I'm trying to use the database Configuration Wizard to automate the creation of the database using Oracle 10.1.0.5.0. After you have selected a non-unicode database, I click Next, select the character set, and then when I click Next again once I get the message "Cannot find the dbcodes file."

    I checked in the folder PS_HOME/setup and there are two dbcodes files: dbcodes.pt and dbcodes.hc. It is originally a kind of confusion, or the wizard missing the dbcodes file somewhere else? Or maybe that's another question altogether, I'm not sure.

    Thanks for the help.

    To start with PS_APP_HOME introduced in PeopleTools 8.52.

    On the road to Peoplesoft: Peopletools 8.52: the PS_APP_HOME variable

    As you run on PeopleTools 8.48, the application is installed in the PS_HOME.

    ptengs. DB is used to create a single database of PeopleTools, you try to create a database of HCM. This file will not be used when creating your database.

    If you want to create your copy of HCM all files from 'PS_APP_HOME' to PS_HOME database and start Data Mover with option to create database.

    Should do the trick.

  • How to apply the physical database design

    I imported the tables in my physical database and made some design changes. Now how can I apply the changes to my physical database?

    On the Tools menu, patterns for comparison/merging of views can make the comparison between registered design but no physical database?

    Published by: 871744 on April 10, 2012 20:31

    In the right part of the main toolbar, there are two blue arrows for synchronization to/from the data dictionary.

  • OATS Database Configuration tool not found

    Hey guys,.

    I wanted to just start the 'OATS Database Configuration tool', but I can't find it in "start > all programs > Oracle Application Testing Suite.
    I did a full install of OATS Version 9.31.0036.

    Someone at - it an idea?

    Best regards
    Dewi

    I'll try to check first if the dbConfiguration jar file exists on the server, and second, to get the absolute path to the pot in the command line.

    C:\Programme\Oracle\OracleApplicationTestingSuite\jdk\jre\bin\javaw.exe-Djava.library.path=C:\Programme\Oracle\OracleApplicationTestingSuite\oats\lib - cp C:\Programme\Oracle\OracleApplicationTestingSuite\wls\wlserver\server\lib\weblogic.jar; C:\Programme\Oracle\OracleApplicationTestingSuite\wls\wlserver\common\lib\pdev.jar;wlfullclient.jar-jar C:\Programme\Oracle\OracleApplicationTestingSuite\\lib\DBConfiguration.jar

    JB

  • Database configuration failed on CentOs 6.1

    After the successful installation of Oracle 11 g XE on CentOs 6.1, I tried to configure using 'configure /etc/init.d/oracle-xe. I configured the ports, password. From Oracle Net Listener passed, but the configuration of the database... step failed. Here are the config/log logs:

    [cloneDBCreation.log | http://pastebin.com/HUuWYxxs]
    [CloneRmanRestore.log | http://pastebin.com/6MxnvPXP]
    [postDBCreation.log | http://pastebin.com/YdicyG5r]
    [postScripts.log | http://pastebin.com/THfgEdbh]

    I don't really know of these scripts where could be the problem. Thanks for the replies.

    my name is sanjunbLin and sanjuronbLin ping output "ping: host unknown sanjuronbLin.
    and what I have in/etc/hosts:
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    : 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

    If something wrong with that? What should I do? THX.

    Yes, your host name is not available, not even locally.
    You it could add to the list of 127.0.0.1 assign your return address of local loop, but this would restrict access to your machine only. If you want to access your database from another computer, you must have a static IP address for your machine. This can be affected by a static DHCP rule or by giving your network card a fixed IP address. In both cases, we must add that the IP to your/etc/hosts and give it the name of your machine, so it can be resolved.
    By example, if your machine has an internal IP 192.168.1.123, your/etc/hosts should look like the following:

    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    192.168.1.123 sanjunbLin
    

    After you add this kind of entry, you should be able to restart your database configuration and to go further. If no other requirements are not present, it will end successfully.

    -Udo

  • Missing database configuration file

    Hello

    When I am trying to build an application using Maxl Script, I get the following message

    Lack the database configuration file [< Path > \Db.cfg], ask disabled logging.

    Implied by this message and how to fix this?

    It's normal if you do not query record set in place. You can ignore the message (unless you try to configure the logging of queries!).

Maybe you are looking for