Dataguard implementation

Hello Guys
Can you help me i am setting up datagurad for testing on windows same machine primary and standby have below issues
oracle 11g (both primary and standby on same windows machine different drives)
I followed steps as
1)installed 2 oracle on same machine different drives
2)for instance to be used as standby (drop database)
3)from primary sent datafiles,standby controlfile,init file to standby location/directories
modified init file for standby,rename datafiles
4)at primary modified init file
5)modified listener and tnsnames.ora files for both primary and seconday
6)created password file and copied same to oracle_home/database both primary and secondary
7 open primary and
for standby:
startup nomount
alter database mount standby database;
alter database recover managed standby database disconnect from session;
8 it work without any issue but recovery not taking place below error in alert of primary
ORA-01031: insufficient privileges
PING[ARC1]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 1031.
1)on standby v$instance showing output database role as primary for standby database
(is it ok or v$instance on standby database should show database role as standby)
please let me know where i am going wrong

Oracle 11g,windows(same machine both) Primary DB Name:localtes ,Secondary DB Name:teststan on different drives
Oracle Home(Primary) on D:\, Standby on C:\
Also randomly i kept archive_lag_target=1800 should i make it as 0 for testing
Standby:
==========
SQL> startup nomount;
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
SQL> alter database mount standby database;
Database altered.
SQL> select * from v$instance;
INSTANCE_NUMBER INSTANCE_NAME
HOST_NAME
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
1 teststan
myorg
11.1.0.6.0 02-JUL-10 MOUNTED NO 1 STARTED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
Alert log primary:
Thu Jul 01 17:09:31 2010
Error 1031 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\localtest\localtes\trace\localtes_arc2_2188.trc:
ORA-01031: insufficient privileges
PING[ARC2]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 1031.
Thu Jul 01 17:10:31 2010
Error 1031 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\localtest\localtes\trace\localtes_arc2_2188.trc:
ORA-01031: insufficient privileges
PING[ARC2]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 1031.
Thu Jul 01 17:11:33 2010
Error 1031 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\localtest\localtes\trace\localtes_arc2_2188.trc:
ORA-01031: insufficient privileges
PING[ARC2]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 1031.
Thu Jul 01 17:12:33 2010
Error 1031 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\localtest\localtes\trace\localtes_arc2_2188.trc:
ORA-01031: insufficient privileges
PING[ARC2]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 1031.
Thu Jul 01 17:13:34 2010
Fatal NI connect error 12519, connecting to:
(DESCRIPTION=(SDU=32768)(TDU=32768)(ADDRESS=(PROTOCOL=TCP)(HOST=myorg.com)(PORT=1521))(CONNECT_DATA=(SID=teststan)(CID=(PROGRAM=d:\app\mydir\product\11.1.0\db_1\bin\ORACLE.EXE)(HOST=myhost)(USER=SYSTEM))))
VERSION INFORMATION:
     TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
     Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 02-JUL-2010 09:12:51
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Error 12519 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\localtest\localtes\trace\localtes_arc2_2188.trc:
ORA-12519: TNS:no appropriate service handler found
PING[ARC2]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 12519.
Fri Jul 02 09:12:52 2010
Stopping background process SMCO
Stopping background process FBDA
Shutting down instance: further logons disabled
Fri Jul 02 09:12:56 2010
Stopping background process CJQ0
Stopping background process QMNC
Stopping background process MMNL
Stopping background process MMON
Fri Jul 02 09:13:11 2010
Shutting down instance (immediate)
License high water mark = 15
Fri Jul 02 09:13:11 2010
ORA-1089 : opidrv aborting process J000 ospid (1740_3972)
Waiting for dispatcher 'D000' to shutdown
Fri Jul 02 09:13:12 2010
ORA-1089 : opidrv aborting process unknown ospid (1740_3140)
All dispatchers and shared servers shutdown
Fri Jul 02 09:13:22 2010
ALTER DATABASE CLOSE NORMAL
Fri Jul 02 09:13:22 2010
Thread 1 closed at log sequence 143
Successful close of redo thread 1
Fri Jul 02 09:14:23 2010
Completed: ALTER DATABASE CLOSE NORMAL
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Fri Jul 02 09:14:29 2010
Stopping background process VKTM:
Fri Jul 02 09:15:59 2010
Instance shutdown complete
Fri Jul 02 09:19:36 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.6.0.
Using parameter settings in server-side spfile D:\APP\mydir\PRODUCT\11.1.0\DB_1\DATABASE\SPFILELOCALTES.ORA
System parameters with non-default values:
processes = 150
memory_target = 756M
control_files = "D:\APP\mydir\ORADATA\LOCALTES\CONTROL01.CTL"
control_files = "D:\APP\mydir\ORADATA\LOCALTES\CONTROL02.CTL"
control_files = "D:\APP\mydir\ORADATA\LOCALTES\CONTROL03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
logarchive_callout = "LOCAL_FIRST=true"
log_archive_dest_1 = "LOCATION=USE_DB_RECOVERY_FILE_DEST ARCH MANDATORY REOPEN=5 VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)"
log_archive_dest_2 = "SERVICE=FC_LOCALTES reopen=60 ARCH NOAFFIRM"
log_archive_dest_state_1 = "ENABLE"
log_archive_dest_state_2 = "ENABLE"
standby_archive_dest = "c:\standby_arch"
fal_client = "FC_LOCALTES"
fal_server = "FS_LOCALTES"
archive_lag_target = 1800
db_recovery_file_dest = "D:\app\mydir\flash_recovery_area"
db_recovery_file_dest_size= 2G
standby_file_management = "AUTO"
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=localtesXDB)"
audit_file_dest = "D:\APP\mydir\ADMIN\LOCALTEST\ADUMP"
audit_trail = "DB"
db_name = "localtes"
db_unique_name = "localtest"
open_cursors = 300
diagnostic_dest = "D:\APP\mydir"
Deprecated system parameters with specified values:
standby_archive_dest
End of deprecated system parameter listing
Fri Jul 02 09:19:37 2010
PMON started with pid=2, OS id=4420
Fri Jul 02 09:19:37 2010
VKTM started with pid=3, OS id=4276 at elevated priority
VKTM running at (20)ms precision
Thread 1 opened at log sequence 143
Current log# 2 seq# 143 mem# 0: D:\APP\mydir\ORADATA\LOCALTES\REDO02.LOG
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
ARC1: Becoming the 'no FAL' ARCH
Fri Jul 02 09:19:49 2010
SMON: enabling cache recovery
ARC1: Becoming the 'no SRL' ARCH
Fri Jul 02 09:19:48 2010
ARC3 started with pid=22, OS id=4384
ARC2: Becoming the heartbeat ARCH
Fatal NI connect error 12519, connecting to:
(DESCRIPTION=(SDU=32768)(TDU=32768)(ADDRESS=(PROTOCOL=TCP)(HOST=myorg.com)(PORT=1521))(CONNECT_DATA=(SID=teststan)(CID=(PROGRAM=d:\app\mydir\product\11.1.0\db_1\bin\ORACLE.EXE)(HOST=myhost)(USER=SYSTEM))))
VERSION INFORMATION:
     TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
     Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 02-JUL-2010 10:08:01
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Error 12519 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\localtest\localtes\trace\localtes_arc2_1680.trc:
ORA-12519: TNS:no appropriate service handler found
PING[ARC2]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 12519.
Alert Log Standby:
============
Error 1031 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\teststan\teststan\trace\teststan_arc1_3088.trc:
ORA-01031: insufficient privileges
PING[ARC1]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 1031.
Wed Jun 30 15:18:07 2010
Error 1031 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\teststan\teststan\trace\teststan_arc1_3088.trc:
ORA-01031: insufficient privileges
PING[ARC1]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 1031.
Wed Jun 30 16:25:48 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.6.0.
Using parameter settings in server-side spfile C:\APP\mydir\PRODUCT\11.1.0\DB_1\DATABASE\SPFILETESTSTAN.ORA
System parameters with non-default values:
lock_name_space = "teststan"
processes = 150
memory_target = 756M
control_files = "C:\STANDBY_CONTROL\STDBY_LOCALTES_01.CTL"
control_files = "C:\STANDBY_CONTROL\STDBY_LOCALTES_02.CTL"
control_files = "C:\STANDBY_CONTROL\STDBY_LOCALTES_03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
logarchive_callout = "LOCAL_FIRST=true"
log_archive_dest_1 = "LOCATION=c:\standby_arch"
log_archive_dest_2 = "SERVICE=FC_LOCALTES reopen=60 ARCH NOAFFIRM"
standby_archive_dest = "c:\standby_arch"
fal_client = "FC_LOCALTES"
fal_server = "FC_LOCALTES"
archive_lag_target = 1800
db_recovery_file_dest = "D:\app\mydir\flash_recovery_area"
db_recovery_file_dest_size= 2G
standby_file_management = "AUTO"
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=localtesXDB)"
audit_file_dest = "D:\APP\mydir\ADMIN\LOCALTEST\ADUMP"
audit_trail = "DB"
db_name = "localtes"
db_unique_name = "teststan"
open_cursors = 300
diagnostic_dest = "D:\APP\mydir"
Deprecated system parameters with specified values:
lock_name_space
standby_archive_dest
End of deprecated system parameter listing
Wed Jun 30 16:25:54 2010
PMON started with pid=2, OS id=5620
Wed Jun 30 16:25:54 2010
VKTM started with pid=3, OS id=1676 at elevated priority
VKTM running at (20)ms precision
Wed Jun 30 16:25:54 2010
DIAG started with pid=4, OS id=4488
Wed Jun 30 16:25:54 2010
DBRM started with pid=5, OS id=4280
Wed Jun 30 16:25:54 2010
PSP0 started with pid=6, OS id=4428
Wed Jun 30 16:25:54 2010
DSKM started with pid=7, OS id=5052
Wed Jun 30 16:25:54 2010
DIA0 started with pid=8, OS id=5748
Wed Jun 30 16:25:54 2010
MMAN started with pid=9, OS id=2696
Wed Jun 30 16:25:54 2010
DBW0 started with pid=10, OS id=5388
Wed Jun 30 16:25:54 2010
LGWR started with pid=11, OS id=1668
Wed Jun 30 16:25:54 2010
CKPT started with pid=12, OS id=4772
Wed Jun 30 16:25:54 2010
SMON started with pid=13, OS id=4156
Wed Jun 30 16:25:54 2010
RECO started with pid=14, OS id=3264
Wed Jun 30 16:25:54 2010
MMON started with pid=15, OS id=2740
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Wed Jun 30 16:25:54 2010
MMNL started with pid=16, OS id=4864
starting up 1 shared server(s) ...
ORACLE_BASE from environment = c:\app\mydir
Wed Jun 30 16:25:57 2010
alter database mount exclusive
Setting recovery target incarnation to 2
ARCH: STARTING ARCH PROCESSES
Wed Jun 30 16:26:02 2010
ARC0 started with pid=19, OS id=5524
Wed Jun 30 16:26:02 2010
ARC1 started with pid=20, OS id=2896
Wed Jun 30 16:26:02 2010
ARC2 started with pid=21, OS id=3304
ARC0: Archival started
Wed Jun 30 16:26:02 2010
ARC3 started with pid=22, OS id=3708
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARCH: STARTING ARCH PROCESSES COMPLETE
ARC1: Becoming the 'no FAL' ARCH
ARC1: Becoming the 'no SRL' ARCH
ARC2: Becoming the heartbeat ARCH
ARC3: Thread not mounted
ARC0: Thread not mounted
ARC1: Thread not mounted
ARC2: Thread not mounted
Successful mount of redo thread 1, with mount id 1111551189
Physical Standby Database mounted.
Lost write protection disabled
Completed: alter database mount exclusive
alter database open
AUDIT_TRAIL initialization parameter is changed to OS, as DB is NOT compatible for database opened with read-only access
Wed Jun 30 16:26:09 2010
Signalling error 1152 for datafile 1!
ORA-16004 signalled during: alter database open...
Wed Jun 30 16:27:03 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[1]: Assigned to RFS process 5928
RFS[1]: Identified database type as 'physical standby'
RFS LogMiner: Client disabled from further notification
Wed Jun 30 16:40:59 2010
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed Jun 30 17:00:23 2010
Shutting down instance: further logons disabled
Stopping background process MMNL
Stopping background process MMON
Shutting down instance (immediate)
License high water mark = 3
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
ALTER DATABASE CLOSE NORMAL
ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Wed Jun 30 17:00:29 2010
ARCH shutting down
Wed Jun 30 17:00:29 2010
ARCH shutting down
Wed Jun 30 17:00:29 2010
ARCH shutting down
Wed Jun 30 17:00:29 2010
Starting up ORACLE RDBMS Version: 11.1.0.6.0.
Using parameter settings in server-side spfile C:\APP\mydir\PRODUCT\11.1.0\DB_1\DATABASE\SPFILETESTSTAN.ORA
System parameters with non-default values:
lock_name_space = "teststan"
processes = 150
memory_target = 756M
control_files = "C:\STANDBY_CONTROL\STDBY_LOCALTES_01.CTL"
control_files = "C:\STANDBY_CONTROL\STDBY_LOCALTES_02.CTL"
control_files = "C:\STANDBY_CONTROL\STDBY_LOCALTES_03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
logarchive_callout = "LOCAL_FIRST=true"
log_archive_dest_1 = "LOCATION=c:\standby_arch"
log_archive_dest_2 = "SERVICE=FC_LOCALTES reopen=60 ARCH NOAFFIRM"
standby_archive_dest = "c:\standby_arch"
fal_client = "FC_LOCALTES"
fal_server = "FC_LOCALTES"
archive_lag_target = 1800
db_recovery_file_dest = "D:\app\mydir\flash_recovery_area"
db_recovery_file_dest_size= 2G
standby_file_management = "AUTO"
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=localtesXDB)"
audit_file_dest = "D:\APP\mydir\ADMIN\LOCALTEST\ADUMP"
audit_trail = "DB"
db_name = "localtes"
db_unique_name = "teststan"
open_cursors = 300
diagnostic_dest = "D:\APP\mydir"
Deprecated system parameters with specified values:
lock_name_space
standby_archive_dest
End of deprecated system parameter listing
Wed Jun 30 17:00:48 2010
PMON started with pid=2, OS id=2472
Wed Jun 30 17:00:48 2010
VKTM started with pid=3, OS id=2916 at elevated priority
VKTM running at (20)ms precision
Wed Jun 30 17:00:48 2010
DIAG started with pid=4, OS id=3132
Wed Jun 30 17:00:48 2010
ORACLE_BASE from environment = c:\app\mydir
Wed Jun 30 17:00:54 2010
alter database mount standby database
Setting recovery target incarnation to 2
ARCH: STARTING ARCH PROCESSES
Wed Jun 30 17:00:59 2010
ARC0 started with pid=19, OS id=5020
ARCH: STARTING ARCH PROCESSES COMPLETE
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
ARC0: Thread not mounted
Wed Jun 30 17:00:59 2010
Successful mount of redo thread 1, with mount id 1111531014
Physical Standby Database mounted.
ARC1: Becoming the heartbeat ARCH
Lost write protection disabled
Completed: alter database mount standby database
Fatal NI connect error 12528, connecting to:
(DESCRIPTION=(SDU=32768)(TDU=32768)(ADDRESS=(PROTOCOL=TCP)(HOST=myorg.com)(PORT=1521))(CONNECT_DATA=(SID=teststan)(CID=(PROGRAM=c:\app\mydir\product\11.1.0\db_1\bin\ORACLE.EXE)(HOST=myorg)(USER=SYSTEM))))
VERSION INFORMATION:
     TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
     Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 30-JUN-2010 17:01:00
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Error 12528 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\teststan\teststan\trace\teststan_arc1_4768.trc:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
PING[ARC1]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 12528.
alter database recover managed standby database disconnect from session
Wed Jun 30 17:01:02 2010
MRP0 started with pid=23, OS id=4140
Fast Parallel Media Recovery enabled
Managed Standby Recovery not using Real Time Apply
parallel recovery started with 2 processes
Waiting for all non-current ORLs to be archived...
Wed Jun 30 17:01:10 2010
Completed: alter database recover managed standby database disconnect from session
Media Recovery Waiting for thread 1 sequence 30
Fetching gap sequence in thread 1, gap sequence 30-35
Wed Jun 30 17:01:11 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
Wed Jun 30 17:01:41 2010
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 30-35
DBID 1110875155 branch 722342230
FAL[client]: All defined FAL servers have been attempted.
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
Wed Jun 30 17:02:59 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[1]: Assigned to RFS process 1424
RFS[1]: Identified database type as 'physical standby'
RFS LogMiner: Client disabled from further notification
Wed Jun 30 17:15:52 2010
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Thu Jul 01 08:25:11 2010
ARC1: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3135)
ARC1: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
PING[ARC1]: Error 3135 when pinging standby FC_LOCALTES.
Thu Jul 01 08:25:20 2010
RFS[1]: Possible network disconnect with primary database
Thu Jul 01 08:26:21 2010
Fatal NI connect error 12519, connecting to:
(DESCRIPTION=(SDU=32768)(TDU=32768)(ADDRESS=(PROTOCOL=TCP)(HOST=myorg.com)(PORT=1521))(CONNECT_DATA=(SID=teststan)(CID=(PROGRAM=c:\app\mydir\product\11.1.0\db_1\bin\ORACLE.EXE)(HOST=myorg)(USER=SYSTEM))))
VERSION INFORMATION:
     TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
     Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 01-JUL-2010 08:26:23
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Error 12519 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\teststan\teststan\trace\teststan_arc1_4768.trc:
ORA-12519: TNS:no appropriate service handler found
PING[ARC1]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 12519.
Thu Jul 01 08:27:28 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[2]: Assigned to RFS process 4984
RFS[2]: Identified database type as 'physical standby'
Thu Jul 01 09:28:03 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.6.0.
Using parameter settings in server-side spfile C:\APP\mydir\PRODUCT\11.1.0\DB_1\DATABASE\SPFILETESTSTAN.ORA
System parameters with non-default values:
lock_name_space = "teststan"
processes = 150
memory_target = 756M
control_files = "C:\STANDBY_CONTROL\STDBY_LOCALTES_01.CTL"
control_files = "C:\STANDBY_CONTROL\STDBY_LOCALTES_02.CTL"
control_files = "C:\STANDBY_CONTROL\STDBY_LOCALTES_03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
logarchive_callout = "LOCAL_FIRST=true"
log_archive_dest_1 = "LOCATION=c:\standby_arch"
log_archive_dest_2 = "SERVICE=FC_LOCALTES reopen=60 ARCH NOAFFIRM"
standby_archive_dest = "c:\standby_arch"
fal_client = "FC_LOCALTES"
fal_server = "FC_LOCALTES"
archive_lag_target = 1800
db_recovery_file_dest = "D:\app\mydir\flash_recovery_area"
db_recovery_file_dest_size= 2G
standby_file_management = "AUTO"
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=localtesXDB)"
audit_file_dest = "D:\APP\mydir\ADMIN\LOCALTEST\ADUMP"
audit_trail = "DB"
db_name = "localtes"
db_unique_name = "teststan"
open_cursors = 300
diagnostic_dest = "D:\APP\mydir"
Deprecated system parameters with specified values:
lock_name_space
standby_archive_dest
End of deprecated system parameter listing
Thu Jul 01 09:28:18 2010
PMON started with pid=2, OS id=2360
Thu Jul 01 09:28:18 2010
VKTM started with pid=3, OS id=2364 at elevated priority
VKTM running at (20)ms precision
Thu Jul 01 09:28:18 2010
DIAG started with pid=4, OS id=2368
Thu Jul 01 09:28:18 2010
DBRM started with pid=5, OS id=2380
Thu Jul 01 09:28:19 2010
PSP0 started with pid=6, OS id=2384
Thu Jul 01 09:28:19 2010
DSKM started with pid=7, OS id=2388
Thu Jul 01 09:28:19 2010
DIA0 started with pid=8, OS id=2392
Thu Jul 01 09:28:19 2010
MMAN started with pid=9, OS id=2396
Thu Jul 01 09:28:19 2010
DBW0 started with pid=10, OS id=2400
Thu Jul 01 09:28:19 2010
LGWR started with pid=11, OS id=2404
Thu Jul 01 09:28:19 2010
CKPT started with pid=12, OS id=2408
Thu Jul 01 09:28:19 2010
SMON started with pid=13, OS id=2412
Thu Jul 01 09:28:19 2010
RECO started with pid=14, OS id=2420
Thu Jul 01 09:28:19 2010
MMON started with pid=15, OS id=2424
Thu Jul 01 09:28:19 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Thu Jul 01 09:28:19 2010
MMNL started with pid=16, OS id=2428
starting up 1 shared server(s) ...
ORACLE_BASE from environment = c:\app\mydir
Thu Jul 01 09:28:22 2010
alter database mount exclusive
Thu Jul 01 09:28:38 2010
Setting recovery target incarnation to 2
ARCH: STARTING ARCH PROCESSES
Thu Jul 01 09:28:38 2010
ARC0 started with pid=19, OS id=2876
Thu Jul 01 09:28:38 2010
ARC1 started with pid=20, OS id=2888
Thu Jul 01 09:28:38 2010
ARC2 started with pid=21, OS id=2892
Thu Jul 01 09:28:38 2010
ARC3 started with pid=22, OS id=2896
ARC0: Archival started
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARCH: STARTING ARCH PROCESSES COMPLETE
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
ARC1: Becoming the heartbeat ARCH
ARC2: Thread not mounted
ARC3: Thread not mounted
ARC0: Thread not mounted
ARC1: Thread not mounted
Thu Jul 01 09:28:40 2010
Successful mount of redo thread 1, with mount id 1111782400
Physical Standby Database mounted.
Lost write protection disabled
Completed: alter database mount exclusive
alter database open
AUDIT_TRAIL initialization parameter is changed to OS, as DB is NOT compatible for database opened with read-only access
Thu Jul 01 09:28:52 2010
Signalling error 1152 for datafile 1!
ORA-16004 signalled during: alter database open...
Thu Jul 01 09:29:40 2010
============================================================================================================================
Fatal NI connect error 12514, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myorg)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=localtes)(CID=(PROGRAM=c:\app\mydir\product\11.1.0\db_1\bin\ORACLE.EXE)(HOST=myorg)(USER=SYSTEM))))
VERSION INFORMATION:
     TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
     Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 01-JUL-2010 12:24:38
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Error 12514 received logging on to the standby
Errors in file d:\app\mydir\diag\rdbms\teststan\teststan\trace\teststan_arc1_5784.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARC1]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 12514.
Thu Jul 01 12:25:38 2010
============================================================================================================================
Fatal NI connect error 12541, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myorg.com)(PORT=1524))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=localtes)(CID=(PROGRAM=c:\app\mydir\product\11.1.0\db_1\bin\ORACLE.EXE)(HOST=myorg)(USER=SYSTEM))))
VERSION INFORMATION:
     TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
     Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 02-JUL-2010 10:31:18
