Database standby manual (10.2.0.2.0) under Windows 2003 R2

Hello

We are developing a database of Eve at a remote site for a simple oracle DB. As we already have a standby/master for another Oracle DB (from SAP) we want to stay as close as possible to what already exists.
For SAP Oracle standby, we manually copy all archived on the stand-by and apply them with brarchive. Everything works very well.
For new standby, we cannot use brarchive as there is no SAP installation on the eve, but we stay with the 'manual' copy of the archive from the master to the waiting (via robocpy). This means that all archives are on standby mode (K:\oracle\oradata\archive).
The creation of the DB in waiting seems to be OK I open it, but I can't seem to apply redo logs.

I am quite new to oracle, so maybe it's a very basic question, but I already spent 3 days on this subject...

To start the DB, we throw a bat script:
sqlplus/nolog @c:\backup\standby.sql
pause

the standby.sql:
connect /@TECDB01 as sysdba
startup nomount;
ALTER database base_de_donnees eve of Mount;
"exit";

Can I connect to sqlplus and enter:
change recover managed standby database;

In another sqlplus session:
SELECT PROCESS, STATUS, THREAD #, SEQUENCE #, BLOCK #, BLOCKS FROM V$ MANAGED_STANDBY;
which give me:
STATUS OF PROCESS THREAD # SEQUENCE # BLOCK # BLOCKS
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
Mr (FG) 1 45400 WAIT_FOR_GAP 0 0
RFS IDLE 0 0 0 0

45400 sequence seems to be ok about the time of the backup that is restored on the eve.
Archive is on the server, but it will not be applied.

