Passage of custody of data with broker fails with ORA-16570 / ORA-16665
I'm using Data Guard 11 g on Windows Server 2012 64 Bit. Recently, I have configured the broker to manage the permutations more uncomfortable.
Unfortunately the digital switchover does not work. Broker Setup seems fine, since I can activate t and redo apply works perfectly...
Now, the behavior is as follows... Once I put the passage through brokers, it shows the following:
DGMGRL > passage to the smart_stb
Continue to pass, please wait...
Error: ORA-16665: wait for the result of a database
Failed.
Unable to failover, primary database is always "smart".
The digital switchover happens, there is no restart of the primary database well! Does not appear to be linked to a DGMGRL buggy service entrance. In fact the database will not yet descended. The principal is supending all processes while trying to do so. Broker runs into a timeout, of course, but the principal remains in a State of supending. The primary doesn't seem to be able to cominicate with side standby or vice versa. Which is strange since the restoration of log shipping and apply is workng fine as mentioned... do a manual failover. I don't know what could cause this kind of behavior... Double checked everything. Once I restart the two databases and align on the rule of law that the digital transition is complete. But Needless to say that it is not intending to use the broker...
Primary DRC.log States the following:
2014-09-10 746441090-02000000 MICHAEL 09:13:01.378: PASSAGE to smart_stb
2014-09-10 746441090-02000000 MICHAEL 09:13:01.378: start execution of the task: the DIGITAL switchover
2014-09-10 09:13:01.378 NSV1: using RFIUPI_DGCI_CDESC
2014-09-10 09:13:01.409 NSV1: using RFIUPI_DGCI_CDESC
2014-09-10 09:13:01.409 02001000 746441090 notifier Oracle Clusterware to the primary database of disassembly for the DIGITAL switchover
2014-09-10 09:13:01.425 ACLS: not configured CRS, config = 2
.
2014 09-10 02001000 746441090 MICHAEL 09:13:01.425: display primary instances for PASSAGE of phase 1
2014 09-10 02001000 746441090 MICHAEL 09:13:01.425: State of rfi_post_instances() for CTL_SWITCH = ORA-00000
2014-09-10 09:13:01.425 INSV: message received for publication of inter - the instance
2014 09-10 02001000 746441090 MICHAEL 09:13:01.425: dispersants message to STANDBY for TRANSITION phase BEGIN
2014-09-10 09:13:01.425 req ID 1.1.746441090, CTL_SWITCH opcode, phase BEGIN, 5 flags
2014-09-10 09:13:01.425 NSV1: using RFIUPI_DB_INST_CDESC
2014 09-10 02001000 746441090 MICHAEL 09:13:01.425: entered rfmsoexinst() for phase BEGIN
2014-09-10 09:13:01.425 INSV: response for message with
2014-09-10 09:13:01.425 req ID 1.1.746441090, CTL_SWITCH opcode, phase BEGIN
2014 09-10 02001000 746441090 MICHAEL 09:13:01.425: primary instances display for transition to THE phase 2
2014 09-10 02001000 746441090 MICHAEL 09:13:01.440: State of rfi_post_instances() for CTL_SWITCH = ORA-00000
2014-09-10 09:13:01.440 INSV: message received for publication of inter - the instance
2014 09-10 02001000 746441090 MICHAEL 09:13:01.440: dispersants message to STANDBY for transition to THE phase of DISMANTLING
2014-09-10 09:13:01.440 req ID 1.1.746441090, opcode CTL_SWITCH, disassembling, 5 flags
2014 09-10 02001000 746441090 MICHAEL 09:13:01.440: entered rfmsoexinst() for disassembling
2014-09-10 09:13:01.440 RSM0: received the State value ask: rid = 0 x 01041001, sid = 0, phid = 1, econd = 2, sitehndl = 0 x 02001000
2014-09-10 09:13:01.440 Log transport resources: SetState OFFLINE, DISASSEMBLY phase, external Cond SWITCH-OVER-PHYS_STBY
2014-09-10 09:13:01.440 RSM0: received the State value ask: rid = 0 x 01011001, sid = 4, phid = 1, econd = 2, sitehndl = 0 x 02001000
2014-09-10 09:13:01.440 of database Resource [IAM = PRIMARY]: 0 x 02001000 SetState PHYSICAL-APPLY-ON, DISASSEMBLY phase, external Cond SWITCH-OVER-PHYS_STBY, handful of Site target
2014-09-10 09:13:01.440 RSM0: execution of SQL [ALTER DATABASE COMMIT to SWITCH STANDBY mode PHYSICS WITH the STOP of the SESSION]
2014-09-10 09:13:06.630 SQL [ALTER DATABASE COMMETTRE at PHYSICS CROSSING SHALL WITH SESSION SHUTDOWN] executed successfully
2014-09-10 09:13:06.630 RSM: compensation IncarnationTable internal property of the site 0 x 01010000
2014 09-10 02001000 746441090 MICHAEL 09:13:06.630: Broker determines this restart of the instance is necessary: operation = status = ORA-16570
2014 09-10 02001000 746441090 09:13:06.630 resources: smart (01011001) State: PHYSICAL-APPLY-ON
2014-09-10 09:13:06.630 INSV: response for message with
2014-09-10 09:13:06.630 req ID 1.1.746441090, CTL_SWITCH, disassembling opcode
2014 09-10 02001000 746441090 MICHAEL 09:13:06.630: Instance 'smart' (ID 1) returned ORA-16570
2014-09-10 09:13:06.630 02001000 746441090 for disassembling of the CTL_SWITCH operation
2014-09-10 09:13:06.646 NSV1: using RFIUPI_DGCI_CDESC
2014 09-10 02001000 746441090 MICHAEL 09:13:06.646: primary instances display for transition to THE phase 2
2014-09-10 09:13:06.646 INSV: message received for publication of inter - the instance
2014 09-10 02001000 746441090 MICHAEL 09:13:06.646: State of rfi_post_instances() for CTL_SWITCH = ORA-00000
2014-09-10 09:13:06.646 req ID 1.1.746441090, opcode CTL_SWITCH, disassembling, 5 flags
2014 09-10 02001000 746441090 MICHAEL 09:13:06.646: dispersants message to STANDBY for transition to THE phase of DISMANTLING
2014 09-10 02001000 746441090 MICHAEL 09:13:06.646: entered rfmsoexinst() for disassembling
2014-09-10 09:13:06.646 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:13:06.646 INSV: response for message with
2014-09-10 09:13:06.646 req ID 1.1.746441090, CTL_SWITCH, disassembling opcode
2014 09-10 02001000 746441090 MICHAEL 09:13:06.646: Instance 'smart' (ID 1) returned ORA-16570
2014-09-10 09:13:06.646 02001000 746441090 for disassembling of the CTL_SWITCH operation
2014-09-10 09:13:28.619 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:13:28.619 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:13:43.620 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:13:43.620 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:13:58.639 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:13:58.639 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:14:13.657 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:14:13.657 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:14:28.674 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:14:28.674 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:14:43.676 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:14:43.676 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:14:58.693 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:14:58.693 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:15:13.695 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:15:13.695 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:15:28.707 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:15:28.707 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:15:43.724 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:15:43.724 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:15:58.726 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:15:58.726 NSV1: smart_stb returned ORA-16665 Site.
2014-09-10 09:16:13.727 NSV1: using RFIUPI_DB_INST_CDESC
2014-09-10 09:16:13.727 NSV1: smart_stb returned ORA-16665 Site.
2014 09-10 02001000 746441090 MICHAEL 09:16:28.729: database smart_stb returned ORA-16665
2014-09-10 09:16:28.729 02001000 746441090 opcode = CTL_SWITCH, phase = DISASSEMBLY, req_id = 1.1.746441090
2014-09-10 09:16:28.729 02001000 746441090 CTL_SWITCH operation cancelled during phase 2, error = ORA-16665
2014 09-10 02001000 746441090 MICHAEL 09:16:28.729: ORA-16665 stateful failover operation failed
2014-09-10 09:16:28.729 NSV1: using RFIUPI_DGCI_CDESC
2014 09-10 02001000 746441090 MICHAEL 09:16:28.744: display primary instances for PASSAGE of phase 5
2014-09-10 09:16:28.744 INSV: message received for publication of inter - the instance
2014 09-10 02001000 746441090 MICHAEL 09:16:28.744: State of rfi_post_instances() for CTL_SWITCH = ORA-00000
2014-09-10 09:16:28.744 req ID 1.1.746441090, CTL_SWITCH opcode, phase END, 5 flags
2014 09-10 02001000 746441090 MICHAEL 09:16:28.744: passage to the aborted due to errors
2014 09-10 02001000 746441090 named Site 09:16:28.744: smart is always primary school
2014 09-10 02001000 746441090 error 09:16:28.744 = ORA-16665
DRC.log Eve shows the following:
2014-09-10 09:13:01.352 02001000 746441090 notify Oracle Clusterware base ensures target disassembly of passing data to the
2014-09-10 09:13:01.367 ACLS: not configured CRS, config = 2
.
2014 09-10 02001000 746441090 MICHAEL 09:13:01.367: display of bodies sleep for transition to THE phase 1
2014-09-10 09:13:01.367 INSV: message received for publication of inter - the instance
2014-09-10 09:13:01.367 req ID 1.1.746441090, CTL_SWITCH opcode, phase BEGIN, 5 flags
2014 09-10 02001000 746441090 MICHAEL 09:13:01.367: entered rfmsoexinst() for phase BEGIN
2014-09-10 09:13:01.367 INSV: response for message with
2014-09-10 09:13:01.367 req ID 1.1.746441090, CTL_SWITCH opcode, phase BEGIN
2014 09-10 02001000 746441090 MICHAEL 09:13:01.367: entered rfm_release_chief_lock() for CTL_SWITCH
2014 09-10 02001000 746441090 MICHAEL 09:13:06.571: entered rfm_get_chief_lock() for CTL_SWITCH, reason 0
2014 09-10 02001000 746441090 MICHAEL 09:13:06.571: start execution of the task: the DIGITAL switchover
2014 09-10 02001000 746441090 MICHAEL 09:13:06.586: display of bodies sleep for transition to THE phase 2
2014-09-10 09:13:06.586 INSV: message received for publication of inter - the instance
2014-09-10 09:13:06.586 req ID 1.1.746441090, opcode CTL_SWITCH, disassembling, 5 flags
2014 09-10 02001000 746441090 MICHAEL 09:13:06.586: entered rfmsoexinst() for disassembling
2014-09-10 09:13:06.586 RSM0: received the State value ask: rid = 0 x 02031001, sid = 0, phid = 1, econd = 2, sitehndl = 0 x 02001000
2014-09-10 09:13:06.586 redo apply the resource: SetState OFFLINE, DISASSEMBLY phase, external Cond SWITCH-OVER-PHYS_STBY
2014-09-10 09:13:06.586 RSM0: received the State value ask: rid = 0 x 02012001, sid = 9, phid = 1, econd = 2, sitehndl = 0 x 02001000
2014-09-10 09:13:06.586 of database Resource [IAM = PHYSICS]: handle target SetState-READ-WRITE-XPTON Site, DISMANTLING phase, external SWITCH-OVER-PHYS_STBY, 0 x 02001000 Cond
2014-09-10 09:13:06.586 RSM0: execution of SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL]
2014-09-10 09:13:07.602 SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL] executed successfully
2014-09-10 09:13:07.711 RSM0: execution of SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE through FINAL passage to THE NODELAY]
2014-09-10 09:13:09.509 SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE BY LAST crossing THE NODELAY] executed successfully
2014-09-10 09:13:09.509 RSM0: execution of SQL [ALTER DATABASE COMMIT to SWITCHING to the MAIN WAITING WITH the STOP of the SESSION]
2014-09-10 09:13:11.345 SQL [ALTER DATABASE COMMETTRE to TRANSITION to PRIMARY WAIT WITH SESSION SHUTDOWN] executed successfully
2014-09-10 09:13:11.345 of database Resource successful SetState
2014-09-10 09:13:11.345 INSV: response for message with
2014-09-10 09:13:11.345 req ID 1.1.746441090, CTL_SWITCH, disassembling opcode
2014 09-10 02001000 746441090 MICHAEL 09:13:11.345: entered rfm_release_chief_lock() for CTL_SWITCH
2014-09-10 09:13:28.555 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:13:43.555 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:13:58.571 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:14:13.590 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:14:28.605 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:14:43.606 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:14:58.622 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:15:13.625 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:15:28.641 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:15:43.646 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:15:58.652 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014-09-10 09:16:13.653 drcx: found the task req_id = 1.1.746441090, PROBE, but the phase is carried out
2014 09-10 02001000 746441090 MICHAEL 09:16:27.606: Data Guard Broker ending NSV0, timed out waiting for a response from the smart database
2014 09-10 02001000 746441090 MICHAEL 09:16:27.825: smart database returned ORA-16662
2014-09-10 09:16:27.825 02001000 746441090 opcode = CTL_SWITCH, phase = RESYNCHRONIZATION, req_id = 1.1.746441090
2014 09-10 02001000 746441090 MICHAEL 09:16:42.840: Data Guard Broker ending NSV0, timed out waiting for a response from the smart database
2014 09-10 02001000 746441090 MICHAEL 09:16:42.840: smart database returned ORA-16662
2014-09-10 09:16:42.840 02001000 746441090 opcode = CTL_SWITCH, phase = RESYNCHRONIZATION, req_id = 1.1.746441090
2014 09-10 02001000 746441090 MICHAEL 09:16:57.861: Data Guard Broker ending NSV0, timed out waiting for a response from the smart database
2014 09-10 02001000 746441090 MICHAEL 09:16:57.861: smart database returned ORA-16662
2014-09-10 09:16:57.861 02001000 746441090 opcode = CTL_SWITCH, phase = RESYNCHRONIZATION, req_id = 1.1.746441090
2014-09-10 09:16:58.705 746441091 00001000 MICHAEL: entered rfm_get_chief_lock() for HEALTH_CHECK, reason 0
2014-09-10 09:16:58.705 746441091 00001000 MICHAEL: task to free the 1.1.746441090 orphans, opcode = CTL_SWITCH.
2014-09-10 09:16:58.705 746441091 00001000 MICHAEL: start the task execution: automated healthcheck
2014-09-10 09:16:58.720 746441091 00001000 MICHAEL: start-up of the health check
2014-09-10 09:16:58.720 INSV: message received for publication of inter - the instance
2014-09-10 09:16:58.720 746441091 00001000 MICHAEL: rfi_post_instances() status = ORA-00000
2014-09-10 09:16:58.720 req ID 1.1.746441091, HEALTH_CHECK opcode, phase BEGIN, 5 flags
2014 09-10 00000000 746441091 MICHAEL 09:16:58.720: entered rfmhcexinst
2014 09-10 00000000 746441091 MICHAEL 09:16:58.720: rfmhcexinst call transfer
2014-09-10 09:16:58.720 RSM0: receipt get status request: rid = 0 x 02012001, sid = 4
2014-09-10 09:16:58.720 RSM0: HEALTH CHECK ERROR: ORA-16816: incorrect database role
2014-09-10 09:16:58.720 WARNING: given RCS 281474976710655 with resetlogs_id = 851952614 is less than resetlogs_change # 744657 of the incarnation.
2014-09-10 09:16:58.736 current IncarnationTable value is:
2014-09-10 09:16:58.736 2,744657,851952614,1, * 851351631, 1, 1, 0, #.
2014-09-10 09:16:58.736 RSM0: HEALTH CHECK ERROR: ORA-16700: the standby database has diverged from the primary database
2014-09-10 09:16:58.970 00000000 746441091 HEALTH_CHECK operation cancelled during phase 1, error = ORA-16810
2014-09-10 09:16:58.970 RSM0: receipt get status request: rid = 0 x 02031001, sid = 1
2014-09-10 09:16:58.970 00000000 746441091 MICHAEL: standby Instance completed the health check
2014-09-10 09:16:58.970 INSV: response for message with
2014-09-10 09:16:58.970 req ID 1.1.746441091, HEALTH_CHECK opcode, phase BEGIN
2014-09-10 09:16:58.970 MICHAEL: HEALTH CHECK ERROR: ORA-16766: redo apply is stopped
2014-09-10 09:16:58.970 MICHAEL: aggregation based on H/C, db 0 x 02001000 has gravity = 16501, status = 16810
2014-09-10 09:16:58.970 00000000 746441091 HEALTH_CHECK operation cancelled during phase 1, error = ORA-16810
2014-09-10 09:16:58.970 INSV: message received for publication of inter - the instance
2014-09-10 09:16:58.970 req ID 1.1.746441091, HEALTH_CHECK opcode, phase BEGIN, flags 20005
2014-09-10 09:16:58.970 MICHAEL: aggregation based on H/C, db 0 x 02001000 has gravity = 16501, status = 16810
2014-09-10 09:16:58.970 INSV: response for message with
2014-09-10 09:16:58.970 req ID 1.1.746441091, HEALTH_CHECK opcode, phase BEGIN
2014 09-10 00000000 746441091 MICHAEL 09:17:02.017: entered rfm_release_chief_lock() for HEALTH_CHECK
2014-09-10 09:17:13.724 drcx: task req_id is not found = 1.1.746441091 for PROBE.
2014-09-10 09:17:28.730 drcx: task req_id is not found = 1.1.746441091 for PROBE.
Primary alert.log indicates the following:
LNS: Standby redo log file selected for thread 1 sequence 12046 for destination LOG_ARCHIVE_DEST_2
My Nov 10 09:13:01, 2014
ALTER DATABASE COMMIT TO SWITCH STANDBY MODE PHYSICS WITH THE STOP OF THE SESSION
My Nov 10 09:13:01, 2014
Thread 1 Advanced to record the sequence 12047 (switch LGWR)
Currently Journal # 2 seq # 12047 mem # 0: X:\SMART\LOG1\SMART_21.LOG
Currently Journal # 2 seq # 12047 mem # 1: Y:\SMART\LOG2\SMART_22.LOG
Stop background QMNC process
My Nov 10 09:13:01, 2014
Arc1: Evaluating archive log 1 thread 1 sequence 12046
CLOSING: kill the server sessions.
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 15708 user ' ORACLE. EXE (W000)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
Program 'SYSTEM' of active processes 13372 user ' ORACLE. EXE (W001)"
CLOSED: all the closing of sessions successfully.
krss_find_arc: selection ARC2 to receive the message as a last resort
Waiting for all non-current archive ORLs...
Waiting for thread 1 sequence 12046 ORL to archive...
My Nov 10 09:13:02 2014
Arc0: Assessment of 1 thread 1 sequence 12046 log archives
My Nov 10 09:13:02 2014
ARC2: Evaluating archive log 1 thread 1 sequence 12046
Arc0: Unable to archive the thread 1 sequence 12046
Newspapers archived by another process
ARC2: Impossible to archive the thread 1 sequence 12046
Newspapers archived by another process
Involved the creation of the archivelog 'W:\SMART\ARC\SMART_12046_1_851952614.ARC '.
Archived journal 19372 extra for each sequence 1 12046 0xab72f94c dest ID thread entry 1:
ENT for thread 1 12046 sequence have been archived...
All non-current ORLs have been archived.
Waiting for all FAL entries to archive...
All FAL entries were archived.
Waiting for dest_id 2 can be synchronized...
OCISessionBegin with PasswordVerifier succeeded
Client pid [12320] annexed to the RFS pid [3648] number of the remote instance [1] to dest "smart_dg_stb."
Physical passage target Active, synchronized sleep has been identified
Transition to the end-of-Redo Log thread 1 sequence 12047 has been fixed
The digital switchover: primary YVERT seen above the value 0x0.0x22345d2
ARCH: Noswitch of archiving the thread 1, sequence 12047
ARCH: End-of-Redo archive thread 1 sequence 12047 branch
ARCH: Evaluating archive log 2 thread 1 sequence 12047
ARCH: LGWR is actively archiving destination LOG_ARCHIVE_DEST_2
ARCH: Transmitting the activation 0xab72f94c ID
OCISessionBegin with PasswordVerifier succeeded
Client pid [12244] annexed to the RFS pid [9972] number of the remote instance [1] to dest "smart_dg_stb."
ARCH: Standby redo log file selected for thread 1 sequence 12047 for destination LOG_ARCHIVE_DEST_2
Involved the creation of the archivelog 'W:\SMART\ARC\SMART_12047_1_851952614.ARC '.
Archived journal 19373 extra for each sequence 1 12047 0xab72f94c dest ID thread entry 1:
Archived journal 19374 extra for each sequence 1 12047 0xab72f94c dest ID thread entry 2:
ARCH: Archiving is disabled due to the current archive log file
Primary will check some generator of target of receiving of alls again
Final inspection for a target standby synchronized. Verification will be made once.
ARCH: Transmitting the activation 0xab72f94c ID
LOG_ARCHIVE_DEST_2 is a potential target of the transition to physical standby
Active, synchronized target has been identified
Target has received also redo all the
-----------------------------------------------------------
| Target the waking state.
| LOG_ARCHIVE_DEST_1: NO ACTIVE |
| LOG_ARCHIVE_DEST_2: RECEIVED ALL DATA.
| LOG_ARCHIVE_DEST_3: NO ACTIVE |
| LOG_ARCHIVE_DEST_4: NO ACTIVE |
| LOG_ARCHIVE_DEST_5: NO ACTIVE |
| LOG_ARCHIVE_DEST_6: NO ACTIVE |
| LOG_ARCHIVE_DEST_7: NO ACTIVE |
| LOG_ARCHIVE_DEST_8: NO ACTIVE |
| LOG_ARCHIVE_DEST_9: NO ACTIVE |
| LOG_ARCHIVE_DEST_10: NO ACTIVE |
| LOG_ARCHIVE_DEST_11: NO ACTIVE |
| LOG_ARCHIVE_DEST_12: NO ACTIVE |
| LOG_ARCHIVE_DEST_13: NO ACTIVE |
| LOG_ARCHIVE_DEST_14: NO ACTIVE |
| LOG_ARCHIVE_DEST_15: NO ACTIVE |
| LOG_ARCHIVE_DEST_16: NO ACTIVE |
| LOG_ARCHIVE_DEST_17: NO ACTIVE |
| LOG_ARCHIVE_DEST_18: NO ACTIVE |
| LOG_ARCHIVE_DEST_19: NO ACTIVE |
| LOG_ARCHIVE_DEST_20: NO ACTIVE |
| LOG_ARCHIVE_DEST_21: NO ACTIVE |
| LOG_ARCHIVE_DEST_22: NO ACTIVE |
| LOG_ARCHIVE_DEST_23: NO ACTIVE |
| LOG_ARCHIVE_DEST_24: NO ACTIVE |
| LOG_ARCHIVE_DEST_25: NO ACTIVE |
| LOG_ARCHIVE_DEST_26: NO ACTIVE |
| LOG_ARCHIVE_DEST_27: NO ACTIVE |
| LOG_ARCHIVE_DEST_28: NO ACTIVE |
| LOG_ARCHIVE_DEST_29: NO ACTIVE |
| LOG_ARCHIVE_DEST_30: NO ACTIVE |
| LOG_ARCHIVE_DEST_31: NO ACTIVE |
------------------------------------------------------------
Backup controlfile written to find the D:\ORACLE\ORA_DBA\SMART\TRACE\diag\rdbms\smart\smart\trace\smart_rsm0_12244.trc file
Compensation pending activation ID 2876438860 (0xab72f94c)
The primary database controlfile is created using the
Clause 'MAXLOGFILES 255'.
There is space for the log files waiting for redo up to 251
Use the following SQL commands on the standby database to create
waiting for redo logfiles that correspond to the primary database:
ALTER DATABASE add STANDBY LOGFILE 'srl1.f' SIZE 52428800.
ALTER DATABASE add STANDBY LOGFILE 'srl2.f' SIZE 52428800.
ALTER DATABASE add STANDBY LOGFILE 'srl3.f' SIZE 52428800.
ALTER DATABASE add STANDBY LOGFILE 'srl4.f' SIZE 52428800.
ALTER DATABASE add STANDBY LOGFILE 'srl5.f' SIZE 52428800.
ARCHIVELOG for thread 1 sequence 12047 required for recovery of the eve
The digital switchover: converted primary Controlfile controlfile standby successfully.
The digital switchover: Complete - closing of the database required
Completed: ALTER DATABASE COMMIT to SWITCH STANDBY mode PHYSICS WITH the STOP of the SESSION
My Nov 10 09:13:20 2014
(Ospid 12320) process is suspended due to the transition to a physical relief operation.
My Nov 10 09:16:58 2014
(Ospid 12244) process is suspended due to the transition to a physical relief operation.
My Nov 10 09:17:08 2014
Process (ospid 3080) is suspended due to the transition to a physical relief operation.
My Nov 10 09:17:09 2014
Process (ospid 12636) is suspended due to the transition to a physical relief operation.
My Nov 10 09:17:10 2014
Process (ospid 5292) is suspended due to the transition to a physical relief operation.
My Nov 10 09:17:43 2014
RSM0, PID = 12244 process, will be killed
My Nov 10 09:17:44 2014
RSM0 started with pid = 27, OS id = 16280
My Nov 10 09:20:56 2014
minact-RCS: received the error during the scan e:12751 usn:6 useg
minact-SNA: useg scan slip on with error e:12751
My Oct 10 09:21:19 2014
Process (ospid 16280) is suspended due to the transition to a physical relief operation.
My Nov 10 09:22:04 2014
RSM0, PID = 16280 process, will be killed
My Nov 10 09:22:05 2014
RSM0 started with pid = 27, OS id = 10528
My Nov 10 09:25:39 2014
(Ospid 10528) process is suspended due to the transition to a physical relief operation.
My Nov 10 09:26:03 2014
minact-RCS: received the error during the scan e:12751 usn:6 useg
minact-SNA: useg scan slip on with error e:12751
My Nov 10 09:26:24 2014
RSM0, PID = 10528 process, will be killed
My Nov 10 09:26:25 2014
RSM0 started with pid = 27, OS id = 15752
My Nov 10 09:29:59 2014
Process (ospid 15752) is suspended due to the transition to a physical relief operation.
My Nov 10 09:30:44 2014
RSM0, PID = 15752 process, will be killed
My Nov 10 09:30:45 2014
RSM0 started with pid = 27, OS id = 1972
My Nov 10 09:31:09 2014
minact-RCS: received the error during the scan e:12751 usn:6 useg
minact-SNA: useg scan slip on with error e:12751
Suspend action 'Block Cleanout Optim, Undo Segment Scan' MMON 82800 seconds
My Nov 10 09:34:19 2014
Process (ospid, 1972) is suspended due to the transition to a physical relief operation.
alert-journal sleep shows the following:
My Nov 10 09:13:01, 2014
ARC3: Evaluating archive log 5 thread 1 sequence 12046
Involved the creation of the archivelog 'W:\SMART\ARC\SMART_12046_1_851952614.ARC '.
Archived journal 5932 extra for each sequence 1 12046 0xab72f94c dest ID thread entry 1:
My Nov 10 09:13:01, 2014
Media, recovery waiting for thread 1 sequence 12047
My Nov 10 09:13:04 2014
Again shipping customer logged in as PUBLIC
-User is valid
RFS [6]: assigned to the process 3648 RFS
RFS [6]: identified the type of database such as 'physical' standby: customer is ARCH pid 12320
My Nov 10 09:13:06 2014
Again shipping customer logged in as PUBLIC
-User is valid
RFS [7]: assigned to the process 9972 RFS
RFS [7]: identified the type of database such as 'physical' standby: Client is in the foreground pid 12244
RFS [7]: end-of-Redo for thread archiving 1 sequence 12047
RFS [7]: Eve successfully opened journal 5: "Y:\SMART\LOG2\SMART_S_5.LOG."
RFS [7]: Journal selected 5 for thread 1 sequence 12047 dbid-1425016497 branch of the 851952614
My Nov 10 09:13:06 2014
Arc1: Evaluating archive log 5 thread 1 sequence 12047
Involved the creation of the archivelog 'W:\SMART\ARC\SMART_12047_1_851952614.ARC '.
Archived journal 5933 extra for each sequence 1 12047 0xab72f94c dest ID thread entry 1:
My Nov 10 09:13:06 2014
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL
MRP0: Background Media Recovery cancelled with status 16037
Errors in the D:\ORACLE\ORA_DBA\SMART\TRACE\diag\rdbms\smart_stb\smart\trace\smart_pr00_13804.trc file:
ORA-16037: user has requested the cancellation of the managed recovery
Managed Standby recovery not using real time applies
Recovery interrupted!
Errors in the D:\ORACLE\ORA_DBA\SMART\TRACE\diag\rdbms\smart_stb\smart\trace\smart_pr00_13804.trc file:
ORA-16037: user has requested the cancellation of the managed recovery
My Nov 10 09:13:07 2014
Errors in the D:\ORACLE\ORA_DBA\SMART\TRACE\diag\rdbms\smart_stb\smart\trace\smart_mrp0_11168.trc file:
ORA-10877: error reported in parallel recovery slave
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL
Data not available for the digital switchover
End-of-REDO the archived log file was not found
Incomplete recovery SCN:0:35846057 archive SCN:0:35866066
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE THROUGH FINAL PASSAGE TO THE NODELAY
has started the process of logmerger
My Nov 10 09:13:07 2014
Managed Standby recovery not using real time applies
Parallel Media Recovery started with 8 slaves
Media W:\SMART\ARC\SMART_12047_1_851952614.ARC recovery log
Identified the SNA 0x0.22345d2 end-of-Redo (failover) for thread 1 sequence 12047
Activation reset sleep ID 2876438860 (0xab72f94c)
Met Media Recovery end Redo indicator
Media recovery applied through change 35866066
Attempt to limbo arscn 0:35866066 irscn 0:35866066
Completed: ALTER DATABASE RECOVER MANAGED STANDBY database through FINAL passage to THE NODELAY
ALTER DATABASE COMMIT TO SWITCHING TO THE MAIN WAITING WITH THE STOP OF THE SESSION
Waiting for the transition from role maximum is 15 minutes.
krsv_proc_kill: kill 2 process (all the RFS)
Backup controlfile written to find the D:\ORACLE\ORA_DBA\SMART\TRACE\diag\rdbms\smart_stb\smart\trace\smart_rsm0_14652.trc file
Passage to the after complete recovery through change 35866066
X:\SMART\LOG1\SMART_11.LOG online journal: thread 1 Group 1 had been previously authorized
Y:\SMART\LOG2\SMART_12.LOG online journal: thread 1 Group 1 had been previously authorized
X:\SMART\LOG1\SMART_21.LOG online journal: thread 1 group 2 was previously disabled
Y:\SMART\LOG2\SMART_22.LOG online journal: thread 1 group 2 was previously disabled
X:\SMART\LOG1\SMART_31.LOG online journal: thread 1 Group 3 has been previously authorized
Y:\SMART\LOG2\SMART_32.LOG online journal: thread 1 Group 3 has been previously authorized
X:\SMART\LOG1\SMART_41.LOG online journal: thread 1 Group 4 has been previously authorized
Y:\SMART\LOG2\SMART_42.LOG online journal: thread 1 Group 4 has been previously authorized
Standby became primary YVERT: 35866064
The digital switchover: completed - mounted as primary database
Completed: ALTER DATABASE COMMIT to SWITCHING to the MAIN WAITING WITH the STOP of the SESSION
My Nov 10 09:13:45 2014
Arc0: become the "no SRL" ARCH
My Nov 10 09:13:46 2014
ARC3: become the "no SRL" ARCH
My Nov 10 09:13:46 2014
Arc1: become the "no SRL" ARCH
My Nov 10 09:16:58 2014
NSV0 started with pid = 26, OS id = 15900
My Oct 10 09:21:20 2014
MICHAEL: NSV0 network call timeout. Kill it now.
The Setup is as follows:
DGMGRL > see the configuration;
Configuration - dg_smart
Protection mode: MaxPerformance
Databases:
Smart - primary database
smart_stb - physical of the standby database
Fast-Start Failover: DISABLED
The configuration status:
SUCCESS
DGMGRL > see the detailed chip database
-Smart database
Role: PRIMARY
State of destination: TRANSPORT-WE
Occurrence (s):
Smart
Properties:
DGConnectIdentifier = "smart_dg_prim".
ObserverConnectIdentifier = "
LogXptMode = "ASYNC".
DelayMins = '0'
Binding = "optional."
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = "300"
NetTimeout = "30"
RedoCompression = "DISABLE."
LogShipping = 'ON '.
PreferredApplyInstance = "
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO '.
StandbyFileManagement = 'AUTO '.
ArchiveLagTarget = "300"
LogArchiveMaxProcesses = "4"
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = "
LogFileNameConvert = "X:\SMART\LOG1, X:\SMART\LOG1, Y:\SMART\LOG2, Y:\SMART\LOG2.
FastStartFailoverTarget = "
InconsistentProperties = "(monitor).
InconsistentLogXptProps = "(monitor).
SendQEntries = "(monitor).
LogXptStatus = "(monitor).
RecvQEntries = "(monitor).
Nom_sid = "smart."
StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=host02) (PORT = 1599)) (CONNECT_DATA = (SERVICE_NAME = smart_DGMGRL)(INSTANCE_NAME=smart) (SERVER = DEDICATED)))'
StandbyArchiveLocation = "W:\SMART\arc\".
AlternateLocation = "
LogArchiveTrace = '8191'
LogArchiveFormat = "smart_%s_%t_%r.arc".
TopWaitEvents = "(monitor).
State of the database:
SUCCESS
DGMGRL > see the detailed database smart_stb
Database - smart_stb
Role: STANDBY PHYSICS
State of destination: apply
Transport Lag: 0 seconds
Apply the Lag: 0 seconds
Real-time query: OFF
Occurrence (s):
Smart
Properties:
DGConnectIdentifier = "smart_dg_stb".
ObserverConnectIdentifier = "
LogXptMode = "ASYNC".
DelayMins = '0'
Binding = "optional."
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = "300"
NetTimeout = "30"
RedoCompression = "DISABLE."
LogShipping = 'ON '.
PreferredApplyInstance = "
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO '.
StandbyFileManagement = 'AUTO '.
ArchiveLagTarget = "300"
LogArchiveMaxProcesses = "4"
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = "
LogFileNameConvert = "X:\SMART\LOG1, X:\SMART\LOG1, Y:\SMART\LOG2, Y:\SMART\LOG2.
FastStartFailoverTarget = "
InconsistentProperties = "(monitor).
InconsistentLogXptProps = "(monitor).
SendQEntries = "(monitor).
LogXptStatus = "(monitor).
RecvQEntries = "(monitor).
Nom_sid = "smart."
StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=host01) (PORT = 1599)) (CONNECT_DATA = (SERVICE_NAME = smart_stb_DGMGRL)(INSTANCE_NAME=smart) (SERVER = DEDICATED)))'
StandbyArchiveLocation = "W:\SMART\arc\".
AlternateLocation = "
LogArchiveTrace = '8191'
LogArchiveFormat = "smart_%s_%t_%r.arc".
TopWaitEvents = "(monitor).
State of the database:
SUCCESS
tnsnames.ora:
smart_dg_stb = (Description = (Address = (Protocol = TCP)(Host=host01) (port = 1599)) (CONNECT_DATA = (Server = Dedicated) (SID = Smart)))
smart_dg_prim = (Description = (Address = (Protocol = TCP)(Host=host02) (port = 1599)) (CONNECT_DATA = (Server = Dedicated) (SID = Smart)))
Primary listner.ora:
LISTENER_REDO_SMART =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1599))(HOST = host02))
)
)
SID_LIST_LISTENER_REDO_SMART =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\oracle\11.2.0)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\11.2.0\bin\oraclr11.dll")
)
(SID_DESC =
(SID_NAME = smart)
(ORACLE_HOME = D:\oracle\11.2.0)
)
(SID_DESC =
(SID_NAME = smart)
(GLOBAL_DBNAME = smart_DGMGRL)
(ORACLE_HOME = D:\oracle\11.2.0)
)
)
Listener.ora ensures
LISTENER_REDO_SMART =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1599))(HOST = host01))
)
)
SID_LIST_LISTENER_REDO_SMART =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\oracle\11.2.0)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\11.2.0\bin\oraclr11.dll")
)
(SID_DESC =
(SID_NAME = smart)
(ORACLE_HOME = D:\oracle\11.2.0)
)
(SID_DESC =
(SID_NAME = smart)
(GLOBAL_DBNAME = smart_stb_DGMGRL)
(ORACLE_HOME = D:\oracle\11.2.0)
)
)
LSNRCTL > status listener_redo_smart
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP (PORT = 1599))(HOST=host02)))
STATUS of the LISTENER
------------------------
Alias LISTENER_REDO_SMART
TNSLSNR for Windows 64-bit version: Version 11.2.0.3.0 - Production
Start date August 30, 2014 20:46:12
Uptime 10 days 13 h 11 min 15 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File D:\oracle\11.2.0\network\admin\listener.ora
Listener log file D:\oracle\diag\tnslsnr\host02\listener_redo_smart\alert\log.xml
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 1599))(HOST=host02)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
Service 'HA_SMART' has 1 instance (s).
'Smart' instance, State LOAN, has 1 operation for this service...
'Smart' service has 2 occurrences.
'Smart' instance, status UNKNOWN, has 1 operation for this service...
'Smart' instance, State LOAN, has 1 operation for this service...
Service 'smart_DGB' has 1 instance (s).
'Smart' instance, State LOAN, has 1 operation for this service...
Service 'smart_DGMGRL' has 1 instance (s).
'Smart' instance, status UNKNOWN, has 1 operation for this service...
The command completed successfully
I would be most grateful if someone would have an idea of how solve it!
Thanks in advance and best regards...
Solved!
A logon trigger that makes an insert in a table for each log in the appearance of this behavior. Since dataguard brings the standby database open mode ReadOnly cannot insert the trigger and the strange behavior as described happens!
Hope that could help someone in the future...
Kind regards
Tags: Database
Similar Questions
-
Data Guard Broker fails with ORA-16635 and ORA-03135
Hi all
I configured Oracle RAC with 11.2 Dataguard on Windows 2003.
I have already configured standby without Data Guard Broker and everything works fine, but when I try to use Data Guard Broker, it cannot synchronize the files of the Data Guard Broker.
I tried everything, including MOS, but not found anything.
I get this error.
Primary
Sleep modeDG 2011-02-11-09:15:41 0 2 0 NSV1: (MIV = 57) Start sending metadata file: "+DG_DATA/orcl/dgbroker/dg_config_file1.dat" DG 2011-02-11-09:15:41 0 2 0 NSV1: Sending block #1 (containing MIV = 57), 67 blocks DG 2011-02-11-09:15:42 0 2 0 NSV1: Error sending block #1, size 67 blocks. Error is ORA-16635. DG 2011-02-11-09:15:42 0 2 0 NSV1: Current network link for metadata resync is broken. DG 2011-02-11-09:15:42 0 2 0 NSV1: (MIV = 57) End metadata file transmission: opcode CTL_ENABLE (1.1.1825138532) DG 2011-02-11-09:15:42 0 2 0 NSV1: Can't send CLOSE message to DRCX. Network error is: ORA-16635. DG 2011-02-11-09:15:42 0 2 0 NSV1: Error is ORA-03135 connection lost contact DG 2011-02-11-09:15:42 0 2 0 NSV1: Current network link for metadata resync is broken.
DG 2011-02-11-08:35:39 3001000 3 1825138419 for opcode = CTL_ENABLE, phase = RESYNCH, req_id = 1.1.1825138419 DG 2011-02-11-08:35:39 0 2 0 NSV2: Error sending block #1, size 67 blocks. Error is ORA-16635. DG 2011-02-11-08:35:39 0 2 0 NSV2: Current network link for metadata resync is broken. DG 2011-02-11-08:35:39 0 2 0 NSV2: (MIV = 11) End metadata file transmission: opcode CTL_ENABLE (1.1.1825138419) DG 2011-02-11-08:35:39 0 2 0 NSV2: Can't send CLOSE message to DRCX. Network error is: ORA-16635. DG 2011-02-11-08:35:39 0 2 0 NSV2: Current network link for metadata resync is broken. DG 2011-02-11-08:35:39 0 2 0 NSV2: Metadata Resync failed. Status = ORA-16635 DG 2011-02-11-08:35:39 3001000 3 1825138419 DMON: Database ORCLSTBY returned ORA-16635
Hello
CISCO firewalls have a configuration option 'inspect sqlnet' or 'deep packet inspection '. This setting can affect the transfer of certain data on the network and the result in malformed packets or down.
Check if this option is enabled, if it is turn off the option "inspect sqlnet" at the firewall level.
And try again...
Kind regards
Levi Pereira -
Custody of data with Switch Over
Hello
IAM trying to test a Swith keeps data more scenarioes to the physical database ensures with Oracle 11.2.0.2 on windows
Machine 1:
db_unique_name = prd
hostname = IE11VW1FHRDG1
Machine 2:
db_unique_name = stdby
hostname = IE11VW1FHRDG1
{code: sql}
DGMGRL > see Configuring
Configuration - dgconfig
Protection mode: MaxPerformance
Databases:
PRD - primary
STDBY - physical of the standby database
Fast-Start Failover: DISABLED
The configuration status:
SUCCESS
{code}
Switching on standby
{code}
DGMGRL > passage to the "stdby.
Continue to pass, please wait...
New primary database "stdby" opens...
The operation requires the judgment of the instance 'prd' on database 'prd '.
Instance closing "prd"...
ORACLE instance stops.
The operation requires the start the instance 'prd' on database 'prd '.
Start the instance "prd"...
ORACLE instance started.
Mounted database.
Successful, the new principal is 'stdby.
DGMGRL >
DGMGRL >
DGMGRL >
DGMGRL > see Configuring
Configuration - dgconfig
Protection mode: MaxPerformance
Databases:
STDBY - primary
PRD - Physical standby database
Fast-Start Failover: DISABLED
The configuration status:
SUCCESS
{/ code}
When I switch back to primary (i.e., PRD), then iam getting the error below.
{code}
DGMGRL > passage to the "prd".
Continue to pass, please wait...
New primary database "prd" opens...
The operation requires the stop of the instance «stdby' on the «stdby» database
Instance closing "stdby '...
ORACLE instance stops.
The operation requires the start the instance "stdby' on database 'stdby.
Start the instance "stdby '...
Unable to connect to the database
ORA-12521: TNS:listener is not currently of requested instance in connect descriptor
Failed.
WARNING: You are more connected to ORACLE.
Complete the following steps to complete the digital switchover:
marketing and get the instance "stdby' of database 'stdby.
{/ code}
I also configured the listeners on both servers.
What could be the cause of the connection failure?
Problem is this: you can change in standby mode:
DGMGRL > edit the property of stby set StaticConnectIdentifier = database ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = IE11VW1FHRDG2)(PORT=1521)) (CONNECT_DATA = (SERVICE_NAME = STDBY_DGMGRL) (INSTANCE_NAME = STBY)(SERVER=DEDICATED)))'
I have not found any problem.
Concerning
Mr. Mahir Quluzade
-
Parameters must set up Data Guard with Data Guard Broker
Hi gurus,
I am following this guide http://www.oracle.com/us/solutions/sap/wp-ora4sap-dataguard11g-303811.pdf, but it does not specify what settings must be defined for the service to the top.
I noticed that we can set upwards of two ways, either Oracle Enterprise Manager or Data Guard Broker. Do we need to configure the same settings in OEM and after to activate the DGMGRL?
Can you help me?
Thank you
Denis
BrazilDenis;
Yes. Check my example here:
http://www.Visi.com/~mseberg/Data_Guard_Listener_Example.html
COMMUNITY is what could be an earlier version.
Yes, the old version. :
http://docs.Oracle.com/CD/A57673_01/doc/net/doc/NWUS233/APB.htm
It worries me because my files are very different and I'm afraid that mix in mine will break your further. The link you posted seems good similar to my settings, but I do not read very good Spanish.
Best regards
mseberg
Published by: mseberg on July 17, 2012 12:46
Published by: mseberg on July 17, 2012 12:50
-
DG fails with ora-16532 / ora-16577
Because my DBs are on a network disconnected, I can't copy and paste large quantities. Everything here is typical. Please be patient.
Primary DB is EE 11.2.0.3.0 on RHEL 5.1 and running on the file (no - ASM) system.
DB pending is EE 11.2.0.4.0 OEL 6.4 and running on ASM.
I perform RMAN DUPLICATE ACTIVE without error. I have run the following SQL queries on the instance of relief:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION; ALTER SESSION SET nls_date_format='DD-MON-YYYY HH24:MI:SS'; select database_role,protection_mode from v$database; DATABASE_ROLE - PROTECTION_MODE PHYSICAL STANDBY - MAXIMUM PERFORMANCE SELECT sequence#, first_time, next_time, applied FROM v$archived_log ORDER BY sequence#;
I compare v$ archived_log against primary. Everything transferred and applied. Life is good. I am surprised, I did not met all the problems again! Maybe I really became a good DBA now! Now all I do is turn on Data Guard.
I have set up my caller on hold. Notable entries are below.
...
(SID_DESC = (SDU = 32767) (GLOBAL_DBNAME = acme2_DGMGRL) (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_home1) (ENVS="TNS_ADMIN=/u01/app/oracle/product/11.2.0/grid/network/admin") (SERVER = DEDICATED) (SID_NAME = acme2) ) (SID_DESC = (SDU = 32767) (GLOBAL_DBNAME = acme2_DGB) (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_home1) (ENVS="TNS_ADMIN=/u01/app/oracle/product/11.2.0/grid/network/admin") (SERVER = DEDICATED) (SID_NAME = acme2) ) DYNAMIC_REGISTRATION_LISTENER_ACME2=OFF
Because dynamic registration is disabled, I have generated statically _DGB above entry. I understand that ENVS is not strictly necessary, however, I have included to exclude errors. I'm sure some additional settings are properly configured.
Elementary school:
show parameter log_archive log_archive_config: 'dg_config=(acme,acme2)' log_archive_dest_1: LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=acme log_archive_dest_2: SERVICE=acme2 SYNC AFFIRM reopen=15 NET_TIMEOUT=15 DB_UNIQUE_NAME=acme2 VALID_FOR=(online_logfiles,primary_role)
Standby:
show parameter log_archive log_archive_config: 'dg_config=(acme2,acme)' log_archive_dest_1: LOCATION=USE_DB_RECOVERY_FILE_DEST log_archive_dest_2: SERVICE=acme AFFIRM SYNC VALID_FOR=(online_logfiles,primary_role) DB_UNIQUE_NAME=acme
I check on the primary:
show parameter dg_broker NAME - VALUE dg_broker_config_file1 - /u02/app/oracle/fra/dr1acme.dat dg_broker_config_file2 - /u02/app/oracle/fra/dr2acme.dat dg_broker_true - TRUE
I put and check that the sleep settings:
show parameter dg_broker NAME - VALUE dg_broker_config_file1 - +DATA/acme2/broker/dr1acme.dat dg_broker_config_file2 - +FRA/acme2/broker/dr2acme.dat dg_broker_true - TRUE
I'm going to the ASMCMD from the night before and make the directories above.
Elementary school:
dgmgrl connect sys/mypassword Connected. add database acme2 as connect identifier is acme2 maintained as physical;
He adds very well. It is part of the configuration, but disabled. In the listener from sleep log, I see that the primary is a successful connection to the service 'acme2'.
show database verbose acme2 (I only typed relevant properties...ask for more if need be) DGConnectIdentifier = 'acme2' LogXptMode = 'SYNC' Standbyfilemanagement = 'AUTO' DbFileNameConvert = '/u02/app/oracle, +DATA, /u03/app/oracle, +DATA' LogFileNameConvert = '/u02/app/oracle, +FRA, /u03/app/oracle, +FRA' StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(host=mystandbyhost)(port=1521))(CONNECT_DATA=(SERVICE_NAME=acme2_DGMGRL)(INSTANCE_NAME=acme)(SERVER=DEDICATED)))' StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST' Database Status: DISABLED
Just to double check, I use my DGMGRL Standby to try to connect to the primary DGMGRL with "sys/mypassword". Success! I can view primary DGMGRL configuration of the previous day. I have then copy and paste the "StaticConnectIdentifier" above in my primary tnsnames.ora file and create a temporary entry of TNS. I then try to tnsping this entry temp. All right. I have remove the temporary entry and return to DGMGRL. Everything went perfectly. Finally, I check the file of newspaper DG on the eve. The last line is "Configuration does not exist, Data Guard Broker loan", which is exactly what I expected to see at this stage. Can now do better?
Elementary school:
dgmgrl connect sys/mypassword Connected. enable database acme2;
.. and so my long nightmare starts. Custody of intelligence data does not work.
On logs waiting for DG, I see these errors for a while, but then they disappear:
drcx: cannot open configuration file "+DATA/acme2/broker/dr1acme.dat"
What makes the sense that they have not been copied yet. After a minute, I check the DATA + and + FRA starts on the eve and two config DG files have transferred and is where they should be. Ok. I check the database of pending log file. Only standard archived journal entries (files are always transferred from the primary school outside of Data Guard). I check ADRCI on intelligence. There are no problems or incidents.
On the primary level, there is no problem or incident at the ADRCI and errors will only find is in the DG log file. They are:
Broker Initiated ENABLE of site acme2 has been scheduled Data Guard Broker Status Summary: Type -- Name -- Severity -- Status Configuration DG_ACME_CONFIG warning ora-16607 Primary DB acme success ora-00000 Physical Standby DB acme2 error ora-16532 ENABLE DATABASE acme2 Metadata Resync failed. Status = ora-16577 Command ENABLE DATABASE acme2 completed
The error is repeated continually as main tent contact the broker ensures DG. I have check the earphone standby log file. I see that primary is connected to the local 'acme2_DGB' about once every minute, right mark. It is to achieve the TNS service, but the TNS service does not meets with the local broker.
On the Pb of the day before, I run
SQL> select process,client_process,status from v$managed_standby;
PROCESS of CLIENT_PROCESS STATUS ARCH ARCH CLOSING ARCH ARCH CLOSING ARCH ARCH CONNECTED ARCH ARCH CLOSING RFS ARCH IDLE RFS UNKNOWN IDLE RFS LGWR IDLE SELECT THE MESSAGE FROM V$ DATAGUARD_STATUS; shows nothing useful (transfers archive standard only).
I've completely removed the DG configuration on all the boxes, removed the DG config files and completely recreated the configuration several times. In fact, I completely rebuilt the standby database DG twice. In addition, accelerated failover is disabled on the configuration of the DG.I tried everything I can think and find online. I would be very happy any idea on this issue that the community has to offer.
Hello
I do not use DG with broker but I want to ask something. I couldn't see the values of the parameters compatible on both sides. You know that the values must be the same on all the databases in a dataguard configuration.
Primary DB is EE 11.2.0.3.0 on RHEL 5.1 and running on the file (no - ASM) system.
DB pending is EE 11.2.0.4.0 OEL 6.4 and running on ASM.
Best regards
-
Automatic failover with Transport and apply Lag fails with ORA-16798
Hello
I configured a physical database maximum Performance, accelerated failover mode standby. I set FastStartFailoverLagLimit to 3 hours (10800 seconds).If I understand the Oracle documentation, Fast-Start failover should work with Max Performance, as long the Transport timeout is whithin the FastStartFailoverLagLimit.
So I started a few scripts, generated some loading, so I have a Transport and apply the shift of 3-4 Minutes.
Then I killed pmon to cause an automatic failover.Failover failed with ORA-16798.
I know, there is Note 846087.1 , which describes the problem, but I thought that automatic failover should work in this configuration.
Is this a bug or am I wrong?Thank you very much in advance.
Configuration Data Guard standby:
-----------------------------------------------Role: STANDBY PHYSICS
State of destination: apply
Transport delay: 3 minutes 3 seconds (calculated two seconds ago)
Apply the Lag: 3 minutes 26 seconds (calculated 0 seconds ago)
Apply the rate: 23,52 MB/s
Real-time query: OFF
Occurrence (s):
...Properties:
...
LogXptMode = "async".
DelayMins = '0'
Binding = "optional."
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = "300"
NetTimeout = "15"
RedoCompression = "DISABLE."
...State of the database:
SUCCESSFast failover configuration:
-----------------------------------------------Fast-Start Failover: ENABLED
Threshold: 180 seconds
Target: < Targetname >
Observer: < servername >
Offset limit: 10800 seconds
Primary closure: TRUE
Auto-Rétablir: TRUE
Reconnection of the observer: (none)
Substitution of the observer: FALSE...
Messages of the DG - Log:
-----------------------------------------------
FAILOVER TO < DB >
Starting failover to the < DB > database
Notifying Oracle Clusterware to disassembly for the FAILOVER database
02/02/2015-13:38:04
Error running SQL = 604, sql = [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FI
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-00283: cool cancelled due to errors
ORA-16171: RECOVER... FINISHING not allowed away for thr 1, seq 34-37
Failed to retrieve Terminal.
Database error resource SetState (16798)
02/02/2015-13:38:08
Command FAILOVER < DB > completed with error ORA-16798The FastStartFailoverLagLimit property specifies the amount of data, in seconds, during which the standby database target can
delay on the main database on the recovery plan applied. If again applied Eve point database notes that many
seconds of the primary database redo point generation, accelerated tipping is allowed.
Errors show a gap for sequences 34-37, which is not optimal for a fast failover.
Even if FastStartFailoverLagLimit is set to 3 hours, there is too much data loss for the standby site because newspapers are not available on the backup server and the Broker cannot activate the Pb of the day before.
I recommend to to lean on increase the bandwidth network.
Concerning
-
Hi gurus,
I get the problem in configuring Oracle Data Guard Broker 10g as follows:installed Oracle 10 g Cleint on another Machine as primary and Standby.
= PRIMARY
Entry TNSNAMES.ora is as follows:
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 172.29.3.135)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = primary)
)
)
PRIMARY_DGMGRL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 172.29.3.135)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = primary)
)
)
STANDBY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 172.29.3.137)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sleep)
)
)
STANDBY_DGMGRL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 172.29.3.137)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = SLEEP)
)
)
Is utility Tnsping works fine. Now, I try to activate Fast Start recovery using DGMGRL on 3rd Machine, the primary Configuration is the following:
DGMGRL > SHOW DATABASE VERBOSE 'PRIMARY ';
Database
Name: PRIMARY
Role: PRIMARY
Activated: YES
State of destination: online
Occurrence (s):
primary
Properties:
InitialConnectIdentifier = "PRIMARY".
LogXptMode = "SYNCHRONIZE".
Database pending:
DGMGRL > see THE DETAILED DATABASE "STANDBY."
Database
Name: EVE
Role: STANDBY PHYSICS
Activated: YES
State of destination: online
Occurrence (s):
standby
Properties:
InitialConnectIdentifier = "STANDBY".
LogXptMode = 'ARCH '.
MY primary database is running in Mode Performance Max and I also tried to change the LogXptMode of eve of ARCH for SYNCHRONIZATION, but it gives me following error:
DGMGRL > ALTER DATABASE "PENDING" PROPERTY SET LOGXPTMODE = 'SYNC '.
Error: ORA-16789: lack of standby redo logs
Failed.
Please tell me how to change LogXptMode of ARCH for SYNCHRONIZATION? Please help me. Thank you
Kind regards
ImranYou need create logs of recovery sleep with similar statements to:
ALTER DATABASE ADD STANDBY LOGFILE GROUP 10 ('C:\Oracle\Oradata\TSH1\redo1a.log','C:\Oracle\Oradata\TSH1\redo1b.log') SIZE 500K;
Please refer to the Data Guard doc:
http://youngcow.NET/doc/Oracle10g/server.102/b14239/create_ps.htm#sthref320You should also post questions Data Guard to the dedicated forum Data Guard: Data Guard
Edited by: P. Forstmann on June 25, 2010 09:17
-
This is how a SELECT query fails with ORA-1555 occur?
11 GR 2/RHEL 6.2
I would like to know exactly how a SQL fails with error ORA-1555.
Please take a look at the following simple example.
INVENTORY_DETAIL is a table that stores information about items in a store.
For this DB UNDO_RETENTION is set to 3 600 (1 hour) and TUNED_UNDO_RETENTION Meanwhile 5400 (1.5 hours)
At 15:00, there's 12 Logitek involved in inventory.
ITEM_ID NOM_ELEMENT STOCK_LEFT
--------- -------------------- ----------
8432 LOGITEK 12 SPEAKER
At 15:00 Session1, starts a SELECT large with several tables joins query. Something like
Select id.item_id, id.item_name, su.supplier_price, su.supplier_code
Su.batch_code...
of INVENTORY_DETAIL id join in-house suppliers knew on (id.supplier_id = su.supplier_id)
...
..
03:02, Session1 reads the block that stores the line with item_id = 8432 and learns that he has 12 Logitek left speakers.
15:10, Session2 delivers the next UPDATE and he agrees immediately.
Update inventory_detail set stock_left = 7 where item_id = 8432;
commit;
The UNDO data for Session2 transaction are stored in the measure of cancellation remaining, and the UNDO data gets debusquees at 04:40 when the TUNED_UNDO_RETENTION of 1.5 hours is crossed at 16:40.
Because of the bad of e/s, query SELECT of Session1 manages to retrieve all the records only from 17:00.
But session1 notice this line with item_id = 8432 changed. Now, there's only 7 Logitek speakers which is inconsistent with what he learned at 15:02 (who was then at 12). Because of this incompatibility SO not able to recover data UNDO on this gap, ORA-1555 is thrown. My assumptions are good?
3:10PM 4:10PM 4:40PM 5:00PM
|===================================|-------------------------------|-----------------------------|
UNDO_RETENTION = 1 HR retention Undo Tuned = 1.5 h finishes of request for enforcement
Martin, you asked, "are the correct on the circumstances that led to ORA-1555 my explanations? The answer is no. Oracle does not notice at the end of the query that changed a line he read. Instead, each read line is at the same point in time. When Oracle sees that a row has changed Oracle reads the UNDO segments to find the version of the data corresponding to the query start time. If these data cannot be found the ORA-01555 error is raised.
- -
HTH - Mark D Powell.
-
Hi guys,.
I am currently trying to deploy a complete installation (GI battery) of Oracle RAC 12.1.0.2 cool on OEL 7 (3.8.13 - 35.3.4.el7uek) with 2 nodes for validation purposes. However the installation itself went well, but 'Creation repository for Oracle Grid Infrastructure Management container' step fails with "ORA-01034: ORACLE not available / ORA-27102: out of memory / Linux-x86_64 error: 12: cannot allocate memory". The steps of runInstaller validation completed successfully, but I never take this step of configuration without jumping.
Here is my configuration which should normally avoid such errors ORA.
Host
-bash - $4.2 uname - a
Linux OELRAC1 3.8.13 - 35.3.4.el7uek.x86_64 #2 SMP Tue Jul 29 23:24:14 CDT 2014 x86_64 x86_64 x86_64 GNU/Linux
"Creation of repository database for Oracle Grid Infrastructure Management container" error in /oracle/base/cfgtoollogs/dbca/_mgmtdb/trace.log
From restoration to August 9, 14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 12 type of device = DISK
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00003 to + GRID
channel ORA_DISK_1: backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece reading
channel ORA_DISK_1: ORA-19870: error when restoring the backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece
ORA-19504: could not create the file "+ GRID.
ORA-17502: ksfdcre:4 cannot create the file + GRID
ORA-15001: diskgroup 'GRID' does not exist or is not mounted
ORA-01034: ORACLE not available
ORA-27102: out of memory
Linux-x86_64 error: 12: cannot allocate memory
Additional information: 2663
Additional information: 1565392897
Additional information: 161480704
switch to the previous backup
Number of folder of the data file = 3 name = + GRID
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 09/08/2014 19:41:47
ORA-01119: error in creating file of database "+ GRID.
ORA-17502: ksfdcre:4 cannot create the file + GRID
ORA-15001: diskgroup 'GRID' does not exist or is not mounted
ORA-01034: ORACLE not available
ORA-27102: out of memory
Linux-x86_64 error: 12: cannot allocate memory
Additional information: 2663
Additional information: 1565392897
Additional information: 1614807040
RMAN-06956: create the data file failed; try again after removing + OS GRID
SHM / CPI (check the id of shm with previous information)
-bash - $4.2 ipcs - a
-Shared memory segments-
key shmid owner perms bytes nattch status
1565360128 0 x 00000000 grid 640 4096 0
1565392897 0 x 00000000 grid 640 4096 0
0xfba47600 1565425666 640 24576 29 grid
Memory of the ASM instance setting
SQL > see the memory settings
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
whole big memory_max_target 1076M
whole large memory_target 1076M
ASM disk groups
SQL > select NAME, STATE, TOTAL_MB, USABLE_FILE_MB from v$ asm_diskgroup;
NAME STATE TOTAL_MB USABLE_FILE_MB
------------------------------ ----------- ---------- --------------
RACK MOUNTED 6144 4868
/ dev/shm to memory_target (more than enough free space)
-bash - $4.2 df-h
Size of filesystem used Avail use % mounted on
tmpfs, 630M 2.4 G 3.0 G 21% / dev/shm
Kernel for SHM limits set to unlimited parameter
-bash - $4.2 sysctl - a | grep shm
kernel.shmall = 1152921504606846720
kernel.shmmax = 922337203685477580
User limits on unlimited for memory
-bash-4, $ 2 cat /etc/security/limits.conf
# Oracle settings
grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
Oracle nproc 2047 soft
Oracle nproc 16384 hard
Oracle soft nofile 1024
Oracle hard nofile 65536
* hard memlock unlimited
* soft memlock unlimited
-bash - 4, $ 2 known - grid
-bash - $4.2 ulimit - a
the file size (blocks, - c) of base 0
(kbytes, - d) data seg size unlimited
scheduling priority (-e) 0
size of the file (blocks, f) - unlimited
pending signals (-i) 23953
Max locked memory (kbytes, - l) unlimited
size of the memory (k, m) max - unlimited
open files (-n) 1024
a size (512 bytes, - p) 8 hose
(Bytes, - q) POSIX message queues 819200
real-time priority (-r) 0
size (Ko, - s) 8192 battery
time processor (seconds,-t) unlimited
Max user process (-u) 2047
virtual memory (KB), - v) unlimited
the locks on files (-x) unlimited
So what the hell is wrong here? Why the instance ASM (+ ASM1) returns the error below, even if there is no memory limit / problem. The error with the disk group is also absolutely no sense.
------------------------------------------------------------------------------------------------------------------------
ORA-01119: error in creating file of database "+ GRID.
ORA-17502: ksfdcre:4 cannot create the file + GRID
ORA-15001: diskgroup 'GRID' does not exist or is not mounted
ORA-01034: ORACLE not available
ORA-27102: out of memory
Linux-x86_64 error: 12: cannot allocate memory
Additional information: 2663
Additional information: 1565392897
Additional information: 1614807040
------------------------------------------------------------------------------------------------------------------------
Someone at - he encounter the same problem with 12.1.0.2 by deploying the CDB for Grid Infrastructure Management repository? Is there something special with UEK3 (3.8.13 - 35.3.4.el7uek) on 7 OEL? Any necessary special kernel parameter (although the runInstaller controls do not mention)? I'm totally tapped by GI 12.1.0.2.
Thank you.
Best regards
Stefan
Hi guys,.
I was finally able to solve this problem.
She was related to a memory on the provisioning of problem in the virtual environment as both nodes are VMs. Unfortunately none of these errors of memory were populated / pushed somehow in the virtual machine.
Best regards
Stefan
-
Several primary and physical databases Configuration ensures in Data Guard Broker
Hello
Is it possible to add two or several primary and physical databases configuration ensures in data guard broker?
I have 1 primary databases and two databases physical standby that is
(1) primary that is pri - (database primary)
(2) secondary i, e, s (physical pending)
(3) Secondary2 i.e. sec2 (physical pending)
Practical AM sinister place, my scenario is my pri and dry machines are in seat, if the pri crashed it switch to s that works very well and my S2 is in another area office. Suppose that if my two siege machines pri and sec crashed, so I want to do my mahcine sec2 as primary.
I have two separate computers to the broker a headquarters and a District Office
Use failure of quick start on Data Guard Broker, broker headquarters machine I have configured pri and dry but in sector office broker not able congifured pri and S2 and the machine.
can be done several primary database configuration with data bases on hold?
Has anyone done this before, or has a perform a recovery after loss of place...
need help or suggestion
thanx
No.... It is not possible. When you use the DG broker, the first thing you can do in the DGMGRL utility is to deliver CONFIGURATION to CREATE. You can see on the doc of this command that you define here the PRIMARY DATABASE.
The command to add a DATABASE to the broker, adds a new database pending. You cannot add an another primary.
The broker configuration is explicitly for a primary and all standby databases is supported. If you have an another primary, you create a separate DG broker configuration.
See you soon,.
Brian -
Confusion about Data Guard Broker - extra cost option?
Dear all,
11 GR 2, I know that the Data Guard Setup is a free option that comes with the Enterprise Edition, you don'r require an additional license for it.
But I read somewhere the Data Guard Broker and using DGMGRL is a cost extra option? Is this true?
Help kindly understand this?
Thank you.
Hello;
This is part of the Enterprise edition.
The following are required before you can use the broker:
The main and backup databases must use the same version of Oracle
Database 11g and each can be installed in a single instance or multiple instances
environment. The database must be allowed for Oracle Enterprise Edition or
Personal Edition.
Source:
Broker Data Guard, Oracle 11 g Release 2 (11.2) E17023-06
Section 2.2 prerequisites
Best regards
mseberg
-
Procedure failed with ORA-01403, associated with immediate execution, captured
This procedure compiles without error. Its purpose is to copy the sequence of one schema to another object. After it failed with ORA-01403, I added exception code of capture (see the comments in the code).
A few notes:
1. I started the proceedings with exec copy_sequence ('ADDRESS_SEQ', 'SST', 'TEST1');
2. the first sql string is built correctly since I can see in the console output:
Select last_number in the all_sequences where sequence_owner = upper('TSS') and upper('ADDRESS_SEQ') = sequence_name
I can run this SQL command, and returns a real value;
Here is the procedure
SET SERVEROUTPUT ON;
create or replace procedure copy_sequence (seq VARCHAR2, prod_schema VARCHAR2, VARCHAR2 test_schema)
as
Val number (21);
s_sql varchar2 (200);
Start
s_sql: = ' select last_number in the all_sequences where sequence_owner = upper('''|| prod_schema ||'') ') and sequence_name = upper('''||) Seq | " ')';
-immediate' select last_number in the Vale of all_sequences where sequence_owner = upper('''|| prod_schema ||'') ') and sequence_name = upper('''||) Seq | " ')';
Dbms_output.put_line ('sql 1 ' | s_sql);
execute immediate s_sql in val; ---!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The code does not work here!
Dbms_output.put_line ('val' |) Val);
s_sql: = 'delete the sequence'. test_schema |'. ' || FF.;
Dbms_output.put_line ('sql 2 ' | s_sql);
-execution immediate s_sql;
s_sql: = 'create the sequence'. test_schema |'. ' || Seq |' minvalue maxvalue 1 999999999999999999999 begin by ' | Val | 'increment of 1';
Dbms_output.put_line ('sql 3 ' | s_sql);
-execution immediate s_sql;
-Add the following after procedure thown ORA-01403: no data found
exception when TOO_MANY_ROWS then DBMS_OUTPUT.put_line ('TOO_MANY_ROWS error');
When NO_DATA_FOUND then DBMS_OUTPUT.put_line ('error NO_DATA_FOUND');
While some other then raise_application_error (-20011, "Unknown Exception in this procedure");
end;
/
Hoek wrote:
The user (no SYSTEM, SYS, and SYSTEM are special, you should not use them unless you have TO) execution of the procedure must have the necessary privileges granted directly, bypassing a role...
??? There is nothing special about SYS or SYSTEM in what concerns them stored procedures. SYS by default is granted directly SELECT ANY SEQUENCE, so it does not work for the owner of MS by SYS. SYSTEM is therefore not:
Scott@pdborcl12 > create sequence s;
Order of creation.
Scott@pdborcl12 > create or replace
2 procedure system.p1
3 is
number of v_last_value 4;
5. start
6. Select last_number
7 in v_last_value
8 of all_sequences
9 where sequence_owner = 'SCOTT '.
10 and s = sequence_name ';
11 end;
12.Created procedure.
Scott@pdborcl12 > system.p1 exec.
BEGIN system.p1; END;*
ERROR on line 1:
ORA-01403: no data found
ORA-06512: at "SYSTEM. "P1", line 5
ORA-06512: at line 1Scott@pdborcl12 > grant select on s to the system;
Grant succeeded.
Scott@pdborcl12 > system.p1 exec.
PL/SQL procedure successfully completed.
SY.
-
Managed provider: the operation of data protection has failed.
We just tried deploy a .net web 4 with the supplier managed to beta. When you try to open a new connection, we reached this exception:
The operation of data protection has failed. This may be due to not having no user profile not loaded for the user context of the current thread, which may be the case if the thread borrows.
Is there an app pool IIS framework that we need to change to make it work? Locally, it works fine, so I guess it's a certain type of permissions issue.You are able to check if 'Load user profile' is set to true or false for the identities that do not work?
If necessary, you can find the value in the following way in the IIS Manager:
-Select the Application Pools in the tree view under the name of server
-Under the Application Pools listed, right click on the pool of interest and select Advanced settings... from the context menu
-Scroll up to the process model section and check the value "load user profile.I think you may encounter this situation if "Load user profile" is set to "false".
As always, additions, corrections, clarifications etc are welcome.
-
How to add FK in data with the option off maker
Hello
I'm designing a new scheme where I have to create the new tables with FK. I want to create the FK with option off, I see no possibility to do so in the Data Modeler. I can see the option to not generate, but it will not create the FK with option off.
Can anyone help please?
Thank you
Vishal GuptaFor every person who says 'I can manage the integrity of data loading data', there is a person who cannot.
I worked in large single database systems, we had 1.25PB (Yes petabytes) of the disk and I've never seen an improvement in the performance of the deactivation of the constraints that have made a difference worth having.
On the other hand I was paid a lot of money to clean up the mess after the fact, when the promise of the integrity of the data by code failed to materialize.
-
Sort Table data with text fields (form)
I googled and searched forms of days for a response, but were unsuccessful.
The only wire that I found being a year old, I wanted to start a new instead of bumping an old
Ref:
I'm looking for a script to sort the data in a form that is based on user input.
The shape is just a table with multiple rows and columns of 3-5 (according to the dept) it's used)
Using the thread referenced above, I was able to get a static table to sort, but I need to have all the fields to be text fields and the users enters the data.
The example of the other thread static:
I'll use the same layout, just need to be a shape rather than static.
If anyone can help or point me in the right direction, it would be great.
Update #1:
I find this page:http://cookbooks.adobe.com/post_Sorting_tables_in_dynamic_PDF-18993.html
I'm the kind of work and it seems to be mostly what I look for, but how to deal with field empty?
For example, the last three lines are empty (no data) the genre fails.
Here is the code of the page, how can I change to fix the empty fields?
------------------------------------------------
pass var = 0; column index
var num = false; Is the numeric column
var OrderAsc = true; Sort order
function SortTable (tableRef, colIndex, isNumeric, CSA)
{
Try
{
Col = colIndex;
NUM = isNumeric;
OrderAsc = Asc;
String variable that contains the data of the form as the XML string
data var = tableRef.saveXML ('pretty');
A XML variable contains the deserialized XML data
xmlData var = xfa.datasets.createNode ("dataGroup", tableRef.name);
xmlData.loadXML (data);
Number of rows in the table
var rowsCount = xmlData.nodes.length;
Number of columns in the table
passes of the var = xmlData.nodes.item (1).nodes.length;
Two dimension table contains data of the complete table
Master of var = new Array();
Fill in the chart with XML data
for (var i = 1; i < rowsCount; i ++)
{
Master [i-1] = new Array();
for (var j = 0; j < passes; j ++)
{
Master [i-1] [j] = xmlData.nodes.item (i).nodes.item (j) .value;
}
}
Sort the table 2D
Master.sort (sortFunc);
Re-fill the XML variable with data in table
for (var i = 0; i < master.length; i ++)
{
for (var j = 0; j < master [i] .length; j ++)
{
xmlData.nodes.item(i+1).nodes.item (j) .value = master [i] [j];
}
}
Change the data in the table and the back of the form
var result = xmlData.saveXML ('pretty');
tableRef.loadXML (result, 1, 1);
XFA. Form.remerge ();
} catch (e)
{
App.Alert (e)
}
}
Customize the sort function to manage the 2D array and numeric columns
function sortFunc (a, b)
{
var x = a [col];
var y = b [col];
Try
{
If (num)
{
x = parseInt (a [col]);
y = parseInt (b [col]);
}
} catch (e) {}
If (OrderAsc)
{
return x == y? 0: (x < y?-1: 1)
}
on the other
{
return x == y? 0: (x < y?-1: 1)
}
}
Solution found!
Maybe you are looking for
-
Google Mapview no longer works in Firefox
Google Maps Satellite view works, but mapview does not work. I don't have this problem with Internet Explorer. If I click on mapview in Firefox, it just says: "loading", but nothing happens. I tried the troubleshooting information in Google, but it d
-
Setup Vista Display Driver on Satellite A200 19 L error
After visiting this link, I finally downloaded the driver installation for my laptop! But when he work for install, I got an error message: "Setup nVIDIA didn't find all the drivers that are compatible with your current hardware. Setup will now exit.
-
Help!? Cannot download photos from cliq. all help him
can someone help me? I've had my cliq since a few months now, andhave never been able to download my photos to Web sites, i.e. here, twitter, or fb.would really appreciate any help here.all site say "upload deactivated" in advance thanx for not one w
-
I copied my USB key and partition Runic magic s/w on my hp pavilion dv5 pc because it was not compatible for vista. I uninstalled it when uninstalling, an error message came of e/s process has stopped working and the screen has made black, after a fe
-
That means Type 3, Code 1? Type 3 (host unreachable) Code 1 (?)