Implemeting 11gR2 RAC with Data Guard
Hi ,
Could any one provide the steps on how to setup 11gR2 two node RAC With Dataguard . Could the 11R2 Active database duplication can be used in setting up the standby ?
I just need the order of steps to be followed to set up the environment.
Thanks,
shashi.
Hi Fiedi ,
Thanks for the reply .
I know how to build the oracle dataguard . But , I'm looking for the order of steps that I need to follow to build 11gR2 RAC with data guard.
1] Set up the Grid Infrsatructure for the 2 node RAC .
2] Create the database .
3] Modify the init.ora prameter to chage the above created database as primary .
4] Set up the grid infrastructure for the 2 node RAC on the DR site.
5] Create the standby database using 11gR2 active database dupication.
Is the above order correct ? If not , let me know the correct order of steps that needs to be followed to setup 11gR2 RAC with dataguard.
Similar Messages
-
Any Benefits of Extended RAC Over Data Guard?
Hi,
My company is in the process of setting a second data center, a bit far from the current one (about 20 KM).
This Data Center will be used as a DR site, as well as to accommodate additional servers since the current Data Center is already stretched.
We're currently running about 5 RAC clusters, two nodes each on Oracle 11g and on AIX plaforms. It's not yet decided what type of technology will be employed with the databases - whether RAC with Data Guard (DG) or Extended RAC.The network link will be fairly good, a dark fiber link.
Does anyone have a suggestion as to which of the above technology would be preferable? With Extended RAC I think we are able to continue operating from the second site without needing to 'failover' as such, while with DG, we probably will need to put in place an elaborate failover procedure, even though we can use the Fast-Start-Automatic failover feature of 10g Rel2 and above.
Any thoughts/suggestions/clarifications?
Dula
Edited by: dula on Aug 28, 2009 2:47 PMHi Dula,
Even some time back we were also consdering the same to use remote DG for disaster recovery solution (active-passive) to create extended RAC on a remote site and then make use of those remote servers for the purpose of disaster reocovery and also make those servers connect to the PROD application servers thus making a (active-active) clustering solution.
Management wanted to look into the feasibility of using active-active nodes on remote sites which they thought will help them make use of remote servers to connect to the LIVE applicatio. With the active-passive mode where there was just standby servers in recovery mode on remote site they were of the opinion that why to waste power for remote servers and why not use them in LIVE site.
We thought of using the dense optic fiber for the DB replication to remote RAC nodes and also for our 30+ application servers to connect from site 1 to site 2( site 2 will be remote site with extented rac nodes hosted).
However there were many reservations that came which making decission. First was that we could not find any reliable source of group who had successfully implemented this active-active remote extended rac nodes in production. The cost of dense optic fiber was another consideration. How the interconnects will perform in remote sites was another grey area for us. Also since the application servers uses TAF to connect to DB servers it was not known that how the sessions from the same application servers(web based applications) to local and remote nodes will have performance impact. With so many grey areas we dropped the idea of using extended rac nodes and went ahead with DG solution.
Amar -
I have one problem with Data Guard. My archive log files are not applied.
I have one problem with Data Guard. My archive log files are not applied. However I have received all archive log files to my physical Standby db
I have created a Physical Standby database on Oracle 10gR2 (Windows XP professional). Primary database is on another computer.
In Enterprise Manager on Primary database it looks ok. I get the following message Data Guard status Normal
But as I wrote above the archive log files are not applied
After I created the Physical Standby database, I have also done:
1. I connected to the Physical Standby database instance.
CONNECT SYS/SYS@luda AS SYSDBA
2. I started the Oracle instance at the Physical Standby database without mounting the database.
STARTUP NOMOUNT PFILE=C:\oracle\product\10.2.0\db_1\database\initluda.ora
3. I mounted the Physical Standby database:
ALTER DATABASE MOUNT STANDBY DATABASE
4. I started redo apply on Physical Standby database
alter database recover managed standby database disconnect from session
5. I switched the log files on Physical Standby database
alter system switch logfile
6. I verified the redo data was received and archived on Physical Standby database
select sequence#, first_time, next_time from v$archived_log order by sequence#
SEQUENCE# FIRST_TIME NEXT_TIME
3 2006-06-27 2006-06-27
4 2006-06-27 2006-06-27
5 2006-06-27 2006-06-27
6 2006-06-27 2006-06-27
7 2006-06-27 2006-06-27
8 2006-06-27 2006-06-27
7. I verified the archived redo log files were applied on Physical Standby database
select sequence#,applied from v$archived_log;
SEQUENCE# APP
4 NO
3 NO
5 NO
6 NO
7 NO
8 NO
8. on Physical Standby database
select * from v$archive_gap;
No rows
9. on Physical Standby database
SELECT MESSAGE FROM V$DATAGUARD_STATUS;
MESSAGE
ARC0: Archival started
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
ARC1: Becoming the heartbeat ARCH
Attempt to start background Managed Standby Recovery process
MRP0: Background Managed Standby Recovery process started
Managed Standby Recovery not using Real Time Apply
MRP0: Background Media Recovery terminated with error 1110
MRP0: Background Media Recovery process shutdown
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[1]: Assigned to RFS process 2148
RFS[1]: Identified database type as 'physical standby'
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[2]: Assigned to RFS process 2384
RFS[2]: Identified database type as 'physical standby'
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[3]: Assigned to RFS process 3188
RFS[3]: Identified database type as 'physical standby'
Primary database is in MAXIMUM PERFORMANCE mode
Primary database is in MAXIMUM PERFORMANCE mode
RFS[3]: No standby redo logfiles created
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[4]: Assigned to RFS process 3168
RFS[4]: Identified database type as 'physical standby'
RFS[4]: No standby redo logfiles created
Primary database is in MAXIMUM PERFORMANCE mode
RFS[3]: No standby redo logfiles created
10. on Physical Standby database
SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
RFS IDLE 0 0 0 0
RFS IDLE 0 0 0 0
RFS IDLE 1 9 13664 2
RFS IDLE 0 0 0 0
10) on Primary database:
select message from v$dataguard_status;
MESSAGE
ARC0: Archival started
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
ARCm: Becoming the 'no FAL' ARCH
ARCm: Becoming the 'no SRL' ARCH
ARCd: Becoming the heartbeat ARCH
Error 1034 received logging on to the standby
Error 1034 received logging on to the standby
LGWR: Error 1034 creating archivelog file 'luda'
LNS: Failed to archive log 3 thread 1 sequence 7 (1034)
FAL[server, ARCh]: Error 1034 creating remote archivelog file 'luda'
11)on primary db
select name,sequence#,applied from v$archived_log;
NAME SEQUENCE# APP
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00003_0594204176.001 3 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00004_0594204176.001 4 NO
Luda 4 NO
Luda 3 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00005_0594204176.001 5 NO
Luda 5 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00006_0594204176.001 6 NO
Luda 6 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00007_0594204176.001 7 NO
Luda 7 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00008_0594204176.001 8 NO
Luda 8 NO
12) on standby db
select name,sequence#,applied from v$archived_log;
NAME SEQUENCE# APP
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00004_0594204176.001 4 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00003_0594204176.001 3 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00005_0594204176.001 5 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00006_0594204176.001 6 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00007_0594204176.001 7 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00008_0594204176.001 8 NO
13) my init.ora files
On standby db
irina.__db_cache_size=79691776
irina.__java_pool_size=4194304
irina.__large_pool_size=4194304
irina.__shared_pool_size=75497472
irina.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0\admin\luda\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\admin\luda\bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\oracle\product\10.2.0\oradata\luda\luda.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\admin\luda\cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='luda','irina'
*.db_name='irina'
*.db_unique_name='luda'
*.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
*.fal_client='luda'
*.fal_server='irina'
*.job_queue_processes=10
*.log_archive_config='DG_CONFIG=(irina,luda)'
*.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/luda/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=luda'
*.log_archive_dest_2='SERVICE=irina LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=irina'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_max_processes=30
*.log_file_name_convert='C:/oracle/product/10.2.0/oradata/irina/','C:/oracle/product/10.2.0/oradata/luda/'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=167772160
*.standby_file_management='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\admin\luda\udump'
On primary db
irina.__db_cache_size=79691776
irina.__java_pool_size=4194304
irina.__large_pool_size=4194304
irina.__shared_pool_size=75497472
irina.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0/admin/irina/adump'
*.background_dump_dest='C:\oracle\product\10.2.0/admin/irina/bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\oracle\product\10.2.0\oradata\irina\control01.ctl','C:\oracle\product\10.2.0\oradata\irina\control02.ctl','C:\oracle\product\10.2.0\oradata\irina\control03.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0/admin/irina/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='luda','irina'
*.db_name='irina'
*.db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
*.fal_client='irina'
*.fal_server='luda'
*.job_queue_processes=10
*.log_archive_config='DG_CONFIG=(irina,luda)'
*.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/irina/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=irina'
*.log_archive_dest_2='SERVICE=luda LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=luda'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_max_processes=30
*.log_file_name_convert='C:/oracle/product/10.2.0/oradata/luda/','C:/oracle/product/10.2.0/oradata/irina/'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=167772160
*.standby_file_management='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0/admin/irina/udump'
Please help me!!!!Hi,
After several tries my redo logs are applied now. I think in my case it had to do with the tnsnames.ora. At this moment I have both database in both tnsnames.ora files using the SID and not the SERVICE_NAME.
Now I want to use DGMGRL. Adding a configuration and a stand-by database is working fine, but when I try to enable the configuration DGMGRL gives no feedback and it looks like it is hanging. The log, although says that it succeeded.
In another session 'show configuration' results in the following, confirming that the enable succeeded.
DGMGRL> show configuration
Configuration
Name: avhtest
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
avhtest - Primary database
avhtestls53 - Physical standby database
Current status for "avhtest":
Warning: ORA-16610: command 'ENABLE CONFIGURATION' in progress
It there anybody that experienced the same problem and/or knows the solution to this?
With kind regards,
Martin Schaap -
How to convert single instance10g db to 11gR2 RAC with ASM
Hi,
I need your help to decide the plan about how to convert single instance 10g database to 11gr2 rac with asm.
I can have about 6 to 8 hours of downtime to upgrade and move to rac with asm.
db size is about 1.5tb and on AIX.
here is my plan....
1) install 11gr2 rac with asm on two nodes
2) verify rac installation and clustered asm
3)install 10g oracle binaries( yes 10g )
4) shutdown production db ( machine prod )
5) make copy of production and restore on 1st node ( using shadow image , so it's quick and its file system )
6) upgrade db to 11g ( still of file system )
7) after successful upgrade, move to asm ( rman backup )
8) add another node
does it look okay ? OR is there a better approach to save time?
can someone help me ?
Thanks...Thanks ...
So here is what I thought... suggest if something is not right...
1) install 11gr2 grid infra on node A and B with ASM
2) stop CLUSTER ON BOTH NODES.
3) shutdown prod db on 10g ( downtime starts )
4) take rman cold backup
5) restore rman backup on node A on ASM ( as if single instance 11g , no rac parameters )
6) mount and run upgrade script for 11g, then open db with 11
7) after successful upgrade, shutdown db node A
8) change all rac related parameters, spfile,undo,redo for rac environment on both nodes
9) open db in rac environment
can I do this way ?
My only question is, even though I installed rac on node A and B, in step 5 and 6 I'm using only node A as if it is single instance. Is it possible ?
if it is then I'm good to go...
Thanks for all suggestions. -
Implementing 11gR2 RAC with dataguard
Could any one provide the steps on how to setup 11gR2 two node RAC With Dataguard . Could the 11R2 Active database duplication can be used in setting up the standby ?
I just need the order of steps to be followed to set up the environment.
1] Set up the Grid Infrsatructure for the 2 node RAC .
2] Create the database .
3] Modify the init.ora prameter to chage the above created database as primary .
4] Set up the grid infrastructure for the 2 node RAC on the DR site.
5] Create the standby database using 11gR2 active database dupication.
Is the above order correct ? If not , let me know the correct order of steps that needs to be followed to setup 11gR2 RAC with dataguard.Could any one provide the steps on how to setup 11gR2 two node RAC With Dataguard . Could the 11R2 Active database duplication can be used in setting up the standby ?This below document is one of best one, to configure two node standby for two node primary database,
http://www.oracle.com/technetwork/database/features/availability/maa-wp-10g-racprimaryracphysicalsta-131940.pdf
starting from 11gR2 you can use duplication from active database. also refer below note.
How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1] -
Rolling upgrade with Data Guard
I'm interesting if this table of possible upgrade from documentation (http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/preup.htm#i1007814) is true, if I have a plan to do rolling upgrade with Data Guard?
I thinking no, that table does not appear to have Rolling Upgrade Information.
If I read the document correctly you can only this with a logical standby database in Data Guard.
Larry Carpenter's book has some information on this in Chapter 11.
There is also a separate Data Guard section here where you might find more information.
Data Guard
Best Regards
mseberg -
Can i use a database with Data Guard for HA with "fast connect failover" for your EM repository database?
Yes, it is the preferred method. Take advantage of the DG ability to execute a trigger on switchover/failover to move the service used by the OMS from the primary to the standby.
Please check the chapter advance config -
9i RAC to single standby DB with Data guard
hello gurus,
I have a question, Im trying to set up a standby database.
The primary DB would be a two node 9i RAC R2, to a one single standby DB.
I done this already. My question is if I can use data guard with this type of configuration. I have try to configured it with OEM and the GUI does not support this.
does any one know if this can be achieve using dataguard's CLI??
thankswell that is something out of my reach for the moment.
I have to do everything on 9i.
I have the standby environment running already, i just want to make my life easier trying to ad min this environment using data guard -
Oracle 11gR2 RAC with Sun clsuter 3.3 clsetup not showing ASMDiskGroup RS
Hello,
I am installing Oracle 11gR2 RAC on Solaris cluster 3.3 with hardware RAID and ASM
I was able to register rac-famework-rg and crs-framework-rg.
Oracle RAC is up and running (confirmed from crs_stat -t -v)
However, while creating option 5. Automatic Storage Management (ASM) on clsetup, I was getting ERROR: ASM is either not installed or the installation is invalid!
I have created the asm-inst-rg with resource asm-inst-rs and asm-dg-rg with resources asm-dg-fra, asm-dg-data and asm-dg-crs using CLI. Please find the complete clrg and clrs status output below:
root@rac1 # clrg status
=== Cluster Resource Groups ===
Group Name Node Name Suspended Status
rac-framework-rg rac1 No Online
rac2 No Online
asm-inst-rg rac1 No Online
rac2 No Online
asm-dg-rg rac1 No Online
rac2 No Online
root@rac1 # clrs status
=== Cluster Resources ===
Resource Name Node Name State Status Message
crs_framework-rs rac1 Online Online
rac2 Online Online
rac-udlm-rs rac1 Online Online
rac2 Online Online
rac-framework-rs rac1 Online Online
rac2 Online Online
asm-inst-rs rac1 Online Online - +ASM1 is UP and ENABLED
rac2 Online Online - +ASM2 is UP and ENABLED
asm-dg-fra rac1 Online Online - Mounted: FRA
rac2 Online Online - Mounted: FRA
asm-dg-crs rac1 Online Online - Mounted: CRS
rac2 Online Online - Mounted: CRS
asm-dg-data rac1 Online Online - Mounted: DATA
rac2 Online Online - Mounted: DATA
Once I reach clsetup option 6: Resources for Oracle Real Application Clusters Database Instances, I was able to select cluster db name, oracle home, SID for both nodes, and it listed the asm-inst-rg and asm-inst-rs for selection of "Specify Oracle ASM Instance Resource".
The problem is the the next selection which is "Specify Oracle ASM Disk Group Resources" which does NOT list any asm-dg-rg or asm-dg-fra or anything, instead, it throws error "No existing disk-group resources available for selection. Run ASM subwizard create new resource(s) and come back to this panel for the selection."
Kindly guide me to create Resources for Oracle Real Application Clusters Database Instances either in CLI or clsetup
Thanks and Regards
Ushas SymonSolaris Cluster 3.3 u1 solved the issue.
The problem right now I am facing is IPMP on the public interface.
When I remove the cable on the bge0, the ip on bge0 and the SCAN IP's are plumbed to bge1 which is in sc_ipmp0, but NOT the virtual IP!!! and the listeners on both nodes go offiline!!!
any inputs on the configuration will be highly appreciated..
Thanks and Regards
Ushas Symon -
Upgrade 11.1 to 11.2 with Data Guard In Place
I am planing on upgrading my primary and standby servers to 11gR2 and was wondering what are the best steps. I do not plan on doing a switchover during the process because down time is only about an hour and we can afford it.
Here is what I plan on doing:
1. On Primary - ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=DEFER SCOPE=BOTH;
2. On Standby - ALTER DATABASE STOP LOGICAL STANDBY APPLY;
3. Upgrade the standby database then the primary database
4. On Standby - ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE;
5. On Primary - ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ENABLE;
Let me know if these steps don't sound right. But my question is should I disable archive during the upgrade processes? if I do could this mess up sending archive logs over to primary because there will be missing sequences numbers?
And my second question is do I need to do anything to the Data Guard broker after the upgrade. I currently use Enterprise Manager to manager the setup.
Thanks in advance for any responses. Oh and I am running on Server 2003 if it matters.
JeffIs this a physical or logical standby ? If logical, the steps in MOS Doc 437276.1 (Upgrading Oracle Database with a Logical Standby Database In Place) may be of ehlp
HTH
Srini -
Oracle RAC / Logical Data Guard causing network problems on VMware
We have VMWare 5.0 cluster across the 12 blades (6 per chassis) running a mixture of Red Hat and Windows 2008 R2 vms. The Red Hat boxes are two times two node Oracle RAC (primary and secondary), also apache web servers and jboss application servers. The Windows servers are for AV/DC/Management/Monitoring.
The problem is that intermittent network connectivity to random Windows and Red Hat boxes occur when the Oracle RAC builds up archive logs and then ships / applies them to the secondary nodes, between ESX nodes either on different blades in the same chassis or across the chassis and even when all RAC nodes are on the same ESX host.
We are using NFS, Oracle 11g and Red Hat 6.2.
Sorry if this info is a bit vague, im not an Oracle expert! :-)
thanks,
DaveHi,
1.) The calculation for Standby RedoLogs is:
(Max Number of Logfiles per thread (Instance) +1) * Max Number of Threads (Instances))
So if you have 4 Redo Log Groups on your primary (which is 2 Redo Log Groups per Instance), then it ends up:
(2 +1) * 2 = 6
So actually you will only need 6 standby redo logs, not 8. But 2 more don't harm.
Your primary will need exactly the same number (6 or in your case 8). Which will be 3 per thread/instance or in your case 4.
2.) The SID List in the listener.ora is a listing of SIDs the Listener is listening on. It is not the listener name.
Hence it is not "lsnrctl guard_dgmgrl start" but only "lsnrctl LISTENER start", whereas the LISTENER is the default and "lsnrctl start" would be sufficient.
However since this is grid infrastructure with the listener running out of ASM home, be sure to have set your environment to GI Home not to DB_HOME for the listener.ora entries, but to DB_HOME for the tnsnames.ora entries necessary for data guard.
And since listener is running under clusterware you should use "srvctl stop listener" and start.
Last but not least the SID entries for dataguard have to use DGMGRL not dgmgrl.
3.) Here is the whitepaper you are looking for:
www.oracle.com/goto/maa
Also for client failover best practices.
(Here the direct link to the RAC whitepaper):
http://www.oracle.com/technetwork/database/features/availability/maa-wp-10g-racprimarysingleinstance-131970.pdf
However since this is 10g you should combine this with the 11g RAC standy paper (e.g. SCAN Listener setup).
Sebastian -
Problem with data guard Creating a Physical Standby Database turorial
There is a tutorial of Creating a data guard Physical Standby Database:
http://www.oracle.com/technology/obe/11gr1_db/ha/dataguard/physstby/physstdby.htm
I tried to install it on two servers. One for primary database second for physical standby.
I have error on C. Creating the standby database over the network, action #6:
"On the standby system, set the ORACLE_SID environment variable to your <physical standby SID> (i.e. orclsby1) and start the instance in NOMOUNT mode with the text initialization parameter file."
When I try to connect to idle instance there is an error pops up:
C:\>sqlplus / as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 21 16:28:10 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
I'v checked listener and it is runned. There is no service for database because there is no database yet.
The question is did some one installed data guard configuration using this tutorial? Is there any errors in it? What should I do to finish this installation?On Windhose for every instance a service must have been created using the oradim command.
Oracle tutorials are usually Unix-centric, as Windhose is an odd man out, so they don't discuss that bit.
'Kindly do the needful' and create the service prior to starting the instance in nomount mode
Hint: oradim is documented and has a help=y clause.
IIRC there is an option in database control (in the maintenance part) which automates everything.
Sybrand Bakker
Senior Oracle DBA
Experts: those who do read documentation -
TNS-12520 when connecting via TCPS on 11gR2 RAC with SCAN Listener
I am struck trying to implement TCPS on our Oracle RAC SCAN Listener. I have added to our Oracle 12c systems, but not on a RAC with SCAN.
I created a wallet and certificate on one of the nodes, and copied it to the node and created auto login on each node. I exported the trust.jks and identity.jks, and loaded them in my test java program as the trust store and key stores. I have added the wallet location to the listener tns and sql ora files.
When attempting a TCPS connection, the ssl handshake succeed, but the client reports error:
ORA-12520, TNS:listener could not find available handler for requested type of server
The nodes scan listener log reports the TNS error, listener_scan1/alert/log.xml, when the connection is using TCPS on port 2484:
<msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr' type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com' host_addr='9.55.59.45'>
<txt>29-APR-2015 14:06:20 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
(SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcps)(HOST=9.55.61.122)(PORT=46635)) *
establish * DUB11RAC * 12520
</txt>
</msg>
<msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'
host_addr='9.55.59.45'>
<txt>TNS-12520: TNS:listener could not find available handler for requested type of server
</txt>
</msg>
A connection using TCP completes without error:
<msg time='2015-04-29T14:42:02.588-04:00' org_id='oracle' comp_id='tnslsnr' type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com' host_addr='9.55.59.45'>
<txt>29-APR-2015 14:42:02 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
(SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcp)(HOST=9.55.61.122)(PORT=41950)) *
establish * DUB11RAC * 0
</txt>
</msg>
The scan listener is configured for TCP on 1521 and TCPS on 2484
[oracle@dublr059vm ~]$ srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node dublr060vm
[oracle@dublr059vm ~]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521/TCPS:2484
The service, dub11rac is ready on both instances.
[oracle@dublr060vm ~]$ lsnrctl stat LISTENER_SCAN1
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 30-APR-2015 11:45:18
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
Alias LISTENER_SCAN1
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 30-APR-2015 11:43:24
Uptime 0 days 0 hr. 1 min. 53 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/11.2.0/grid/log/diag/tnslsnr/dublr060vm/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=9.55.59.47)(PORT=2484)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=9.55.59.47)(PORT=1521)))
Services Summary...
Service "dub11rac" has 2 instance(s).
Instance "dub11rac1", status READY, has 1 handler(s) for this service...
Instance "dub11rac2", status READY, has 1 handler(s) for this service...
Service "dub11racXDB" has 2 instance(s).
Instance "dub11rac1", status READY, has 1 handler(s) for this service...
Instance "dub11rac2", status READY, has 1 handler(s) for this service...
The command completed successfullyHi hitgon,
Thanks first.
The commands output are as the following:
Command: srvctl status listener
Output:
# Listener LISTENER is enabled
# Listener LISTENER is running on node(s): rac1,rac2
Command: srvctl status scan_listener
Output:
# SCAN Listener LISTENER_SCAN1 is enabled
# SCAN listener LISTENER_SCAN1 is running on node rac2
# TNSNAMES.ORA
RAC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rac.localdomain)
Command: sqlplus username/passwd@rac-scan:1521/rac.localdomain
Output:
# ERROR:
# ORA-12520: TNS:listener could not find available handler for requested type of server
# Enter user-name:
By the way, rac-scan is the host where the SCAN listener is running and rac.localdomain is the service name. I've also tried the following commands
with the same error output:
sqlplus username/passwd@RAC
At last, i think the output of "lsnrctl status LISTENER_SCAN1" might help:
Service "rac.localdomain" has 2 instance(s).
Instance "rac1", status READY, has 1 handler(s) for this service...
Instance "rac2", status READY, has 1 handler(s) for this service...
Service "racXDB.localdomain" has 2 instance(s).
Instance "rac1", status READY, has 1 handler(s) for this service...
Instance "rac2", status READY, has 1 handler(s) for this service... -
Recomendation: RAC + ASM + Data Guard
Hi all:
I need to implement a Data Guard in my 2 nodes RAC Database.
How I make the ASM instance in the remote host?? I'm not found any documentation...
Please, any sugestion.
Thanks a lot.Use the same installation procedure as you used for RAC.
Check these example instructions for Linux.
:p -
What is the major plus with Data Guard compare to standby
Hi,
We don't need active active replication between our prod and DR, our DR can be 20 minutes RPO (Recovery Point Objective) so what is the main advantage of configuring and installing oracle data guard compare to a simple standby server?
My understanding of data guard is a that oracle will ship your log auto on the DR and apply it instead of me, doing it with 2 script (one on primary server that ship log over, the second on standby that apply the archive log).1. Your Primary site get hit by something you can failover to the standby.
2. If you have a large group of "Reader" users on the Primary you can switch them to the Standby using Active Data Guard.
3. You can do a switchover and avoid an outage if your Primary server needs work of any kind.
4. You can preform backup at either site taking even more load off you primary if needed.
or as the books says:
Disaster recovery, data protection, and high availability.
Down Side
1. Cost
2. Network Load (or additional load)
Edited by: mseberg on Feb 7, 2011 10:23 AM
Maybe you are looking for
-
"end of file error" of reading blocks in binary.
I wrote some example data in binary format. Then read it again but met error 4. The read function reads 64 byte without problem. After this the file positioner will be located in end of file. Any special care is needed? labmaster Attachments: New Pic
-
Select data from database tables with high performance
hi all, how to select data from different database tables with high performance. im using for all entries instead of inner joins, even though burden on data base tables is going very high ( 90 % in se30) hw to increase the performance. kindly, reply.
-
Photoshop Elements 4 compatibility with Windows 7
Can anyone tell me how to get Photoshop Elements 4 to work with Windows 7?
-
Why no preview in CSS of custom component
In css design view of Flex3, if I choose my custom component to be previewed, It said There is no preview available for this style. But it works for general compoents built in Flex 3, like Button, Accordion, etc. So why? and how to show preview of my
-
Why am I prompted to get a new access code each I time I use Viber?
I have both an iPhone 5 and an iPad (4th Gen) and am getting tired of having to obtain a new code each time I use Viber and have to resubmit my phone # and name details! Can anyone help?!