How to use OEM grid control to find any database not in archivelog mode?

Hello,
currently we have 130 databases, say, if I want to pick out any database currently NOT in archivelog mode, is there a quick way to find out ?
by using OEM grid control
or
some trick similar,
but really don't need to check each database manually.
thank you very much!

This query works in 12c - please run as SYSMAN.
It is based on undocumented assumptions though +( AND key_value = 'NOARCHIVELOG')+.
  SELECT *
  FROM SYSMAN.MGMT$GROUP_DERIVED_MEMBERSHIPS O ,
    SYSMAN.MGMT$TARGET T ,
    sysman.MGMT$AVAILABILITY_CURRENT st
  WHERE
  o.member_target_type     IN ('oracle_database', 'rac_database')
  AND ( t.target_type           ='rac_database'
  OR (t.target_type             ='oracle_database'
  AND t.type_qualifier3        != 'RACINST'))
  AND o. member_target_guid     = t.target_guid
  AND t.target_guid             = st.target_guid
  AND st.availability_status    = 'Target Up'
  AND ( EXISTS
    (SELECT *
    FROM sysman.mgmt$metric_current i
    WHERE I.TARGET_GUID = O.MEMBER_TARGET_GUID
    AND metric_name     = 'archFull'
    AND Metric_Column   = 'archTotal'
    AND metric_label    = 'Archive Area'
    AND column_label    = 'Total Archive Area (KB)'
    AND key_value       = 'NOARCHIVELOG'
    ));Another way to achieve the goal is to push extended metrics (SELECT LOG_MODE FROM V$DATABASE) on each DB, and monitor the values they return to the repository. This is an example for a (slightly) different problem - http://iiotzov.wordpress.com/2012/08/08/how-to-use-the-new-oem-12c-metric-extensions-to-enforce-enterprise-wide-custom-policies .
OEM Repository has many other great uses as well - http://iiotzov.files.wordpress.com/2012/05/oem-repository-a-second-look.doc , http://iiotzov.files.wordpress.com/2011/08/iotzov_oem_repository.pdf
Iordan Iotzov
http://iiotzov.wordpress.com/

