Standalone Standby Creation for RAC database
Hi,
I am in process of configuring standalone standby for my RAC database. The database version is 11.2.0.3. RAC is using SCAN listeners. I have got MOS for configuring standalone standby for RAC 387339.1. But specific steps I need to perform in case of SCAN listeners.
Any document or link is appreciated.
Regards,
Hello;
The white paper "Rapid Oracle RAC Standby Deployment: Oracle Database 11g Release 2" has a section on this.
http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-rac-standby-133152.pdf
This may also help :
http://www.oracle.com/technetwork/database/availability/maa-wp-11g-racone-standby-501088.pdf
And these :
Configuring and Administering Oracle Net Listener
http://docs.oracle.com/cd/E11882_01/network.112/e10836/listenercfg.htm
srvctl relocate scan
http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#RACAD7499
srvctl relocate scan_listener
http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#CDDIDDCF
Troubleshooting Oracle Clusterware
http://download.oracle.com/docs/cd/E11882_01/rac.112/e16794/troubleshoot.htm#CHDFJIEG
From Oracle support :
How to Setup SCAN Listener and Client for TAF and Load Balancing [Video] [ID 1188736.1]
Best Regards
mseberg
Similar Messages
-
How can I have a collective AWR report for RAC database in 10gR2 and 11gR1?
Plz correct me here
awrrpt.sql takes the snapshot at the instance level and incase we have 5 instances we have to take 5 awr reports for a particular period.correct???
If above is true ,any wayout to collect a single collective AWR report for RAC database which includes information on all the instances in Oracle 10g R2 or 11gR1 ?
Thanks in advance
GaganI have never come across a way for this. though I can n't say it is not there.
But I guess it may not be feasible too becuase as we know the current AWR report contains data which is specific for one instance.
Various hit ratios, top events, instance effeciency reports.... what not ..
It would be really nice to see something is a new format where it lists values from each instance in a single report.. I guess such a thing Does not exiist as of now. -
NETCA listener configuration error for RAC database
Hi,
WE have a RAC setup on 2 nodes and now we want to change the default listener port for RAC database.
Database ver: 10.2.0.4
We now that srvctl does not work to add listener manually to CRS.
We are now using netca to create new listener on both the RAC nodes but it gives error throwing :
Problem in configuration : Node(S): hostname
Try again...
When we try to start the listener say listener_I it throws following error:
Problem in configuration :node1
Listener start to failed:Listener may already be running
CRS-0215:Could not start resource
This is urgent
any help is appreciated.
Regards,
Milanuser12073248 wrote:
How you fix it? write to [email protected]
Hi Mauricio,
In this forum we help for free regardless of priority.
First you try to help in the forum if the author of the post request your e-mail you give to him.
Hope you understand it.
Thanks in advance for doing your part to make this community as valuable as possible for everyone!
Levi Pereira -
In-place upgrade of Enterprise Manager for RAC databases is not supported
upgrading 2 node RAC from 10.2.0.1 to 10.2.0.3 on Windows 2003 64 bit. I got the following:
In-place upgrade of Enterprise Manager for RAC databases is not supported in this release
Now I cannot log in to the database control as sys with sysdba role . I get "invalid username/password" error
I can login as a dba user
I also get a java error after I log in, some thing about class not found, but then I'm in and I can do everything that I try, although I haven't tried scheduling a backup yet
Can I upgrade EM to 10.2.0.3?
If so, how?On the patchset readme...
11.3 Upgrade of Oracle Enterprise Manager Not Supported
When you start Oracle Database Upgrade Assistant to upgrade 10.2.0.1 database to 10.2.0.3 patch set, the following error occurs:
Inplace upgrade of Enterprise Manager is not supported for RAC databases is not supported in this release
Workaround:
Ignore warning.
If you drop and recreate the EM repository?
1). emca -deconfig dbcontrol db repos drop
2). emca -config dbcontrol db -repos create
Be careful, doing this put the database on QUIESCE mode.
Regards,
Rodrigo Mufalani -
Metalink Document IDs for RAC database
Hello,
This is Khalid, Plz any body could give me metalink document id's for RAC database managing and monitoring, backup and recoveries etc.. plz any document id related to RAC databases.....
Thanks & Regards
KhalidClusterware References
Metalink Notes
259301.1 CRS and 10g RAC
This note contains a useful awk script to improve the output of crs_stat -ls
436067.1 Windows CRS_STAT script to display long names correctly
309541.1 How to start/stop the 10g CRS Clusterware
263897.1 How to stop Cluster Ready Services (CRS)
298073.1 How to remove CRS auto start and restart for a RAC instance
295871.1 How to verify if CRS install is valid
316583.1 VIPCA fails complaining that interface is not public
341214.1 How to cleanup after a failed (or successful) Oracle Clusterware installation
280589.1 How to install Oracle 10g CRS on a cluster where one or more nodes are not to be configured with CRS immediately
357808.1 CRS Diagnostics
272331.1 CRS 10g Diagnostic Guide
330358.1 CRS 10g R2 Diagnostic Collection Guide
331168.1 Oracle Clusterware consolidated logging in 10gR2
342590.1 CRS logs not being written
357808.1 Diagnosability for CRS/EVM/RACG
459694.1 Procwatcher: Script to Monitor and Examine Oracle and CRS Processes
289690.1 Data Gathering for Troubleshooting RAC and CRS issues
265769.1 Troubleshooting CRS Reboots
240001.1 Troubleshooting CRS root.sh problems (10g RAC)
239989.1 10g RAC - Stopping Reboot Loops when CRS problems occur
294430.1 CSS Timeout Computation in 10g RAC
284752.1 10gRAC: Steps to Increase CSS Misscount, Reboottime and Disktimeout
462616.1 Reconfiguring the CSS disktimeout of 10gR2 Clusterware for proper LUN failover
293819.1 Placement of voting and OCR disk file in 10g RAC
317628.1 How to replace a corrupt OCR mirror file
452486.1 Moving OCR and Voting Disk to another location
399482.1 How to recreate OCR/Voting disk accidentally deleted
358620.1 How to recreate OCR/Voting disk in 10gR1/R2 RAC
279793.1 How to Restore a Lost Voting Disk in 10g
264847.1 How to Configure Virtual IPs for 10g RAC
283684.1 How to change interconnect/public interface IP subnet in a 10g cluster
276434.1 Modifying the VIP or VIP Hostname of an Oracle 10g Clusterware Node
294336.1 Changing the check interval for the Oracle 10g VIP
219361.1 Troubleshooting Instance Evictions (ORA-29740)
297498.1 Resolving Instance Evictions on Windows platforms
315125.1 What to check if the Cluster Synchronization Services daemon (OCSSD) does not start
270512.1 Adding a node to a 10g RAC Cluster
269320.1 Removing a node from a 10g RAC Cluster
338706.1 Cluster Ready Services (CRS) rolling upgrade
399031.1 Step-by-step installation of Oracle Clusterware one-off and bundle patches for Oracle 10g
401783.1 Changes in Oracle Clusterware after applying 10.2.0.3 Patchset
405820.1 Known Issues After Applying 10.2 CRS bundle patches
316817.1 Cluster Verification Utility (CLUVFY) FAQ
372358.1 Shared disk check with the Cluster Verification Utility
338924.1 CLUVFY Fails with error - could not find a suitable set of interfaces for VIPs
Bugs
5849200 CRS LOGS ARE NOT BEING WRITTEN
5137401 OPROCD LOGFILE IS CLEARED AFTER A REBOOT
Fixed in Oracle 10.2.0.4+ and 11.1.0.6+
source: http://www.juliandyke.com/References/Clusterware.html
regards,
Rajeshkumar Govindarajan.
http://oracleinstance.blogspot.com -
RMAN Backup script for RAC Database..please suggest
Hi All,
I am currently working on backup policy for RAC Database for my client.The client requirement is to backup while database is shutdown(mount state).I have made below script and could any one please suggest what further things should I need to add with below rman script.
echo "Shutdown Database";date
srvctl stop database -d PROD
srvctl status database -d PROD
echo "Database shutdown on";date
echo "Mount Database ";date
srvctl start instance -d PROD -i "PROD1" -o mount
srvctl status database -d PROD
echo "Start Full Database Backup on";date
$ORACLE_HOME/bin/rman target / nocatalog <<EOF
configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';
run{
allocate channel c1 device type disk connect 'sys/******@node1-vip:1521/PROD';
allocate channel c2 device type disk connect 'sys/*****@node2-vip:1521/PROD';
backup format '/BACKUP/PRODBKP/PROD_df_%t_%s_%p.bak'(database);
backup format '/BACKUP/PRODBKP/archive_%t_%s_%p.bak' archivelog all;
copy current controlfile to '/BACKUP/PRODBKP/PROD.ctl';
delete noprompt obsolete;
release channel c1;
release channel c2;
exit
EOF
echo "RMAN Backup Finished on";date
echo "Shutdown Database";date
srvctl stop database -d PROD
echo "Start Database";date
srvctl start database -d PROD
srvctl status database -d PROD
Please share your experiences.
RegardsHi,
Some tweaks for your script.
echo "Shutdown Database";date
srvctl stop database -d PROD
srvctl status database -d PROD
echo "Database shutdown on";date
echo "Mount Database ";date
srvctl start instance -d PROD -i "PROD1" -o mount1. If you database does not shutdown properly , does your script stops the execution of next step?
2. configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';(Why you need to configure this every time) ?
It's persistent at db level one time setting (until some other script changes the settings by other dba - else remove that - set the configuration at db level once for all)
- Pavan Kumar N
3. -
Data Guard configuration for RAC database disappeared from Grid control
Primary Database Environment - Three node cluster
RAC Database 10.2.0.1.0
Linux Red Hat 4.0 2.6.9-22 64bit
ASM 10.2.0.1.0
Management Agent 10.2.0.2.0
Standby Database Environment - one Node database
Oracle Enterprise Edition 10.2.0.1.0 Single standby
Linux Red Hat 4.0 2.6.9-22 64bit
ASM 10.2.0.1.0
Management Agent 10.2.0.2.0
Grid Control 10.2.0.1.0 - Node separate from standby and cluster environments
Oracle 10.1.0.1.0
Grid Control 10.2.0.1.0
Red Hat 4.0 2.6.9-22 32bit
After adding a logical standby database through Grid Control for a RAC database, I noticed sometime later the Data Guard configuration disappeared from Grid Control. Not sure why but it is gone. I did notice that something went wrong with the standby creation but i did not get much feedback from Grid Control. The last thing I did was to view the configuration, see output below.
Initializing
Connected to instance qdcls0427:ELCDV3
Starting alert log monitor...
Updating Data Guard link on database homepage...
Data Protection Settings:
Protection mode : Maximum Performance
Log Transport Mode settings:
ELCDV.qdx.com: ARCH
ELXDV: ARCH
Checking standby redo log files.....OK
Checking Data Guard status
ELCDV.qdx.com : ORA-16809: multiple warnings detected for the database
ELXDV : Creation status unknown
Checking Inconsistent Properties
Checking agent status
ELCDV.qdx.com
qdcls0387.qdx.com ... OK
qdcls0388.qdx.com ... OK
qdcls0427.qdx.com ... OK
ELXDV ... WARNING: No credentials available for target ELXDV
Attempting agent ping ... OK
Switching log file 672.Done
WARNING: Skipping check for applied log on ELXDV : disabled
Processing completed.
Here are the steps followed to add the standby database in Grid Control
Maintenance tab
Setup and Manage Data Guard
Logged in as sys
Add standby database
Create a new logical standby database
Perform a live backup of the primary database
Specify backup directory for staging area
Specify standby database name and Oracle home location
Specify file location staging area on standby node
At the end am presented with a review of the selected options and then the standby database is created
Has any body come across a similar issue?
Thanks,Any resolution on this?
I just created a Logical Standby database and I'm getting the same warning (WARNING: No credentials available for target ...) when I do a 'Verify Configuration' from the Data Guard page.
Everything else seems to be working fine. Logs are being applied, etc.
I can't figure out what credentials its looking for. -
ODI Connection for RAC database
Hi,
I am trying to create master repository in ODI. We have RAC database and I want to give scan ip for making connection in URL field.
I started repcreate.sh script to open "Master Repository Creation Wizard" and in URL text field I tried to connect by giving single instance detail and its connecting fine.
But when I tried to give scan ip its throwing error message:
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
dw01-scan.viva.com.kw:1521:exadev
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:280)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:361)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java......
Below is the detail given in Url field:
jdbc:oracle:thin:@scan_ip:port_number:sid
Please assit if you have solution.
Thanks
SaurabhHad the same thing before (in a Hurry) so I created it against one of the Rac Nodes, then edited my Topology connections (Data servers , Work Repos connections, User login profiles) to use the RAC connection and it was fine.
It might be something to do with the RCU not liking RAC conns.
Hope this helps,
Alastair -
DBA panel not working correctly for RAC databases
I hope this is the correct forum for this stuff... I learned that there is a DBA panel in SQL Developer - which is a great idea. But then, trying it on a RAC database, the output is quite confusing. For example, the init parameters are desplayed twice, or better: once for every instance. But a display column to identify the instance is missing. I assume that the query goes to gv$parameter but doesn't make use of the INST_ID column. Or am I lacking some configuration trick...?
This probably has nothing to do with your problem but something is screwed up in the way CSCC handles Configurator panels.
Converted a panel made for CS6 using Configurator4. Got it loaded into CC. It was not quite right so I made some minor changes. The changes never showed up in CC. Deleted the original folder under Panels, changed the name of the panel and reinstalled. Whoa! The original deleted panel was the only one that showed up under Extensions not the new one. This in spite of the fact that that folder no longer existied.
I have tried all sorts of maneauvers but the fact is that the original panel is the only one that PS recognizes even though it does not exist on the drive. It is locked into PS and nothing I have done will change it.
Larry -
Db context file creation for rac to single instance cloning
DOC ID: 559518.1 Section 6: RAC to Single Instance Cloning mentions that the context file creation should be done as in the case of Single Instance cloning
what would be the command syntax?Thanks Hussein. However, section 6 of doc 559518.1 mentions that part 5.1.3 when cloning from rac to single node should be done as in the case of Single Instance cloning.
the syntax for rac to rac cloning (which is in 5.1.3) is
perl adclonectx.pl \
contextfile=[PATH to OLD Source RAC contextfile.xml] \
template=[NEW ORACLE_HOME]/appsutil/template/adxdbctx.tmp \
pairsfile=[NEW ORACLE_HOME]/appsutil/clone/pairsfile.txt \
initialnode
so what is the syntax for rac to single instance? I reckon I will still use adclonectx.pl, but now what would be the complete sysntax for single instance cloning? -
My system is solaris 10, Oracle database v. 10g.
I'm creating a physical standby database on a remote host.
As there is 2 different sequence number for the 2 thread in the RAC,
select max(sequence#) from gv$archived_log;
thread1 = 76
thread2 = 433
what is the sequence number I have to user for the recover operation.
Thanks for your help
FabriceBetter than the sequence numbers are the SCNs, check first_change# and next_change# (also in v$archived_log).
Werner -
OCR and VOTING DISK for RAC Database on ASMLib env
Can i use raw device for OCR and Voting Disk while installing Clusterware, i am planning to use ASM with ASMlib,
i know i can configure asm with dbca when i am using raw devices (to be user for ASM), How i can configure diskgroups when i use ASMlib, Can i configure ASM diskgroup with dbca , if yes plz forward me some metalink notes to study or any other help.Hi,
Can i use raw device for OCR and Voting Disk while installing ClusterwareYes:
http://www.oracle.com/technology/pub/notes/technote_singh_crs.html
"Step 3: Create Raw Devices for the OCR and Voting Disk Before we start the installation"
plz forward me some metalink notes to study or any other help. I like Madhu Tumma's examples with raw devices because it has step-by-step examples:
http://www.rampant-books.com/book_2004_1_10g_grid.htm
Hope this helps . . .
Donald K. Burleson
http://www.dba-oracle.com -
Some queries on RAC database 11g
We have RAC oracle database 11g and we don't want to overburden the OLTP instance. So we thought of bringing the changed data from the OLTP instance to reporting instance via logical standby or streams and log the changes with the help of using total recall feature in the reporting instance.
Our idea is to retain the historical data using the total recall feature in reporting instance and bring the changed data from the OLTP instance to reporting instance via logical standby or streams
RAC database: OLTP instance ---> mine the changed data via logical standby or streams ---reporting instance (track all the changes made to a transaction using total recall feature in this instance)
My doubts are:-
1) Whether the total recall feature will work with work with logical standby database or streams?
2) How to transport the total recall feature enabled tables from one database to another. Whether the data pump will work with flashback enabled tables?
3) How to capture the changes from one instance to another with oracle streams. I could not find much documentation on how the streams work on RAC database. Any pointer /suggestion on this would be much appreciated.
Regards,
Richarduser12075620 wrote:
1) Easy backup and recovery for a specific instance in case of historical dataWhat data will that be? If this is a 3rd RAC instance, then it will not make backup easier as the data is in the database (on shared storage media) and that needs to be backed up - the database's data does not reside locally on the instance.
2) Point-in-time recovery is possibleAgain, I do not see how this is a specific advantage that now suddenly occurs with the introduction of a 3rd RAC instance.
3) If any other node fails, then it won’t affect this instance Correct - a 3rd instance increases the redundancy in the cluster. It also scales it and provides additional processing capacity. -
Can a non-RAC database use SCAN ?
I have a 4 node 11gR2 cluster which has all different kinds of versions ( 10g ,11gR1 & 11gR2 ) on both RAC & NON RAC .
I know for sure that I can use SCAN for non 11gR2 databases for RAC databases .
For standalone db's It seems like it is working intermitently but is this supported ? the reason why I ask is there is no documentation on how to configure or troubleshoot for non-RAC using SCAN .
Appreciate your help
RaviI was trying to find some information about the issue, but i think SCAN is really designed for RAC databases.
You don't really need to use the SCAN for what you just described:
you can update the client tnanames with the vip addresses of all nodes with FAILOVER = ON
Example:
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=node1-vip)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=node2-vip)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=node3-vip)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=node4-vip)(PORT=1521))
(FAILOVER = ON)
(CONNECT_DATA=(SERVER = DEDICATED)(SERVICE_NAME=DB.WORLD))
However, you can try this (i never tried it, but i think it should work):
- See the document http://download.oracle.com/docs/cd/E11882_01/install.112/e10813/undrstnd.htm#BEICFAIC
+... If you do not set LOCAL_LISTENER, then the Database Agent automatically keeps the database associated with the Grid home's node listener updated...+
So don't set the LOCAL_LISTENER in your db.
- Update the client tnsnames with the SCAN if the version of the database is 11.2.0.1
- Try to see if it works fine
- Move your db to another node and try again -
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: TEST (DBID=485988764) connected to recovery catalog database
RMAN> run {
2> resync catalog;
3> allocate channel oem_backup_disk1 type disk
4> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
5> allocate channel oem_backup_disk2 type disk
6> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
7> backup as COMPRESSED BACKUPSET tag=Nov100921
8> archivelog all not backed up 2 times;
9> release channel oem_backup_disk1;
10> release channel oem_backup_disk2;
11> }
12>
starting full resync of recovery catalog full resync complete
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 11/10/2009 09:22:07
RMAN-06004: ORACLE error from recovery catalog database:
ORACLE error from recovery catalog database:
This is the error for RAC database. This error is because if i include recovery catalog in the script. if there is no recovery catalog then it is working fine.run {
allocate channel oem_backup_disk1 type disk format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
backup as COMPRESSED BACKUPSET tag=Nov100921 archivelog all not backed up 2 times;
release channel oem_backup_disk1;
it worked successfully.
if i run like this keeping it in script
run {
resync catalog;
allocate channel oem_backup_disk1 type disk
format '/misc/OraBackup/${3}/%d_ARCH_%T_%t_%s';
allocate channel oem_backup_disk2 type disk
format '/misc/OraBackup/${3}/%d_ARCH_%T_%t_%s';
backup as COMPRESSED BACKUPSET tag=$TAG
archivelog all not backed up 2 times;
release channel oem_backup_disk1;
release channel oem_backup_disk2;
then i will get the error
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: TEST (DBID=485988764) connected to recovery catalog database
RMAN> run {
2> resync catalog;
3> allocate channel oem_backup_disk1 type disk
4> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
5> allocate channel oem_backup_disk2 type disk
6> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
7> backup as COMPRESSED BACKUPSET tag=Nov100921
8> archivelog all not backed up 2 times;
9> release channel oem_backup_disk1;
10> release channel oem_backup_disk2;
11> }
12>
starting full resync of recovery catalog full resync complete
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 11/10/2009 09:22:07
RMAN-06004: ORACLE error from recovery catalog database:
ORACLE error from recovery catalog database:
Maybe you are looking for
-
Problem Description: Trying to Install Abode Air 2.5 - all seems OK but when launching Tweetdeck I get the following error: Process: Adobe AIR Application Installer [4465] Path: /Applications/Utilities/Adobe AIR Application Install
-
HT201364 do you have to have an administrator password to install OS X Mavericks
Do you need an administrator password to install os x mavericks. I am trying to dowload and it is asking me for password?
-
What in the new update? i cant work it out? question 2. after ive update my fone why does it freeze an shut down.. i have to take the batter out etc? why that
-
Purchase Information Records - Transfer to APO
Hi APO Gurus, We are trying to figure out how we can prevent the indicator "Take Planned Delivery Time Into Account" from being selected after we transfer over a new PIR or change a PIR and then re-transfer it back over to APO. Right now, it appears
-
When i am creating pm order after confirmation i will get the status settelment rule created after settelement when i nam going to close the order i will get message save only and log but in log order is not zero. any body can give solution.