Data Guard und restart-database

Hi experts,
I did the following activities:
+ defined first a restart standalone database dg1 on the system dwh with Linux RH 5.4/ Oracle 11.2.0.3 -Environment with clusterware.
+ then created a standby database dg2 on the system stb with Linux RH 5.4/ Oracle 11.2.0.3 -Environment with with clusterware.
+ and made a switchover from dg1 to dg2. Now dg2 is primary and dg1 is standby.
My Problems.
1/ dg1 does not restart automatically now after system reboots
2/ dg2 is not automatically restarted, because there is no resource for it defined lócal or in cluster.
I tried to make them to restart-databases unsuccessfully
a/ to define dg2 a restart-db on stb :
[oracle@stb ~]$ srvctl add instance -d dg2 -i dg -n stb
PRCD-1120 : The resource for database dg2 could not be found.
PRCR-1001 : Resource ora.dg2.db does not existb/ to add ora.dg2.db as cluster-resource on dwh :
[grid@dwh ~]$ crsctl add resource ora.dg2.db -type ora.database.type -file /home/grid/dg2
CRS-0245:  User doesn't have enough privilege to perform the operation
CRS-4000: Command Add failed, or completed with errors.Where file /home/grid/dg2 contains:
TYPE=ora.database.type
STATE=ONLINE
TARGET=ONLINE
ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--
ACTION_FAILURE_TEMPLATE=
ACTION_SCRIPT=
ACTIVE_PLACEMENT=1
AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
AUTO_START=restore
CARDINALITY=1
CARDINALITY_ID=0
CHECK_INTERVAL=1
CHECK_TIMEOUT=30
CLUSTER_DATABASE=false
CREATION_SEED=222
DATABASE_TYPE=SINGLE
DB_UNIQUE_NAME=dg2
DEFAULT_TEMPLATE=PROPERTY(RESOURCE_CLASS=database) PROPERTY(DB_UNIQUE_NAME= CONCAT(PARSE(%NAME%, ., 2), %USR_ORA_DOMAIN%, .)) ELEMENT(INSTANCE_NAME= %GEN_USR_ORA_INST_NAME%) ELEMENT(DATABASE_TYPE= %DATABASE_TYPE%)
DEGREE=1
DESCRIPTION=Oracle Database resource
ENABLED=1
FAILOVER_DELAY=0
FAILURE_INTERVAL=60
FAILURE_THRESHOLD=1
GEN_AUDIT_FILE_DEST=/u01/app/oracle/admin/dg2/adump
GEN_START_OPTIONS=
GEN_START_OPTIONS@SERVERNAME(stb)=open
GEN_USR_ORA_INST_NAME=
GEN_USR_ORA_INST_NAME@SERVERNAME(stb)=dg
HOSTING_MEMBERS=stb
ID=ora.dg2.db
INSTANCE_FAILOVER=1
LOAD=1
LOGGING_LEVEL=1
MANAGEMENT_POLICY=AUTOMATIC
NLS_LANG=
NOT_RESTARTING_TEMPLATE=
OFFLINE_CHECK_INTERVAL=0
ONLINE_RELOCATION_TIMEOUT=0
ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/dbhome_1
ORACLE_HOME_OLD=
PLACEMENT=restricted
PROFILE_CHANGE_TEMPLATE=
RESTART_ATTEMPTS=2
ROLE=PRIMARY
SCRIPT_TIMEOUT=60
SERVER_POOLS=
SPFILE=
START_DEPENDENCIES=weak(type:ora.listener.type,uniform:ora.ons)
START_TIMEOUT=600
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=
STOP_TIMEOUT=600
TYPE_VERSION=3.2
UPTIME_THRESHOLD=1h
USR_ORA_DB_NAME=dg
USR_ORA_DOMAIN=
USR_ORA_ENV=
USR_ORA_FLAGS=
USR_ORA_INST_NAME=dg
USR_ORA_OPEN_MODE=open
USR_ORA_OPI=false
USR_ORA_STOP_MODE=immediate
VERSION=11.2.0.3.0.My Questions:
1/ What I have done wrong?
2/ Are there simple solultions?
Thanks and regards
hqt200475