Tracing not turned on.
Tns error struct:
ns main err code: 12541
TNS-12541: TNS:no listener
ns secondary err code: 12560
nt main err code: 511
TNS-00511: No listener
nt secondary err code: 61
nt OS err code: 0
Error 12541 received logging on to the standby
Check whether the listener is up and running.
Errors in file d:\app\mydir\diag\rdbms\teststan\teststan\trace\teststan_arc1_5784.trc:
ORA-12541: TNS:no listener
PING[ARC1]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 12541.
Fri Jul 02 10:32:20 2010
Fatal NI connect error 12541, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myorg.com)(PORT=1524))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=localtes)(CID=(PROGRAM=c:\app\mydir\product\11.1.0\db_1\bin\ORACLE.EXE)(HOST=myorg)(USER=SYSTEM))))
VERSION INFORMATION:
     TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
     Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 02-JUL-2010 10:33:21
Tracing not turned on.
Tns error struct:
ns main err code: 12541
TNS-12541: TNS:no listener
ns secondary err code: 12560
nt main err code: 511
TNS-00511: No listener
nt secondary err code: 61
nt OS err code: 0
Error 12541 received logging on to the standby
Check whether the listener is up and running.
Errors in file d:\app\mydir\diag\rdbms\teststan\teststan\trace\teststan_arc1_5784.trc:
ORA-12541: TNS:no listener
PING[ARC1]: Heartbeat failed to connect to standby 'FC_LOCALTES'. Error is 12541.

