Cold Backup / Recovery for OEM Grid

Hi friends,
OEM 10.2.0.5
RHEL 4.6
How do you Clone or Backup OEM Grid (Management server(OMS) , agent, and repository database)?
in case of disaster?
They are all under our server dir /home/oracle. If I have a backup of my /home/oracle on external tape or disk,
and ithappened that my OEM server crashed and it can not be fixed anymore. Then we buy another server
with the same specs and OS. Then copy/download the backup. How can I start it up? Just like the original setup?
Thanks a lot.
Ms K

ytterp2009 wrote:
thanks :)
So, I dont need the local OEM anymore ;)
Yes ..
By the way, does the agent keep backup of its gathered data? Or does it delete them automatically after it is sent
to the OMS server? I am afraid that my agent disk space will get full.
Does agent use oracle tables to keep data? or just text filesAgent gathers data and stores it in form of xml in $AGENT_HOME/sysman/upload and sends these xml to OMS and deletes them automatically.In OMS they are stored at $OMS_HOME/sysman/recv . Then these xmls are processed by loader and get loaded into repository DB and deleted automatically from directory.
By default your agent can store data upto 50 MB and once it is full then your agent will stop working. Check out parameters in $AGENT_HOME/sysman/config/emd.properties file.
please check :
http://racdba.wordpress.com/2009/12/05/oem-agent-common-errors/
How do I know what time/schedule or how frequent does the agent updates our OMS server?
How often does the agent gathers data from the managed database?It depends on the frequency of metric applied for the target.
Please read :
Enterprise Manager Grid Control Agent 10g, Process Control (Start, Stop & Status) Troubleshooting Guide [ID 548928.1]
Understanding the Enterprise Manager 10g Grid Control Management Agent, Directory Structure and Key Configuration Files. [ID 234872.1]
Regards
Rajesh

