Can I monitor an 8i Standby Database with OEM 10gR3?
I have added the target for an 8i instance and its physical standby. The primary looks fine but the standby shows down and reports the following message:
ORA-01033: ORACLE initialization or shutdown in progress
I also notice that OEM doesn't display the type as "Database Instance:
Primary or Physical Standby" like the 9i and 10g ones we have. I have searched this forum, Metalink and the Doc library for the answer with no luck. Do you know if this is a support configuration and if so what I need to do to get it working?
Thanks.
Think grid supports 8.1.7.4 and above, check metalink for exact support details.
Have you configed the agent properly? For standby databases you need to set up the connect with sys as sysdba rather than dbsnmp.
Go to setup ---> agents
Click on the relevant agent
Select the standby database and click on configure
Edit the connection type to sysdba FIRST
then you can change the user to sys
Good luck
Similar Messages
-
SQL exception during creation of a physical standby database with EM
Version: EM Oracle 10.2.5 (agents running, repository running, primary db running, all targets visible and reachable with EM)
I try to create a physical standby database with the enterprise manager and each time the process is aborted with a SQL exception during the preparation of the job by the EM. I have added a part of the OMs log containing the error at the end of the excerpt.
=============
2010-04-29 16:00:39,856 [EMUI_16_00_39_/console/targets] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
2010-04-29 16:01:04,765 [EMUI_16_01_04_/console/database/dataguard/create] ERROR em.dataguard validate.1329 - CreateBean: ClassNotFoundException: null
2010-04-29 16:02:05,476 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone checkSetFileError.79 - DatabaseFileAttributes.checkSetFileError(): Null database file!
2010-04-29 16:02:05,476 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone setControlfiles.160 - DatabaseFileAttributes.setDatafiles(): Invalid control file!
2010-04-29 16:02:05,492 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone getControlFileNames.616 - DatabaseFileAttributes.getDatafileNames(): null datafile names!
2010-04-29 16:02:32,823 [Thread-28] ERROR em.jobs remoteOp.2389 - DBVerify.remoteOp(): Error: max_stamp# 6071384
2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitJobPreparation.3297 - DBCloneObject.submitJobPreparation(): getMaxLogSequenceNum: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitJobPreparation.3501 - DBCloneObject.submitJobPreparation(): Exception: java.lang.Exception: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitDBCloneJob.3716 - DBCloneObject.submitDBCloneJob(): Exception: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
2010-04-29 16:02:37,496 [EMUI_16_02_37_/console/database/dataguard/create] ERROR em.dataguard onEvent.1243 - CreateConfigController: Exception: oracle.sysman.db.dg.util.VxxStandbyException: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
=========
I have set the agent perl script tracing to DEBUG, but can't find any reason, why the job preparation failed.
Has anyone an idea why the job cannot be prepared? Thanks in advance for investigation :-)Can you please tell me how can i see data gaurd on EM..
I have oracle 11gR1..i have implemmented primary as well standby database..
I have already started EM but i have no idea where to find datagaurd option..or how to create standdby db using EM..
You got error that means u did it using EM..how can i do it on EM -
Creating a Standby Database with the Same Directory Structure
Hello gurus,
I am self-learning the feature Oracle Data Guard, so I am testing it on Oracle 10g R2.
At Oracle documentation there is a section F.4.: Creating a Standby Database with the Same Directory Structure*, that explains how to create a standby database with RMAN but there is something that I don´t understand:
In the standby server, I created a database with the SID equal to production database* with the objetive to have the same directory structure, but when I try to startup nomount the standby database with pfile appear this expected error:
ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid attributes
So my question is: Is possible have the Same Directory Structure on both: Production and StandBy server?
Thanks in advanced.Uwe and mseberg: thanks for your quick answers
I have a doubt: How can you have the same directory structure if you have differents SIDs?, for example if you follow the OFA suggestions you would must have:
On Production server: */u01/app/oracle/oradata/PRIMARY/system.dbf*
On StandBy server: */u01/app/oracle/oradata/STANDBY/system.dbf*
Or you created the directory structure manually on StandBy server? For example replacing the string STANDBY* to PRIMARY* before create the database using dbca.
Do you understand my doubt? Excuse me for my english.
Thanks. -
Logical Standby Database with 10g+ASM on both sides??
Hi out there,
is there a known way to establish a logical standby database on 10g, if both
sides are running with an ASM setup?
I've tried to create one out of a physical standby database (which is set up
and running w/o any problems), like a book suggested me to do.
The procedure was:
1. switch on supplemental logging
2. prepare initiation parameters (for archive logging etc.) on both sides for
logical stb.
3. shut down the phyiscal standby
4. alter database create logical standby controlfile as '<path>'; on the
primary, transfer the controlfile to the standby db. Here I had to use RMAN
to copy the controlfile into the ASM System, and modify the initfile/spfile
in order to use the controlfile. No problem so far.
5. mount the standby database, alter database recover managed standby database
disconnect; -> At this point, the alert log complained about non-available
datafiles.
6. alter database activate standby database; --> fails ("needs recovery") due
to last point.
The trouble is, the controlfile created at point 4 cointains wrong paths to
the datafiles. Since I can not have the same disk group name on the standby
system, and since ASM renames the stored datafiles by its own, the complaints
of point 5 are comprehensible, but nevertheless annoying.
I tried to backup a controlfile to trace and change the paths, but at after
mounting the standby with this controlfile and proceeding at point 5, the
system says "<path> is not a standby controlfile"
Is there a different way of creating a "Logical Standby Database with 10g+ASM
on both sides"? Metalink said nothing about LogStby and ASM.
Best regards and thanks in advance,
MartinI'm not sure if this will work but try:
1. create trace control file (you did it)
2. change paths (you did it)
3. recrate control file (you did it)
... there was error occured during mount before
so mount database (not as standby)
4. create standby control file (from recreated control file)
5. shutdown instance, replace control file with new standby control file or replace the control filename in parameter file.
6. mount as standby
What happend?
Update: Tested on my side and it has worked fine... How about you?
Message was edited by:
Ivan Kartik -
Standby Database with Standard Edition
Hi All,
I'm attempting to setup a Standby database with Oracle 10g Standard Edition. I must manually copy over the archive logs to my Standby database server because i'm using Standard Edition.
Once my primary database archive logs have been copied over to the standby location shouldn't the database automatically apply those archive logs? I have issued the "alter database recover managed standby database disconnect from session" so my understanding is that it is in recovery mode and shoudl be finding the archive logs to apply. Can anyone confirm that this configuration should work with Standard Edition and perhaps point me in the right direction, which parameters in the init file to check, to get my standby database to apply these archive logs automatically.
Thanks,To quickly determine the level of synchronization for the standby database, issue the following query on the physical standby database:
SQL> SELECT ARCHIVED_THREAD#, ARCHIVED_SEQ#, APPLIED_THREAD#, APPLIED_SEQ#
2> FROM V$ARCHIVE_DEST_STATUS;
ARCHIVED_THREAD# ARCHIVED_SEQ# APPLIED_THREAD# APPLIED_SEQ#
1 947 1 945 -
Standby database with different directory structure
Hi,
sorry to say that we are in desupported version due to some constraint.
oracle version : 8.1.7.0.0.
os:sun 5.9
I need to create physical standby database with different directory structure:
i have created standby database with same directory structure of primary, now i have requirement to create with different directory structure.
in oracle 8i we can not give multiple parameter for db_file_name_convert(ORA-01678: parameter db_file_name_convert must be two strings, a pattern and a replacement) and i do have partitions in primary as follows:
bash-2.05$ df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 14G 5.6G 72% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 11G 40K 11G 1% /var/run
dmpfs 11G 0K 11G 0% /dev/vx/dmp
dmpfs 11G 0K 11G 0% /dev/vx/rdmp
swap 11G 656K 11G 1% /tmp
/dev/dsk/c1t0d0s3 25G 18G 6.8G 72% /oracle
/dev/vx/dsk/suportaldg/oracle1
12G 11G 1.1G 91% /oracle1
/dev/vx/dsk/suportaldg/oracle2
12G 8.1G 3.7G 69% /oracle2
/dev/vx/dsk/suportaldg/orapurge
200G 182G 17G 92% /orapurge
/dev/vx/dsk/suportaldg/oracle3
12G 10G 1.9G 85% /oracle3
/dev/vx/dsk/suportaldg/oracle4
12G 12G 58M 100% /oracle4
/dev/vx/dsk/suportaldg/oracle5
7.0G 5.9G 1.0G 86% /oracle5
/dev/vx/dsk/suportaldg/oracle6
7.0G 6.4G 564M 93% /oracle6
/dev/vx/dsk/suportaldg/oracle7
23G 23G 358M 99% /oracle7
/dev/vx/dsk/suportaldg/oracle8
13G 13G 165M 99% /oracle8
/dev/vx/dsk/suportaldg/oracle9
23G 22G 1.4G 94% /oracle9
/dev/vx/dsk/suportaldg/oracle10
12G 10.0G 1.9G 85% /oracle10
/dev/vx/dsk/suportaldg/oracle11
39G 36G 2.1G 95% /oracle11
/dev/vx/dsk/suportaldg/oracle12
39G 38G 1.1G 98% /oracle12
/dev/vx/dsk/suportaldg/oracle13
68G 65G 2.6G 97% /oracle13
/dev/vx/dsk/suportaldg/oracle14
200G 199G 1.3G 100% /oracle14
/dev/vx/dsk/suportaldg/oracle15
200G 196G 3.6G 99% /oracle15
/dev/vx/dsk/suportaldg/oracle16
70G 64G 5.5G 93% /oracle16
/dev/vx/dsk/suportaldg/oracle20
7.0G 6.4G 609M 92% /oracle20
/dev/vx/dsk/suportaldg/oracle50
28G 26G 2.0G 93% /oracle50
/dev/vx/dsk/suportaldg/oratranslog
185G 165G 19G 90% /oratranslogso how i can create standby database with different directory structure, help is appreciated.
Thanks
Edited by: prakashdba on Mar 5, 2009 11:04 PMLooks like very difficult and inform you mgmt about the drawbacks of running olderv ersions
may be you can try something like this but i dont know whether it is supported or not
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle3','/dev/vx/dsk/suportaldg/STDBY/oracle3']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle4','/dev/vx/dsk/suportaldg/STDBY/oracle4']
db_file_name_convert=['/dev/vx/dsk/suportaldg/oracle5','/dev/vx/dsk/suportaldg/STDBY/oracle5'] -
Monitoring Physical standby database through OEM
HI ,
We are monitoring Physical standby database through OEM and we monitor from console using SYS user
As per our company policy we change our sys password every month so after change it we need to change SYS password from console also
so is any way we can change SYS password on console using command line utility? if yes then please give us the command
Thankswe monitor from console using SYS userYou have to monitor it using a SYSDBA user not necessarily SYS. So you can create a user e.g. SYS_MONITOR which has different policy than SYS. Although it is best to change that password on regular bases too, maybe every 3 months.
so is any way we can change SYS password on console using command line utility?I don't get your question. Are you asking if it is possible to change the monitoring username/password using some command line utility? If so, I haven't heard of such tool. But there could be a package like MGMT_TARGET which you can manipulate the credentials if you know how to use it. -
Can I rename a physical Standby database without having to recreate?
Hi all,
One of my DBA's created a new standby database yesterday. He was supposed to create the standby database with a unique name from the primary system, but he didn't. So right now, DataGuard is running and replicating, and the standby has the exact same database name as primary.
I'd like to get this configured the way we had planned, to rename the standby database to something unique. I see Metalink Doc ID 15390.1, showing how to rename a database, but I'm not sure if this is possible in the standby environment? Has anyone ever done this? Anything different that needs to be accounted for, in the physical standby DB?
I'm on 10.2.0.3, on Windows 2003.
Any help/advice is appreciated!!
Thanks,
BradDear TheBlakester,
You have to write it on the spfile and bounce the database. You should also have to change the log_archive_config parameter with the new standby db_unique_name.
From the online Oracle documentation;
For example, if the DB_UNIQUE_NAME parameter has not been defined on either database, the following SQL statements might be used to assign a unique name to each database.
Execute this SQL statement on the primary database:
SQL> ALTER SYSTEM SET DB_UNIQUE_NAME='CHICAGO' SCOPE=SPFILE;
Execute this SQL statement on the standby database:
SQL> ALTER SYSTEM SET DB_UNIQUE_NAME='BOSTON' SCOPE=SPFILE;
Step 4 Verify that the LOG_ARCHIVE_CONFIG database initialization parameter has been defined on the primary and standby database and that its value includes a DG_CONFIG list that includes the DB_UNIQUE_NAME of the primary and standby database.
For example, if the LOG_ARCHIVE_CONFIG parameter has not been defined on either database, the following SQL statement could be executed on each database to configure the LOG_ARCHIVE_CONFIG parameter:
SQL> ALTER SYSTEM SET
2> LOG_ARCHIVE_CONFIG='DG_CONFIG=(CHICAGO,BOSTON)';After than that it is better for you to check following items just in case;
v$archived_log
v$dataguard_status
Data Guard log file & Alert.log file.Hope That Helps.
Ogan -
What are the differences of creating a physical standby database with ASM?
I want to create a physical standby database for my 10g(10.2.0.1) database. But it is using ASM. Is it possible to create a standby database for a database using ASM?
What are the differences of creating a physical standby database with ASM?tell us what your research shows and we'll try to
validate it. I am simulating Oracle ASM on a PC and I want to try
DataGuard on it now. So I am trying to create DataGuard
on an ASM system. The purpose is only learning and test.That's telling us how you are researching, not what you have observed.
Your research could have included looking at the documetation, and you might have found http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#sthref1642
which discusses exactly what you are looking for.
Message was edited by:
Hans Forbrich -
Standby Database with Recovery Manager
Logical standby database resides on another server. some archive log files are not synced with standby database
I want to recreate standby database with rman
Any step by step documentation ?Before you recreate all and everything, try the troubleshoot hints in the document mentioned in the previous post.
Werner -
Maintain standby database with DG
Good day,
I have primary and ph.standby databases.
I'd like to maintain standby database with DG(Data Guard), but DB_UNIQUE_NAME and SERVICE_NAME are the same for primary and ph.standby.
Is it possible to adjust DG broker?CompHead wrote:
Good day,
I have primary and ph.standby databases.
I'd like to maintain standby database with DG(Data Guard), but DB_UNIQUE_NAME and SERVICE_NAME are the same for primary and ph.standby.
Is it possible to adjust DG broker?http://download.oracle.com/docs/cd/B19306_01/server.102/b14230/install.htm#BABECEJC
>
To enable DGMGRL to restart instances during the course of broker operations, a service with a specific name must be statically registered with the local listener of each instance. The value for the GLOBAL_DBNAME attribute must be set to a concatenation of db_unique_name_DGMGRL.db_domain. For example, in 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.dbdomain)
(ORACLE_HOME=oracle_home))
>
Logically, it should not work. -
To find SCN number in standby database with Oracle 9i.
Hi all,
1.how to find SCN number in standby database with Oracle 9i.
note:
1.it is in mount stage.
2.oracle 9i.
regards,
Jayaprakash.Hello;
I have no Data Guard 9 to review. However I might try this :
select * from "_DBA_APPLY_PROGRESS";
OR
select time_mp,time_dp, scn_wrp, scn_bas, scn from smon_scn_time;Also found this: ( almost certainly NOT a physical Standby )
SELECT APPLIED_SCN, NEWEST_SCN FROM DBA_LOGSTDBY_PROGRESS;Best Regards
mseberg
Not worth another post but I think v$database on Oracle 9 has these columns only :
v$database on Oracle 9
DBID
NAME
CREATED
RESETLOGS_CHANGE#
RESETLOGS_TIME
PRIOR_RESETLOGS_CHANGE#
PRIOR_RESETLOGS_TIME
LOG_MODE
CHECKPOINT_CHANGE#
ARCHIVE_CHANGE#
CONTROLFILE_TYPE
CONTROLFILE_CREATED
CONTROLFILE_SEQUENCE#
CONTROLFILE_CHANGE#
CONTROLFILE_TIME
OPEN_RESETLOGS
VERSION_TIME
OPEN_MODE
PROTECTION_MODE
PROTECTION_LEVEL
REMOTE_ARCHIVE
ACTIVATION#
DATABASE_ROLE
ARCHIVELOG_CHANGE#
SWITCHOVER_STATUS
DATAGUARD_BROKER
GUARD_STATUS
SUPPLEMENTAL_LOG_DATA_MIN
SUPPLEMENTAL_LOG_DATA_PK
SUPPLEMENTAL_LOG_DATA_UI
FORCE_LOGGING ."_DBA_REGISTERED_ARCHIVED_LOG" has a "NEXT_SCN"
Edited by: mseberg on Dec 19, 2011 10:03 AM
Edited by: mseberg on Dec 19, 2011 10:29 AM
Much later
Also found this :
select dbms_flashback.get_system_change_number scn from dual;
Edited by: mseberg on Dec 19, 2011 11:06 AM -
How to integrate oracle 11GR2 Database with OEM 12C
Dear experts,
I have installed Oracle Enterprise Manager Cloud Control 12c Release 2 Plug-in Update 1 (12.1.0.2) on windows 2008 64-bit version.
how can I integrate my Oracle 11G R2 database with OEM.
Thanks.Refer the following documents for promoting (discovering/adding) target database to EM 12c.
Understanding Database Discovery in Enterprise Manager 12c Cloud Control (Note 1400463.1)
Cloud Control for Oracle Database Assistant: Setup of Cloud Control to Manage Database Targets (Search Helper) (Note 1569848.2)
Discovering, Promoting, and Adding Targets:
http://docs.oracle.com/cd/E24628_01/doc.121/e24473/discovery.htm#CBAEGHBH
HTH
Mani -
Monitoring the Hyperion Essbase Database through OEM.
Hi DBAs,
I have setup the Hyperion Planning application (on windows 2003 server 64bit) with Essbase DB and Oracle (10.2.0.3) RDBMS (on Linux 5.3 64bit). I want to monitor the Planning Applicatoin and Essbase DB through OEM Grid Control. I have already installed the agent on Windows and Linux Server. Only able to monitor the Oracle RDBMS.
Can someone guide me how I can monitor the Essbase DB? Also how can I setup the Hyperion Planning Application with OEM ?
Thanks
-Samar-See the below link
http://www.oracle.com/technology/products/bi/epm/pdf/sys9_oem_integration.pdf
It may help,
Regards,
http://www.oracleracexpert.com
Click here to [Send EMAIL using UTL_MAIL in Oracle 10g |http://www.oracleracexpert.com/2009/11/send-email-using-utlmail-in-oracle-10g.html]
Click here for [Backup and Restore SPFILE and PFILE|http://www.oracleracexpert.com/2009/11/oracle-spfile-and-pfile.html] -
Creating a Physical Standby Database using OEM GC
This Paper is about the creation of a physical Stanby Database using OEM GC.
You will see that there is really nothing to it and using the Data Guard Broker, performing a switchover is as easy as 1,2,3,.
BTW, this works in both OEM GC 10.2.0.5 and 11.1
http://oemgc.wordpress.com/2010/07/19/creating-a-physical-standby-database-using-oem-gc/Thanks Rob for sharing this.
Regards
Rajesh
Maybe you are looking for
-
Installing OSX on 24" iMac with broken Display
Hi, I have a 24" iMac but the Screen is broken. It still worked with a external Display connected via MiniDVI but now i would like to install OSX 10.6. The problem is that I can't get the Installation to show on the external Display and I can't see w
-
FPS in project settings inactive ?
I can't change frame rates in the project setting ? The FPS dialoge is inactive in all settings including custom ? need help thanks Matt
-
Reference Translation in BW-Bex Report
Hi, I am looking for reference translation functionality in BW as it happens in SAP R/3. I have transfered Exchange Rates from R/3 and also made setting in exchange rate type for Refernce currency. Can you please tell me the settings that I need in B
-
My 4th generation iPod is in maintenance status and it isn't possible to reset the iPod
Question stands below
-
BPC 7.0MS Performance problem
Hello All We are working on SAP BPC 7.0MS - SQL Server 2005 and are facing performance issues for reports. Some reports retrieving close to 60k records using EVGET formulaes do not open, while it works fine in OS 4.2 version and opens in 1-2 minutes.