Oracle 10g Data guard

Hi all
I cloned my prod using RMAN.
My Q is... y at - it no diff between cloned db, duplicate a database.
If no diff let me know...
If I cloned using this procedure to create a standby instance.

Hello

I mean you have a procedure to create a standby, and that copy of rman is part of it and in doubles.

(1) make an rman backup
Run {}
allocate channel C1 type disk;
backup database;
ARCHIVELOG backup all;
}

(2) create a control file for the day before on the primary database:
ALTER DATABASE CREATE STANDBY CONTROLFILE AS ' / oracle/local/data/backup/crunchs_controlfile.bkp2';

(3) standby redo log is optional... (but recommend that you do)
Example:
ALTER DATABASE add STANDBY LOGFILE GROUP 11 ('+ DATPRTEST1', '+ FLAPRTEST1') size 50 M;
ALTER DATABASE add STANDBY LOGFILE GROUP 12 ('+ DATPRTEST1', '+ FLAPRTEST1') size 50 M;
ALTER DATABASE add STANDBY LOGFILE GROUP 13 ('+ DATPRTEST1', '+ FLAPRTEST1') size 50 M;
ALTER DATABASE add STANDBY LOGFILE GROUP 14 ('+ DATPRTEST1', '+ FLAPRTEST1') size 50 M;
SELECT GROUP #, THREAD #, SEQUENCE #, ARCHIVED, STATUS FROM V$ STANDBY_LOG;

(4) change the file aprameter in the primary and standby

Example:

On the primary:

change system db_name set = "crunch" scope = the two sid ='* ';
ALTER system set db_unique_name = 'crunch' scope = the two sid ='* ';
ALTER system set fal_client = crunch scope = the two sid ='* ';
ALTER system set fal_server = crunch scope = the two sid ='* ';
ALTER system set db_create_file_dest ='? ' scope = the two sid ='* ';
ALTER system set db_recovery_file_dest = "?" scope = the two sid ='* ';
ALTER system set log_archive_config = 'DG_CONFIG =(crunchs,crunch)' scope = the two sid ='* ';
ALTER system set log_archive_dest_1 = USE_DB_RECOVERY_FILE_DEST VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = crunch scope RENTAL = the two sid ='* ';
ALTER system set log_archive_dest_2 SERVICE is crunches. RVPONP. FGOV.BE VALID_FOR (ONLINE_LOGFILES, PRIMARY_ROLE) = OPTIONAL DB_UNIQUE_NAME = crunch scope = the two sid ='* ';
ALTER system set log_archive_dest_state_2 reporter scope = the two sid ='* ';
ALTER system set LOCATION = USE_DB_RECOVERY_FILE_DEST scope standby_archive_dest = the two sid ='* ';

On autonomy in standby:

change system db_name set = "crunch" scope = the two sid ='* ';
ALTER system set db_unique_name = 'crunch' scope = the two sid ='* ';
ALTER system set fal_client = crunch scope = the two sid ='* ';
ALTER system set fal_server = crunch scope = the two sid ='* ';
ALTER system set db_create_file_dest ='? ' scope = the two sid ='* ';
ALTER system set db_recovery_file_dest = "?" scope = the two sid ='* ';
ALTER system set log_archive_config = 'DG_CONFIG =(crunch,crunchs)' scope = the two sid ='* ';
ALTER system set log_archive_dest_1 = USE_DB_RECOVERY_FILE_DEST VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = crunch scope RENTAL = the two sid ='* ';
ALTER system set log_archive_dest_2 SERVICE is crunches. RVPONP. FGOV.BE VALID_FOR (ONLINE_LOGFILES, PRIMARY_ROLE) = OPTIONAL DB_UNIQUE_NAME = crunch scope = the two sid ='* ';
ALTER system set log_archive_dest_state_2 reporter scope = the two sid ='* ';
ALTER system set LOCATION = USE_DB_RECOVERY_FILE_DEST scope standby_archive_dest = the two sid ='* ';

(5) copy us the password of the primary file and rename it to standby:
/Oracle/product/10.2.0/DB/DBS

Database standby departure not mounted
sqlplus sys as sysdba
startup nomount pfile='oracle/product/10.0.2/db/dbs/initcrunchs.ora';
(or startup nomount; if the spfile exists before already)...

Retrieve the eve of RMAN backup database
. oraenv
crunch

