Database issues after starting data guard
Hi. We run OEM12c in Linux. All is working well and we monitor several targets and DBs.
In our QA db server, sun solaris 11 running oracle 10g, we started to test data guard configuration for several instances we are running there. our standy server is called STDBY. All works fine, but now we have a problem managing some aspects of data guard with OEM12c.
First problem is that the instances appear as SID_IPaddress of server, as opposed as DB_UNIQUENAME.DB_DOMAIN. curiously enough, the std by copy, appears correctly (SID_sbyp.db_domain)... This is very puzzling...
Second problem is when we try to access the Data Guard performance pane, it fails showing (both in primary and secondary DBs)
Data Guard Internal Error : See the OMS log for details.
No clue where to look for this problem.
All other functions, TOP, performance home, etc... look fine.
Hi ,
Regarding "Data Guard Internal Error : See the OMS log for details"
Follow the below steps
On the Data Guard Page run the 'Verify Configuration'-Option twice. The first Execution will show an Output like
Initializing
Connected to instance test.oracle.com:mydb
Starting alert log monitor...
Updating Data Guard link on database homepage...
WARNING: Broker name (mytest) and target name (mydb) do not match.
WARNING: The broker name will be renamed to match the target name.
Skipping verification of fast-start failover static services check.
Data Protection Settings:
Protection mode : Maximum Performance
Redo Transport Mode settings:
pnjpcep1: ASYNC
cnjpcep1: ASYNC
Checking standby redo log files.....not checked due to broker name mismatch. Run verify again.
Checking Data Guard status
mydb : Normal
my11g : Normal
Tthe second Execution does not show this Warning any more, ie. it got fixed during the first Execution. Now it's possible to access the Data Guard Performance Page without Errors and you can see the Statistics.
Ref
Cloud Control: "Data Guard Internal Error" raised on Data Guard Performance Page (Doc ID 1484028.1)
Regards,
Rahul
Similar Messages
-
OIM 11g - User Not enabled After the job "enable user after start date"
Hi,
I have a future hired user in OIM whose start date is set in OIM. The status of the user in OIM is 'Disabled Until Start Date'.
After the start date has passed and the scheduled job 'enable user after start date' is run, I see that the user is still in the status 'Disabled Until Start Date'. I re-run the scheduled job 'enable user after start date', this time manually, still the state of the user remains unchanged.
Please help in troubleshooting as to find out the root cause of the issue and a workaround/solution, if possible.
This issue is intermittent and has happened with quite a number of user. Any pointer would be helpful.
Regards,
Sudipto S.I agree with Nayan.
One alternative approach can be to write your own custom scheduler which can overcome the limitation of OOTB scheduled job 'enable user after start date'. Let the OOTB job get executed first. After it, your custom scheduler should fire a simple SQL Query:
SELECT USR_KEY, USR_STATUS FROM USR WHERE (USR_START_DATE > SYSDATE -1) AND USR_STATUS='Disabled Until Start Date';
//Means those users who are supposed to get enabled today and are still not yet enabled and are in 'Disabled Until Start Date'. May be 2-3 user keys at max will come...
As you said it happens only intermittently and not for all users... So, let the OOTB scheduled job take care of most of such users... And after it has finished, if any user still remains in 'Disabled Until Start Date', your custom scheduler should enable it via using tcUserOperationsIntf.enableUser(userKey);
Using API is always better than database update... Because APIs trigger downstream provisioning workflows as well and not just updates OIM Database...
Keeping your constraints in mind, I think it is the correct answer. -
Database is configured for Data Guard
I am run a UTF8 conversion on a development database that has been cloned from Data Guard. There is a warning in Migration Status: "Database is configured for Data Guard" What is the DMU looking at to determine this? The database is open in read-write mode and it behaving like a primary database (I run the DMU scan and run updates to fix invalid representations). I would like to know what settings I need to update.
Is this preventing me from converting tables using CTAS? When I try to select this for all tables I get the message, "The DMU does not support the conversion method "Copy data using CREATE TABLE AS SELECT" for tables that are involved in an Oracle Streams process, like capture or apply. Use another available conversion method for the table"
Thanks,
BenThe DMU checks if the parameter DG_BROKER_START is set to true.
The problem with CTAS is independent from Data Guard. The DMU checks for tables that:
- are source of asynchronous Streams capture, or
- have update conflict handlers, or
- have DML handlers, or
- have conflict resolution parameters
The above tables are considered configured for Oracle Streams and are not supported by CTAS conversion method. This is because the CTAS method creates a converted copy of the table and drops the original. The DMU is not capable of moving the Streams configuration information from the old table to the new one.
Thanks,
Sergiusz -
After updating my mac book pro to the osx yosemite.am getting some issues after starting up.as soon as it gets on the destop the screen start blinking and i cant do anything.Please help me!
Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem?
After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test. -
Still need to do full backup after using data guard?
In our system, there is a physical standby database in data guard configuration. Is there still a need to do full backup and incremental backup?
Jackliusr wrote:
In our system, there is a physical standby database in data guard configuration. Is there still a need to do full backup and incremental backup?Preferred to have full backup daily.
May be you can perform failover of your standby, in case there is no availability on primary database. Then do you think the standby system stability is same as primary and can give same performance?
standby location can be too far and this is only if in case of disaster.
Another case, lets suppose your standby is behind than primary for 4-5 days due to some issues. At the same time your production crashed then you may have chance to loose 4-5 days fo data. So recommended to have full backup always from primary database.
If you are checking stability of standby database daily and able to check your data by opening properly and you wont prefer to RMAN backup, Then it is fine. But it is highly recommended to have RMAN backup.
BTW, You can have RMAN full backup on standby, if you want to avoid resources to use on primary -
Best Practice for monitoring database targets configured for Data Guard
We are in the process of migrating our DB targets to 12c Cloud Control.
In our current 10g environment the Primary Targets are monitored and administered by OEM GC A, and the Standby Targets are monitored by OEM GC B. Originally, I believe this was because of proximity and network speed, and over time it evolved to a Primary/Standby separation. One of the greatest challenges in this configuration is keeping OEM jobs in sync on both sides (in case of switchover/failover).
For our new OEM CC environment we are setting up CC A and CC B. However, I would like to determine if it would be smarter to monitor all DB targets (Primary and Standby) from the same CC console. In other words, monitor and administer DB Primary and Standby from the same OEM CC Console. I am trying to determine the best practice. I am not sure if administering a swichover from Cloud Control from Primary to Standby requires that both targets are monitored in the same environment or not.
I am interested in feedback. I am also interested in finding good reference materials (I have been looking at Oracle documentation and other documents online). Thanks for your input and thoughts. I am deliberately trying to keep this as concise as possible.OMS is a tool it is not need to monitor your primary and standby what is what I meant by the comment.
The reason you need the same OMS to monitor both the primary and the standby is in the Data Guard administration screen it will show both targets. You also will have the option of doing switch-overs and fail-overs as well as convert the primary or standby. One of the options is also to move all the jobs that are scheduled with primary over to the standby during a switch-over or fail-over.
There is no document that states that you need to have all targets on one OMS but that is the best method for the reason of having OMS. OMS is a tool to have all targets in a central repository. If you start have different OMS server and OMS repository you will need to log into separate OMS to administrator the targets. -
Automatic ASM & Database up After starting CRS
Hi Experts,
My CRS version is 11.1.0
Due to certain problems, CRS unable to communicate with daemons.
Later after stopping & starting CRS daemons, ALL the ASM & Database came up automatically. I like to know how it will start all these automatically?784585 wrote:
I can verify and trouleshot.
My question is how the ASM & Database came up automatically?#crsctl start crs
will start all the resources available in the clusterware
that why ASM and Database Instances came up.
check your crs logs. you will understand.
after restarting or reboot the system you have to wait for sometime ,
#crs_stat -t
if the resources status is either offline or unknown you should check your crs logs.
you can stop and start the services as you have done.
#crsctl stop crs
#crsctl start crs
as you written, by seeing logs, you can verify and troubleshoot -
Setting up the standby side after a crash (Data Guard)
Hi,
I hope this is the right area to publish my problem...
I can't find something like codetags for the system output - so I'm sorry for the bad looking
I have a problem. I use Oracle 11.2.0.3.0 with a dataguard environment. My primary database crashed and I activate the standby to be the new primary.
After the old primary gets repaired I want to define them as the ney standby. This didn't work because we have disabled flashback logging.
We created the new standby:
rman target sys/password@prim auxiliary sys/password@stby
duplicate target database for standby from active database;
After this we do this on the new standby:
alter database recover managed standby database disconnect from session;
It looks the now there is a working physical standby.
Now I look on the primary dataguard:
DGMGRL> show database verbose stby;
Database - stby
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: (unknown)
Apply Lag: (unknown)
Real Time Query: OFF
Instance(s):
dbuc4
Properties:
DGConnectIdentifier = 'stby'
ObserverConnectIdentifier = ''
LogXptMode = 'ASYNC'
DelayMins = '0'
Binding = 'optional'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '900'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = ''
LogFileNameConvert = ''
FastStartFailoverTarget = ''
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
SidName = 'dbuc4'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=stby)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=stby_DGMGRL.blubb.de)(INSTANCE_NAME=stby)(SERVER=DEDICATED)))'
StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = '%t_%s_%r.arc'
TopWaitEvents = '(monitor)'
Database Status:
ORA-16795: the standby database needs to be re-created
DGMGRL> show database verbose prim;
Database - prim
Role: PRIMARY
Intended State: TRANSPORT-ON
Instance(s):
dbuc4
dbuc4stby
Properties:
DGConnectIdentifier = 'prim'
ObserverConnectIdentifier = ''
LogXptMode = 'ASYNC'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = ''
LogFileNameConvert = ''
FastStartFailoverTarget = ''
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
SidName(*)
StaticConnectIdentifier(*)
StandbyArchiveLocation(*)
AlternateLocation(*)
LogArchiveTrace(*)
LogArchiveFormat(*)
TopWaitEvents(*)
(*) - Please check specific instance for the property value
Database Status:
SUCCESS
DGMGRL> show database verbose dbuc4stby;
Database - dbuc4stby
Role: PRIMARY
Intended State: TRANSPORT-ON
Instance(s):
dbuc4
dbuc4stby
Properties:
DGConnectIdentifier = 'dbuc4stby'
ObserverConnectIdentifier = ''
LogXptMode = 'ASYNC'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = ''
LogFileNameConvert = ''
FastStartFailoverTarget = ''
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
SidName(*)
StaticConnectIdentifier(*)
StandbyArchiveLocation(*)
AlternateLocation(*)
LogArchiveTrace(*)
LogArchiveFormat(*)
TopWaitEvents(*)
(*) - Please check specific instance for the property value
Database Status:
SUCCESS
DGMGRL> show configuration
Configuration - dg
Protection Mode: MaxPerformance
Databases:
prim - Primary database
stby - Physical standby database (disabled)
ORA-16795: the standby database needs to be re-created
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
On the stby side it looks like:
DGMGRL> show configuration
ORA-16795: Die Standby-Datenbank muss neu erstellt werden (The standby database needs to be recreated)
Did I have to create a new dataguard configuration?
I didn't know how I get this to work.
Thx fuechsinHi,
first of all: big thanks for your answer!
I think, this was a bad idea, too. But there was not enough space, so we decided to turn it off without thinking of consequences. :/
When the new hardware arrive I will enable flashback and never turn it off
The dataguard-log on the stby says:
01/23/2014 11:56:13
>> Starting Data Guard Broker bootstrap <<
Broker Configuration File Locations:
dg_broker_config_file1 = "/Daten/stby/stby_dgbroker1.dat"
dg_broker_config_file2 = "/Daten/stby/stby_dgbroker2.dat"
01/23/2014 11:56:17
Database needs to be reinstated or re-created, Data Guard broker ready
I want to try to delete the configuration on the prim and stby side and reconfigure it. But I don't know if there are side-effects on the working prim side - it is a productive system.
Best regards,
fuechsin -
OS and DB upgrades to databases under data guard
Hello,
Here is the scenario. I have an OPS db and a physical standby of OPS. Platform is solaris 9 with both a 9i instance and a 10g instance. I want to be able to do a switchover of the ops to the standby and then upgrade the standby. I believe that I can upgrade the OS to solaris 10 with no problems. However, I also want to be able to upgrade the 9i instance to 10gR2. Is it possible to do an upgrade of this degree to a standby under data guard? At the point that the db upgrade has completed data guard will no longer have the same configuration. This scenario is starting to send off alarms to me. Thanks in advance for your responses.Hi,
Is it possible to do an upgrade of this degree to a standby under data guard? Yes. Steve Karam does it all the time, and he has these notes:
"Dataguard's physical backups are a GREAT DR situation for a failed upgrade. You will have an exact physical copy of your database ready to switchover to if anything goes wrong with the upgrade. Basically you switch your final archive log and shut down your primary, then begin the standard upgrade.
If something goes wrong, you can perform a failover on your standby server and you're back up with no possibility of inconsistencies since it's a physical backup. In my opinion, the only method better than DataGuard for a backup for upgrade scenario would be to use SAN tools like NetApp's snapMirror or Sun's
Availability Suite in order to back it up; these tools can snapshot a DB in a matter of seconds and are good for this sort of situation: if the upgrade goes wrong, simply restore the snapshot.
If you do it right, you can set up dataguard with only 5 minutes of downtime, then perform your database upgrade with only 5 minutes of downtime. I have done this method for clients in the past and they have been very happy with the results."
Bipul Kumar has a book devoted to using Data Guard, that you may find helpful, and he notes the steps for a Data Guard-based upgrade:
http://www.rampant-books.com/book_2004_2_dataguard.htm
"Upgrading to Oracle10g database software in a Data Guard environment involves the following activities:
If the Data Guard configuration is managed by Data Guard broker, the broker configuration needs to be removed using the existing version of database software. In other words, remove the Oracle9i configuration before upgrading to Oracle10g. Execute the following command after connecting to any site in the configuration using DGMGRL to remove the configuration:
REMOVE CONFIGURATION;
Install Oracle10g database software. The Data Guard feature is not available with the Standard edition, so the Enterprise edition must be installed. Additionally, install Oracle Enterprise Manager (OEM) 10.1 in order to manage the configuration using Data Guard Manager GUI interface, which is tightly integrated with OEM.
The primary and standby databases should be upgraded to Oracle10g. The log management services should be stopped during the primary database upgrade. All of the redo logs generated during the database upgrade should be applied manually on each standby database. For more information on upgrading to Oracle10g, refer to the documentation, “Oracle Database Upgrade Guide 10g Release 1(10.1)”.
Update the initialization parameter files or server parameter files on the primary database and all the standby databases to include the parameter db_unique_name. The database unique name must be identical on all the databases in a configuration.
Once all the databases in the Data Guard configuration are upgraded to Oracle10g, the broker configuration file will have to be created in order to manage it using Data Guard broker. Execute the following command, connecting to the primary database using DGMGRL, to recreate the broker configuration file and to add standby databases"
Also, see the docs, with their instructions:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/upgrades.htm
Hope this helps. . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference":
http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm -
Flashback Database on Data Guard setup
Hello!
Win 2003 server - 64 bit
Oracle 10.2.0.4
As i have noticed Flashback Database is popular in Data Guard setups for the reinstate reason; you dont need to rebuild.
However, im looking at Flashback for 'flashback database' reasons. Some developers has asked for a method to rollback if an release has gone bad, so my questions is;
If i flashback database primary database, will standby also change due to redo log shipment?
Thank u!After flashing primary database check CURRENT_SCN in Standby. If flashback scn is greater then current_scn, then do nothing. Otherwise, on standby:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
FLASHBACK STANDBY DATABASE TO SCN "flashback_scn_number -1";
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION; -
Fee calculation if fee calculation data change after start of academic year
Hi,
If I change "Fee calculation data" on student file (piqstm) after start of academic year, fee calculation doesn't use new data even I enter a fee calculation date later than new fee calculation data valid date. If I adjust validity date of "fee calculation data" at the beginning of start date of academic year It works. But I couldn't manage changes on fee calculation data after "start date of academic year".
Is it possible to calculate fees with new "fee calculation data" if the data changes after start of academic year?
ThanksHi Joachim
We have not yet implemented the BAdI, we are using the standard to do the fee calculation. I guess we are gonna have to post a OSS message, cause as soon as I calculate the fee for a student and I run again the fee calculation for the same student without any changes at all, the system creates 2 new documents. I had this effect in the past but only as if you stated I changed something, like a condition or something but now is without any changes that this happens.
About the BAdI, the problem is that in our college they have more than 70 SC per campus (and the school has more than 12 campuses). The Campus Management team decided that they were going to use only 70 central SC instead of (12 x 70). By doing that we have to use a new derivation system cause the SC is attached a central school. But the reports have to be per campus. So we have plan to derivate the company code and the business area using some registration data (instead of getting it from the SC links). The same will be happening to the cost centers and profit centers.
Thank you Joachim
Sergio Artinano -
Configure data guard broker on Oracle 11.2.0.1
Our primary is a 3 node RAC of 11.2.0.1 on Redhat 5.2. The physical standby is a single instance on redhat 5.2. After configured data guard, I am trying to configure data guard broker following docOracle® Data Guard Broker 11g Release 2 (11.2)
E10702-01
It says to add a entry to the listener.ora file
LISTENER = (DESCRIPTION =
(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=host_name)
(PORT=port_num))))
SID_LIST_LISTENER=(SID_LIST=(SID_DESC=(SID_NAME=sid_name)
(GLOBAL_DBNAME=db_unique_name_DGMGRL.db_domain)
(ORACLE_HOME=oracle_home)))My lstener.ora under grid_home is LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by AgentAfter addedLISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cchORdb1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = cchprd_DGMGRL)
(SID_NAME = cchprd)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
)I started the listener and got errorLSNRCTL> start
Starting /u01/app/grid/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/grid/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/cchORdb1/listener/alert/log.xml
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cchORdb1)(PORT=1521)))
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
Linux Error: 98: Address already in use
Listener failed to start. See the error message(s) above..Without the Listener and SID_LIST_LISTENER entries, the grid infrastucture appear to manage a default listener and works OK. After add these, it appears to conflick with the default setting. I also tried to add a different listener name, then I got messge LISTENER is already startedHow should one handle this problem?
Thanks.Shutdown the listener and check for white spaces in the file. Try to restart it. If if fails review against my example below.
Here is my working example:
PRIMARY
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.myserver.com)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0)
(PROGRAM = extproc)
(SID_DESC =
(global_dbname = PRIMARY_DGMGRL.myserver.com)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0)
(SID_NAME = PRIMARY)
STANDBY
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = standby.mydomain.com)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0)
(PROGRAM = extproc)
(SID_DESC =
(global_dbname = STANDBY_DGMGRL.mydomain.com)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0)
(sid_name = STANDBY)
ADR_BASE_LISTENER = /u01/app/oracle
INBOUND_CONNECT_TIMEOUT_LISTENER=120
When I first tried to setup this up several months ago I had this issue:
ORA-12514 during SWITCHOVER
Problem: You perform a switchover using DGMGRL. Though the switchover itself completes successful, databases don't get started up again. Instead, DGMGRL output holds an
ORA-12514: TNS:listener does not currently know of service requested in connect
Cause: This is a configuration issue: DGMGRL needs a special entry in the listener.ora.
Solution: Details on this can be found in the Metalink note 308943.1. Make sure both, your primary and standby database have an explicit entry in the listener.ora like this:
SID_LIST_LISTENER = (
SID_LIST = (
SID_DESC = ( GLOBAL_DBNAME = <db_unique_name>DGMGRL.<dbdomain> )
( SERVICE_NAME = <db_unique_name>.<db_domain> )
( SID_NAME = <ORACLE_SID> )
( ORACLE_HOME = <ORACLE_HOME> )
Take special care, that:
* <db_unique_name> reflects the databases unique name (SHOW PARAMETER db_unique_name)
* <db_domain> reflects the databases domain (SHOW PARAMETER db_domain)
* <ORACLE_SID> and <ORACLE_HOME> reflect the corresponding settings of the database
Having adjusted your listener.ora files, restart the listener (lsnrctl stop && lsnrctl start). Give your databases a few minutes to register with the listener again, and then - just to be on the safe side - let the listener tell you its configuration: lsnrctl status && lsnrctl services. Check the output if everything matches.
Edited by: mseberg on Dec 10, 2010 8:01 AM -
Error: ORA-16525: the Data Guard broker is not yet available
Hi ,
After upgrading from 11201 to 11203 ON AIX GI/RDBMS on standby but have not upgraded the primary db yet.I had set dg_broker_start=false and disable configuration before i started the upgrade .
once the GI for oracle restart was upgraded i upgraded the rdbms binaries and brought up the standby on mount ,while trying to enable configuration its throwing the below error.I had already started the broker process.
SQL> show parameter dg_
NAME TYPE VALUE
dg_broker_config_file1 string /u01/app/omvmxp1/product/11.2.
0/dbhome_2/dbs/dr1mvmxs2.dat
dg_broker_config_file2 string /u01/app/omvmxp1/product/11.2.
0/dbhome_2/dbs/dr2mvmxs2.dat
dg_broker_start boolean TRUE
DGMGRL> show configuration;
Configuration - Matrxrep_brkr
Protection Mode: MaxAvailability
Databases:
mvmxp2 - Primary database
mvmxs2 - Physical standby database
Error: ORA-16525: the Data Guard broker is not yet available
Fast-Start Failover: DISABLED
Configuration Status:
ERROR
from drcmvmxs2.log
Starting Data Guard Broker bootstrap <<Broker Configuration File Locations:
dg_broker_config_file1 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
dg_broker_config_file2 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
12/19/2012 16:05:33
Data Guard Broker shutting down
DMON Process Shutdown <<12/19/2012 16:10:20
Starting Data Guard Broker bootstrap <<Broker Configuration File Locations:
dg_broker_config_file1 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
dg_broker_config_file2 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
~
Regards
Edited by: Monto on Dec 19, 2012 1:23 PMHi,
I removed the configuration and removed the broker files from RAC primary(mvmxp2) and single instance standby(mvmxs2) and re-created back.i tried it many times but getting error "ORA-16532" .I needed to have this standby backup before i start upgrading the primary.
SQL> alter system set dg_broker_start=true scope=both;
System altered.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
palmer60:/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs>dgmgrl
DGMGRL for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - 64bit Production
Copyright (c) 2000, 2009, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys@mvmxp2
Password:
Connected.
DGMGRL> CREATE CONFIGURATION 'Matrxrep'
AS
PRIMARY DATABASE IS 'mvmxp2'
CONNECT IDENTIFIER IS 'mvmxp2';> > >
Configuration "Matrxrep" created with primary database "mvmxp2"
DGMGRL> ADD DATABASE 'mvmxs2'
AS
CONNECT IDENTIFIER IS 'mvmxs2'
;Database "mvmxs2" added
DGMGRL> SHOW CONFIGURATION;
Configuration - Matrxrep
Protection Mode: MaxPerformance
Databases:
mvmxp2 - Primary database
mvmxs2 - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
DISABLED
DGMGRL> ENABLE CONFIGURATION;
Enabled.
DGMGRL> SHOW DATABASE MVMXS2;
Database - mvmxs2
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: (unknown)
Apply Lag: (unknown)
Real Time Query: OFF
Instance(s):
mvmxs2
Database Status:
DGM-17016: failed to retrieve status for database "mvmxs2"
ORA-16532: Data Guard broker configuration does not exist
ORA-16625: cannot reach database "mvmxs2"
DGMGRL>
tailed the drcmvmxs2.log during stop and start of the broker
palmer60:/u01/app/omvmxp1/diag/rdbms/mvmxs2/mvmxs2/trace>tail -f drcmvmxs2.log
12/19/2012 20:32:20
drcx: cannot open configuration file "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
12/19/2012 20:32:55
drcx: cannot open configuration file "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
12/19/2012 20:59:10
Data Guard Broker shutting down
DMON Process Shutdown <<12/19/2012 20:59:35
Starting Data Guard Broker bootstrap <<Broker Configuration File Locations:
dg_broker_config_file1 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
dg_broker_config_file2 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
Not sure how to fix this one.
Regards -
Steps for data guard RAC primary RAC standby
Hi,
I have some doubt in configuring data guard for rac DR to rac primary.
1) In RAC DR, physical standby will be in RAC before starting data guard for RAC Primary , right?.
2) While configuring RAC DR , should one node be down in standby?.
3) After creating the auxiliary database in standby, i mean restoring the rman backup from staging directory in DR,
Shall we have to register the services(database,instance,asm,etc..) to CRS(OCR)?. If yes ,Why?.
4) After DR configure over , Shall i shut/down one node?. Should all the nodes in DR be in up , while applying logs to
standby ?.
If anybody have made the setup and have the prepared document , requesting you to share with me.
Thank you very much,
SunandHi Sunand,
Please follow the following My Oracle Support (MOS) Document ID:
MAA - Creating a RAC Physical Standby for a RAC Primary [ID 380449.1]
For further details, see the referred documents in previous post. Try practicing on VMWare because it will give you the flexibility for creating snapshots to save your work. Please see the answers for your question below:
Q1. In RAC DR, physical standby will be in RAC before starting data guard for RAC Primary , right?.
Answer: Yes, this is recommend but not mandatory. You can add a second node later on.
Q2. While configuring RAC DR , should one node be down in standby?
Answer: Yes, there are some database configuration commands that should be run in exclusive mode. You can start the remaining instance(s) after DB creation. Do not forget to set CLUSTER_DATABASE parameter to TRUE. Also, all instances except one should be close while performing switchover/failover.
Q3. After creating the auxiliary database in standby, i mean restoring the rman backup from staging directory in DR, Shall we have to register the services(database,instance,asm,etc..) to CRS(OCR)?. If yes ,Why?
Answer: Yes, this is recommended for RAC configuration to take advantage of high availability services.
Q4. After DR configure over , Shall i shut/down one node?. Should all the nodes in DR be in up , while applying logs to
standby ?
Answer: You can start up all the instances after DR creation. In this case if your one node goes down log apply services will continue to apply changes in DR.
Hope, this helps to clear your questions.
Regards,
Shahid -
Hi,
I am planning to configure data guard 11.1.0.7 on Redhat Linux 5. I would just like to have suggestions regarding failover/switchover strategy. I would like gurus here to shared their knowledge about how to configure the failover/switchover. I have following points in mind regarding this.
1. Add an entry for the standby database in the connect string's "Address" portion so that if primary is not available after failover/switchover, client automatically start connecting to the standby
OR
2. Afgter failover/switchover, change the database alias in the DNS and primary host name alias should start pointing to the standby database host so that now clients start connecting with the standby database not.
Or, any other preferred way?
Thanks in advance
SalmanUwe Hesse, I saw your document. How we can implement it in a RAC environment wheren we have two nodes RAC (client side load balancing is on) and we have a single node Standby. In this case, we would need to add another row in ADDRESS parameter in TNSNAMES, but, how it will be handeled because client side load balancing is on and if we add standby ADDRESS, load balancing will also try to use this third entry of Standby database.Refer some more documents
Configuring Oracle Database 11g with Oracle Data Guard
http://download.oracle.com/docs/cd/B28359_01/server.111/b28282/configbp006.htm
http://www.oracle.com/technetwork/database/features/availability/twp-dataguard-11gr2-1-131981.pdf
11gR1 Data Guard Portal [ID 798974.1]
Switchover&Failover
Oracle10g: Data Guard Switchover and Failover Best Practices [ID 387266.1]
Maybe you are looking for
-
I am working on a standalone install Sharepoint 2013 (no Active Directory). I found newsfeed feature is not available and checked Distributed Cache service is stopped. When start it "cacheHostInfo is null" is returned. I checked the Windows service "
-
Track status at mouse over in the toolbar
(See attachment) When I hoover over the Spotify icon in the toolbar, I would like to have a thin green line that indicate the amount of the current song that is played (and how much is left). Just a thing I've been thinking about and wishing for,
-
I need a Tungsten t5 manual, a CD, and a hot sync device for it
I have been using myEbay purchased Tungsten T5 mostly the calendar function, memos, contacts, etc. However, I would like to be able to hot sync it to my Mac G5 power mac computer with OS X.5.8, both to upload and download between both devices and use
-
Hi there, what application do I need to view .ashx files? Is that shockwave?
-
Has anyone else had this problem? I used to be able to pop in my Tiger disk, hold down the c key and restart (same practice applies to DiskWarrior). But now all that happens is I get to the grey screen with the Apple logo (and sometimes see the littl