Similar Messages

  • Do we have any certification for OEM -grid control ?

    Do we have any certification for OEM -grid control ?

    There is currently no OEM grid control certification and currently no plans to build one. You can stay up-to-date on new and upcoming Oracle releases on our website at http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=224.
    Regards,
    Brandye Barrington
    Certification Forum Moderator
    Certification Program Manager

  • RAC environment setup for OEM Grid Control

    Hi All,
    One of my customer is setting up RAC environment for OEM Grid Control, he has following questions.
    1) Can I use the DirectNFS client on each RAC node to mount SAN storage created with an OCFS2 filesystem?
    2) Can I use the DirectNSF client to mount the shared filesystem loader directory?
    3) Should I be using DirectNFS for the shared filesystem loader at all? Or should I just use a normal Linux NFS mount?
    4) Is OCFS2 preferred over NFS for the shared filesystem loader?
    Any information is highly appriciated.
    Thank you,
    Bhavin

    Please check the below doc
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_EnterpriseManagerBestPractices.pdf

  • Backup & Recovery through OEM

    HI,
    I have Oracle 10g Application Server installed on Windows server 2003, with infra and portal on two different nodes...i need to setup a backup strategy using OEM for the infra database..i already put my database in Archivelog mode and scheduled a RMAN backup through OEM at Flash Recovery Area..
    Please suggest , what all precautions i need to take to preserve this backup and what steps i need to follow in case i need to recover my database ( Manually or using OEM ).
    I appreciate ur answer in detail..
    regards,
    Sajad.

    I need suggestions ..please..
    thanks.

  • Making data in tables online and offline - Backup/Recovery for tables.

    Hi All,
    I'm working on a project where the functionality is similar to 'Backup and Recovery' for database tables.
    Lets say we have a set of 6 tables T1, T2.... T6. They do have relationship between them. The tables in questions are simple standard tables, which are not table partitioned.
    - I want remove the records from live tables based on user entered date ranges and store it in some offline medium.
    - I might want make the data online again from the offline medium; Application should be able use that data without any modifications.
    - Different offline mediums can be
    a) Flat file
    b) Different table space
    c) Any other secondary medium (like XML, tape..Etc,)
    The total number of records will run in millions.
    The proposed solution should consider,
    1. Performance - Java solutions not feasible. Anything in SQL, PL/SQL or runs in DB itself(tools) are OK.
    2. Reliability - Should be highly reliable, Data corruption simply unacceptable.
    3. Security - Users should not be able to make out of the file.
    Few options include:
    1. Use partition
    2. Use SQL*Loader
    3. Export and import of tables.
    My main targets:
    1. Reduce space.
    2. Increase performance for queries.
    Please pass on your suggestions, any help is highly appreciated!
    Thanks In Advance!

    If you truely need to get the data out of the Oracle database into flat files, partitioning is pretty useless. Partitioning the table, though, strikes me as by far the most efficient, reliable, and secure solution.
    What sort of security do you need with the flat file? Do you need the data in the file to be encrypted, or is the binary file format of an Oracle export file sufficiently obfuscated?
    I'd stay away from UTL_FILE here, just because performance is rather poor.
    I always get pretty nervous about recoverability when people start moving data out of the database to flat files for long-term archival.
    - If you ever change the data model, even slightly, you may not be able to move the data back into the database without modifying your loader. A few years down the line, after a few data model changes, it can be almost impossible to find the documentation to make that change.
    - If you do things like change lookup tables over time, reloading data can cause major problems. When you load the data back in, your applications and reports may not treat the old codes properly.
    - Making sure that the flat files get stored and tagged properly can be a challenge. When the database gets moved to new system, you have to make sure that all the flat files also get moved around and the the loader scripts are modified appropriately.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Which? - License for OEM Grid Control or just the additional Packs and Add-Ins?

    I took a look at the price list and I wanted to clarify the "Named User Plus". The Diagnostic and Tuning Packs are each shown as $100 for the named user. As a DBA, if I have a named user license for these two management packs, does this mean that I can manage as many databases as needed with these two management packs?

    Wow, 25 separate dbcontrols sound like a nightmare.
    By the way, our Oracle rep just happened to come here yesterday, and he validated what was said here.
    You can install the Grid Control free; you simply un-check the Packs/Add-Ins during the install.
    As I understand it, you would install the Grid Control Agent first on each server, then when you install Oracle RDBMS, the Universal Installer will detect the Agent and enable the Grid Control instead of the Database Control.
    Then you install the OEM Grid Control repository and software on a separate server, and that is where you manage all of the Oracle RDBMS servers from.
    He also said to use the highest version Grid Control Agents on the database servers and repository server and keep the versions of that software in sync, which is separate from the Oracle RDBMS version.

  • Cold backup recovery - ORA-01092

    Hi,
    10.2.0.3.0 on AIX
    I tried to restore a cold backup, created controlfiles.
    When I try to open database, I get error
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Please suggest me
    Thanks
    KSG

    Hi,
    So what you are doing exactly?
    I restored a coldbackup from client side.
    I recreated the controlfile.
    .....21 CHARACTER SET AL32UTF8
    22 ;
    Control file created.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Alertlog file
    "alert_THRDY02.log" 130 lines, 5608 characters
    Thread 1 opened at log sequence 1
    Current log# 4 seq# 1 mem# 0: /oracle/oradata10g/THRDY02/redo03b.log
    Successful open of redo thread 1
    Wed Jun 9 11:08:24 2010
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Wed Jun 9 11:08:24 2010
    SMON: enabling cache recovery
    Wed Jun 9 11:08:25 2010
    Errors in file /glosoft/oracle/oracle10g/product/10.2.0/db_1/admin/THRDY02/udump
    /thrdy02_ora_1958330.trc:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Wed Jun 9 11:08:25 2010
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Instance terminated by USER, pid = 1958330
    ORA-1092 signalled during: alter database open resetlogs...
    Trc file
    kccsga_update_ckpt: num_1 = 8, num_2 = 0, num_3 = 0, lbn_2 = 0, lbn_3 = 0
    Control file created with size 344 blocks
    *** 2010-06-09 11:08:21.419
    Prior to RESETLOGS processing...
    ALTER SYSTEM ARCHIVE LOG ALL USING BACKUP CONTROLFILE start
    Database is not in archivelog mode
    ALTER SYSTEM ARCHIVE LOG ALL USING BACKUP CONTROLFILE complete
    *** 2010-06-09 11:08:21.422
    Thread 1: Sequence reset to 1.
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Thanks
    KSG
    Edited by: KSG on Jun 9, 2010 11:18 AM
    Edited by: KSG on Jun 9, 2010 3:37 PM

  • License for OEM Grid Control or just the additional Packs and Add-Ins?

    I have searched the forums and found the link below in a discussion about the Enterprise Manager Grid Control, but nobody answered this question specifically:
    Can you freely install and use the Grid Control (with no additional Packs or Add-Ins)? Or does the Grid Control itself require a license?
    P.S. The price list linked here only displays prices for Grid Control Packs and Add-Ins:
    www.oracle.com/corporate/pricing/eplext.pdf

    Wow, 25 separate dbcontrols sound like a nightmare.
    By the way, our Oracle rep just happened to come here yesterday, and he validated what was said here.
    You can install the Grid Control free; you simply un-check the Packs/Add-Ins during the install.
    As I understand it, you would install the Grid Control Agent first on each server, then when you install Oracle RDBMS, the Universal Installer will detect the Agent and enable the Grid Control instead of the Database Control.
    Then you install the OEM Grid Control repository and software on a separate server, and that is where you manage all of the Oracle RDBMS servers from.
    He also said to use the highest version Grid Control Agents on the database servers and repository server and keep the versions of that software in sync, which is separate from the Oracle RDBMS version.

  • RAC RMAN BACKUP Recovery FOR  Oracle APPS Application

    Hi,
    We have an Application which is similar to Oracle APPs application and We have a RAC Database at Backend.
    As I am a Oracle RAC DBA and never worked as an Oracle apps DBA.
    Each Week or month We have to deploy a patch on Our Database which are kind of sql changes to Database and before we applying we need to backup our Database.
    I am very comfortable while applying patches on Single instance Database:-
    I Usually shutdown my database and backing up My Database(Conistent\cold Backup) before applying patch.
    and I have a Flash back on both option I am having for my Database.
    Problem:-
    But in Production I have RAC Database, on which I already configured Hot Backup.
    FlashBackup Feature is there with me, but Not reliable.
    I want cold backup along with my existing hot backup, and want to restore same if something goes wrong.
    Since ASM is configured so we have only option RMAN backup.
    IF possible kindly Share your knowledge and Experience of your to handle Such Problem.

    Sir,
    RMAN is already configured for backing up database online.
    My only intention is to have cold or consistent backup before applying application patch, So that at the time of crisis I will resotre my Cold/Conistent backup.
    Because I am using 11gr2 RAC with ASM, so only option is there for me to use rman as backup tool.
    But I never tried to Have Cold backup in RAC environment in my previous jobs, and I am new to this Oracle APPS DBA technology. So Here I am looking for a Strategy that Normally oracle apps dba use while applying patch to Oracle Database and kind of backup strategy they use.
    Regards
    Gaurav

  • Which version of DB for OEM Grid 12c is stable?

    Hello friends.
    My intention is to set up a new OEM Grid 12C OMS installation.
    This will be for a relatively small number of databases, approx. 40 or 50, mixture of production and test/dev.
    I intend on having the OEM repository database on the same server (or VM) as the OMS software.
    I've done it this way in the past and it works fine without any resource contention (regardless what Oracle recommends).
    The question I have is if I set up the OMS 12c, what is the latest and most stable (recommended) version of database to use for the OEM repository database.
    My initial thoughts were to use 11.2.0.4 EE, because I'm not crazy about using the first version of an Oracle database release (i.e., 12.1).
    In the past, for every version I can remember going back to v.6, the second release resolved all the major issues with the first release, and also included new features that didn't make it into the first release.
    My installation will be on a VM running Redhat Linux 6.4.
    Thank you in advance...
    I've found the OEM forum and moved this message to the OEM forum.

    If your OMS is installed on a host that is protected by a firewall and the Management Agents that provide management data are on the other side of the firewall, you must perform the following tasks:
    Configure the OMS to use a proxy server for its communications to the Management Agents.
    Configure the firewall to allow incoming HTTP traffic from the Management Agents on the Management Repository upload port.
    Check this documentation link below, it will help you. " Configuring EM for firewalls"
    http://docs.oracle.com/cd/E24628_01/install.121/e24089/firewalls.htm#BEIEJCGC

  • Pre-Requisites for OEM/Grid Control?

    Just to be absolutely clear - The latest version of OEM/Grid Control requires what version of Oracle DB?
    We are begin conservative and rolling out 11g r1 in production and want to know if that is sufficient to host the lastet version of OEM/Grid Control.
    If not, will it support an earlier version of OEM/Grid Control? What version?
    Is there a support matrix that clearly identifies the version dependencies?

    user4431165 wrote:
    Just to be absolutely clear Just to be absolutely clear, the documentation is at http://download.oracle.com/docs/cd/E11857_01/install.111/e15838/install_em_exist_db.htm#CIAIEAAC
    And Support Note "Oracle Enterprise Manager Grid Control Certification Checker (Doc ID 412431.1)" is referenced. It states that you can use as old as Oracle Database 10g Release 2 10.2.0.4. Older than that, and you leave supported territory anyway.

  • Enabling security for  OEM Grid Control 11g fails

    Hi Experts,
    One of my Customer is referring the below command to secure OMS and it fails.
    emctl secure oms [-sysman_pwd <sysman password>] [-reg_pwd <registration password>] [-host <hostname>] [-slb_port <slb port>] [-slb_console_port <slb console port>] [-reset] [-console] [-lock] [-lock_console] [-secure_port <secure_port>] [-upload_http_port <upload_http_port>] [-root_dc <root_dc>] [-root_country <root_country>] [-root_email <root_email>] [-root_state <root_state>] [-root_loc <root_loc>] [-root_org <root_org>] [-root_unit <root_unit>] [-wallet <wallet_loc> -trust_certs_loc <certs_loc>] [-wallet_pwd <pwd>] [-key_strength <strength>] [-cert_validity <validity>] [-protocol <protocol>]
    The error message as below.
    Securing OMS... Started.
    <May 31, 2011 4:40:31 PM CEST> <Warning> <Security> <BEA-090504> <Certificate chain received from <hostname of the actual node running OEM> - <IP of the hostname of the actual node running OEM> failed hostname verification check. Certificate contained <SLB hostname> but check expected <hostname of the actual node running OEM>
    Securing OMS... Failed
    The brief background of the wallet creation is as below.
    The actual certificate and CSR is created using openssl with a config file openssl-oemgc.cnf. This is according to customer organization's policy and how the production signed certificates have to be requested. The CN is indeed <SLB hostname>. The used syntax was:
    openssl req -new -keyout <SLB hostname>.key -out <SLB hostname>.csr -config openssl-oemgc.cnf
    The config file content can be referred in the service request.
    Following the guide on
    http://download.oracle.com/docs/cd/E21764_01/web.1111/e13749/utils.htm#ADMRF151
    the certificates were imported into a java keystore 'identity.jks'. And the certificate chain was imported in a java keystore 'trust.jks'.
    With these customer has followed note 1278609.1 to configure these keystores in WLS. The certificates show up fine without errors in the browser when opening the WLS console.
    Then according to notes 1116717.1 customer has created an Oracle wallet. Then he copied that wallet to an old 10g oracle application server and opened the wallet with 'owm' and saved it. Then he has copied the wallet to the new Oem Grid Control and opened it with'owm' (this now succeeds) and saved it with SSO. This is the wallet that customer is using while trying to secure the OMS.
    Service Request: 3-3731274961
    Any input is highly appreciated.
    Thanks
    Prakash
    Edited by: user13542511 on Jul 6, 2011 8:09 AM

    Hello Experts,
    Could you please help me on this issue.
    Thanks
    Prakash

  • How to setup escalation notification for OEM Grid alerts?

    Version: OEM Grid 11g
    Please let me know the pointers, details of how to set up escalation notification if OEM Alert notification are not acknowledged in a day.

    Hi,
    possibly one of approaches would be to create user-defined metric that checks alerts and their acknowledgement
    periodically (let's say every 2,4 hours). You might use the following SQL:
    with sql_targets as (
      select * from (
        select target_type, target_name, metric_name, column_label, key_value, current_value, collection_timestamp,
        row_number() over(partition by target_name, metric_name, column_label order by collection_timestamp) rn,
        count(1) over(partition by target_name, metric_name, column_label) cnt,
        round((sysdate - collection_timestamp), 0) days
        from mgmt$alert_current c
        where 1=1
        and alert_state in('Critical')
      ) where rn = cnt
    sql_notes as (
      select n.target_type, n.target_name, n.metric_name, n.column_label, n.key_value, annotation_message msg, annotation_type typ,
      decode(annotation_type, 'ACKNOWLEDGED', 1, 0) acked,
      row_number() over(partition by n.target_type, n.target_name, n.metric_name, n.column_label order by annotation_timestamp) rn,
      count(1) over(partition by n.target_type, n.target_name, n.metric_name, n.column_label) cnt, t.collection_timestamp, annotation_timestamp
      from mgmt$alert_annotations n, sql_targets t
      where 1=1
      and t.target_type = n.target_type
      and t.target_name = n.target_name
      and t.metric_name = n.metric_name
      and t.column_label = n.column_label
      and t.key_value = n.key_value
      and n.annotation_timestamp >= t.collection_timestamp
    select target_type, target_name, metric_name, column_label, key_value, count(*), max(acked), min(acked), min(annotation_timestamp),
    max(annotation_timestamp) from sql_notes
    group by target_type, target_name, metric_name, column_label, key_value
    having max(acked) = 0;
    HTH,
    Andrey

  • Cold Backup Script for windows

    Hi,
    I have the following script for windows
    set pages 0 lines 500;
    set heading off echo off feedback off verify off pagesize 0;
    select 'copy ' || name || ' c:\BACKUP\COLD_BACKUP\ORADATA\' from v$datafile
    union all
    select 'copy ' || name || ' c:\BACKUP\COLD_BACKUP' from v$controlfile
    union all
    select 'copy ' || member ||' c:\BACKUP\COLD_BACKUP' from v$logfile
    union all
    select 'copy ' || name || ' c:\BACKUP\COLD_BACKUP' from v$tempfile;
    exit;
    In the above script I have given COLD_BACKUP directory for Backup....But what i want is Dynamically it should create the Directory with timestamp in COLD_BACKUP Directory and copy the files to that directory..
    for example
    script should create like this
    c:\BACKUP\COLD_BACKUP\ORCL_11112007
    Like that..it should create the ORCL_11112007 directory and copy the files....
    how can i acheive this...I know we can do it in UNIX..
    But in windows..how we can acheive this...please help me

    You can try to adapt the following SQL*Plus script to create a directory:
    set echo on
    alter session set nls_date_format = 'DDMMYYYY';
    var dd varchar2(10);
    begin
    :dd := trunc(sysdate);
    end;
    set echo off
    spool mkd.sql
    set heading off
    select 'host mkdir ' || :dd from dual;
    spool off
    set echo on
    @mkd.sqlOutput is:
    dev001> alter session set nls_date_format = 'DDMMYYYY';
    Session altered.
    dev001> var dd varchar2(10);
    dev001>
    dev001> begin
      2  :dd := trunc(sysdate);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    dev001>
    dev001> set echo off
    host mkdir 08112007
    dev001> @mkd.sql
    dev001>
    dev001> host mkdir 08112007
    dev001>
    dev001>
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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?

Maybe you are looking for

  • HP Officejet Ppro 8630 e-all-in-one 2nd Tray doesn't function properly.

    I originally purchased this printer (today in fact) because it seemed better to have one machine instead of three in the office and I also required the 2nd tray. After getting it back to the office, setting it up, going through everything, I found ou

  • Abap run time error at the time of GR

    I am facing a ABAP run time error at the time of  GR of STO through MIGO_GR, then abap run time error is generated, details are given as per the Tcode:- ST22; Runtime Error          MESSAGE_TYPE_X ShrtText    The current application triggered a termi

  • Posting date for CM rebates via Extended rebate processing

    Hi, we have the following scenarios for an extended rebate processing: 1> rebate agreemetn validity period  = upto Sept 30 only 2> Settlement Date = Oct 5 3> CM posting date of the rebate is Sept 30 How is it possible to make the CM posting date to t

  • Getting Labels and Paths of disks under a mountpoint using WMI

    Hello Guys, I need to extract  the drive names and their paths (including drives under a mountpoint) in a windows cluster resource grup (disk dependency) , Now my issue is I am getting the drive dependencies as clusterdisk1, clusterdisk2  using Micro

  • Why Don't I have the firefox pull down menu?

    when I installed the newest version of firfox where it has file edit view history bookmarks tools and help in one pull down menu it doesn't show up it just shows all of them instead of the pull down menu How do I get that?