Similar Messages

  • Dataguard Implementation in Standard Edition

    Hi all,
    Which third party tool is best for implement the DATAGUARD. Because Oracle dataguard wont support for Standard Edition.
    Thanks,
    Muthu

    Hi,
    this sounds like: I have a very important database, which my business is totally dependend on. It needs high availability and reliability - but I don't want to spend money for it.
    Sorry... this I really cannot understand....
    Also make sure the customer knows the implication of using dbvisit. DBVisit is based on archive redologs (same as manual standby mechanism). So he will definitely loose some transactions in failover case.
    There is no Zero Data Loss.
    Furthermore make sure you are not using STANDBY_FILE_MANAGEMENT set to auto. This is Enterprise Edition functionality.
    I personally would look on other options to save costs: Like using an Oracle database appliance, where I can reduce license costs by disabling cores. This may enable the customer to use EE (with only minor investment).
    Regards
    Sebastian

  • Restoration of ASM/RAC database to another clustered set of servers for DataGuard implementation

    Hi all,
    I've been working with single instance Oracle DBs for several years and we're now looking into RAC. I'm trying to gather as much info as possible in areas I think may be challenging if/when we implement RAC.
    Can someone please help me with some info with regards to the scenarion below:
    Assuming I already have a 2 node RAC database running and I want to set-up a failover RAC database, would the following steps be correct(assuming 11g):
    Configure hardware, networking and O/S for 2 node RAC cluster (I know there's a lot in this single line, but let's just assume that's all done)
    Configure disks for ASM
    Clusterware installation
    Oracle ASM software installation
    Oracle11g software installation with RAC option
    Database creation
    ***I'm not sure of the steps after database creation:
    Export primary database up to a specific SCN (data pump gives the ability to specify scn)
    Import into failover database
    Switch on dataguard and sync failover starting from scn specified at export.
    Please, help correct these steps and any useful link where this process is treated thoroughly would be highly appreciated.

    This is a very high level overview of the steps, but here are some additions/amendments I can make:
    Clusterware installation
    Oracle ASM software installation
    -- The above 2 steps are done at the same time. In 11g, the Oracle 11g Grid Infrastructure includes both the Clusterware and ASM installation and configuration.
    Oracle11g software installation with RAC option
    Database creation
    ***I'm not sure of the steps after database creation:
    Export primary database up to a specific SCN (data pump gives the ability to specify scn)
    Import into failover database
    Switch on dataguard and sync failover starting from scn specified at export.
    Will you be using Data Guard for a physical standby? If so, using RMAN would be the correct method in creating the standby database. The general steps would be:
    - Oracle 11g software installation
    - Backup Primary Database
    - Configure Data Guard Parameters on Primary
    - Duplicate Primary to Standby RAC using RMAN (can be done manually or through the RMAN DUPLICATE command)
    - Enable log transport from primary, enable managed recovery on standby, and verify log transport and apply is working as intended.
    Again this is a very general overview on the entire process, there are other factors that you'll have to take into consideration when planning such a project:
    - Which protection mode will you be using? Maximum Performance, Availability, or Protection? The business' recovery goals and SLAs will be able to determine which mode you will choose.
    - Will the standby be used for reporting purposes?
    - Recommended to have your standby site have the same hardware configuration as the primary.
    - Do you have an EM site already set-up? Data Guard Broker should be considered in the configuration of the Data Guard environment.
    This is just a few things quickly off the top of my head. What OS do you have/plan on using? I don't have the link handy on me at the moment, but the official Oracle documentation should provide detailed guidance.
    EDIT:
    At a bare minimum, read the 2 Day RAC Guide. There is more detailed information in the RAC Admin and Deployment Guide, as well as the Data Guard Concepts and Admin Guide. Also here's a step-by-step guide provided by Oracle. You can also find several blogs that provide a more concise step-by-step guide, such as here, here, and here. RACSIG also has a number of very useful whitepapers, but something seems to be wrong with their search function and I can't link anything at the moment. However, I would highly recommend reading through the official documentation as this has more comprehensive information, especially if you are deploying on a production system.
    Regards,
    Oscar

  • Oracle dataguard implementation with same hostname

    Hi Gurus,
    I need to built Oracle DG on my DR server. However, both the servers have the same hostname.
    Can this work? My DR currently is a COLD DR server.
    Thank you in advance.
    -IA

    Hi,
    I need to built Oracle DG on my DR server. However, both the servers have the same hostname.
    Can this work?
    Probably NOT...
    Because in SAP, you should use HOSTNAME instead of IP Address for every configuration. So for example, LISTENER service configuration we use hostname for the server. If the Hostname is same for both PRD and DR they will not be able to communicate each other.
    Although not recommended, but In UNIX system you can keep the hostname same for PRD and DR but at configuration part, you should use IP Addresses instead of Hostname.
    Correct me if I am wrong.
    Regards.
    Rajesh Narkhede

  • 5 Dataguard questions on implementation and maintainence

    I have created Oracle10g Dataguard Physical standby. Everything seems to working properly. I switch a log@primary and i see it applied at standby. In OEM the Primary instance is shown as "Primary" and Dataguard Normal.
    Questions
    =======
    1.I used cold backup to create physical standby where i copied just the datafiles. I DID NOT copy the online logfiles from primary DB . Is this ok?
    Reason i am asking is, I am seeing this in alertlog (Please see in Bold below). Could this message in alert be ignored?
    Fri Mar 14 16:11:55 2008
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[5]: Assigned to RFS process 9652
    RFS[5]: Identified database type as 'physical standby'
    Fri Mar 14 16:11:57 2008
    Media Recovery Waiting for thread 1 sequence 140 (in transit)
    Fri Mar 14 16:12:09 2008
    RFS[4]: Archived Log: '/b03/archive/PRI/arch1_140_649240729.arc'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[4]: No standby redo logfiles created
    Fri Mar 14 16:12:12 2008
    Media Recovery Log /b03/archive/PRI/arch1_140_649240729.arc
    Media Recovery Waiting for thread 1 sequence 141 (in transit)
    Fri Mar 14 16:12:58 2008
    2. Physical standby was created in default mode " MAX PERFORMANCE" but i followed the manual and i realize i created standby redo logs at primary DB.
    Is it true we do not need standby redo logs for MAX PERFORMANCE mode?
    3. What is the quickest way to create a physical standby taking into consideration the downtime of the primary database.
    4. Can we setup Dataguard for a live running production database (assuming prod is all set with prepare steps as laid out in manual) without downtime.
    5. I hear dataguard management involves lot of shell scripting for log shipping, failover, switchover etc. Looking at 10g manual all these appear to be handled automatically if configured. Is it true that all the Dataguard functionality is auto and does not need shell scripting?
    These are the things came up to mind. Please list any others you can think of for a Dataguard implementation. Any help greatly appreciated.
    Thanks and have a great time.
    S~

    My question is , I havent created either online logfiles or standby log files on the secondary database, then how is RFS process applying the logs to the standby database?
    If you do not create standby log files on the secondary database, then RFS process will apply logs from primary DB's archieved redo logs, refer 5.1 Introduction to Redo Transport Services.(http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_transport.htm)
    Also i see entries in v$log@standby, since i haven't created log files@standby where is this info getting from?
    It will be through the entry in Stndby DB parameter file "LOG_FILE_NAME_CONVERT=
    '/arch1/chicago/','/arch1/boston/','/arch2/chicago/','/arch2/boston/'
    Thanks

  • Step by Step guide to implement Active Dataguard 11g

    Hi All,
    Please suggest a good step by step guide to implement Oracle Active Dataguard on Oracle 11g, OS : RHEL 5.4
    Have searched a couple of documents, but ending up with physical or logical dataguard setup guides...
    Please suggest end to end steps guide for Active Dataguard Implementation
    DB : Oracle 11g Release 2
    OS : RHEL 5.4
    Thanks

    user1687821 wrote:
    Hi All,
    Please suggest a good step by step guide to implement Oracle Active Dataguard on Oracle 11g, OS : RHEL 5.4
    Have searched a couple of documents, but ending up with physical or logical dataguard setup guides...
    Please suggest end to end steps guide for Active Dataguard Implementation
    DB : Oracle 11g Release 2
    OS : RHEL 5.4
    ThanksHi,
    Active dataguard is option after configuring dataguard.
    You can put standby database in Open(read only) mode also you can enable Recover(MRP) while open so this can be used for reporting purpose too.
    Please refer below links for configuring them.
    http://www.oracle-class.com/wp-content/uploads/2011/01/dataguard/11gR2%20Physical%20Data%20Guard%20Setup%20%20project,%20with%20Active%20Data%20Guard%20option.pdf
    http://www.databasejournal.com/features/oracle/article.php/3834931/Using-Oracle-11gs-Active-Data-Guard-and-Snapshot-Standby-Features.htm
    http://www.oracle-base.com/articles/11g/DataGuardSetup_11gR2.php
    http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_11gr1_activedataguard.pdf
    HTH.

  • Oracle Active Dataguard 11g - Passwords

    Hi all
    Environment description: Production database, 11.2.0.3 version, standalone running on Solaris and an Oracle Active Dataguard database in read only mode, same version and operating system.
    Question: The users passwords and sys/system passwrod (orapw ) could be different in the ADG environment? I mean, could the orapwd file and user password be changed in the Dataguard database ?
    Thanks a lot.

    user1687821 wrote:
    Hi All,
    Please suggest a good step by step guide to implement Oracle Active Dataguard on Oracle 11g, OS : RHEL 5.4
    Have searched a couple of documents, but ending up with physical or logical dataguard setup guides...
    Please suggest end to end steps guide for Active Dataguard Implementation
    DB : Oracle 11g Release 2
    OS : RHEL 5.4
    ThanksHi,
    Active dataguard is option after configuring dataguard.
    You can put standby database in Open(read only) mode also you can enable Recover(MRP) while open so this can be used for reporting purpose too.
    Please refer below links for configuring them.
    http://www.oracle-class.com/wp-content/uploads/2011/01/dataguard/11gR2%20Physical%20Data%20Guard%20Setup%20%20project,%20with%20Active%20Data%20Guard%20option.pdf
    http://www.databasejournal.com/features/oracle/article.php/3834931/Using-Oracle-11gs-Active-Data-Guard-and-Snapshot-Standby-Features.htm
    http://www.oracle-base.com/articles/11g/DataGuardSetup_11gR2.php
    http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_11gr1_activedataguard.pdf
    HTH.

  • Test physical standby database in dataguard

    Hi all,
    I had a successfull dataguard implementation for oracle 9r2.
    Primary and standby databases are on different nodes, logs from primay are shipping and applying to physical standby database successfully.
    As these database are for oracle 11i ebs, so for testing dataguard status i had created a table manually having columns date and remarks. Periodically i insert few records in this table in primary database and then chek this tabel in standby database (by opening in read only mode).
    Now i want to test physical standby database with applications tierĀ  but don't want to disturb origional primary database.
    as these are the normal switchover steps
    1) at primary db
    ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN;
    2) at standby
    ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
    3) at primary, now this will be the stand by database
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    4) at standby, now this will be the primary database
    SHUTDOWN IMMEDIATE;
    STARTUP
    My concern is if i skip step 1 and 3 and only execute step 2 and 4, will that be applicable for my requirement, or there is some other way to achieve this goal.
    Regards,
    Ken

    To avoid touching the primary production DB, you may try to use the following command on your standby database side:
    alter database activate standby database;
    This will turn your standby database to primary database, however the log will be reset and this means you will need to rebuild your DR.
    Another way is to use flash back feature on your standby database, activate it and revert back to the flashback point when the DR testing is done.

  • Dataguard quick question

    Hi:
    I have dataguard implemented for version Oracle 10gR3. During migration, we had to import from old server to new server. While import, we had to turn off Archive Log for about 2hrs to speed up the import process. Once the import was done, we enabled the Archive log. During this switch, DG Physical standby failed. When i try to reinitialize, the standby is not applying any more logs from teh time the Archivelog was disabled.
    My question is - Shoul i recreate the DG standby by dropping the current one which is lagging more than 50 logs or can i repair the standby to start applying the logs and move forward?
    Please advise.
    Thanks
    Here are few commands i used to sync Standby with Primary:
    --On standby in MOUNT state: "alter database recover managed standby database disconnect from session;"
    --Verify new archived redo log file applied- few from the list
    1 SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG
    2* ORDER BY SEQUENCE#
    SEQUENCE# APPLIED
    2397 YES
    2398 YES
    2399 YES
    2400 YES
    2442 NO
    2443 NO
    2444 NO
    2445 NO
    2446 NO

    Yes. When you say 're-initiate'--recreate from scratch by dropping the current one? When i drop the current one and start the recreation - should this have any impact on the primary? I believe it will not bounce or take anything offline on the primary right? Just want to confirm....thanks.

  • Testing dataguard failover

    Dear All,
    I am kindanew in oracle dataguard implementation. I want to know how to test failover scenario. I have shutdown the server which contain the primary database but i still dont know how to test the scenario. I keep on executing "select mode from v$database" on the standby database but it still shows mounted state.
    Kindly help
    Regards
    Karam.

    First test switchover ... does that work? The commands are well documented all over the net including on my website "MorgansLibrary.org"
    If switchover works then the next question is have you configured for failover? If so how? In what version? etc. etc. etc.
    We need details to be able to provide advice.

  • Streams on a source Database with DataGuard in place

    Hello,
    I want to know what would be the impact on performance on setting up Streams on a 9i RAC Database, which already has DataGuard implemented to a single instance database.
    From the forums I have read that Streams works closely with redo logs and it can also be affected by archiving, so if my source database is archiving locally and remotely because of DataGuard, could this affect functionality or performance?
    Thank you in advance.

    Sure it will not have any affect on the functionality. Streams mines redo logs (and archive logs if needed) for the DDL and DML changes. It depends in which protection mode is your Data Guard is configured.
    If its Max Protection then Streams has nothing to do with DG
    If its Max Performance and you use LGWR ASYNC then yes, both Streams and DG will be mining the redo logs and you may have some performance issues but I think it will be negligible. The LNS process outside the SGA will be responsible in DG env to transport the changes and a Capture process again outside the SGA will be held responsible to mine the changes in Streams setup.
    Conceptually, this should not have any performance impact on your Primary.

  • Deleting applied archives from standby

    Hello Guys,
    We have oracle 10g rel 2 on hp-ux
    I feel this common question for dataguard implementation
    Just want to check best way of deleting archives automatically from standby database,i have 2 methods in mind
    as below
    1)At os level shell script-finding last seqno from alert log at standby/or query v$views(select max(sequence#) from v$archived_log) ,passing it to script
    using rman as :*delete archivelog until sequence seqno;*
    or deleting at os level upto this seqno
    (Making script is not issue with this functionality and scheduling it in cron)
    2)by RMAN at standby
    set alter system set "_log_deletion_policy"='ALL' scope=spfile;
    set CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    however i have no plans to take backup at standby,still can i use above command
    is it reliable i faced some issues in past inspite of this configurations archives were not deleted at standby
    Please give your views is there any other method to delete archives automatically ,and which one is more preferred
    and reliable method/best method
    Thanks

    804719 wrote:
    Hello Guys,
    We have oracle 10g rel 2 on hp-ux
    I feel this common question for dataguard implementation
    Just want to check best way of deleting archives automatically from standby database,i have 2 methods in mind
    as below
    1)At os level shell script-finding last seqno from alert log at standby/or query v$views(select max(sequence#) from v$archived_log) ,passing it to script
    using rman as :*delete archivelog until sequence seqno;*
    or deleting at os level upto this seqno
    (Making script is not issue with this functionality and scheduling it in cron)
    2)by RMAN at standby
    set alter system set "_log_deletion_policy"='ALL' scope=spfile;
    set CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    however i have no plans to take backup at standby,still can i use above command
    is it reliable i faced some issues in past inspite of this configurations archives were not deleted at standby
    Please give your views is there any other method to delete archives automatically ,and which one is more preferred
    and reliable method/best method
    ThanksConfigure RMAN to purge archivelogs after applied on standby [ID 728053.1]
    logdeletion_policy parameter is static, so which you cant change dynamically, PRimary should bounce, If it is fine then you can go ahead.
    If you do not have time, then prepare an RMAN script to delete the archives.

  • Nodes in RAC One Node configuration

    Dear all,
    11.2 on Windows 2008
    What is the maximum number of nodes we can have in RAC one node configuration ?
    Yoosuf

    Thanks Rafi and Sorry for not making it clear.
    The whole configuration will be rac one node (With 4 nodes) with out dataguard implementation.
    If the primary site goes down(s1,2 and storage) , can the secondary site wil be up automatically (s3,4 and storage). Please note storage is with ASM (normal redundancy ) primary storage at Head office and Secondary ASM storage at DR
    Thanks

  • Encountering ORA-01152 when implementing DataGuard

    Working of a 2-node cluster hosting 11.1.0.7 on a Linux RH4 platform, and attempting to implement DataGuard on a single node with same OS and same DB version, and followed document http://www.oracle.com/technology/deploy/availability/pdf/dataguard11g_rac_maa.pdf
    The "duplicate target " command works successfully, and having recreated the sp file on the standby node, when I attempt to startup the standby database I get the following error.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 534462464 bytes
    Fixed Size 2161400 bytes
    Variable Size 314574088 bytes
    Database Buffers 209715200 bytes
    Redo Buffers 8011776 bytes
    Database mounted.
    ORA-10458: standby database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '+DATA/abcdg/datafile/system.258.697912407'
    I have re-tried several times without success - any ideas anybody?

    I've skimmed the PDF and I think what has happened is that you may have slightly diverged from the sequence shown by issuing "startup" instead of "startup mount", the difference being that "startup" tries to open the standby database in read only mode, which is when ORA-01152 is thrown.
    I'm assuming here that the rman duplicate operation does not include a recovery phase, if that is true then the restored datafiles will need recovering to a consistent state before the database can be opened in read-only mode.
    In short you probably just need to issue:
    recover managed standby database disconnect;and let managed recovery run the archive logs in. Once it is consistent then subsequent "startup" commands should work without error.
    If you don't actually want it open read-only then you can just leave it in a mount state and running managed recovery.

  • DataGuard ? Standby (Logical/Physical) ? Need Information - Implementations

    Hi All
    I am trying to aquaint my self with the DataGuard concepts but I must admit I have limited knowledge/exposure into this side... when I have set-up the DR so as to ship archives from the primary to disaster recovery site geographically located else where.. and that was in oracle 9i 9.2.x release..
    Now there is 10g and then 11g.. and as I learn DR has evolved alot in its implementation methodologies. I am trying to fid an anecdote which can talk in a little detail/more detail but some detail less than the oracle documentation it self would be..
    Honestly, when I pulled out the pdf's, I could not proceed much length... and am coming here.. for your help...
    hoping may be one of you, if not most of you might have explored it well already ad might have recorded it some where in your content. If you would not mind, could you please let me know where I can get such info and then ofcourse, understand it better and quicker!!
    Thanks!
    Sarat

    Hi All
    I am trying to aquaint my self with the DataGuard concepts but I must admit I have limited knowledge/exposure into this side... when I have set-up the DR so as to ship archives from the primary to disaster recovery site geographically located else where.. and that was in oracle 9i 9.2.x release..
    Now there is 10g and then 11g.. and as I learn DR has evolved alot in its implementation methodologies. I am trying to fid an anecdote which can talk in a little detail/more detail but some detail less than the oracle documentation it self would be..
    Honestly, when I pulled out the pdf's, I could not proceed much length... and am coming here.. for your help...
    hoping may be one of you, if not most of you might have explored it well already ad might have recorded it some where in your content. If you would not mind, could you please let me know where I can get such info and then ofcourse, understand it better and quicker!!
    I think to be DBA one must have patience and determination. You have to go through the document, then try yourself if anything is not in documentation and you face some problem then come to us. I got a very good link from oracle corporation. This is divided into topics, you can go one by one and ask quetions in the forum if you feel like. Check this
    Regards.

Maybe you are looking for

  • Downloading Music FROM my ipod TO my computer?

    Long Story short...i moved out of the folks place and want to transfer my music to my new PC via the ipod. is that possible, and if so how?

  • In SAP-BW what is ROOT Analysis?

    what are the steps to be followd in root analysis? thanx. siva

  • ODBC gateway in windows connecting local oracle to local mysql

    I have setup a test system in my local Vista pc with oracle 11g and mysql. Just installed ODBC gateway and follow the instruction. The listener sid for ODBC started OK. But when I tried tnsping <sid>, it failed with tns-03505 failed to resolve name.

  • OBIEE 11g hangs while signing in

    Hi All , I had a 11g OBIEE instance installed on windows (laptop) perfectly working couple of days back. Now when I started it , I cannot login to answers. Admin Server is up , BI Server is up . EM shows all services perfectly up and running . But wh

  • How to know data in data moved into GL

    Hi All, I have doubt could you clarify it. How can we know that data available in AP and AR is moved into into GL. If Gl_interface is going to act here. How does Gl_interface identify the data. Can you explain me. Thanks & Regards, pallis