OMS Maintenance

I'm on 9i R2 Patch 7 on a Microsoft Windows Server 2003 Server.
What are best practices on maintaining a healthy Oracle Management Server & Oracle Management Server Database?
I ran into a situation where every time I was creating a JOB it would just create but would not schedule and when I tried DELETING a Job the status would just say DELETING but it would never actually delete.
Thankfully I did not have many jobs and I dropped the OMS Repository and recreated one from scratch and it's all ok at the moment.
I want to refrain from this happening again.

Just maintain your job and event histories in the java console, delete old ones each day and resolve alerts etc each day.
Provided you do that (and maintain the database as any other database) it will be fine. It certaintly doesn't require the babysitting Grid does.
Oh and once a week/month shut the oms down and rename the oms logfile to stop it becoming unmanageable.

Similar Messages

  • How to disable alerts when OMS is down for maintenance?

    Hi,
    When we bring down OEM 12c application for maintenance for a period of time, lots of alert e-mails got sent out due to the fact the OMS is down. These alert e-mails contains the following info in the e-mail subject line:
    EM Event: <Severity>:<target-name> - Agent is unable to communicate with the OMS. (REASON = Agent is Unreachable (REASON : Agent to OMS Communication is brokenFailure connecting to https://oem12-stg:4900/empbs/upload
    These alert e-mails are not necessary and annoying. Does anyone know if there is a way to disable these alert e-mails temporarily during the OMS maintenance window?
    Thank you for the help.
    Elaine

    See Cloud Control Administrator’s Guide: 1.3.6 Blackouts
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473.pdf

  • ORA-01017 error, when running Complete configuration of Maintenance Wizard

    Hi Gurus,
    Maintenance wizard version: 2.19 (latest)
    DB: 10.2.0.1
    Linux:
    Upgrade assistance for R12
    Im trying to complete the first step:
    1-Complete configuration of Maintenance Wizard (Required)
    It gives me errors:
    Checking that Remote EOF_HOME is only a directory name, not a path...
    ERROR:
    ORA-01017: invalid username/password; logon denied
    SP2-0640: Not connected
    SP2-0670: Internal number conversion failed
    Usage: { EXIT | QUIT } [ SUCCESS | FAILURE | WARNING | n |
    &lt;variable&gt; | :&lt;bindvariable&gt; ] [ COMMIT | ROLLBACK ]
    ** ERROR!!! **
    ** Project node configuration has FAILED with the problem(s) below:!!! **
    ** Invalid value for REMOTE_EOF_HOME.
    ** Solution: Remove all slashes in the value for REMOTE_EOF_HOME.
    ** The value must be a simple directory name, not a path.
    ** Please have the Project Administrator return to the Modify Project
    ** screen, change the value for REMOTE_EOF_HOME and re-run Step
    ** 1 of the Configuration category.
    ** DO NOT PROCEED WITH ANY OTHER STEPS UNTIL YOU RESOLVE THE PROBLEMS SHOWN **
    ** ABOVE. ALL OTHER STEP EXECUTION DEPENDS ON A SUCCESSFUL PROJECT NODE **
    ** CONFIGURATION. **
    ** ONCE YOU HAVE RESOLVED THE PROBLEMS SHOWN ABOVE, YOU MUST RE-RUN THIS **
    ** STEP AGAIN. **
    I've checked all the forums before posting. Please advise
    Thanks & Regards,
    Rv
    Edited by: Kiran Jakka on May 11, 2012 8:05 AM

    Yes this is what I do, but still receive "Insufficient privileges to write to that location". So I am forced to use normal file system to be able to continue.
    After that I run into the current problem saying OMS configuration failed (see details....) and I try:
    ./opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=uxlpgrid01:6200
    3 of 5 processes started.
    ias-instance id=EnterpriseManager0.uxlpgrid01
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/home/default_island
    Error
    --> Process (pid=0)
    no port available from the port range
    failed to start a managed process after the maximum retry limit
    no port available from the port range
    no port available from the port range
    Log:
    none
    ias-component/process-type/process-set:
    OC4J/OC4J_EMPROV/default_island
    Error
    --> Process (pid=0)
    no port available from the port range
    failed to start a managed process after the maximum retry limit
    no port available from the port range
    no port available from the port range
    Log:
    none
    Then:
    ./opmnctl status
    Processes in Instance: EnterpriseManager0.uxlpgrid01
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    DSA | DSA | N/A | Down
    HTTP_Server | HTTP_Server | 23861 | Alive
    LogLoader | logloaderd | N/A | Down
    dcm-daemon | dcm-daemon | 27021 | Alive
    OC4J | home | N/A | Down
    OC4J | OC4J_EM | 10403 | Alive
    OC4J | OC4J_EMPROV | N/A | Down
    WebCache | WebCache | 23872 | Alive
    WebCache | WebCacheAdmin | 23863 | Alive
    Overwhelming :-(
    Thanks for helping
    Askia.

  • Automate OEM partition Maintenance

    Hi All,
    I was wondering if anyone out there had already automated their routine partition maintenance on the OEM repository and if there was any recommended standard, automated procedure for this from Oracle or the OEM community at large.
    I've put something sloppy together that works, but would like to see what you all have out there for UNIX platforms.
    Below is what I'm doing currently. I know this is not the best scripting, but I put it together quickly and as of yet have not gotten around to attempting to handle errors or recompile down the entire submit_em_dbms_jobs pkg chain which gets invalidated after the part_maint call.
    Let me know if anyone out there knows of a recommended automated procedure for this, or if anyone wants to work on creating a nice one that could be shared as a standard.
    Thanks,
    Tony
    Oracle Cron Entry
    # Perform OEM Partition Maintenance, 11PM Fridays
    00 23 * * 5 /groups/tapestry/devsupport/se/DBA_Utilities/dba/oem_maint.ksh 2>/dev/null
    oem_maint.ksh----------------------------------------------------------------------------------------------------
    #!/bin/ksh
    # OEM Maintenance - stops OEM, runs partition maint, starts OEM
    PATH=.:/usr/sbin:/usr/bin:/sbin
    ORA_HOME=/opt/oracle/product/EM102020
    export ORA_HOME
    export PATH
    # OEM Must be stopped to run partition maintenance
    $ORA_HOME/oms10g/bin/emctl stop oms
    $ORA_HOME/oms10g/bin/emctl stop em
    $ORA_HOME/oms10g/opmn/bin/opmnctl stopall
    ORAENV_ASK=NO
    export ORAENV_ASK
    ORACLE_SID=emrep
    . oraenv
    unset TWO_TASK
    /usr/bin/read SYSMANPWD < /homes/oracle/.sysman_pwd
    #Connect as sysman and run partition maintenance, then submit jobs
    echo "connect sysman/$SYSMANPWD;
    spool /tmp/oemmaint.log;
    PROMPT Running emd_maintenance.partition_maintenance;
    exec emd_maintenance.partition_maintenance;
    PROMPT First Run will Fail due to part maint
    exec emd_maintenance.submit_em_dbms_jobs;
    PROMPT Second Run should succeed
    exec emd_maintenance.submit_em_dbms_jobs;
    spool off
    " | sqlplus -s /nolog
    #Email spooled sqlplus session for SAs to check results
    cat /tmp/oemmaint.log | mailx -s "OEM Partition Maintenance Results" [email protected]
    #Remove the spool file
    /usr/bin/rm /tmp/oemmaint.log
    #Restart OEM
    $ORA_HOME/oms10g/opmn/bin/opmnctl startall
    -------------------------------------------------------------------------------------------------------------------------

    Thanks for the tips Ugonic,
    That's a good point about the log removal, as it overwrites and is very small it's better to just leave the log.
    As for the password read from file, it's sloppy but we are a dev shop and have other scripts designed the same way so I'm going to keep the auto-login for now so I can run this via cron in the middle of the night (it takes 30-60 mins to complete). That way we have OEM up when everyone is in the office.
    Bazzza -
    Our Repository grows like crazy, if I don't run this we get up to 20GB in a matter of months. And the really pathetic part about it is that if I run it too late, everything is loaded at the end of the datafile and I can't shrink it down without playing all sorts of games (like the last time when you all helped me with he sysman schema exp/imp). Really hope this is fixed in the next releases ;)
    Thanks for the feedback guys,
    Tony

  • Hiding a Maintenance View in a View Cluster

    Hello ABAP Experts,
    We have a scenario where we would like to hide a maintenance view to an existing view cluster based on condition.
    Is it possible via events of a view cluster, where i can hide the view at runtime based on some condition before the view cluster is displayed ?
    Is there any way as well, which help achieve this hiding of views ?
    For example in the below View Cluster, i would like to hide "Define object links" view from the main view cluster "Define document Types".
    Thanks,
    Naresh

    Hi Naresh,
    Yes, you can do it in events of a view cluster, define a subroutine and bounding it to event(02) in SE54,
    when you define the subroutine, it will ask you creat a mian program, in this main program, you need  'INCLUDE lsvcmcod'.
    Then you can access some standard data, http://help.sap.com/saphelp_nw04/helpdata/en/62/c302c7de8e11d1a5960000e82deaaa/frameset.htm
    INCLUDE lsvcmcod.
    FORM yourSubroutineName.
    DATA: viewname TYPE vclstruc-object,
            error_flag TYPE vcl_flag_type,
      viewname = 'ZTEST_VIEW1'.
    *  PERFORM vcl_set_table_access_for_obj USING    viewname
    *                                       CHANGING error_flag.
      ----> according your condition to change the view.
    IF xxx = yyy.
      DELETE vcl_struc_tab WHERE object = viewname.
    ENDIF.
    ENDFORM.
    regards,
    Archer

  • Possibility to edit datasets, when there is already a maintenance view?

    Hello again,
    is it right that I can modify datasets even when there exists a generated maintenance view for the table?
    It was usual for me, that in the transaction SE16 don't allow that.
    Thank you for your answers!
    Melanie

    Depends on the setting for "delivery and maintenance" in SE11, should be set to "allowed with restrictions" for the underlying tables of the view. Also check the very good F1 help for this field.
    Thomas

  • Can I use classes and methods for a maintenance view events?

    Hello experts,
    Instead of perform/form, can I instead use classes and methods, etc for a given maintenance view event, lets say for example I want to use event '01' which is before saving records in the database. Help would be greatly appreciated. Thanks a lot guys!

    Hi viraylab,
    1. The architecture provided by maintenance view
       for using EVENTS and our own code inside it -
       It is provided using FORM/PERFORM
       concept only.
    2. At this stage,we cannot use classes.
    3. However, inside the FORM routine,
       we can write what ever we want.
       We can aswell use any abap code, including
       classes and methods.
      (But this classes and methods won't have any
       effect on the EVENT provided by maintenance view)
    regards,
    amit m.

  • How to create a variant to a maintenance view (trans: SM31)

    Hi gurus.
    I have created a maintenance view (called z_jest). By running it from SM31 there is a variant option. However, I am not able to create the variant which I want to filter a selection upon in this transaction.
    I have even looked into transaction SE54 and created a variant for the maintenance table view there( called z_jestv). Then going back to transaction SM31 and view z_jest, i push 'Variant' radiobutton and type as variant: 'z_jestv', I only get the message: "Variant z_jestv for object z_jest does not exist".
    Can anybody please advice on how to create and/or connect the variant to the maintenance view?
    Regards LL.

    Hi Mahalakshmi
    Thanks for reply.
    When I look into the procedure, there is a prerequisite: "The basis dialog for which the maintenance variant is created already exists."
    I am a little bit unsertain if I miss this 'Basic dialog'. Can you please advice on how to check / create this 'basic dialog' before I go on to create the variant. (I need this 'basic dialog' as input in the procedure you sent.)
    (Note: I have already created a 'maintenance dialog' for the view, but I have a feeling, that is something different...)

  • How to create transaction for a maintenance view, Thank you.

    How to create transaction for a maintenance view,
    Thank you.
    deniz...

    Hi Deniz,
    Go to se93.
    Then create the new T.code.
    Under that select parameter Transaction.
    Then give the sm30 in the t.code in default values tab.
    check the checkbox skip initial screen.
    in classification tab.
    click checkbox inherit gui attributes..
    Now below..
    In the default values..
    select
    viewname and give ur table name.
    UPDATE= Xsave
    view - table name ( Should be upper case
    update X ( should be upper case).
    http://www.sap-basis-abap.com/sapbs011.htm
    Hope this helps you.
    Regards,
    Viveks

  • Using DYNP_VALUES_UPDATE with a Maintenance View

    Hi,
    I am using a maintenance view to insert values into a table. When user creates a new entry, based on the value provided for a field,I need to fill a read-only field. In PAI, when user enters a value for one field, I am using FM 'DYNP_GET_STEPL' to  get the current line and then DYNP_VALUES_UPDATE to fill the contents to the read-only field. But this does not seem to work. Any idea?
    Regards
    Rachana

    Hi Tamas,
    I tried both the options suggested by you.
    I am updating the underlying structure, still its not visible when the screen loads again. But if you see the same field gets filled with DYNP_VALUES_UPDATE if an F4 help is used for teh first(editable) field and then my read-only field is also filled in the PROCESS ON VALUE REQUEST module.
    So my guess is that, since it is a table control, it loops through the rest of the table control which is empty and my underlying structure gets cleared. So the problem could be where I am actually filling the field.
    Is it possible to somehow fill the <EXTRACT> table so that teh value is not lost?
    Regards
    Rachana

  • Read Only access for a Maintenance view

    Hi All,
    I have a requirement like this.
    There is a Z Maintenance View (namely ZVHR_GRD_TARGET), for this i have to maintain the status as Read Only, and have to create a transaction code for this view with only SE16 access.
    I am doing like this.
    In the Z view, in the tab "Maint. Status", i have selected the radio button "Read Only" and saved it.
    I have created a transaction code for this view with SE16 access with the inputs
    Transaction                                                           SE16
    Selected the check box "Skip Intial Screen"
    Selected the check box for GUI status
    Name of the Screenfield                                          DATABROWSE-TABLENAME
    value                                                                      ZVHR_GRD_TARGET (i.e, view name)
    But the transaction code is not executing.
    So can any help me out in the requirement
    Regards
    Srinivas Kodukula

    Anchorage,
    Please refer to the following link:
    Read Only Schema in Oracle APPS 11i
    http://oracle.anilpassi.com/read-only-schema-in-oracle-apps-11i.html
    You may also search this forum as the same topic was discussed here many times before.

  • How to use table maintenance view in module pool screen

    hi ,
    want to use table maintenance view in a module pool screen so that i can edit, insert, delete and update date in to the ztable.please help.

    You can simply call it via SM30.   Or you can call the table maintence view from any program(report or module pool) using a function module.
      call function 'VIEW_MAINTENANCE_CALL'
           exporting
                action                       = 'U'
                view_name                    = 'Z_Table_Name'
           exceptions
                client_reference             = 1
                foreign_lock                 = 2
                invalid_action               = 3
                no_clientindependent_auth    = 4
                no_database_function         = 5
                no_editor_function           = 6
                no_show_auth                 = 7
                no_tvdir_entry               = 8
                no_upd_auth                  = 9
                only_show_allowed            = 10
                system_failure               = 11
                unknown_field_in_dba_sellist = 12
                view_not_found               = 13
                others                       = 14.
    Regards,
    RIch Heilman

  • How to call a maintenance view  from a program

    Hello Abapers,
    Can anybody explain with some examples. How to call a mainetenance view from a program.
    Thanks
    Ranjith.

    Use FM 'VIEW_MAINTENANCE_CALL'.
    REPORT  zmaintaintest.
    VARIABLES / CONSTANTS                          
    CONSTANTS: 
                    c_action(1) TYPE c VALUE 'U',                                 "Update
              c_viewname TYPE tabname value 'ZEMP_EXAMPLE', "View Name
              c_field(6) TYPE c VALUE 'EMPNO'.                            "Field Name
    INTERNAL TABLES
    DATA: itab_rangetab TYPE STANDARD TABLE OF vimsellist,
              v_empno TYPE zempno,
              wa_rangetab TYPE vimsellist.
    SELECTION SCREEN
    PARAMETERS:     p_empno TYPE   zempno   OBLIGATORY.  "Emplyee ID
    AT SELECTION-SCREEN                                                 
    AT SELECTION-SCREEN.
    Chcking the existence of the user in EMPLOYEE table
      PERFORM validate_employee.
    START_OF_SELECTION                                                  
    START-OF-SELECTION.
    This will restrict the user view so that user can only view/change
    Table data corresponding to his/her Employee ID
      PERFORM define_limited_data_area.
    Displaying table maintenance view for a particular employee ID
      PERFORM call_view_maintenance.
    *&      Form validate_employee
    Validate plant entered in the selection screen
    FORM validate_employee.
      SELECT SINGLE empno     u201CEmployee ID
        FROM zemp_example     u201CEmployee Table
        INTO v_empno
        WHERE empno = p_empno.
      IF sy-subrc <> 0.
        MESSAGE 'Not an Valid User' TYPE 'I'.
      ENDIF.
    ENDFORM.                    "validate_employee
    *&      Form DEFINE_LIMITED_DATA_AREA
    To restrict the user view so that user can see/change table data
    corresponding to his employee ID. Here one internal table is
    getting populated with field name as u201CEMPNOu201D (Key field of the table)
    And value as given by user in Selection Screen and this is passed as
    Parameter in function module 'VIEW_MAINTENANCE_CALL'
    FORM define_limited_data_area.
      CLEAR wa_rangetab.
      wa_rangetab-viewfield  = c_field.
      wa_rangetab-operator  = 'EQ'.
      wa_rangetab-value       = p_empno.
      APPEND wa_rangetab TO itab_rangetab.
    ENDFORM.                    "define_limited_data_area
    *&      Form CALL_VIEW_MAINTENANCE.
    Displaying table maintenance view for a particular employee ID
    FORM call_view_maintenance.
      CALL FUNCTION 'VIEW_MAINTENANCE_CALL'      
        EXPORTING
          action           = c_action
          view_name   = c_viewname
        TABLES
          dba_sellist     = itab_rangetab.
    ENDFORM.                    "call_view_maintenance
    Regards,
    Joy.

  • Validating records into a maintenance view

    Hi folks!
    I have a simple Z table (say ZTABLE) and a Z view based on it with some related description (say ZVIEW).  The ZTABLE has a DEC field (called COEF) with 2 decimals and it should have only numbers between 0 and 1.
    I set the valid interval from 0 to 1 but, as help says, it's only checked for CHAR, NUMC, DEC, INT1, INT2 and INT4 data types.  Not for DEC.
    Then I use an event on ZVIEW.  On SE11 I went to "Table maintenance generator" - Environment - Modification - Events.  So there I put the 05 event (Creating a new entry) and I programed the check.  It works fine for new entries, but if you have a record on table and you want to change the COEF field you can put there any number, even outside the 0-1 range.
    I tried with the 01 event (Before saving the data in the database) but it seams to be called only for last record.
    Could anybody tell me what can I do?
    Thanks!

    Hi,
    Since it is a Z TABLE..
    You can directly modify the flow logic in SE51.
    Go to SE51
    Give the program name - SAPL + Function group name
    Screen number
    Press change..
    In the flow logic..
    Add a module after the FIELD ztable-number, in the PAI event..
    Ex..
    FIELD ZTABLE-NUMBER MODULE NUMBER_CHECK.
    And in the module validate the number..
    MODULE NUMBER_CHECK INPUT.
      IF ZTABLE-NUMBER <> '0' OR
          ZTABLE-NUMBER <> '1'.
         MESSAGE E208(00) WITH 'Not a valid number'.
      ENDIF.
    ENDMODULE.
    Thanks,
    Naren

  • Retrieve data from a maintenance view

    Hello,
    I created a specefic table.
    i want to add a check when deleting lines from a maintenance view.
    How to retrieve selected data ?
    thanks,
    Meriem.

    Hello Sudeesh,
    I think i must use extract table and Field Symbol <XMARK>.
    Can any body give an exemple.
    thanks,
    Meriem.

Maybe you are looking for

  • How to use Multiple JDBC Drivers?

    Hi, I'm working with an application that connects to an Oracle 8 database and Oracle 10 databases as a single user/schema and then the application users all share the single Oracle user. When we use an Oracle 8 JDBC driver, then a module that inserts

  • Place linked, any way to update several layers at once when changing location of source files? (i.e. moving source folder to different location/computer)

    I have a PS file whic I wanna use as template for several works. I've got several layers containing external images which have been "placed linked" and which are organised in a single folder in my computer. I believe the links are saved as absolute t

  • How to see Saved SMS in PC Suite

    Hi Friends, I have saved 200 sms in one folder. Now i want to move them to my computer. But i am not able to see any such folder in Pc Suite, only Inbox, Sent, Drafts & Outbox is shown. Plz help me to take copy of those sms in my computer. Thanks !!

  • Mail could not be received at this time outlook 2011 for MAC

    I am  connected to Outlook 2011 MAC for 10 minutes then I get disconnected. I get this error message "Mail could not be received at this time. The server account for "cbcf" retuned the error "Logon failure unknown username or bad password" your usern

  • Help with connect four

    im trying to write a connect four project but im having a little trouble. import java.util.Scanner; public class Main{           Scanner scan = new Scanner(System.in);      int grid[][];      int currentPlayer;      int rows = 6;      int columns = 7