RMAN nocatalog
connection target sys /? @crunch
connection Assistant sys /?
target database duplicate for standby;

Create a settings file server for database backup
sqlplus sys as sysdba
Create spfile from pfile;
stop immediately;
bootable media;

Standby:
ALTER DATABASE RECOVER MANAGED STANDBY BASE DISCONNECT FROM THE SESSION.
Elementary school:
ALTER system set log_archive_dest_state_2 = 'enable '.

Up and running...

Now you can after your copy and if the parameter files are both good, try:
Standby:
ALTER DATABASE RECOVER MANAGED STANDBY BASE DISCONNECT FROM THE SESSION.
Elementary school:
ALTER system set log_archive_dest_state_2 = 'enable '.

Tags: Database

Similar Questions

  • How do to log into oracle 10g data guard

    I get the error message like "oracle initialization or shutdown in progress"

    Appreciate any help...

    MRP is run the recovery process and LNs is write network-server log.

    Yes, they have done...

  • Oracle 10g - Date in a SELECT for CFOUTPUT query format

    Hello, everyone.

    The project that I'm putting in the dev environment is connected to an Oracle 11 g server, but the production plan is Oracle 10 g.

    I have a page that is the mistake of production (but not development) when it is a date that she should display.

    A colleague mentioned that, in 10 g, if a time is selected, you will need to put in to_char(), so I did.

    But it is still a mistake, and I don't get an error message, so I'm assuming that I have a bad format for the date in the SELECT.

    What is the right format to select a time when using to_char()?  At the present time, I have SELECT to_char (create_date,'YYYY-MM-DD hh: mi ') FROM tableA .  Isn't this correct for CF to the exit?

    Thank you

    ^_^

    One afternoon, run SELECT to_char (sysdate,' DD/MM/YYYY HH: mi ') of double.  Then decide if you chose the mask suitable for hours.

  • Active data guard for EBS

    Hi all

    EBS r12.2.4

    rhel6.5

    Active Dataguard applies in ebs?

    It is available in 11.1 or 11.2 only and up to?

    Thank you very much.

    JC

    Hello JC,.

    See the following blog: https://blogs.oracle.com/stevenChan/entry/oracle_active_data_guard_111

    See also ""E-Business Suite Oracle Active Data Guard Certifications ". "

    Coco - M

  • Oracle 10g RAC + ASM + Data Guard: Question on the new disk group.

    Hello

    One of our clients is to have Oracle 10 g RAC + ASM + Data Guard. Database is the disk DATA_DG1 group and FRA is on FLASH_DG1. Data Guard is a single instance on ASM.

    To add more space, we can create another disc of the Group DATA_DG2 on Prod ASM and Data Guard ASM env, replication continues without any problem. Will be archiving logs shipped to the second disk DATA_DG2 group and applied without any configuration changes?

    Rgds,

    Yes, it sounds great.

    You should be fine with the implementation of these measures and the dataguard should continue on as usual.

    Just make sure that you are dealing with a physical standby that has not the conerts file name defined.

  • Using Oracle 11 g Data Guard disaster recovery

    Hi, can anyone answer if Oracle 11 g Data Guard by itself provides an option for making/switch between the main bases and emergency (back and forth) disaster and as a restoration solution, seamlessly? Here's the scenario:

    1. two databases (active and reserve)

    2 put it to sleep (make primary with read/write)

    3. restore to the original database

    Data Guard has two transitions of role... Failover and the digital switchover.

    Passage to the fact exactly what you describe. You can switch to standby and vice versa. However, this will not work unless the primary and the standby are available. If you will not be able to perform an operation of swichover when you have a failure in the main data center that makes the primary db not available.

    Failover will be the day before in a primary for the moments where the primary origin is not available. Unlike the digital switchover, failover is one-way. There is no 'restoration' of failover. If you do not failover, then once the old Center of main data is operational again and you can get the former primary database up, you must restore from the first news and make a watch for the first new. At this point, you can then make a pass to come back and run in the original data center.

    HTH,

    Brian

  • ORACLE DATA GUARD

    Hello everyone

    Je challenge me make a lab for learn ORACLE DATA GUARD technically, my question is what is possible to make this work between two VM Machine,

    If Yes so What are the Prerequisites at the end of success in this challenge

    thnx

    It is quite possible. I myself learned per virtual machine.

  • Oracle will consider the creation of a day 2 hands on the documentation for Data Guard?

    Hello

    Oracle will consider the creation of a documentation of son of hands 2 day for Data Guard?

    There is already an OTN 2 day of CARS and performance tuning documentation.

    Thank you

    Updated - she sent the link to this topic for the Product Manager Data Guard.  As a result, Oracle may or may not consider creating 2 days hands on Data Guard documentation, but no doubt they consider at least considering creation day 2 hands on the Data Guard documentation.

  • Oracle will produce Certification Exam preparation seminar for ECAS 12 c Perf Tuning, Rac, Data Guard?

    Hello

    Oracle will produce Certification Exam preparation seminar for Oracle 12 c OCÉ Perf Tuning, Rac, Data Guard?

    I took the seminar for RAC and oracle 11 GRID infrastructure certification exam.

    I was wondering if they will ever do this course of preparation for Oracle 12 c for

    * performance (1z0-064)

    * rac and grid infrastructure (1z0-068)

    * Data Guard (1z0-066)

    Thank you Roger

    I don't know if everything is still planned for the creation of the seminars review for these exams. If/when they are released, they will be announced on our blog - blogs.oracle.com/certification.

    Kind regards
    Brandye Barrington

    Oracle Certification program

  • Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    I guess its text fields are the date data type.

  • The Oracle has EM package for monitoring Data guard

    I need to know if a EM supervisory package Dataguard Oracle, that's our SSO database that is replicated through Data guard

    Hello

    It can control and you can click on a button in MS do the switchover - it is fully integrated.

    Don't know what 'pack' it is considered part of the property... or if you have some of them, without needing extra licenses - not sure.

    See you soon,.

    Rich

  • Oracle will always create a Data Guard certification?

    Oracle will always create a data protection Certification?

    If so it would be more than a "HA" - high availability.

    or would it only be on Active Data Guard.

    Thank you

    We have a Data Guard Admin certification soon. Unfortunately, I have not closer than that date.

    https://blogs.Oracle.com/certification/entry/0856_31

    Kind regards
    Brandye Barrington

    The Forum Moderator

  • Options for Oracle GoldenGate and Oracle Data Guard

    Hello

    Please give me suggestions on Oracle GoldenGate vs Oracle DataGuard? Based on the options, I choose for the implementation

    Thanks in advance

    Thank you
    Vincent

    Hello

    Oracle Dataguard:

    1 primary and Standby Database must be the same. (But 11g, it supports Heteregenous Data Guard Configurations. Example: We can imeplement Oracle Data Guard between Oracle Linux 6.2 Server (x86_64) and Microsoft Windows 2008 Server R2 (x 64)

    2 oracle Database version should be same in source and target

    3. no additional license required for Oracle Data Guard to install.

    Oracle GoldenGate:

    1 operating system in the primary database and the Standby Database are not necessarily even.

    2. major databases and standby are not necessarily even. (Including database software).

    3 oracle GoldenGate Software license required in the Source code and database is target.

    Hope it helps to...

    Thank you
    LaserSoft

  • Additional logging with Oracle 10 g 2 streams and Data Guard

    Hello

    I have a physical environment with DB Oracle 10 g 2 and Standby with Data Guard DR CONF. At the present time, this environment will be extended to a pattern of replication using 2-way Oracle Streams Replication (for replication to the central office of this branch, other channels will be added soon). The primary DB is replicated to the other primary DB (at the telephone exchange remotely).

    So, there's my question: it is completely necessary to specify an additional record on data sources (primary) to set the 2-way Streams replication? and, if it is completely necessary, then, can configure additional connection on primary without affecting their physical Standby, or what I have to do something special?

    Thanks in advance.

    Yes, for the streams you need additional registration. There is no impact on databases physical standby.

  • The component of Oracle Data Guard is free to use on the production database?

    The component of Oracle Data Guard is free to use on the production database?
    If not, how much is the fee?

    What about Oracle coherence?

    http://www.Oracle.com/corporate/pricing/technology-price-list.PDF

    Coherence Standard Edition 100 22.00 4 600 1,012.00
    Coherence Enterprise Edition 230 50.60 2530,00 11 500
    Coherence Grid Edition 500 110.00 5,500.00 25 000
    Coherence Suite 1 000 220,00 11,000.00 50 000
    BPEL Process Manager 1 200 264.00 60 000 13 200.00

    DataGuard active 120 26.40 5 800 1,276.00
    The regular care of the data is free

Maybe you are looking for