Dataguard 64-bit primary and 32-bit standby possible?
Do I have to upgrade my standby database in a data-guard configuration when migrating to 64-bit?
I do plan on upgrading the standby, but just wondering if they should be upgraded at the same time?
Oracle document says that Oracle word-size (oracle version, word-size, OS) should be same in case of dataguard. Any changes at the software level should be done at the standby site too. In this case, you might be better of with rebuilding the standby after migrating the primary database.
Thanks,
Harris
Similar Messages
-
Exec "alter system" and setup UTL_MAIL on Primary and replicate to Standby
Hi!
I have the next configuration:
DGMGRL> show configuration verbose;
Configuration - work_DataGuardConfig
Protection Mode: MaxAvailability
Databases:
primary - Primary database
physical1 - Physical standby database
physical2 - Physical standby database
Properties:
FastStartFailoverThreshold = '30'
OperationTimeout = '30'
FastStartFailoverLagLimit = '30'
CommunicationTimeout = '180'
FastStartFailoverAutoReinstate = 'TRUE'
FastStartFailoverPmyShutdown = 'TRUE'
BystandersFollowRoleChange = 'ALL'
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
How to properly setup UTL_MAIL package in my configuration (Primary and Standby Servers), e.g.:
1. If I execute " @$ORACLE_HOME/rdbms/admin/utlmail.sql " on Primary, it will replicate to Standby?
2. If I execute " alter system set smtp_out_server='smtp.server.local' scope=both " on Primary, it will replicate to Standby?
3. If I execute
begin
dbms_network_acl_admin.create_acl (
acl => 'utl_mail.xml',
description => 'Allow mail to be send',
principal => 'SCOTT',
is_grant => TRUE,
privilege => 'connect'
commit;
end;
on Primary, this changes will replicate to Standby?user12024575 wrote:
Hi!
I have the next configuration:
DGMGRL> show configuration verbose;
Configuration - work_DataGuardConfig
Protection Mode: MaxAvailability
Databases:
primary - Primary database
physical1 - Physical standby database
physical2 - Physical standby database
Properties:
FastStartFailoverThreshold = '30'
OperationTimeout = '30'
FastStartFailoverLagLimit = '30'
CommunicationTimeout = '180'
FastStartFailoverAutoReinstate = 'TRUE'
FastStartFailoverPmyShutdown = 'TRUE'
BystandersFollowRoleChange = 'ALL'
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
How to properly setup UTL_MAIL package in my configuration (Primary and Standby Servers), e.g.:
1. If I execute " @$ORACLE_HOME/rdbms/admin/utlmail.sql " on Primary, it will replicate to Standby?
2. If I execute " alter system set smtp_out_server='smtp.server.local' scope=both " on Primary, it will replicate to Standby?
3. If I execute
begin
dbms_network_acl_admin.create_acl (
acl => 'utl_mail.xml',
description => 'Allow mail to be send',
principal => 'SCOTT',
is_grant => TRUE,
privilege => 'connect'
commit;
end;
on Primary, this changes will replicate to Standby?Hi,
In all cases (1,2,3) you are doing only system changes. System changes is not effective on standby database.
For example in your case : alter system set smtp_out_server='smtp.server.local' scope=both;
this script only set a parameter of database, how to you think this parameter must be chaged on standby?
Is it logically?
Then when we change log_archive_dest_2 for transport redo to standby, then this parameter will change on standby. is it true?
Regards
Mahir M. Quluzade
http://www.mahir-quluzade.com -
RMAN INC bkup is very large on Primary and small on Standby
Hi All,
I need to get some understanding on RMAN, by asking some basic questions:
I have RAC running rman FULL and INC backups on the Primary and Standby nodes
Question 1: THere is no cronjob for any user to check the script being used for the backups - where else can I check , is there a scheduled job in Oracle so I can see what is being executed ?
Question 2. The FULL and INC backups are same size on Primary and come to approx same size , is there any reason for this, is INC not supposed to be much smaller ?
[root@CODEN-OTA-ODC APM]# du -h FULL_BACKUP_05-24-2011-040001/
19G FULL_BACKUP_05-24-2011-040001/
[root@CODEN-OTA-ODC APM]# du -h INC_BACKUP_05-25-2011-040001/
21G INC_BACKUP_05-25-2011-040001/
Question 3. The customer does have a script to delete INC and FULL backups every few days as there is no space - would this affect the behaviour of what is taken during INC backup ?
Question 4. The backup sets on the standby node which is in sync with the primary is much much smaller - should it not be aprox same size as Primary ?
[root@ILORD-OTA-ODC APM]# du -h INC_BACKUP_05-25-2011-040001/
8.2G INC_BACKUP_05-25-2011-040001/
[root@ILORD-OTA-ODC APM]# du -h FULL_BACKUP_05-26-2011-040001/
5.2G FULL_BACKUP_05-26-2011-040001/
Here is a snapshot of RMAN.log from Primary for INC backup
Recovery Manager: Release 11.2.0.1.0 - Production on Wed May 25 04:00:01 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: APM (DBID=3637752344)
using target database control file instead of recovery catalog
RMAN> CONFIGURE BACKUP OPTIMIZATION ON;
2> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
3> CONFIGURE CONTROLFILE AUTOBACKUP ON;
4> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/APM/daily/ctl_APM_bak_%F';
5> CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
6> CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
7> CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
8> CONFIGURE MAXSETSIZE TO UNLIMITED;
9> CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
10> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/APM/daily/SNCAPM.ORA';
11>
12> #
13> # Run Crosschecks
14> #
15>
16> CROSSCHECK BACKUP;
17> CROSSCHECK COPY;
18> CROSSCHECK BACKUP OF DATABASE;
19> CROSSCHECK BACKUP OF CONTROLFILE;
20> crosscheck copy of archivelog all;
21> CROSSCHECK ARCHIVELOG ALL;
22>
23>
24>
25> # Backup Database and Archive log files
26>
27> BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL = 1 DEVICE TYPE DISK FORMAT '/backup/APM/daily/%U' DATABASE PLUS ARCHIVELOG;
28>
Here is a snapshot of RMAN.log on standby:
Recovery Manager: Release 11.2.0.1.0 - Production on Wed May 25 04:00:01 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: APM (DBID=3637752344)
using target database control file instead of recovery catalog
RMAN> CONFIGURE BACKUP OPTIMIZATION ON;
2> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
3> CONFIGURE CONTROLFILE AUTOBACKUP ON;
4> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/APM/daily/ctl_APM_bak_%F';
5> CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
6> CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
7> CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
8> CONFIGURE MAXSETSIZE TO UNLIMITED;
9> CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
10> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/APM/daily/SNCAPM.ORA';
11>
12> #
13> # Run Crosschecks
14> #
15>
16> CROSSCHECK BACKUP;
17> CROSSCHECK COPY;
18> CROSSCHECK BACKUP OF DATABASE;
19> CROSSCHECK BACKUP OF CONTROLFILE;
20> crosscheck copy of archivelog all;
21> CROSSCHECK ARCHIVELOG ALL;
22>
23>
24>
25> # Backup Database and Archive log files
26>
27> BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL = 1 DEVICE TYPE DISK FORMAT '/backup/APM/daily/%U' DATABASE PLUS ARCHIVELOG;
Thanks in advance !Hi Jorg
Here is the ls -la output from the Primary Backups:
ls -la FULL_BACKUP_05-24-2011-040001/
drwxr-xr-x 2 oracle oinstall 4096 May 25 02:18 .
drwxr-xr-x 5 oracle oinstall 4096 May 26 05:12 ..
-rw-r----- 1 oracle asmadmin 375100416 May 24 04:11 00md3q9a_1_1
-rw-r----- 1 oracle asmadmin 339966976 May 24 04:12 01md3qb2_1_1
-rw-r----- 1 oracle asmadmin 368397312 May 24 04:13 02md3qcq_1_1
-rw-r----- 1 oracle asmadmin 363201024 May 24 04:13 03md3qei_1_1
-rw-r----- 1 oracle asmadmin 353362944 May 24 04:14 04md3qga_1_1
-rw-r----- 1 oracle asmadmin 370720768 May 24 04:15 05md3qi2_1_1
-rw-r----- 1 oracle asmadmin 375879168 May 24 04:16 06md3qjq_1_1
-rw-r----- 1 oracle asmadmin 380150784 May 24 04:17 07md3qli_1_1
-rw-r----- 1 oracle asmadmin 369453056 May 24 04:18 08md3qna_1_1
-rw-r----- 1 oracle asmadmin 362929664 May 24 04:19 09md3qp2_1_1
-rw-r----- 1 oracle asmadmin 367475712 May 24 04:20 0amd3qqq_1_1
-rw-r----- 1 oracle asmadmin 372242944 May 24 04:21 0bmd3qsi_1_1
-rw-r----- 1 oracle asmadmin 373087744 May 24 04:22 0cmd3qua_1_1
-rw-r----- 1 oracle asmadmin 370864128 May 24 04:23 0dmd3r02_1_1
-rw-r----- 1 oracle asmadmin 374902272 May 24 04:24 0emd3r1q_1_1
-rw-r----- 1 oracle asmadmin 352796160 May 24 04:25 0fmd3r3i_1_1
-rw-r----- 1 oracle asmadmin 369763328 May 24 04:26 0gmd3r5a_1_1
-rw-r----- 1 oracle asmadmin 373312000 May 24 04:27 0hmd3r72_1_1
-rw-r----- 1 oracle asmadmin 368820736 May 24 04:27 0imd3r8q_1_1
-rw-r----- 1 oracle asmadmin 352500224 May 24 04:28 0jmd3rai_1_1
-rw-r----- 1 oracle asmadmin 369486848 May 24 04:29 0kmd3rca_1_1
-rw-r----- 1 oracle asmadmin 365342720 May 24 04:30 0lmd3re1_1_1
-rw-r----- 1 oracle asmadmin 355034624 May 24 04:31 0mmd3rfp_1_1
-rw-r----- 1 oracle asmadmin 359270912 May 24 04:32 0nmd3rhh_1_1
-rw-r----- 1 oracle asmadmin 364269056 May 24 04:33 0omd3rj9_1_1
-rw-r----- 1 oracle asmadmin 377111552 May 24 04:34 0pmd3rl1_1_1
-rw-r----- 1 oracle asmadmin 372756480 May 24 04:35 0qmd3rmp_1_1
-rw-r----- 1 oracle asmadmin 368577536 May 24 04:36 0rmd3roh_1_1
-rw-r----- 1 oracle asmadmin 353378816 May 24 04:37 0smd3rq9_1_1
-rw-r----- 1 oracle asmadmin 368087040 May 24 04:38 0tmd3rs1_1_1
-rw-r----- 1 oracle asmadmin 129885696 May 24 04:38 0umd3rtp_1_1
-rw-r----- 1 oracle asmadmin 3008430080 May 24 04:45 0vmd3ruk_1_1
-rw-r----- 1 oracle asmadmin 2874195968 May 24 04:52 10md3sbu_1_1
-rw-r----- 1 oracle asmadmin 3488768 May 24 04:52 11md3som_1_1
-rw-r----- 1 oracle asmadmin 34832384 May 24 04:52 ctl_APM_bak_c-3637752344-20110524-00
-rw-r--r-- 1 oracle oinstall 2067066 May 24 05:08 RMAN.log
-rw-r----- 1 oracle asmadmin 34750464 May 24 05:08 SNCAPM.ORA
-rw-r----- 1 oracle asmadmin 340066304 May 24 04:02 vnmd3ppi_1_1
-rw-r----- 1 oracle asmadmin 354584064 May 24 04:03 vomd3pra_1_1
-rw-r----- 1 oracle asmadmin 362307584 May 24 04:04 vpmd3pt2_1_1
-rw-r----- 1 oracle asmadmin 350283776 May 24 04:05 vqmd3puq_1_1
-rw-r----- 1 oracle asmadmin 372881920 May 24 04:06 vrmd3q0i_1_1
-rw-r----- 1 oracle asmadmin 377876480 May 24 04:07 vsmd3q2a_1_1
-rw-r----- 1 oracle asmadmin 366512640 May 24 04:08 vtmd3q42_1_1
-rw-r----- 1 oracle asmadmin 364825088 May 24 04:09 vumd3q5q_1_1
-rw-r----- 1 oracle asmadmin 363695616 May 24 04:10 vvmd3q7i_1_1
ls -la INC_BACKUP_05-25-2011-040001/
total 21063656
drwxr-xr-x 2 oracle oinstall 4096 May 25 04:55 .
drwxr-xr-x 5 oracle oinstall 4096 May 26 05:12 ..
-rw-r----- 1 oracle asmadmin 340066304 May 25 04:02 13md6e5k_1_1
-rw-r----- 1 oracle asmadmin 354584064 May 25 04:03 14md6e7c_1_1
-rw-r----- 1 oracle asmadmin 362307584 May 25 04:04 15md6e94_1_1
-rw-r----- 1 oracle asmadmin 350283776 May 25 04:05 16md6eas_1_1
-rw-r----- 1 oracle asmadmin 365918208 May 25 04:06 17md6eck_1_1
-rw-r----- 1 oracle asmadmin 366973952 May 25 04:07 18md6eec_1_1
-rw-r----- 1 oracle asmadmin 368461824 May 25 04:08 19md6eg4_1_1
-rw-r----- 1 oracle asmadmin 357740032 May 25 04:09 1amd6ehs_1_1
-rw-r----- 1 oracle asmadmin 363838464 May 25 04:10 1bmd6ejk_1_1
-rw-r----- 1 oracle asmadmin 375784960 May 25 04:11 1cmd6elc_1_1
-rw-r----- 1 oracle asmadmin 339231744 May 25 04:12 1dmd6en4_1_1
-rw-r----- 1 oracle asmadmin 362354688 May 25 04:13 1emd6eos_1_1
-rw-r----- 1 oracle asmadmin 365081088 May 25 04:13 1fmd6eqk_1_1
-rw-r----- 1 oracle asmadmin 351527424 May 25 04:14 1gmd6esc_1_1
-rw-r----- 1 oracle asmadmin 364279296 May 25 04:15 1hmd6eu4_1_1
-rw-r----- 1 oracle asmadmin 366113280 May 25 04:16 1imd6evs_1_1
-rw-r----- 1 oracle asmadmin 368507904 May 25 04:17 1jmd6f1k_1_1
-rw-r----- 1 oracle asmadmin 364067840 May 25 04:18 1kmd6f3c_1_1
-rw-r----- 1 oracle asmadmin 361388032 May 25 04:19 1lmd6f54_1_1
-rw-r----- 1 oracle asmadmin 372647936 May 25 04:20 1mmd6f6s_1_1
-rw-r----- 1 oracle asmadmin 354013696 May 25 04:21 1nmd6f8k_1_1
-rw-r----- 1 oracle asmadmin 362156032 May 25 04:22 1omd6fac_1_1
-rw-r----- 1 oracle asmadmin 366610432 May 25 04:23 1pmd6fc4_1_1
-rw-r----- 1 oracle asmadmin 365109760 May 25 04:24 1qmd6fds_1_1
-rw-r----- 1 oracle asmadmin 366146048 May 25 04:25 1rmd6ffk_1_1
-rw-r----- 1 oracle asmadmin 364806656 May 25 04:26 1smd6fhb_1_1
-rw-r----- 1 oracle asmadmin 374528512 May 25 04:27 1tmd6fj3_1_1
-rw-r----- 1 oracle asmadmin 360662016 May 25 04:27 1umd6fkr_1_1
-rw-r----- 1 oracle asmadmin 361217536 May 25 04:28 1vmd6fmj_1_1
-rw-r----- 1 oracle asmadmin 365206016 May 25 04:29 20md6fob_1_1
-rw-r----- 1 oracle asmadmin 372246528 May 25 04:30 21md6fq3_1_1
-rw-r----- 1 oracle asmadmin 346032640 May 25 04:31 22md6frr_1_1
-rw-r----- 1 oracle asmadmin 355503616 May 25 04:32 23md6ftj_1_1
-rw-r----- 1 oracle asmadmin 363812352 May 25 04:33 24md6fvb_1_1
-rw-r----- 1 oracle asmadmin 358790656 May 25 04:34 25md6g13_1_1
-rw-r----- 1 oracle asmadmin 366017024 May 25 04:35 26md6g2r_1_1
-rw-r----- 1 oracle asmadmin 375584256 May 25 04:36 27md6g4j_1_1
-rw-r----- 1 oracle asmadmin 358258176 May 25 04:37 28md6g6b_1_1
-rw-r----- 1 oracle asmadmin 351728128 May 25 04:38 29md6g83_1_1
-rw-r----- 1 oracle asmadmin 366784000 May 25 04:39 2amd6g9r_1_1
-rw-r----- 1 oracle asmadmin 369561600 May 25 04:40 2bmd6gbj_1_1
-rw-r----- 1 oracle asmadmin 7882240 May 25 04:40 2cmd6gdb_1_1
-rw-r----- 1 oracle asmadmin 3373162496 May 25 04:48 2dmd6gdg_1_1
-rw-r----- 1 oracle asmadmin 3245465600 May 25 04:55 2emd6gsc_1_1
-rw-r----- 1 oracle asmadmin 3531776 May 25 04:55 2fmd6ham_1_1
-rw-r----- 1 oracle asmadmin 34832384 May 25 04:55 ctl_APM_bak_c-3637752344-20110525-00
-rw-r--r-- 1 oracle oinstall 2199366 May 25 05:13 RMAN.log
-rw-r----- 1 oracle asmadmin 34750464 May 25 04:55 SNCAPM.ORA
[oracle@CODEN-OTA-ODC APM]$
Thanks -
One primary and two physical standby database creation
hi
i want to create two standby (physical) and one primary dataguard.
so please tell me what is sequence for db_file_name_convert and db_file_name_convert.
i mean how i will give database name or path in this parameter.Hello;
One option is Data Guard Cascading Standby.
Here are my complete test notes if it help :
http://www.visi.com/~mseberg/Data_Guard_Cascading_Standby_Setup_and_Test.pdf
Best Regards
mseberg -
We currently have 10.2.0.4 DG configuration running on three AIX 5.2 servers (one primary, two standbys). We will be installing some new servers that will be pre-loaded with AIX 6.1. If we were to install 10.2.0.4 on these new AIX 6.1 servers is it possible to create additonal standbys on them? Or is there a limitation in 10gR2 Datagurad that the OS versions must be exactly the same?
Doc ID: 413484.1 indicates that this is possible but I am unclear if this only applies to DataGuard 11g?
Thanks in advance. It would also be appreciated if anyone knows of an Oracle document that definitively states whether this can or cannot be done.Whilst I've only done AIX upgrades at the level like 5.2 to 5.3 etc using standbys, there is no reason that a major OS release level shouldn't function correctly. As long as both run the same DB software patch level (10.2.0.4 as you've stated) then it should be fine. If you're really paranoid raise an SR with Metalink and get it in writing.
-
One primary and two Physical standby
Hi everyone,
I want configure two separate Physical standby one work in Redo apply and one in log apply mode.
is it posible?user011232 wrote:
Hi everyone,
I want configure two separate Physical standby one work in Redo apply and one in log apply mode.
is it posible?Yes it can possible very much. You have to configure as below in remote destinations.
Example_:-
Log_archive_dest_2='service= stby1 lgwr async ';
Log_archive_dest_3='service= stby2 arch async ';
What is the plan behind that? just for testing purpose? Even me too not tested but you can try configuring as above. :)
Edited by: CKPT on Feb 14, 2012 5:46 PM -
Upgrading the primary and physical standby database
Solaris 9
oracle 9i (9.2.0.8)
upgrade to 10g (10.2.0.3)
Hi,
I would like to know how to upgrade database in dataguard envronment.(primary and remote physical standby database)
Is rolling upgrade possible in this case?
Or any steps or Document is appreciated.
Thanks.
Message was edited by:
user539835Read this Metalink Note:407040.1
-
Dataguard lost both Primary redo log and standby redo log files
Hi,
I am new to data guard, i came acorss a scenario where we loose both primary redo log file and standby redo log files.
Can someone please help me understand how to recover from this situation.
Thanks!>loose both primary redo log file and standby redo log files
We have to be very clear.
There are (set A) online redo log files and (set B) standby redo log files at (location 1) Primary and (location 2) Standby.
The standby redo log files, depending on the configuration, aren't strictly mandatory. The standby can be applying redo without online redo log files present as well, depending on how it was setup.
So, the question is : Did you lose online redo log files at the primary ? Didn't the primary shutdown itself then ? If so, you have to do an incomplete recovery at the primary OR switch over to the standby (which may or may not have received the last transaction, depending on how it was configured and operating) OR restore from the standby (again, with possible loss of transactions) to the primary.
Hemant K Chitale -
ARCHIVELOG deletion on primary and physical standby
Hi,
We have a primary and a physical standby database running Oracle 11.1.0.7.0 software on Red Hat Enterprise Linux x-64 bit OS. I will be using backup software
to only backup the primary database and do not have the backup software for the standby server and database.
We need to backup archived redo log files from primary site and delete the ones which are more than one month old. These archived redo log files will be applied from primary to standby database as and when the log switch occurs.
Can anybody please let me know if the following steps can be used:
Details are:
primary database name - sun (machine name is node1)
standby database name - drsun (machine name is node2)
On node1 as oracle user:
$ cat /export/home/oracle/rman/scripts/cleanup_rman_arch_sun.sh
#!/bin/sh
ORACLE_SID=sun; export ORACLE_SID
ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1; export ORACLE_HOME
PATH=$ORACLE_HOME/bin; export PATH
$ORACLE_HOME/bin/rman target sys/oracle@sun nocatalog log=/export/home/oracle/rman/log/cleanup_rman_arch_sun.log
@/export/home/oracle/rman/scripts/cleanup_rman_arch_sun.rcv
exit
$ cat /export/home/oracle/rman/scripts/cleanup_rman_arch_sun.rcv
allocate channel for delete type disk;
crosscheck archivelog all;
sql "alter system switch logfile";
delete noprompt expired archivelog all;
change archivelog until time 'SYSDATE-1' delete;
release channel;
$ crontab -l
# Delete the archived redo log files at 11:00 PM on the first day of every month
00 23 1 * * /export/home/oracle/rman/scripts/cleanup_rman_arch_sun.sh
On node2 as oracle user:
$ cat /export/home/oracle/rman/scripts/cleanup_rman_arch_drsun.sh
#!/bin/sh
ORACLE_SID=drsun; export ORACLE_SID
ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1; export ORACLE_HOME
PATH=$ORACLE_HOME/bin; export PATH
$ORACLE_HOME/bin/rman target sys/oracle@drsun nocatalog log=/export/home/oracle/rman/log/cleanup_rman_arch_drsun.log
@/export/home/oracle/rman/scripts/cleanup_rman_arch_drsun.rcv
exit
$ cat /export/home/oracle/rman/scripts/cleanup_rman_arch_drsun.rcv
allocate channel for delete type disk;
crosscheck archivelog all;
sql "alter system switch logfile";
delete noprompt expired archivelog all;
change archivelog until time 'SYSDATE-1' delete;
release channel;
$ crontab -l
# Delete the archived redo log files at 11:00 PM on the first day of every month
00 23 1 * * /export/home/oracle/rman/scripts/cleanup_rman_arch_drsun.sh
RegardsHello;
Welcome to the forums. ( By physical Standby I assume Data Guard )
The short answer is it should work. I noticed this :
/cleanup_rman_arch_drsun.rcv
crosscheck archivelog all;
sql "alter system switch logfile";
delete noprompt expired archivelog all;
change archivelog until time 'SYSDATE-1' delete;I see no reason for the "alter system switch logfile". In fact you can do something very simple on the Standby :
$ORACLE_HOME/bin/rman target / catalog <user>/<password>@<catalog> << EOF
delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-1';
exit
EOFThis assumes you have doing a backup with RMAN on the Primary ( tested on 11.2.0.2 ) and have this set on the Primary :
CONFIGURE ARCHIVELOG DELETEION POLICY TO APPLIED ON ALL STANDBY;
If you are deleting Archive without using RMAN first then yes something like this ( But I would try to use RMAN and not delete using another method )
echo `date`
echo "Runnung RMAN archive crosscheck"
$ORACLE_HOME/bin/rman <<EOF
connect target /
crosscheck archivelog all;
delete noprompt expired archivelog all;
exit
EOF
echo `date`
Best Regards
mseberg
h2. Another Standby Option
/u01/app/oracle/dba_tool/bin/removestandbyarch.sql
SET echo off
SET feedback off
SET term off
SET pagesize 0
SET linesize 200
SET newpage 0
SET space 0
col name format a120
spool /u01/app/oracle/dba_tool/bin/rm_arch_standby.sh
select 'rm '||NAME from v$archived_log
where REGISTRAR='RFS'
and APPLIED='YES'
and DELETED='NO'
and COMPLETION_TIME < (SYSDATE-10);
SPOOL OFFMain shell script
/u01/app/oracle/dba_tool/bin/removestandbyarch.sh
#!/bin/bash
if [ "$1" ]
then DBNAME=$1
else
echo "basename $0 : Syntax error : use . removestandbyarch <DBNAME> "
exit 1
fi
# Set the Environmental variable for input instance ( ORACLE_SID, ORACLE_HOME path etc )
. /u01/app/oracle/dba_tool/env/${DBNAME}.env
$ORACLE_HOME/bin/sqlplus /nolog <<EOF
connect / as sysdba
-- spool /u01/app/oracle/dba_tool/bin/rm_arch_${ORACLE_SID}.sh
@/u01/app/oracle/dba_tool/bin/removestandbyarch.sql
SPOOL OFF
EOF
echo `date`
# Now run the generated script
echo "Setting permissions and running script"
chmod 740 /u01/app/oracle/dba_tool/bin/rm_arch_standby.sh
. /u01/app/oracle/dba_tool/bin/rm_arch_standby.sh
# Use RMAN to update V$ARCHIVED_LOG.DELETED
echo `date`
echo "Runnung RMAN archive crosscheck"
$ORACLE_HOME/bin/rman <<EOF
connect target /
crosscheck archivelog all;
delete noprompt expired archivelog all;
exit
EOF
echo `date`Edited by: mseberg on Apr 30, 2012 8:40 AM -
DataGuard (1 primary and 2 physical stdby)
Hi everybody,
could someone be so kind to point me to a doc explaining how to set up DataGuard with a primary and 2 physical stdbys ?
we have to modify the current configuration (1 primary and 1 physical stdby), adding a second physical stdby, and I'm not sure about whether there are 'special steps' to follow...
Thanks in advance.uhm guess you're referring to section E Cascaded Destinations...
quite honestly, I have always skipped this part, at least so far, since I've never had to use this
i'll read this section then
thanks -
Dataguard 9iR2 using same SID for primary and physical standby issues
Hello, I have been following the Creating Physical Standby Database document from Oracle setting up a physical clone for a 9iR2 database on Solaris 9 environment between two identical workstations. I want to databases to have the same SID for relatively seemless failover however the redo logs are not pushed to the physical clone. when I switch a logfile on the primary and then query v$archive_dest on dest_id=2 I get a status of ERROR and the ERROR is the ORA-12154 TNS service name error.
Here is a summary of my setup:
Primary - SID = PROD1, located on WS001
Clone - SID = PROD1, located on WS002
SPFILE settings on Primary:
*.db_name='PROD1'
*.dg_broker_start=true
*.fal_client='PROD1_node2'
*.fal_server='PROD1_node1'
*.log_archive_dest_2='service=PROD1_node2 optional lgwr async=20480 noaffirm reopen=15 max_failure=10 delay=30 net_timeout=30'
tnsnames.ora on Primary:
PROD1_node2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = WS002) (PORT = 1521))
(CONNECT_DATA =
(SID = PROD1)
listener.ora on secondary:
PROD1_node2 =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = WS002) (PORT = 1521))
SID_LIST_PROD1_node2 =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /export/oracle/oracle_9.2/PROD1)
(SID_NAME = PROD1)
Any input would be appreciated. I can provide whatever else you might need. I thought this was the most pertinent to this problem.
Thanks.
JimI have been looking at the sqlnet.ora files for the two databases
for WS001:
Names.Default_Domain = WS001.example.com
Names.Directory_Path = (TNSNAMES, ONAMES,HOSTNAME)
for WS002:
Names.Default_Domain = WS002.example.com
Names.Directory_Path = (TNSNAMES, ONAMES,HOSTNAME)
I cannot connect with sqlplus from WS001 to WS002 on the other machine. -
Primary and Standby, RMAN errors 8137 and 8591
Hello,
I have to resolve a serious problem of synchronization of two databases, one primary and one standby.
I receive on the RMAN scripts these two errors : RMAN 8137 and RMAN 8591. I well know what these errors mean. The archivelogs were not sent on the standby, and so they are still needed, and not deleted.
I have tried to follow the Oracle procedure of database synchronization (document 836986.1), but without success, as the archivelogs are still needed.
Here is (a part of) the debug trace when I send the delete input command on the primary:
DBGSQL: EXEC SQL AT TARGET begin dbms_rcvman . getRequiredSCN ( reqscn => :safescn:safescn_i , rlgscn => :reqrlgscn:reqrlgscn_i ) ; end ; [15:39:43.190]
DBGSQL: sqlcode=0 [15:39:44.174]
DBGSQL: :b1 = 1444336744
DBGSQL: :b3 = 380426159
DBGRCVMAN: ENTERING getRequiredSCN
DBGRCVMAN: this_cftype=CURRENT
DBGRCVMAN: ENTERING getAppliedSCN, alldest=0
DBGRCVMAN: ENTERING anyRemoteDestinations
DBGRCVMAN: no_target = 0
DBGRCVMAN: EXITING anyRemoteDestinations anyRemoteDestinations - target=
DBGRCVMAN: EXITING getAppliedSCN, alldest=0 getAppliedSCN - appscn=,rlgscn=
DBGRCVMAN: Got dest = 2, thread=1,sequence=16675,next_change=1206438636,applied=YES,resetlogs_change=380426159
DBGRCVMAN: gap_scn=,high_scn=,possible_gap=
BGRCVMAN: Got dest = 2, thread=1,sequence=20830,next_change=1430809158,applied=YES,resetlogs_change=380426159
DBGRCVMAN: gap_scn=,high_scn=,possible_gap=
DBGRCVMAN: Got dest = 2, thread=1,sequence=20852,next_change=1431558961,applied=NO,resetlogs_change=380426159
DBGRCVMAN: gap_scn=,high_scn=,possible_gap=
DBGRCVMAN: Got dest = 2, thread=1,sequence=21328,next_change=1454979735,applied=NO,resetlogs_change=380426159
DBGRCVMAN: gap_scn=,high_scn=,possible_gap=1444336744
DBGRCVMAN: Got dest = 11, thread=1,sequence=1,next_change=1,applied=,resetlogs_change=0
DBGRCVMAN: gap_scn=1444336744,high_scn=1454979735,possible_gap=
DBGRCVMAN: USE gap_scn:reqscn=1444336744,rlgscn=380426159
DBGRCVMAN: EXITING getRequiredSCN getRequiredSCN - reqscn=1444336744,rlgscn=380426159 ==> 444336744
Since sequence 20852, the archivelogs are not known on the standby.
The first archivelog on the primary that is still there is the sequence 21095.
Here is the rman configuration:
RMAN> show all;
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\S
NCFBDSIVOA.ORA'; # default
I have tried several times to do incremental backup on the primary, apply it on the standby, but it never worked, except for the current_scn which changed on the standby. The archivelogs are still needed on the primary, unfortunately.
What could I do next?
Starting a new incremental backup starting with sequence 20852?
Deleting by force all the archivelogs? And in that case what to do for the standby?
Starting a new incremental backup taking the current scn of the standby?
Edited by: Christian on Jun 10, 2012 11:46 PMIt was the first time I heard of broker enabled.
Just know that I can check if the dataguard is ok by launching dgmgrl
S:\>dgmgrl
DGMGRL for 32-bit Windows: Version 10.2.0.1.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Bienvenue dans DGMGRL, tapez "help" pour obtenir des informations.
DGMGRL> connect sys/oracle@teleg1p
Connexion Útablie
DGMGRL> show configuration verbose
Configuration
Name: TELEG
Enabled: YES
Protection Mode: MaxAvailability
Fast-Start Failover: DISABLED
Databases:
TELEG2P - Physical standby database
TELEG1P - Primary database
Statut actuel de "TELEG":
SUCCESS
I performed on the primary database some log switches and I checked on the alert log of the primary database:
LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
LNSb started with pid=33, OS id=5812
Mon Jun 11 15:28:00 2012
Destination LOG_ARCHIVE_DEST_2 is SYNCHRONIZED
LGWR: Standby redo logfile selected to archive thread 1 sequence 21393
LGWR: Standby redo logfile selected for thread 1 sequence 21393 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 15:28:00 2012
Thread 1 advanced to log sequence 21393 (LGWR switch)
Current log# 7 seq# 21393 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO07.LOG
Current log# 7 seq# 21393 mem# 1: C:\ORADATA\BDSIVOA\REDO70.LOG
Mon Jun 11 15:28:38 2012
ARC8: Standby redo logfile selected for thread 1 sequence 21392 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 15:40:54 2012
ALTER SYSTEM ARCHIVE LOG
Mon Jun 11 15:40:57 2012
LGWR: Standby redo logfile selected to archive thread 1 sequence 21394
LGWR: Standby redo logfile selected for thread 1 sequence 21394 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 15:40:58 2012
Thread 1 advanced to log sequence 21394 (LGWR switch)
Current log# 1 seq# 21394 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO01.LOG
Current log# 1 seq# 21394 mem# 1: C:\ORADATA\BDSIVOA\REDO10.LOG
Mon Jun 11 15:43:07 2012
Errors in file d:\oracle\product\10.2.0\admin\bdsivoa\udump\bdsivoa_ora_5200.trc:
ORA-19816: AVERTISSEMENT : il peut exister dans db_recovery_file_dest des fichiers qui ne sont pas connus de la base de données.
Mon Jun 11 15:43:07 2012
WARNING: A file of type BACKUP PIECE may exist in
db_recovery_file_dest that is not known to the database.
Use the RMAN command CATALOG RECOVERY AREA to re-catalog
any such files. This is most likely the result of a crash
during file creation.
Mon Jun 11 16:56:38 2012
LGWR: Standby redo logfile selected to archive thread 1 sequence 21395
LGWR: Standby redo logfile selected for thread 1 sequence 21395 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 16:56:39 2012
Thread 1 advanced to log sequence 21395 (LGWR switch)
Current log# 2 seq# 21395 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO02.LOG
Current log# 2 seq# 21395 mem# 1: C:\ORADATA\BDSIVOA\REDO20.LOG
LGWR: Standby redo logfile selected to archive thread 1 sequence 21396
LGWR: Standby redo logfile selected for thread 1 sequence 21396 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 16:56:44 2012
Thread 1 advanced to log sequence 21396 (LGWR switch)
Current log# 3 seq# 21396 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO03.LOG
Current log# 3 seq# 21396 mem# 1: C:\ORADATA\BDSIVOA\REDO30.LOG
LGWR: Standby redo logfile selected to archive thread 1 sequence 21397
LGWR: Standby redo logfile selected for thread 1 sequence 21397 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 16:56:48 2012
Thread 1 advanced to log sequence 21397 (LGWR switch)
Current log# 7 seq# 21397 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO07.LOG
Current log# 7 seq# 21397 mem# 1: C:\ORADATA\BDSIVOA\REDO70.LOG
Thread 1 cannot allocate new log, sequence 21398
Checkpoint not complete
Current log# 7 seq# 21397 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO07.LOG
Current log# 7 seq# 21397 mem# 1: C:\ORADATA\BDSIVOA\REDO70.LOG
LGWR: Standby redo logfile selected to archive thread 1 sequence 21398
LGWR: Standby redo logfile selected for thread 1 sequence 21398 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 16:56:53 2012
Thread 1 advanced to log sequence 21398 (LGWR switch)
Current log# 1 seq# 21398 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO01.LOG
Current log# 1 seq# 21398 mem# 1: C:\ORADATA\BDSIVOA\REDO10.LOG
and in the standby:
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21394 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
Mon Jun 11 16:56:38 2012
Primary database is in MAXIMUM AVAILABILITY mode
Standby controlfile consistent with primary
RFS[1]: Successfully opened standby log 4: 'C:\ORADATA\BDSIVOA\SRL01.LOG'
Mon Jun 11 16:56:38 2012
Media Recovery Waiting for thread 1 sequence 21395 (in transit)
Mon Jun 11 16:56:39 2012
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21395 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
Mon Jun 11 16:56:44 2012
Primary database is in MAXIMUM AVAILABILITY mode
Standby controlfile consistent with primary
RFS[1]: Successfully opened standby log 4: 'C:\ORADATA\BDSIVOA\SRL01.LOG'
Mon Jun 11 16:56:44 2012
Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\DGSBY_TELEG2P1_21395_651495375.ARC
Media Recovery Waiting for thread 1 sequence 21396 (in transit)
Mon Jun 11 16:56:45 2012
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21396 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
Mon Jun 11 16:56:48 2012
Primary database is in MAXIMUM AVAILABILITY mode
Standby controlfile consistent with primary
RFS[1]: Successfully opened standby log 4: 'C:\ORADATA\BDSIVOA\SRL01.LOG'
Mon Jun 11 16:56:48 2012
Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\DGSBY_TELEG2P1_21396_651495375.ARC
Media Recovery Waiting for thread 1 sequence 21397 (in transit)
Mon Jun 11 16:56:49 2012
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21397 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
Mon Jun 11 16:56:53 2012
Primary database is in MAXIMUM AVAILABILITY mode
Standby controlfile consistent with primary
RFS[1]: Successfully opened standby log 4: 'C:\ORADATA\BDSIVOA\SRL01.LOG'
Mon Jun 11 16:56:53 2012
Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\DGSBY_TELEG2P1_21397_651495375.ARC
Media Recovery Waiting for thread 1 sequence 21398 (in transit)
Mon Jun 11 16:56:54 2012
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21398 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
and the bdsivoa_lgwr_600.trc:
Error 1041 closing standby archive log file at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
ORA-01041: internal error. hostdef extension doesn't exist
Archive destination LOG_ARCHIVE_DEST_2 made inactive: File close error
*** 2012-06-11 15:02:34.684 64292 kcrr.c
LGWR: Error 1041 closing archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
Receiving message from LNSb
LGWR: Failed
rfsp: 087BA4B8
rfsmod: 5
rfsver: 2
rfsflag: 0xc24883
rfscount:4497982
rfspclt: 3
rfscpid: 600
rfsbuf: 07320200
rfsbufl: 448
rfsrfn: 00000000
rfsrfn:
rfsdbi: 0x3690556c
rfsmid: 0x421c0569
rfsacid: 0x41550d85
rfslno: 2
rfsthrd: 1
rfsseq: 21391
rfsabf: 4
rfsabz: 2048
rfscflg: 0x1
rfssblkn:2190
rfsblksz:512
rfsblkct:3
rfsalosb:1457077858
rfsalosw:0
rfsalost:785687783
rfsalnsb:1457082525
rfsalnsw:0
rfsalnst:785689354
rfsalbct:2192
rfsaldst:2
rfsreopn:300
rfsdelay:0
rfscln: 1
rfscsq: 21391
rfsalsiz:102400
rfsrfx: 087BA438
&rfsnam: 072BE398
rfsnaml: 512
&rfsnamrl: 072BE5D4
&rfsarb: 001FDCA8
rfsarbl: 64
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
rfsflg2: 0x8
rfsdgid: 0xc371adb8
rfxp: 0x087BA438
rfxalmid: 0x0
rfxrflg: 0x0
rfxdgid:0x0
rfxogapflg:0x0
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
Error 1041 detaching RFS from standby instance at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
*** 2012-06-11 15:02:34.684 58869 kcrr.c
Making upidhs request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:02:34> and NET_TIMEOUT <180> seconds
NetServer pid:4720
*** 2012-06-11 15:02:38.684 59041 kcrr.c
upidhs done status 1041
*** 2012-06-11 15:02:38.684 64292 kcrr.c
LGWR: Error 1041 disconnecting from destination LOG_ARCHIVE_DEST_2 standby host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
Ignoring krslcmp() detach error 1041
*** 2012-06-11 15:02:38.684 58869 kcrr.c
No LNS exists (ocis 0x0957E6B8) that requires a disconnect
*** 2012-06-11 15:02:38.684 57042 kcrr.c
Initializing NetServer[LNSb] for dest=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated))) mode SYNC
LNSb is not running anymore.
New SYNC LNSb needs to be started
Waiting for subscriber count on LGWR-LNSb channel to go to zero
Subscriber count went to zero - time now is <06/11/2012 15:02:38>
Starting LNSb ...
Waiting for LNSb to initialize itself
*** 2012-06-11 15:02:41.731 57333 kcrr.c
Netserver LNSb [pid 3524] for mode SYNC has been initialized
Performing a channel reset to ignore previous responses
Successfully started LNSb [pid 3524] for dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated))) mode SYNC ocis=0x0957E6B8
*** 2012-06-11 15:02:41.731 57836 kcrr.c
Making upiahm request to LNSb [pid 3524]: Begin Time is <06/11/2012 15:02:38>. NET_TIMEOUT = <180> seconds
Waiting for LNSb to respond to upiahm
*** 2012-06-11 15:02:41.809 58000 kcrr.c
upiahm connect done status is 0
Receiving message from LNSb
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 15:02:42.278 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:02:38> and NET_TIMEOUT is <180> seconds
NetServer pid:3524
*** 2012-06-11 15:07:01.125
Warning: log write time 500ms, size 5KB
*** 2012-06-11 15:18:43.806
Warning: log write time 640ms, size 2KB
*** 2012-06-11 15:25:22.983
Received upistatus 1089 from Network Server
LGWR: Failed
rfsp: 087BA4B8
rfsmod: 3
rfsver: 2
rfsflag: 0xc24882
rfscount:4499358
rfspclt: 3
rfscpid: 600
rfsrfn: 00000000
rfsrfn:
rfsdbi: 0x3690556c
rfsmid: 0x421c0569
rfsacid: 0x41550d85
rfslno: 3
rfsthrd: 1
rfsseq: 21392
rfsabf: 4
rfsabz: 2048
rfscflg: 0x1
rfssblkn:7830
rfsblksz:512
rfsblkct:2
rfsalosb:1457082525
rfsalosw:0
rfsalost:785689354
rfsalnsb:-1
rfsalnsw:65535
rfsalnst:785690722
rfsalbct:7831
rfsaldst:2
rfsreopn:300
rfsdelay:0
rfscln: 2
rfscsq: 21392
rfsalsiz:102400
rfsrfx: 087BA438
&rfsnam: 00000000
rfsnaml: 512
&rfsnamrl: 00000000
&rfsarb: 001FDCA8
rfsarbl: 64
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
rfsflg2: 0x8
rfsdgid: 0xc371adb8
rfxp: 0x087BA438
rfxalmid: 0x0
rfxrflg: 0x0
rfxdgid:0x0
rfxogapflg:0x0
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
*** 2012-06-11 15:25:22.983 64292 kcrr.c
LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (1089)
*** 2012-06-11 15:25:22.983 64292 kcrr.c
LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
ORA-01089: immediate shutdown in progress - no operations are permitted
*** 2012-06-11 15:25:23.030 64292 kcrr.c
LGWR: Network asynch I/O wait error 1089 log 3 service '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
*** 2012-06-11 15:25:23.030 62560 kcrr.c
kcrrfail: dest:2 err:1089 force:0 blast:1
*** 2012-06-11 15:27:52.625
*** 2012-06-11 15:27:52.625 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:27:52> and NET_TIMEOUT is <180> seconds
NetServer pid:3524
Receiving message from LNSb
LGWR: Failed
rfsp: 087BA4B8
rfsmod: 4
rfsver: 2
rfsflag: 0xc24883
rfscount:4499359
rfspclt: 3
rfscpid: 600
rfsbuf: 07320200
rfsbufl: 448
rfsrfn: 00000000
rfsrfn:
rfsdbi: 0x3690556c
rfsmid: 0x421c0569
rfsacid: 0x41550d85
rfslno: 3
rfsthrd: 1
rfsseq: 21392
rfsabf: 4
rfsabz: 2048
rfscflg: 0x1
rfssblkn:7830
rfsblksz:512
rfsblkct:2
rfsalosb:1457082525
rfsalosw:0
rfsalost:785689354
rfsalnsb:1457087134
rfsalnsw:0
rfsalnst:785690872
rfsalbct:7831
rfsaldst:2
rfsreopn:300
rfsdelay:0
rfscln: 2
rfscsq: 21392
rfsalsiz:102400
rfsrfx: 087BA438
&rfsnam: 072BE034
rfsnaml: 512
&rfsnamrl: 072BE270
&rfsarb: 001FDCA8
rfsarbl: 64
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
rfsflg2: 0x8
rfsdgid: 0xc371adb8
rfxp: 0x087BA438
rfxalmid: 0x0
rfxrflg: 0x0
rfxdgid:0x0
rfxogapflg:0x0
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
Error 1041 closing standby archive log file at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
ORA-01041: internal error. hostdef extension doesn't exist
Archive destination LOG_ARCHIVE_DEST_2 made inactive: File close error
*** 2012-06-11 15:27:52.750 64292 kcrr.c
LGWR: Error 1041 closing archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
Receiving message from LNSb
LGWR: Failed
rfsp: 087BA4B8
rfsmod: 5
rfsver: 2
rfsflag: 0xc24883
rfscount:4499360
rfspclt: 3
rfscpid: 600
rfsbuf: 07320200
rfsbufl: 448
rfsrfn: 00000000
rfsrfn:
rfsdbi: 0x3690556c
rfsmid: 0x421c0569
rfsacid: 0x41550d85
rfslno: 3
rfsthrd: 1
rfsseq: 21392
rfsabf: 4
rfsabz: 2048
rfscflg: 0x1
rfssblkn:7830
rfsblksz:512
rfsblkct:2
rfsalosb:1457082525
rfsalosw:0
rfsalost:785689354
rfsalnsb:1457087134
rfsalnsw:0
rfsalnst:785690872
rfsalbct:7831
rfsaldst:2
rfsreopn:300
rfsdelay:0
rfscln: 2
rfscsq: 21392
rfsalsiz:102400
rfsrfx: 087BA438
&rfsnam: 072BE398
rfsnaml: 512
&rfsnamrl: 072BE5D4
&rfsarb: 001FDCA8
rfsarbl: 64
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
rfsflg2: 0x8
rfsdgid: 0xc371adb8
rfxp: 0x087BA438
rfxalmid: 0x0
rfxrflg: 0x0
rfxdgid:0x0
rfxogapflg:0x0
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
Error 1041 detaching RFS from standby instance at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
*** 2012-06-11 15:27:52.750 58869 kcrr.c
Making upidhs request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:27:52> and NET_TIMEOUT <180> seconds
NetServer pid:3524
*** 2012-06-11 15:27:56.750 59041 kcrr.c
upidhs done status 1041
*** 2012-06-11 15:27:56.750 64292 kcrr.c
LGWR: Error 1041 disconnecting from destination LOG_ARCHIVE_DEST_2 standby host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
Ignoring krslcmp() detach error 1041
*** 2012-06-11 15:27:56.750 58869 kcrr.c
No LNS exists (ocis 0x0957E6B8) that requires a disconnect
*** 2012-06-11 15:27:56.750 57042 kcrr.c
Initializing NetServer[LNSb] for dest=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated))) mode SYNC
LNSb is not running anymore.
New SYNC LNSb needs to be started
Waiting for subscriber count on LGWR-LNSb channel to go to zero
Subscriber count went to zero - time now is <06/11/2012 15:27:56>
Starting LNSb ...
Waiting for LNSb to initialize itself
*** 2012-06-11 15:27:59.766 57333 kcrr.c
Netserver LNSb [pid 5812] for mode SYNC has been initialized
Performing a channel reset to ignore previous responses
Successfully started LNSb [pid 5812] for dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated))) mode SYNC ocis=0x0957E6B8
*** 2012-06-11 15:27:59.766 57836 kcrr.c
Making upiahm request to LNSb [pid 5812]: Begin Time is <06/11/2012 15:27:56>. NET_TIMEOUT = <180> seconds
Waiting for LNSb to respond to upiahm
*** 2012-06-11 15:27:59.875 58000 kcrr.c
upiahm connect done status is 0
Receiving message from LNSb
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 15:28:00.235 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:27:56> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 15:40:54.229
*** 2012-06-11 15:40:54.229 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:40:54> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 15:40:57.604 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:40:54> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 16:56:32.865
*** 2012-06-11 16:56:32.865 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:32> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 16:56:38.803 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:33> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 16:56:43.944
*** 2012-06-11 16:56:43.944 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:43> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 16:56:44.490 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:44> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 16:56:48.037 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:48> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 16:56:48.615 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:48> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 16:56:53.178 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:53> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb -
Can I have primary and standby in same OS but different releases.
All,
Can I have primary and standby DBs in same OS but in different releases?
i.e. primary is in RHEL 5 and standby is in RHEL 4, is it ok to setup or do we see any issues?
Thanks,
MahiIn 10g, dataguard started to support different binaries on primary and standby database servers with the same OS family. For example Microsoft Windows 64-bit on primary and Microsoft Windows 32-bit or Microsoft Windows 64-bit for AMD on standby database server. However with 11g, dataguard also supports different OS on primary and standby servers
Role Transitions for Data Guard Configurations Using Mixed Oracle Binaries [ID 414043.1]
Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration [ID 413484.1] -
DNS / BIND - Can I configure primary and standby forwarders?
Hi all,
I have on Solaris 10 (x86) a DNS server (BIND 9.3.6-P1) that relies exclusively on two “forwarders”: 155.28.144.13and 154.23.134.32.
The configuration is as follow:
# cat /etc/named.conf
acl "CSClan" { 192.168.4.0/24; 192.168.7.0/24; }; //CSC internal LAN ip address range
options {
directory "/var/named";
forward only;
forwarders {
155.28.144.13;
154.23.134.32;
allow-query { "localnets"; };
# cat /etc/resolv.conf
nameserver 127.0.0.1
When I check with snoop, I can see requests sometimes to one forwarder, sometimes to the other.
Is it possible to configure DNS to use primarily one forwarder?
Thanks in advance for your support.
Best Regards,
Rui VilãoIn 10g, dataguard started to support different binaries on primary and standby database servers with the same OS family. For example Microsoft Windows 64-bit on primary and Microsoft Windows 32-bit or Microsoft Windows 64-bit for AMD on standby database server. However with 11g, dataguard also supports different OS on primary and standby servers
Role Transitions for Data Guard Configurations Using Mixed Oracle Binaries [ID 414043.1]
Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration [ID 413484.1] -
Oracle data guard configuration for primary and standby db_name
I am working on configuring an active data guard for one primary DB and one standby DB. I have a few questions:
1. Can I use different db_name, db_unique_name and instance_name for primary and standby. For example: primary(db_name, db_unique_name and instance_name)=chicago. When I create standby DB with Rman backup and copy of pfile and control file from primary DB or use Grid control to create standby database. Oracle document or Grid control all keep standby db_name=chicago. Only make standby db_unique_name and instance_name=boston. Due to my application system condition, I want to make db_name=boston, not keep it as the same as primary=chicago. Is this valid configuration?
2. In primary datafiles, application system generate datafile name like this: hr_chicago_01.dbf, fn_chicago_01.dbf. When I move datafiles to standby server, if I plan to use db_name=boston for standby DB, can I rename datafiles as
hr_boston_01.dbf, fn_boston_01.dbf? In this way, datafile name match up with db_name. but I will create standby log group and members on primary and standby identically. If in future switching over, DB will not have problems.
3. If I don't use primary DB backup. Instead, I copy all datafiles, redo_log files (no control files) to standby. Then "alter database backup controlfile to trace" from promary and also " create pfile='/xxx/initSTANDBY.ora' from primary. Then modify init.ora and controlfile. Then run control.sql to bring standby DB up. After that, configure redo log shipping and apply with data guard or SQL. Is this a acceptable way to create physical standby DB?
Please advise your comments. Thanks in advance.I want to make db_name=boston, not keep it as the same as primary=chicago. Is this valid configuration?NO. DB_NAME must be the same ("chicago") at both sites. The Standby will be using a different DB_UNIQUE_NAME (e.g. "boston") and can be using a different Instance name / SID (e.g. "boston").
can I rename datafiles Yes. The database file names can be changed.
If I don't use primary DB backup. Instead, I copy all datafiles, redo_log files (no control files) to standbyWhat is the difference between the first sentence (a backup of the primary) and the second sentence (a copy of the primary) ? A Copy is a backup.
Are you intending to differentiate between an RMAN Backup and a User-Managed (aka "scripted") backup ?
Normally, for DataGuard, tou can use non-RMAN methods to copy the database but there's no value add in this.
You'd still have to setup DataGuard ! (and I wonder if you'd have complications setting up Active DataGuard).
But remember that you MUST create the Standby controlfile from the Primary and copy it over to your Standby -- particularly as you are planning to use DataGuard. This is not created by 'alter database backup controlfile to trace' , but by 'ALTER DATABASE CREATE STANDBY CONTROLFILE AS 'filename''
Hemant K Chitale
Maybe you are looking for
-
Need Some Help in Using Log4j for logging
Hi I am using Log4j for logging in my application . i have problem some areas . I want to rotate my file on basis of Time. means if my log file name format is HH:MM then after every minute new log file should be created , i am using Size based rotati
-
Where can I find 3D materials add-ons for Photoshop CC 2014?
Where can I find 3D materials add-ons for Photoshop CC 2014? When I pull down the 3D menu to Get More Content, it takes me here: Downloadable 3D content | Photoshop.com. When I download and install the "Versatile materials", Adobe Extension Manger te
-
How to call HTTP web services in an Interactive Form?
Hi all, I am using Adobe Livecycle Designer currently in a trial 8.2 version. I need to invoke an HTTP Web Service (non-SOAP) in an Adobe Interactive Form. The Net.HTTP method does not work due to security reasons. The error message I get is: (german
-
(Solved) Missing .xinitrc (sorry for a newb thing)
so I made the move from Ubuntu to Arch. Happy so far and am going to just do a minimal install and use openbox stand alone. I have openbox installed but on the wiki it says to append "exec openbox-session" to ~/.xinitrc which I can't seem to find.
-
Passing table name and columns name as parameters to procedure
i need a procedure that take table name and column names as parameters . it should display all values in those columns like if i execute procedure p ( t1,c1,c2) it should display c1,c2 values in t1 table if i execute procedure p ( t1, c1,c2,c3) it sh