The Alert_TECDB01.log:
Fri 29 Oct 11:03:43 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SNA system picked latch-free 3
Undo retention Autotune is turned on.
IMODE = BR
ILAT = 121
LICENSE_MAX_USERS = 0
SYS audit is disabled
ksdpec: called to the event 13740 before initialization of the event group
Commissioning ORACLE RDBMS Version: 10.2.0.2.0.
Parameters of the system with default values:
process = 999
SGA_TARGET = 7214202880
control_files = I:\ORACLE\ORADATA\CNTRL\STANDBY. CTL, J:\ORACLE\ORADATA\CNTRL\STANDBY. CTL, K:\ORACLE\ORADATA\CNTRL\STANDBY. CTL
DB_BLOCK_SIZE = 8192
compatible = 10.2.0.2.0
Log_archive_dest_1 = RENTAL = K:\oracle\oradata\archive
LOG_ARCHIVE_DEST_2 = SERVICE = TECDB01
log_archive_dest_state_1 = enable
LOG_ARCHIVE_DEST_STATE_2 = enable
standby_archive_dest = K:\oracle\oradata\archive
ARCHIVE_LAG_TARGET = 1800
db_file_multiblock_read_count = 16
UNDO_MANAGEMENT = AUTO
undo_tablespace = RBS
UNDO_RETENTION = 10800
Recyclebin = OFF
Remote_login_passwordfile = EXCLUSIVE lock
db_domain = EVERYONE
dispatchers = (ADDRESS = (PROTOCOL = tcp) (HOST = xxx.xxx.xxx.92)) (DISPATCHERS = 4) (CONNECTIONS = 1000)
SHARED_SERVERS = 100
LOCAL_LISTENER = (ADDRESS = (PROTOCOL = TCP)(HOST=xxx.xxx.xxx.92) (PORT = 1521))
session_cached_cursors = 300
UTL_FILE_DIR = \\srvuniway.vrithoff.srwt.tec-wl.be\hotspots
JOB_QUEUE_PROCESSES = 10
audit_file_dest = I:\ORACLE\ADMIN\TECDB01\ADUMP
background_dump_dest = I:\ORACLE\ADMIN\TECDB01\BDUMP
user_dump_dest = I:\ORACLE\ADMIN\TECDB01\UDUMP
core_dump_dest = I:\ORACLE\ADMIN\TECDB01\CDUMP
db_name = TECDB01
open_cursors = 3000
pga_aggregate_target = 1086324736
PMON started with pid = 2, OS id = 4012
PSP0 started with pid = 3, OS id = 3856
MA started with pid = 4, OS id = 3580
DBW0 started with pid = 5, OS id = 1084
LGWR started with pid = 6, OS = 576 id
CKPT started with pid = 7, OS id = 3516
SMON started with pid = 8, OS = 508 id
RECCE has started with pid = 9, OS id = 3068
CJQ0 started with pid = 10, OS id = 2448
MMON started with pid = 11, OS id = 2840
MMNL started with pid = 12, OS id = 3024
Fri 29 Oct 11:03:44 2010
commissioning 4 dispatcher (s) for '(ADDRESS =(PROTOCOL=tcp) (HOST = xxx.xxx.xxx.92))' network address...
commissioning or servers shared 100...
Fri 29 Oct 11:03:45 2010
change the basis of mountain rescue
Fri 29 Oct 11:03:51 2010
Definition of embodiment of recovery target 2
ARK: START OF THE ARCH PROCESS
Arc0 started with pid = 118, OS id = 3584
Fri 29 Oct 11:03:51 2010
Arc0: Started archiving
Arc1 started with pid = 119, OS id = 3688
Fri 29 Oct 11:03:51 2010
Arc1: Started archiving
ARCH: FROM PROCESS ARCH COMPLETE
Fri 29 Oct 11:03:51 2010
Arc0: become the "no FAL' ARCH
Fri 29 Oct 11:03:51 2010
Mount of redo thread 1, with mount id 3987142355
Fri 29 Oct 11:03:51 2010
Arc0: become the "no SRL" ARCH
Fri 29 Oct 11:03:51 2010
Arc1: Become the heartbeat ARCH
Fri 29 Oct 11:03:51 2010
Physical Standby Database mounted.
Completed: alter database mount standby
Fri 29 Oct 11:04:06 2010
change recover managed standby database
Fri 29 Oct 11:04:06 2010
Managed Standby recovery not using real time applies
parallel recovery started with 7 process
Media, recovery waiting for thread 1 sequence 45400
Pick up the empty sequence in thread 1, 45400-45499 gap sequence
+ FAL [client]: error recovery gap sequence, no specified FAL server +.
Fri 29 Oct 11:04:37 2010
+ FAL [client]: could not ask gap sequence.
GAP - thread 1 sequence 45400-45499
3776455083 670241032 DBID branch
+ FAL [client]: all defined FAL servers have been tried. +
-------------------------------------------------------------
Check that the initialization of CONTROL_FILE_RECORD_KEEP_TIME
parameter is set to a value large enough
enough to keep adequate record switch information to solve
ARCHIVELOG gaps.
-------------------------------------------------------------
Fri 29 Oct 11:04:51 2010
Again shipping customer logged in as PUBLIC
-User is valid
RFS [1]: assigned to the RFS 3452 process
«RFS [1]: Type of database called a ' standby' physical «»
Fri 29 Oct 11:04:51 2010
LogMiner RFS: Disabled Client of the another view

The tecdb01_arc1_3688.trc:
I:\oracle\admin\tecdb01\bdump\tecdb01_arc1_3688.TRC dump file
Fri 29 Oct 11:03:51 2010
ORACLE V10.2.0.2.0 - Production of 64-bit vsnsta = 0
vsnsql = 14 vsnxtr = 3
Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - 64 bit Production
With partitioning, OLAP and Data Mining options
Windows NT Version V5.2 Service Pack 2
UC: 8 - type 8664, 2 physical cores
Process affinity: 0 x 0000000000000000
Memory (success/Total): Ph: 7467 M / 9215 M, Ph PgF:2454 M / 10796 +.
Instance name: tecdb01

Redo thread mounted by this instance: 1

Oracle process number: 119

Windows thread ID: 3688, image: ORACLE. EXE (ARC1)