Similar Messages

  • How to install OEM Grid Control R2 on RHEL AS4 (AMD64/EM64T)

    Hi all,
    I was able to install the Oracle Application Server (Infrastructure and BI and Forms) successfully on the another machine with the same specs. The application I installed on the 64-bit machine is a 32-bit Oracle Application Server.
    Now, I tried to install the OEM Grid Control R2 (another 32-bit Oracle Software) on an identical 64-bit machine but had no luck. Ran linux32 bash before trying the install.
    I always get the error "error in invoking target 'dm_on ioracle' of makefile 'OH/db10g/rdbms/lib/ins_rdbms.mk".
    Please help me/guide me in this install if it is at all possible.
    Thanks and regards,
    Mike

    Did you read the installation docs?
    Did you look up trying to do this on metalink before proceeding?

  • HOW TO RELINK OEM GRID CONTROL 10.1.0.2 ON AIX 5L

    We are in process for patching our OS from 5.3-01+APARs to 5.3-02 and usually we relink all our oracle products after OS patching.
    I have notes for DB and AS but not for OEM GRID CONTROL.
    Any help are appreciated.
    Diego.

    I thnk you can run /u001/app/oracle/product/10.1.0.3_oms/bin/relink for relinking your binaries.
    Regards,
    http://askyogesh.com

  • Deploying oem grid control to e bussiness suites

    We have installation of EBS R12, the AMP pack for EBS system is installed on the and already running. Now we want to use oem grid control to manage the EBS suites.
    We have installed the eom 11G grid control and installed the application management pack patche (p8333939). How do we now deploy the enterprise manager grid control to EBS.
    The documentation says agent needs to installed on the database tier and application tier and then discovered by the oem
    Any idea on how to install the agent on the tier?

    The platform is solaris 10. I have deploying to the database tier and the following errors is received
    The question is there a special procedure to do this?
    INFO: AgentPrereq:About to execute plug-in runRemoteCmd
    INFO: AgentPrereq:The plug-in runRemoteCmd is running
    INFO: AgentPrereq:Internal PlugIn Class: oracle.sysman.prov.deployment.plugins.plugins.RemoteCommandPlugin
    INFO: AgentPrereq:Classpath =
    SEVERE: AgentPrereq:oracle.sysman.prov.remoteinterfaces.exception.ClusterException: Error while running cmd /d01/oracle/agent/ADATMP_2011-
    08-10_13-36-08-PM/ouiSetup -e -b /d01/oracle/agent -s /d01/oracle/agent/ADATMP_2011-08-10_13-36-08-PM/oui -p oui -u ADATMP_2011-08-10_13-3
    6-08-PM/unzip -P solaris, on nodes 172.24.xxx.xxx.
    SEVERE: AgentPrereq:Error ID : PROV-16011
    SEVERE: AgentPrereq:Exception Stacktrace = oracle.sysman.prov.remoteinterfaces.exception.ClusterException: Error while running cmd /d01/or
    acle/agent/ADATMP_2011-08-10_13-36-08-PM/ouiSetup -e -b /d01/oracle/agent -s /d01/oracle/agent/ADATMP_2011-08-10_13-36-08-PM/oui -p oui -u
    ADATMP_2011-08-10_13-36-08-PM/unzip -P solaris, on nodes 172.24.xxx.xxx
    at oracle.sysman.prov.remoteinterfaces.nativesystem.NativeSystem.runCmdOnNodes(NativeSystem.java:1244)
    at oracle.sysman.prov.remoteinterfaces.clusterops.ClusterBaseOps.runCmdOnNodes(ClusterBaseOps.java:279)

  • OEM Grid Control taking a long time to load tablespace information

    We use OEM Grid control to monitor many dev/tst/prd databases. OEM is taking a long time to load the tablespace page information on one of our RAC databases (only one all other dbs ok). I have tried going to 1 instance in the environment and it still takes a long time to load the information about all tablespaces in this database. OEM Path is
    Cluster: crs > Cluster Database: sid > Database Instance: sid_instance1 > Tablespaces
    This is a development environment and it is not a very busy database at this time. Anyone else encounter an issue like this with OEM?
    Thanks in advance for any information

    user12192488 wrote:
    Purge your recyclebin. I had the same problem on one of our databases and realised that the recyclebin was very large. OEM uses the space from the recyclebin as well in order to load tablespace and datafile information.
    SQL> purge dba_recycebin;
    Worked for me.
    Regards,Thanks,
    It worked perfectly !
    It used to take 4 minutes to view my tablespaces in OEM !!! Now I have sub second response time !
    Still find it strange that the size of the recyclebin would have such an effect when viewing tablespace info in OEM. By the way it also sped up the viewing of datafiles in OEM.
    Regards,
    Mark T.

  • What's the correct order to install OEM Grid Control + DB + AS?

    Hi everbody! I'm getting start on OracleAS and Grid Control.
    What's the correct order to install:
    * Enterprise Manager 10g Grid Control
    * Database 10gR2
    * Application Server 10gR3
    (on RHEL4-Upd2)
    or the order is not important?
    I need have the environment for each oracle software ($ORACLE_HOME, $ORACLE_BASE)? Or install first one, and change the environment and install, change again and install, etc.. ? :)
    Tks!

    Hey Rafael! You only have to use the Grid Control CDS, AS, repository database and grid control software are installed automatically, so you dont have to worry about the order u should have to follow.
    Anyways if u have already installed a database u can use that one as a repository.
    about the enviorment variables i guess u´ll be prompted for just one only directory cause u only need to install the software only one time.
    hope u find this interesting!!
    Regards, Luis

  • Issue with OEM grid control.

    I created a stream replication for scott schema on 10gR2 using maintain_tables.
    Everything is working fine and for initail two days there was no issue when i checked the diffrent processes using OEM grid control. After two days, OEM is not showing anything under the "propagation" process and instead showing "no data found". I checked the dba_propagation and there is a propagation process in that. Even the replication is working fine. So is that an issue/Bug in OEM? Any cure for this?
    Kapil

    I created a stream replication for scott schema on 10gR2 using maintain_tables.
    Everything is working fine and for initail two days there was no issue when i checked the diffrent processes using OEM grid control. After two days, OEM is not showing anything under the "propagation" process and instead showing "no data found". I checked the dba_propagation and there is a propagation process in that. Even the replication is working fine. So is that an issue/Bug in OEM? Any cure for this?
    Kapil

  • OEM Grid control 10.2.0.1 installation using existing database 10.2.0.3

    Hi,
    I am planning to install oem grid control 10.2.0.1 using existing database 10.2.0.3 for storing repository on HP_UX 64 bit PARISC.
    Can it be possible, If not whats the reason and what issues it may arise.
    If it possibel can anyone explain me the correct steps and is it compulsory to take full backup(we cant take ful backup bcoz space issues)

    Yes, you must download and install the 10.2.0.1 version and then patch it up to the 10.2.0.4 version.
    http://www.oracle.com/technology/obe/obe10gem/install/index.html
    The above link shows you the install routine when using a new database, the steps for the existing database are only slightly different, all you need are the connection details for that existing database and you should be ok.
    As for taking full backups of the Grid Control repository, I know many choose not to, space is always a big concern, but this depends on how critical your repository is to you. If you need it for the auditors, well then I'd suggest acquiring some more hard disks to up your space.

  • How To Install/Configure OEM Grid Control On Windows

    Hi,
    I've downloaded OEM Grid Control for windows (32-bit) from oracle site.
    This .zip files has 3 more .zip files eg
    File Size
    3822442.zip 510 MB (535,208,588 bytes)
    3731596.zip 275 KB (282,502 bytes)
    3731593.zip 510 MB (535,047,905 bytes)
    Can you pls tell me which one is actual OEM Grid Control software, and what are the other .zip files ?
    Pls email me at [email protected]
    Your help greatly appretiated.
    Regards,

    You will be needing all three zip files. It will contain all files needed for installation of a repository Database Instance, the Management Server and an Management Agent.
    cheers
    Rob

  • How to create logical standby database without using Oracle Grid Control

    Hi All,
    I want to create Logical standby database on 11gr2 on RHEL 5 without using oracle Grid Control.
    I already have a primary database as well as physical standby database.
    What i want to create a logical standby database as well on the same machine where physical standby database is running.
    So anyone of you help me out to do that
    Thanks in advance

    Hi,
    Creating a Logical Standby Database
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#SBYDB00300
    Regards,
    Tom

  • OEM GRID CONTROL REMOTE INSTALLATION

    Hello Good People,
    I am trying to install OEM GRID CONTROL. I have a two RAC node (AIX 5L). I don't have acces to the server so my only option is remote installation.
    I was able to ftp the file into a directory on the server but it will not unzip, (error: couldn't find 10g.zp or 10g.ZIP). I uploaded the file as binary.
    Okay, I will like to install from my laptop, (xp) using the DVD that I have. I went through the documentation steps below:
    1. Make sure that the remote access software is installed and running on the remote and local computers.
    2. On the local computer, share the DVD drive.
    3. On the remote computer, map a drive letter to the shared DVD drive. You would use the remote access software to do this on the remote computer.
    Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared DVD drive.
    I am confuse with step 2 downward. How can I map a drive in UNIX or why should I? I am connected to the sever by Telnet.
    Any direction or suggestion will be appreciated. Please note that all I want is to remotely install GRID CONTROL on my server from the DVD that I have.
    Thanks for your help.......

    Based on further researched I discovered that the problem is due to the fact that I don't have an X-Window client install on my local machine. I just install a free trial version (30days). OUI finally started and went through the various checks. Although, the check passed I couldn't continue. It is saying missing some files. I will post the erros messages from the log in a while.
    Thanks

  • Add WebLogic Domain to OEM Grid Control

    On a host, say x, i have installed OEM grid Agent Version: 11.1.0.1.0. The host is listed on OEM grid control. On this host i have a weblogic domain version 10.3.3. Now i am trying to add this weblogic domain to OEM 11g grid control which is on a different host.
    It gives the following error
    Error: Failed to connect to agent x:3872
    Failed to connect to agent x:3872. Reason: java.net.UnknownHostException: x.
    Only an agent 11.1 or later can be used for finding targets.
    How can i solve this?

    bummer.. any response? I'm getting the same error now, and the documentation isn't all that clear gasp

  • OEM grid control installation

    hi
    i am trying to install the OEM grid control on my machine configured with statis IP address
    After installation when configuration assistants start to configure. i face the following error continuously.
    java security configuration assistan fails with the following errors
    jaznca.log at "E:\oracle\product\10.1.0\em\cfgtoollogs" contains the following
    Oracle JAAS [Fri Mar 10 18:01:55 GMT+05:00 2006]: exception: null
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.security.jazn.util.JAZNInstallHelper.resync(Unknown Source)
    at oracle.security.jazn.util.JAZNInstallHelper.setCredentials(Unknown Source)
    at oracle.security.jazn.util.JAZNInstallHelper.main(Unknown Source)
    Caused by: oracle.ias.sysmgmt.exception.TaskException: TaskMaster initialization failed.
    Root Cause: Subscription request timed out after 120000 millseconds. Possible causes: OPMN may not be running, you may have an OPMN running in an alternate ORACLE_HOME using duplicate port values, or OPMN may be misconfigured.
    Resolution: check the system configuration and make sure that the client can access the repository database.
    at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
    at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
    at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
    at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
    at oracle.security.jazn.smi.DcmUtil.resyncInstance(Unknown Source)
    ... 7 more
    I started the OPMN manually and clicked on RETRY to configure this assistant. again failed and now
    jaznca.log contains the following
    Oracle JAAS [Fri Mar 10 18:06:50 GMT+05:00 2006]: exception: null
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.security.jazn.util.JAZNInstallHelper.resync(Unknown Source)
    at oracle.security.jazn.util.JAZNInstallHelper.setCredentials(Unknown Source)
    at oracle.security.jazn.util.JAZNInstallHelper.main(Unknown Source)
    Caused by: java.lang.Exception: At instance:EnterpriseManager0.lhrpc419.lhr.systemsltd.com Error:See base exception for details.
    Base Exception:
    oracle.ias.sysmgmt.exception.TaskException:OPMN process startup has timed out.
    Resolution: Try starting the OPMN process using the command line utility "$ORACLE_HOME/OPMN/bin/OPMNctl start". If the OPMN process does not start check the log files in $ORACLE_HOME/OPMN/logs for more information.See base exception for details.
    at oracle.security.jazn.smi.DcmUtil.resyncInstance(Unknown Source)
    ... 7 more
    ons.log at "E:\oracle\product\10.1.0\em\opmn\logs" contains following
    06/03/10 18:05:32 [4] ONS server initiated
    06/03/10 18:05:47 [4] Logging disabled
    06/03/10 18:05:49 [4] ONS server initiated
    06/03/10 18:05:49 [2] BIND (No error)
    06/03/10 18:05:49 [2] 0.0.24.56:6200 - listener BIND failed
    06/03/10 18:05:49 [4] Listener thread 860: 192.168.0.70:6200 (0x401) terminating
    06/03/10 18:05:49 [2] BIND (No error)
    06/03/10 18:05:49 [1] Local listener terminated
    can you guide that how to catter with this?
    regards

    Are you doing the Grid Control installation into a new Oracle Home? I would try a fresh installation...Typically, the installation itself is fairly straightforward..

  • OEM Grid Control and PSOVM

    Hi,
    Oracle provides templates for OEM Grid Control (x86 32bits), it would be really great to have it more integrated within PSOVM.
    How could it be integrated within PSOVM ?
    1. On the PSOVM database server, have a database agent installed
    2. On the PSOVM App/Batch/PIA server, have a Peoplesoft agent installed
    Whether the first is over used almost everywhere, the latter is not used by many customers, and really that's a pity and would be great to have it in first place in demo purpose.
    Is that doable to have it installed by default ?
    If done, we'll just have to install the Peoplesoft plugin in OEM Grid Control...
    Nicolas.

    Assuing this a regular backup . by any chance had the box credential changed?

  • Install of OEM Grid Control on  10g RAC

    Hi,
    I try to install OEM Grid Control 10.1.0.3 on a 10G 10.1.0.2 database with ASM and RAC installed, on windows.
    At the step of choosing the product to install, i would like to choose 'OEM GC using an existing database' or 'Additional management service 10.1.0.3', but it fails.
    The reason is 'you cannot install OEM on a hardware cluster'.
    I have no idea how to resolve that, do i have to change my RAC installation ?
    thank you for your answer,
    Isabelle

    To install on RAC, you install using an existing database and then specify the sid/hostname for ONE instance in the RAC.
    Once the management repository has been sucessfully installed and the mid-tier is up, you can edit emoms.properties to modify the JDBC url the application uses to connect to the database to be RAC aware.
    The are a number of pre-installation requisites for an existing database to be used as a destination for a repository installation, there are both documents on metalink on the subject and the basic installation guide references pre-requisites for existing databases.

Maybe you are looking for

  • Images Problem in Firefox -- very weird -- please help!

    Hi all, I need your help here with ideas... I have built a site that is 100% Flex, full size.  It uses images in two different ways: Image controls and HTML text.  Both are populated dynamiccally from XML resources. In IE, these all work perfectly. 

  • Report to inform potential material shortages for shipment

    Hi Everyone: I need some suggestions from you with regards to a report which i am going to develop. The report consist of the following fields: 1. Material # 2. Material Description 3. PO # 4. PO Quantity open 5. Related vendor with which the PO is a

  • Cannot set default web template

    Hi I'm trying to set default web template through SPRO -> IMG -> Sap NetWeaver -> B.I -> Settings for reporting and analysis -> Bex Web -> Set standard web template -> Ad hoc analysis. It works fine in Dev, but in Production the system seems to ignor

  • SwingWorker void,void ????

    I have the following class declaration: public class blah extends SwingWorker<void,void>and I get the following error: Syntax error on token "void", Dimensions expected after this token. What is the problem?

  • Query to find three times greater than the other records

    hi All, I am new to this forum, please help me out on this issue. There is a table named as regions which has following columns like name, region, population, area with the following sample records Region Name Population AAA AAAA 1000 AAA BBBB 2000 A