Hello;
PRCD-1120 and PRCR-1001 the reason for these is raccheck is not able to list this database.
double check you name :
Select name from v$database;
Use crs_stat to see if you name if correct and if the database is offline.
I'm thinking registered with the cluster is in OFFLINE state.
crsctl setperm resource <resource_name> -o oracle
crsctl setperm resource <resource_name> -g oinstall
Not really a Data Guard issue, more of a Clusterware issue. ( I say this because Clusterware is getting out of my area )
I think it a bug, but I cannot find the bug number.
May help :
http://oracleexamples.wordpress.com/tag/srvctl-add-service/
Reconfiguring & Recreating The 11gR2 Restart/OHAS/SIHA Stack Configuration (Standalone). [ID 1422517.1]
Resources in OCR Are not Cleaned up Completely After Database ORACLE_HOME De-Install [ID 1108023.1]
How to Delete From or Add Resource to OCR in Oracle Clusterware [ID 1069369.1]
Best Regards
mseberg
Edited by: mseberg on Apr 23, 2012 7:43 AM

Similar Messages

  • How to setup Data guard for SAP database?

    Can someone please tell me how to setup data guard for SAP databases?
    Thanks,
    Abhi

    Hi Abhi,
    have a look at OSS 105047 - Support for Oracle functions in the SAP environment you find this under
    14
    Oracle Data Guard
    You can use "Physical Standby".
    You cannot use "Logical Standby".
    You are allowed to use Fast Start Failover (FSFO) but SAP Support is not provided.
    You can use Data Guard Broker.
    You can use Maximum Performance Mode, Maximum Availability Mode and Maximum Protection Mode.
    In the case of Maximum Availability and Maximum Protection, you must pay particular attention to a fast network connection in order to avoid performance problems.
    Maximum Protection causes the primary database to terminate if problems occur in the standby database.
    And here you find on Oracle white paper from 2010 http://www.oracle.com/us/solutions/sap/wp-ora4sap-dataguard11g-303811.pdf
    Perhaps some SAP user have answers for you http://scn.sap.com/community/oracle/content?query=guard
    regards
    Kay

  • Data guard standby restart in rocover mode

    Hi,
    I inherited a data guard database and found that the secondary DB has been out of sync with primary. I perform SCN recovery to the secondary and now they are fine syncing. I figured I had to manually put the standby in recover mode after open in read only mode in the one I worked on which is our qual environment where as it is not like that in the prod. Can anyone advise what I need to do to have this standby in recovery mode even after the DB go down for maintenance and come back on?
    Thanks for your input,
    fakord

    Hi,
    If you are using database guard broker then it will automatically starts the apply as it controls the apply. If not probably a shell script to start the standby database followed by this line can help.
    alter database recover managed standby database using current logfile disconnect from session;
    HTH,
    Pradeep

  • 11g Data guard 建physical standby database配置相关问题

    General information
    OS:red hat Linux 2.6.32-200.13.1.el5uek x86_64(primary,standby)
    Home version:11.2.0.3(primary,standby)
    Situation:
    实验用库,想学习data guard,在另一个服务器上克隆了一个HOME并按照官方文档http://docs.oracle.com/cd/E11882_01/server.112/e25608/create_ps.htm#i1225703
    中去实验,步骤均按照官方文档来,最后在mount standby库时校验select sequence# from v$archived_log没有记录,出错日志如下(从mount开如截取)
    standby alert_dbacoe.log
    Error logs
    alter database mount
    Completed: alter database mount
    Error 604 received logging on to the standby
    +FAL[client, ARC2]: Error 604 connecting to PRIMARYSV for fetching gap sequence+
    Errors in file /u05/oracle/app/oracle/diag/rdbms/standby/dbacoe/trace/dbacoe_lgwr_1912.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u04/app/oracle/redundancy/dbacoe/redo01_s.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 1 thread 1: '/u03/app/oracle/oradata/dbacoe/redo01.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Errors in file /u05/oracle/app/oracle/diag/rdbms/standby/dbacoe/trace/dbacoe_lgwr_1912.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u04/app/oracle/redundancy/dbacoe/redo01_s.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 1 thread 1: '/u03/app/oracle/oradata/dbacoe/redo01.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Errors in file /u05/oracle/app/oracle/diag/rdbms/standby/dbacoe/trace/dbacoe_lgwr_1912.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u04/app/oracle/redundancy/dbacoe/redo02_s.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 2 thread 1: '/u03/app/oracle/oradata/dbacoe/redo02.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Errors in file /u05/oracle/app/oracle/diag/rdbms/standby/dbacoe/trace/dbacoe_lgwr_1912.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u04/app/oracle/redundancy/dbacoe/redo02_s.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 2 thread 1: '/u03/app/oracle/oradata/dbacoe/redo02.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Errors in file /u05/oracle/app/oracle/diag/rdbms/standby/dbacoe/trace/dbacoe_lgwr_1912.trc:
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: '/u04/app/oracle/redundancy/dbacoe/redo03_s.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 3 thread 1: '/u03/app/oracle/oradata/dbacoe/redo03.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Errors in file /u05/oracle/app/oracle/diag/rdbms/standby/dbacoe/trace/dbacoe_lgwr_1912.trc:
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: '/u04/app/oracle/redundancy/dbacoe/redo03_s.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 3 thread 1: '/u03/app/oracle/oradata/dbacoe/redo03.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ARC3: Archival started
    ARC0: STARTING ARCH PROCESSES COMPLETE
    Addition:
    因为是实验用库,所以结构有点怪,大体如下:
    Primary
    数据文件在BASE所在的oradata下 即/u03/app/oracle下,
    redo文件每组两份,一份在oradata下,另一份在同机的/u04/app/oracle/redundancy中(以_s结尾命名)
    archive文件在/u04/app/oracle/fast_recovery_area中
    standby
    数据文件在/u05/oracle/app/oracle/oradata下
    redundancy中的redo文件随着该目录放到oradata下的red中了
    archive文件目录则是/u05/oracle/app/oracle/fast_recovery_area中
    接下来是对应的init文件与TNS信息
    Primary端的init主要信息
    db_unique_name='PRIMARY'
    fal_client='PRIMARYSV'
    fal_server='STANDBYSV'
    log_archive_config='DG_CONFIG=(PRIMARY,STANDBY)'
    log_archive_dest_1='location=/u04/app/oracle/fast_recovery_area/DBACOE/archivelog VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=PRIMARY'
    log_archive_dest_2='service=STANDBY ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=STANDBY'
    log_archive_dest_state_1='enable'
    log_archive_dest_state_2='enable'
    db_file_name_convert='/u05/oracle/app/oracle/oradata/dbacoe','/u03/app/oracle/oradata/dbacoe',/u05/oracle/app/oracle/oradata/red','/u04/app/oracle/redundancy'
    log_file_name_convert='/u05/oracle/app/oracle/fast_recovery_area/DBACOE/archivelog','/u04/app/oracle/fast_recovery_area/DBACOE/archivelog'
    Standby端的init信息
    log_archive_config='DG_CONFIG=(PRIMARY,STANDBY)'
    db_unique_name='STANDBY'
    db_file_name_convert='/u03/app/oracle/oradata/dbacoe','/u05/oracle/app/oracle/oradata/dbacoe','/u04/app/oracle/redundancy','/u05/oracle/app/oracle/oradata/red'
    log_file_name_convert='/u04/app/oracle/fast_recovery_area/DBACOE/archivelog','/u05/oracle/app/oracle/fast_recovery_area/DBACOE/archivelog'
    log_archive_dest_1='location=/u05/oracle/app/oracle/fast_recovery_area/DBACOE/archivelog VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=STANDBY'
    log_archive_dest_state_1=enable
    log_archive_format=log%t_%s_%r.arc
    log_archive_dest_2='SERVICE=PRIMARYSV ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PRIMARY'
    log_archive_dest_state_2=enable
    TNS信息如下(均能tnsping通)
    PRIMARYSV =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = db1.ad.xxxxxx.com)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = dbacoe)+
    +)+
    +)+
    STANDBYSV =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = db2.ad.xxxxx.com)(PORT = 1529))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = dbacoe)+
    +)+
    +)+
    PS:请大家花费一点点时间阅读一下这冗长的段子,刚开学data guard,参数上设置都很生疏,(光照着文档做了,是否有redo log相关的操作遗漏?)敬请指教
    Edited by: 961394 on Dec 10, 2012 1:52 AM
    Edited by: 961394 on 2012-12-10 上午4:58

    结贴了,感谢maclean一群的Jesse Lui帮我解决问题

  • About Data Guard - Physical Standby Database

    Dear All,
    I have read many documents regading Data Guard.
    I am about to setup Data Guard in our current environment but want to clear few tings.
    I have a confusion between physical and logical standby database.
    What I have read from different documents is:
    -Physical Standby Database in (11g)
    1) It is the most efFicient
    2) I can be either in mount or open state
    3) Select queries and reporting can be done to improve performance of the primary database.
    4) Schema on primary and standby database is always the same
    -- Logical Standby Database
    1) You can create additional tables, indexes, etc.
    2) Always in open mode
    3) Select queries and reporting can be done to improve performance of the primary database
    Now our scenerio is, that we have one server at the moment, OS is linux and operating system is 11g. We want to setup an other server in another country, will also be 11g on Linux in a way that it acts as standby/backup server. Schema and data is always the same. In case due to unavailability of primary server, standby server acts as the primary server (This has to be automated). The reason for unavailability could be any like maintenance work on primary server, network or hardware failure at primary server. The last and the most important thing is that users from this country where we will setup standby database will insert/update data on the primary server BUT queries and reporting will be done from this newly created standby data.
    Kindly recomend the best Data Guard in this scenerio and kindly correct me where I am wrong.
    Thanks, Imran

    A logical standby has various limitations on things like data types. It's also a much more complex architecture, which makes it more likely that something will break periodically and require attention. Applying redo to a physical standby is code that has been around forever and is as close to bullet-proof as you'll get. And you would generally prefer to fail over to a physical standby-- if you do things like create new objects in the logical standby, you may have to get rid of those objects during a failover to get acceptable OLTP performance.
    Justin

  • Active Data Guard in different database versions (11.2.0.3  and 11.2.0.4)

    In case of Active Data Guard can i run different database versions (11.2.0.3  and 11.2.0.4) at Primary and DR for production environment ?  And will having RAC in environment make any difference?

    Hi,
    >>In case of Active Data Guard can i run different database versions (11.2.0.3  and 11.2.0.4) at Primary and DR for production environment ?
    As per normal Data Guard requirement, Oracle 11.2 does support flexibility where Primary and Standby may have different hard wares such as CPU architecture and OS etc. but the Oracle RDBMS software version must be the same. Having said so does not mean it will not support it. Beginning with 11.1.07, a physical standby database can be used to execute a rolling database upgrade to a new Oracle Patch Set or database release by using the transient logical rolling database upgrade process. It means you can have with different database version but for how long, you need to check above documents.. For complete information you should read this note:
    Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration (Doc ID 413484.1)  &
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-transientlogicalrollingu-1-131927.pdf
    2) >> And will having RAC in environment make any difference?
    NO.   You can find answer at -  https://docs.oracle.com/cd/E11882_01/server.112/e41134/standby.htm#SBYDB4716
    **The primary database can be a single instance database or an Oracle Real Application Clusters (Oracle RAC) database. The standby databases can be single instance databases or Oracle RAC databases.
    HTH,
    Pradeep

  • 11g Data Guard --ORA-01103: database name 'PRIM' in control file is not 'ST

    Dear all,
    From no mount stage i am trying to bring the db in mount stage in standby database
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01103: database name 'PRIM' in control file is not 'STANDBY'
    What is this problem ?
    I have taken standby control from from standby database and places with datafile's and removed the orginal control file. and added this standby.ora file in parameter file also (pfile).
    the Primary database name is PRIM and standby database name is STANDBY.
    This is my first time doing this data guard configuration kindly let me know what i have to do at this above mentioned stage ..
    Regards
    Hamid

    Standby DB init file
    prim.__db_cache_size=536870912
    prim.__java_pool_size=8388608
    prim.__large_pool_size=8388608
    prim.__oracle_base='F:\standby'#ORACLE_BASE set from environment
    prim.__pga_aggregate_target=520093696
    prim.__sga_target=771751936
    prim.__shared_io_pool_size=0
    prim.__shared_pool_size=209715200
    prim.__streams_pool_size=0
    audit_file_dest='F:\standby\admin\standby\adump'
    audit_trail='db'
    compatible='11.2.0.0.0'
    control_files='F:\standby\oradata\standby\STANDBY.ctl'
    db_block_size=8192
    db_domain='AKEETECH.COM'
    db_name='prim'
    db_recovery_file_dest='F:\standby\flash_recovery_area'
    db_recovery_file_dest_size=4039114752
    diagnostic_dest='F:\standby'
    dispatchers='(PROTOCOL=TCP) (SERVICE=standbyXDB)'
    fal_client='standby'
    fal_server='prim'
    local_listener='LISTENER_PRIM'
    memory_target=1288699904
    open_cursors=300
    processes=150
    remote_login_passwordfile='EXCLUSIVE'
    standby_file_management='auto'
    undo_tablespace='UNDOTBS1'
    standby_file_management=auto
    fal_server=prim
    fal_client=standby
    Primary Db Init file
    prim.__db_cache_size=536870912
    prim.__java_pool_size=8388608
    prim.__large_pool_size=8388608
    prim.__oracle_base='D:\Primary'#ORACLE_BASE set from environment
    prim.__pga_aggregate_target=520093696
    prim.__sga_target=771751936
    prim.__shared_io_pool_size=0
    prim.__shared_pool_size=209715200
    prim.__streams_pool_size=0
    *.audit_file_dest='D:\Primary\admin\prim\adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='D:\Primary\oradata\prim\control01.ctl','D:\Primary\flash_recovery_area\prim\control02.ctl'
    *.db_block_size=8192
    *.db_domain='AKEETECH.COM'
    *.db_name='prim'
    *.db_recovery_file_dest='D:\Primary\flash_recovery_area'
    *.db_recovery_file_dest_size=4039114752
    *.diagnostic_dest='D:\Primary'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primXDB)'
    *.local_listener='LISTENER_PRIM'
    *.memory_target=1288699904
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    standby_file_management=auto
    fal_server=prim
    fal_client=standby
    Steps i have followed till now.
    1) Created standby control file in primary in mount stage (STANDBY.CTL)
    2) Installed 11g DB software alone in standby location
    3) Shutdown the Primary DB and Taken cold back of all the other files and copied in Standby DB location (Primary in D:\ Drive and Standby in F:\ Drive )
    4) Edited init parameters in Primary and standby
    5) Startup no mount pfile= standby db init file ( its started )
    6) SQL> alter database mount standby database; --- at this time i got the error i have mentioned above, so i have changed the db_name same in both init.ora files
    7)
    Up to this step i have done .. but this is all blindly.. not in clear understanding..
    Kindly guide me.. step by step configuration..
    Regards
    Hamid

  • Rman clone ? duplicate database ? data guard ? standby database?

    hey there !!
    What is the difference between Rman clone , duplicate database , data Guard , standby db?
    1 more thing , standby database and duplicate database are same??

    RMAN Clone : you take backup of a database on one server ,then take it to other server ,again use RMAN to restore the database,A lot manual intervention is needed in this method
    RMAN DUPLICATE: same as above just that manual intervention is less. With 11gR2 there active database duplication in which you can clone your test database directly from production database without taking and then transferring the backup to test server.
    Standby Database :they are of two types Physical and logical.The setup is done using RMAN with any of the above methods.Standby is the in-sync (can have some delay) version of primary database either block by block which is physical standby configuration or SQL statment wise which is logical standby.
    Data Guard:This is also a standby configuration.Here the failover and switchover are automated with the help of DGMGRL utility.In manual standby this same can be done via SQL*PLUS using sql commands

  • Physical Data Guard as Test Database?

    I am in a new shop and the first DBA in the shop. On the first day I see that they have ‘tablespace full’ problems because people are running test jobs on the production database – reports, I hope!
    This is a 10g database on hp/ux.
    I will suggest that I create a proper test database as a physical standby database from production. The amount of data in the production database is not enormous. There is just a need to create a test system good enough to pull the testers off the production system.
    But what about the day that someone mangles the test system? How do you get a physical standby database back in sync? Restore from backup and reapply logs? Recreate the standby from production? Or is there a better way to do all this than physical standby?
    TYIA

    1) Running reports should never cause tablespaces to fill up. Selecting data doesn't cause any data to be written to tablespaces. You might get errors related to exhausting the TEMP tablespace if the reports are doing a lot of sorts, but it doesn't sound like that's what you're seeing.
    2) You would not normally create a test database as a standby of the primary database. Normally, you would take a backup of the production database and restore that backup on to the test server, rename the database, and open it up as the test system. Assuming you're using RMAN to back up the production database, this should be relatively straightforward.
    3) Normally, you would then schedule a regular restore of the production backup to the test server in order to refresh the test system. That's normally something that's done roughly monthly, but that depends on the frequency of your builds and how frequently you need pristine and/or updated data in the test system. In addition to providing a test system, doing regular restores is a great way to validate your backup and recovery strategy in a relatively low-stress environment-- it's much nicer to discover that the process that writes to tape has been broken for 3 weeks when you're attempting to refresh the test database than when the production database has failed and angry users are standing outside your cube demanding that you get the database up now.
    4) Going back to #1, though, if data tablespaces are filling up, that would seem like something that should be investigated in addition to the lack of a test environment.
    Justin

  • Data Guard or Standby Database

    Hi all,
    Im confused about "physical standby" and "logical standby". Can an entire database export be logical standby? Or the logical standby is only the output of RMAN backup.
    Thanks

    Physical Standby
    A physical standby database is kept synchronized with the primary database, through Redo Apply i.e., block-to-block transfer which recovers the redo data received from the primary database and applies the redo to the physical standby database.
    The database schema, including indexes, are the same.
    Logical Standby
    The logical standby database is kept synchronized with the primary database though SQL Apply, which transforms the data in the redo received from the primary database into SQL statements and then executing the SQL statements on the standby database.
    In Logical standby the physical oraganization and structure will be different.
    The below link helps you to know much about the difference between Physical and Logical Standby.
    http://www.dba-oracle.com/t_difference_logical_physical_standby_database.htm ----------by Burleson
    Hope it would be helpful. :)

  • Anyone has experience using 9i data guard for standby database??

    I'll be appreciate if you let me know how you set it up, thanks...

    Hi --
    Aperture is extremely flexible.  You have unlimited use of Keywords.  Additional built-in tags are
    - Ratings (7 levels, easily shown with Images)
    - Color Labels (8 labels, easily shown with Images)
    - Location (assigned or based on GPS, has own interface)
    - Faces (Aperture comes with a useful face recognition engine, own interface)
    - Custom metadata fields (e.g.: Purchaser)
    - etc.
    It's organizing abilities are second to none in its class (including Lightroom, Capture One Pro).
    Provide some details about your research project, and I'm sure we can comment specifically rather than generally.
    --Kirby.

  • Data Guard configuration for RAC database disappeared from Grid control

    Primary Database Environment - Three node cluster
    RAC Database 10.2.0.1.0
    Linux Red Hat 4.0 2.6.9-22 64bit
    ASM 10.2.0.1.0
    Management Agent 10.2.0.2.0
    Standby Database Environment - one Node database
    Oracle Enterprise Edition 10.2.0.1.0 Single standby
    Linux Red Hat 4.0 2.6.9-22 64bit
    ASM 10.2.0.1.0
    Management Agent 10.2.0.2.0
    Grid Control 10.2.0.1.0 - Node separate from standby and cluster environments
    Oracle 10.1.0.1.0
    Grid Control 10.2.0.1.0
    Red Hat 4.0 2.6.9-22 32bit
    After adding a logical standby database through Grid Control for a RAC database, I noticed sometime later the Data Guard configuration disappeared from Grid Control. Not sure why but it is gone. I did notice that something went wrong with the standby creation but i did not get much feedback from Grid Control. The last thing I did was to view the configuration, see output below.
    Initializing
    Connected to instance qdcls0427:ELCDV3
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    Data Protection Settings:
    Protection mode : Maximum Performance
    Log Transport Mode settings:
    ELCDV.qdx.com: ARCH
    ELXDV: ARCH
    Checking standby redo log files.....OK
    Checking Data Guard status
    ELCDV.qdx.com : ORA-16809: multiple warnings detected for the database
    ELXDV : Creation status unknown
    Checking Inconsistent Properties
    Checking agent status
    ELCDV.qdx.com
    qdcls0387.qdx.com ... OK
    qdcls0388.qdx.com ... OK
    qdcls0427.qdx.com ... OK
    ELXDV ... WARNING: No credentials available for target ELXDV
    Attempting agent ping ... OK
    Switching log file 672.Done
    WARNING: Skipping check for applied log on ELXDV : disabled
    Processing completed.
    Here are the steps followed to add the standby database in Grid Control
    Maintenance tab
    Setup and Manage Data Guard
    Logged in as sys
    Add standby database
    Create a new logical standby database
    Perform a live backup of the primary database
    Specify backup directory for staging area
    Specify standby database name and Oracle home location
    Specify file location staging area on standby node
    At the end am presented with a review of the selected options and then the standby database is created
    Has any body come across a similar issue?
    Thanks,

    Any resolution on this?
    I just created a Logical Standby database and I'm getting the same warning (WARNING: No credentials available for target ...) when I do a 'Verify Configuration' from the Data Guard page.
    Everything else seems to be working fine. Logs are being applied, etc.
    I can't figure out what credentials its looking for.

  • DB link problem between active Data Guard and report application database

    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?

    Fazlul Kabir Mahfuz wrote:
    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?
    Check this note which is applicable for your environment
    *ORA-01555 on Active Data Guard Standby Database [ID 1273808.1]*
    also
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8908307196113

  • Backuping up a standby database in a Data Guard environment!

    Hello everyone,
    I have set a Data Guard in Oralce 10.2.0 between 2 databases for testing purposes. Each database is located on a different server. I want to schedule an incremental backup of the standby database to do an incremental level_1 backup everyday. I am following this paper:
    [Using Recovery Manager with Oracle Data Guard in Oracle Database 10g|http://www.oracle.com/technetwork/database/features/availability/rman-dataguard-10g-wp-1-129486.pdf]
    but it's really unclear, for me, how this command sequence is constructed:
    RECOVER COPY OF DATABASE WITH TAG ‘OSS’;
    BACKUP DEVICE TYPE DISK INCREMENTAL LEVEL 1 FOR
    RECOVER OF COPY WITH TAG ‘OSS’ DATABASE;
    BACKUP ARCHIVELOG ALL NOT BACKED UP TO SBT;
    BACKUP BACKUPSET ALL;How can I recover a copy of database that wasn't backed up before? When I did that in RMAN, I got the following output:
    Starting recover at 03-APR-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=159 devtype=DISK
    no copy of datafile 1 found to recover
    no copy of datafile 2 found to recover
    no copy of datafile 3 found to recover
    no copy of datafile 4 found to recover
    no copy of datafile 5 found to recover
    Finished recover at 03-APR-11Could anyone please help me understanding this sequence of commands in a simple way to get a better idea of how to backup a standby database?
    Thanks in advance...

    On the first day, there is no backup to recover. It is only on the third day's run that this command will really be successful.
    The white paper does explain this.
    Hemant K Chitale

  • Problem with data guard Creating a Physical Standby Database turorial

    There is a tutorial of Creating a data guard Physical Standby Database:
    http://www.oracle.com/technology/obe/11gr1_db/ha/dataguard/physstby/physstdby.htm
    I tried to install it on two servers. One for primary database second for physical standby.
    I have error on C. Creating the standby database over the network, action #6:
    "On the standby system, set the ORACLE_SID environment variable to your <physical standby SID> (i.e. orclsby1) and start the instance in NOMOUNT mode with the text initialization parameter file."
    When I try to connect to idle instance there is an error pops up:
    C:\>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 21 16:28:10 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    I'v checked listener and it is runned. There is no service for database because there is no database yet.
    The question is did some one installed data guard configuration using this tutorial? Is there any errors in it? What should I do to finish this installation?

    On Windhose for every instance a service must have been created using the oradim command.
    Oracle tutorials are usually Unix-centric, as Windhose is an odd man out, so they don't discuss that bit.
    'Kindly do the needful' and create the service prior to starting the instance in nomount mode
    Hint: oradim is documented and has a help=y clause.
    IIRC there is an option in database control (in the maintenance part) which automates everything.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who do read documentation

Maybe you are looking for

  • Importing VGA 640x480 into Imovie09

    I recently bought a Panasonic GH-1 and shot some video in MOTION JPEG VGA 640x480. Next I discovered that my Powerbook G-4 was too old and slow to do much editing so I bought a new MacBook Pro. Now I find that I can't import the video into iMovie09.

  • Unable to Contribute on SDN

    Hello Experts, I had last submitted an article, which was published and I was duly awarded points for the same. However, thereafter, I am unable to find the article on SDN and under my profile, the hyperlink is not enabled for the article. Also, when

  • Getting .pdf into InDesign

    Hello, I have a business card in a pdf format. I have the Creative Could subscription, with the full suite of programs. In Acrobat, the file is crystal clear. When I create a business card size document in InDesign, and place the file - the quality i

  • Recover database cancel using controlfile

    Hi, I want to know what means and what will do this command RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE and what means the option Specify log: {=suggested | filename | AUTO | CANCEL} thanks for you help

  • Consequences of not completing the Startup Assistant

    What are the Consequences of not completing the Startup Assistant? After a TM restore and the Setup Assistant splash screen had finished, I CMD-Q out of it. I have seen that when I open (for the first time) apps such as Aperture, I do not get registr