NAME OF THE SERVICE :() 11:03:51.177 2010-10-29
SESSION ID: (1088.1) 2010-10-29 11:03:51.177
kcrrwkx: nothing to (early)
11:04:51.129 2010-10-29
Repeat customer shipping performing a pending connection
2010-10-29 11:04:51.176 64529 kcrr.c
Connected mode standby successfully
Customer logon and security successful trading!
kcrrwkx: nothing to (end)
11:05:51.285 2010-10-29
kcrrwkx: nothing to (end)
11:06:51.300 2010-10-29
kcrrwkx: nothing to (end)

The initTECDB01.ora:
##############################################################################
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
##############################################################################

###########################################
# Archive
###########################################
ARCHIVE_LAG_TARGET = 1800
Log_archive_dest_1 =' LOCATION = K:\oracle\oradata\archive'

###########################################
IO and cache memory #.
###########################################
DB_BLOCK_SIZE = 8192
db_file_multiblock_read_count = 16

###########################################
# The library Cache and sliders
###########################################
open_cursors = 3000
session_cached_cursors = 300

###########################################
# Identification of the database
###########################################
db_domain = EVERYONE
db_name = TECDB01

###########################################
# Diagnostic and statistical
###########################################
background_dump_dest = I: \oracle\admin\TECDB01\bdump
core_dump_dest = I: \oracle\admin\TECDB01\cdump
user_dump_dest = I: \oracle\admin\TECDB01\udump

###########################################
# Configuration file
###########################################
control_files = ("I:\oracle\oradata\cntrl\standby.ctl", "J:\oracle\oradata\cntrl\standby.ctl", "K:\oracle\oradata\cntrl\standby.ctl")

###########################################
# Work queue
###########################################
JOB_QUEUE_PROCESSES = 10

###########################################
# Various
###########################################
compatible = 10.2.0.2.0
Recyclebin = OFF

###########################################
# Process and Sessions
###########################################
process = 999

###########################################
# SGA memory
###########################################
SGA_TARGET = 6880M

###########################################
# Pools
###########################################
#java_pool_size = 150 M

###########################################
# Security and audit
###########################################
audit_file_dest = I: \oracle\admin\TECDB01\adump
Remote_login_passwordfile = EXCLUSIVE lock

###########################################
# Shared server
###########################################
SHARED_SERVERS = 100
Dispatchers = "(Address = (Protocol = TCP) (Host = xxx.xxx.xxx.92)) (DISPATCHERS = 4) (Connections = 1000)" "
#dispatchers = "(PROTOCOL=TCP) (SERVICE = TECDB01XDB)" "

###########################################
# Sort, hash joins, index Bitmap
###########################################
pga_aggregate_target = 1036M

###########################################
# System managed Undo and Rollback Segments
###########################################
UNDO_MANAGEMENT = AUTO
UNDO_RETENTION = 10800
undo_tablespace = RBS

LOCAL_LISTENER = "(Address = (Protocol = TCP)(Host=xxx.xxx.xxx.92) (port = 1521))" "

# NIDA - 28.10.2010 - repeat applies
log_archive_dest_state_1 = enable
LOG_ARCHIVE_DEST_2 = "SERVICE = TECDB01'"
LOG_ARCHIVE_DEST_STATE_2 = enable
standby_file_management # = auto
standby_archive_dest = K:\oracle\oradata\archive

And the TNSNAMES.ora:

tnsnames.ora # Network Configuration file: C:\oracle\102\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

#this is switched to standby
TECDB01. VRITHOFF. SRWT. TEC - WL.BE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.92) (PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = TECDB01)
)
)

#
# This file is written by Oracle Services For MSCS
# Sat Nov 08 10:44:27 2008
#

#this is the master
PRIMARY. VRITHOFF. SRWT. TEC - WL.BE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.246) (PORT = 1521))
)
(CONNECT_DATA =
(SID = TECDB01)
)
)

EXTPROC_CONNECTION_DATA. VRITHOFF. SRWT. TEC - WL.BE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = TECDB01))
)
(CONNECT_DATA =
(SERVICE_NAME = TECDB01)
)
)

Hope you have all the information to get back me in the right way.

Kind regards

Nicolas

but we stay with the 'manual' copy of the archive from the master to the expectation (using robocpy). This means that all archives are on standby mode (K:\oracle\oradata\archive).

In this case, you should not use the keyword MANAGED in get it BACK... DATABASE PENDING.

MANAGED applies when Eve is part of an 'Oracle Standby' infrastructure where the primary ships archivelogs (by ARCH or LGWR) and a processs RFS on the eve receives files, update the local controlfile (on standby).

If you do manual shipping you use RECOVER STANDBY DATABASE (interactive mode) or RECOVER AUTOMATIC STANDBY DATABASE (automatic mode that stops when it cannot see any archivelogs more). These modes are not based on the controlfile Eve know what archivelogs are available but in fact search archivelogs (similar to the DATABASE with the HELP of BACKUP CONTROLFILE RECOVERY what who is not aware of the "later" archivelogs, but seeks only to the log_archive_dest expected).

Hemant K Collette
http://hemantoracledba.blogspot.com

Tags: Database

Similar Questions

  • Installation database 11.2.0.2 GR 11, 2 under Windows 7 32 bit version

    Hello world

    I want to install 11 GR 2 version 11.2.0.2 database under Windows 7 32 bit.
    I searched the download.oracle.com but I wasn't able to findout good database compatible with windows 7. They had 11gEX db but I want to install simple 11 GR 2.
    Help me please download and configure the database on windows 7 32-bit.

    Thanks in advance.
    NISH

    Hello Nish;

    Please see Microsoft Windows 7 certified to install/run Oracle database server is? [952302.1 ID]

    He will answer ;)

    Respect of
    HELIOS

  • Database standby manual STANDBY_FILE_MANAGEMENT

    Hello

    Oracle 10g 10.2.0.4 on RedHat

    In our environment, we have a Manual of "Standby Database" configuration where we have a data base of production shipment its logs to a different database like running: 'recover the database before ';
    What is the best approach to deal with the physical changes such as the creation of a new table on the primary database space?

    Can I use this "* STANDBY_FILE_MANAGEMENT *" parameter or is it only one option DataGuard 'real '?

    Concerning
    BVE

    Hello..

    You can use standby_file_management as auto and when you add the tablespace/data file primary and futher after some time, when the archives would be applied manually the tablespace/data files is automatically created. Db_file_name_convert and log_file_name_convert parameters must be set correctly in the standby database.

    Anand

  • DR Setup with ebs 11i & databases under windows 11.2.0.3

    Hello

    We have requirements of DR Setup with ebs 11i & 11.2.0.3 database under windows 2003 server 32-bit.

    We follow the metalink document

    Business continuity for Oracle E-Business Release 11i using Oracle 11 g Release 2 and versions later

    Physical Standby Database - Single Instance and Oracle RAC (Doc ID 1068913.1()

    But for many windows of missing steps in this document.

    If someone made the related activity in windows.

    Good to want to share documents through my mail ID: [email protected]

    Thanks and greetings

    Villi Kumar

    Hello

    We created the recovery after disaster for 11i ebs in a windows environment.

    Now, we are conducting an application and a database shall also.

    Once we transition from the primary to the standby, day before the application runs with the new URL.

    Therefore, inform our users about the new URL of the application.

    Thank you & best regards

    Villi Kumar

  • How to remove the entry for Hot Standby node in the odbc.ini file in Windows 7

    Although I could see the file odbc.ini under c: Windows, there is nothing specific to hot standby node in the file. I use windows 64-bit computer and I have issues with my odbc DSNS when connecting to another application, I need to delete the entry for Hot Standby node in the odbc.ini file based on what I had as a solution to solve the problem. My mistake was "communication error with the connection process. Find target processes while they waiting for answer', when I tried to pull a few tables to a data source by using the ODBC DSN.

    Hi Jay,

    Thanks for posting your question in the Microsoft Community.

    The question you posted would be better suited in the MSDN Forums.

    I would recommend posting your query in the link below.

    General Windows Forms:

    http://social.msdn.Microsoft.com/forums/en-us/WinForms/threads

    I hope that the information above helps you.

    In the future if you fall on any question relating to Windows, please do not hesitate to post your request here on Microsoft Community, we will be more than happy to help you.

  • I use a database program in a number of previous versions of windows and windows 7 does not allow the program to launch denial of service.

    Application of program compatibility does not start

    I use a database program in a number of previous versions of windows and windows 7 does not allow the program to launch denial of service.  What gives?

    If you have Windows 7 64 bit without BACK program can run because there is no 16-bit subsystem to run it.

    Try dosbox http://www.dosbox.com/. If that won't work your program, you'll need either a new database or run the BACK or on a 32-bit version of Windows in a virtual machine like VirtualBox https://www.virtualbox.org/.

  • Need help in the migration of windows 2003 server Oracle database server 2012

    Hello

    My environment is oracle database 9i in windows server 2003, we want to move to Windows 2012 since the end of support for windows 2003.

    Please give me a plan, what no need to make the first database upgrade or upgrade of windows, what are the things will have to be considered at the level of Oracle database?

    Any help would be appreciated.

    Thank you

    Lherault

    Hello

    Given the version of your database is 9.2.0.8 and you want to upgrade to 11.2.0.4 and 9i database is running with log mode archive

    I have plan.

    (1) your database 9i working with the log mode archive Server 2003

    (2) you can take backup of Database 9i with RMAN

    (3) you can restore the backup to the base in 2008 (by using 11.2.0.4 software)

    (4) when the recovery is complete, you can open the database with resetlogs option upgrade.

    change the upgrade of open database resetlog.

    (5) once the database is open, you can run 'Upgrade PROCESS'

    (6) it should complete your upgrade in 2008

    If you think, restoration and recovery will take time, so you can install physics Eve with 11.2.0.4 version in 2008 for the Database 9i.

    During failover, you can recreate the controlfile and open the database ' change the upgrade of database open resetlog. "

    you will need to check the compatibility with the help from under documents

    Reference list Oracle database upgrade (Doc ID 730365.1)

    Note 551141.1 : Server Upgrade/Downgrade Compatibility matrix data base

  • blocks of Lightroom after the use of crops funktion. Export still works, but after you have selected the following image, lightroom must be inexplicable manually (no response from the program). environment: windows 7 adobe cc 2015

    blocks of ightroom after the use of crops funktion. Export still works, but after you have selected the following image, lightroom must be inexplicable manually (no response from the program). environment: windows 7 adobe cc 2015

    Turning off graphics acceleration. Go to preferences-> Performance tab and uncheck the box there.

  • Client Oracle for Oracle database 10g and Windows 2003 operating system...

    Hi all
    I need an Oracle Client for Oracle database 10g and Windows 2003 operating system.
    I searched www.oracle.com it there as much of products so basically that I got confused.
    Could you guide me please?

    Hello

    Here is the link: download (Oracle Database 10g Release 2 (10.2.0.1.0) customer - 10201_client_win32.zip (475,090,051 bytes) (cksum - 946434250)).

    Oracle Database 10g Release 2 (10.2.0.1.0)
    http://www.Oracle.com/technology/software/products/database/Oracle10g/htdocs/10201winsoft.html

    Kind regards
    Hussein

  • Protect the unique database using clisterware under windows

    Hi all
    I'm looking for scripts for action protect the unique database (included, listener and vip) on a RAC clusterware on windows server 2003 (10 gr 2 version of RAC)
    I have already done on linux, but not on windows
    All oracle OTN action scripts are perl scripts wich use call system "px" unusable under Windows.
    Any who have already done this?
    Thanks for all your comments
    Concerning

    EasyTeam,
    Send me your email - I have Linux paper, that you reference the author.

    Philip...

  • Standby manual recovery

    Hi Friendz,

    Oracle 9i Db


    I set up a manual standby database (I do not use Dataguard or the command "create the standby database") I only copy the backup to cold to the recovery server target. I've been archiving logs that apply for a week now. I use the command "recover automatic database using backup controlfile.

    My problem is, when I try to "alter database open resetlogs ' so I can test if I open it, it is asked for the next archiving log and the message"that the system01.dbf need recovery. How can I open my database of rescue and force him to stop the recovery?


    Thank you very much

    Mrs. Mina

    I asked you aside as well primary & eve.

    If gap archive is, no archive available then you suggest to go rebuild Eve :)

  • 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;

  • UAT database standby database

    Hello

    I'm using oracle 11.2.0.2.0 on Windows 2008,

    I prod & databases of relief, I want to create new DB UAT who wiil match the prod.

    How to create a UAT using backup cold standby,

    can I use cold backup of database pending.

    Thank you

    Published by: user10745179 on October 22, 2012 12:42

    It would be a duplication of the database backup with RMAN. A catalogue will help, especially when you are working in a Data Guard environment, but it's a simple and well documented operation:
    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupdb.htm#i1008564

  • Data on the database standby realized at intervals of time

    Hi all

    We have implemented active dataguard, the standby database reflects the data after some time, sometimes 10 min, sometimes 25 min...

    Is there anything we can install this waiting for 10 min, the data loaded in the primary must reflect on standby after 10 minutes for sure...

    Here are the details:

    Primary:
    view the LOG_ARCHIVE_DEST_2 parameter.
    SERVICE = stdb11g NOAFFIRM ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = stdb11g


    SELECT status, recovery_mode FROM v$ archive_dest_status where nom_dest = 'LOG_ARCHIVE_DEST_2 ';

    STATUS RECOVERY_MODE
    --------- -----------------------
    VALID MANAGED


    SQL > SELECT a.group #, a.member, b.bytes/1024/1024 Size_in_MB v$ logfile, v$ log b WHERE a.group # = b.group #;

    # MEMBER SIZE_IN_MB GROUP
    ---------- -------------------------------------------------- ----------
    3 /u01/oracle/oracle/oradata/prim11g/redo03.log 50
    2 /u01/oracle/oracle/oradata/prim11g/redo02.log 50
    1 /u01/oracle/oracle/oradata/prim11g/redo01.log 50


    Standby time:
    Select database_role, open_mode from v$ database;

    DATABASE_ROLE OPEN_MODE
    ---------------- --------------------
    PHYSICAL READ EVE ONLY TO APPLY

    Oracle: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    OS: Red Hat Enterprise Linux Server 5.4 release

    Please advise...

    Since you are not in real time applies, the changes will be applied after each logswitch

    -real-time use apply

    or

    -Configure automatic log with the parameter archive_lag_target switches

  • Database standby shutdown abort - recover - URGENT

    Hello

    Our database awaiting is in State of Mount.

    Normally, we close the database using the command 'SHUTDOWN IMMEDIATE.
    But... by mistake we provide the SHUTDOWN command.
    Therefore, it taking a lot of time. It took 3 hours. but not yet arrested.

    Therefore, we used "SHUTDOWN ABORT"

    Now, I want to start the database.

    Let me know, what are the steps to follow?
    (I want to get the database of State MOUNT)

    Normally, we use these 2 commands;
    startup nomount;
    ALTER database base_de_donnees eve of Mount;

    We need to restore? (Because we use SHUTDOWN abort)
    I would like to know how to do this

    Kind regards

    Hello

    As it is a standby database, perform normal operations and start the recovery.

    startup nomount

    change the basis of mountain rescue

    then start the recovery

    modify the recovery of database managed standby database disconnect from the session.

    Anand

Maybe you are looking for