Regarding OCA & Database Control

I'm preparing for the OCA exam and would like to understand better the kind of knowledge expected of me.
In my study book there are lots of examples for using Database Control in order to manage the database.
As an experienced DBA, I only seldom use GUI tools to manage the database, and know many commands by heart.
Should I be worried?
Is there any chance that questions such as -
"What button should you press in order to change to ARCHIVELOG mode"
- will appear in the test?

I have seen questions similar to "Where is this located at?". I would know how to navigate to key screens. The candidate guide spills out what you should know.
Personally, I don't like those type of questions cause the GUI can always change your knowledge of how to do it command line stays more constant.

Similar Messages

  • How to do rollback in a database control in ajpd

    Hello,
    I created a database control which has 3 methods that calls 3 respective stored procedures that inserts/updates tables. I have a jpd which uses the database control and calls each of the 3 methods. When it fails on the 3rd method, it doesn't rollback the inserts/updates done by the 2 methods. I'm using BEA's XA driver for SQL Server. Im new in this thing so please any help will be greatly appreciated.
    Thanks.
    Florence

    Dear Dinsh,
    Here are some links that will help you:
    http://download-uk.oracle.com/docs/cd/A97630_01/server.920/a96540/statements_510a.htm#2062405
    http://download-uk.oracle.com/docs/cd/A97630_01/server.920/a96540/toc.htm
    http://www.oracle.com/technology/products/oracle9i/index.html
    Regards,
    Francisco Munoz Alvarez

  • How to (what to) download and install OEM database control

    Hello
    Can you please tell me the name of the file I should download (Is it still accessible?). I have download many of the oracle product files but don't have the OEM one burned to a CD.
    I want to reinstall my database as I have changed my domain name and the OracleConsole(orcl)
    I.E.
    L:\app\owner\product\11.2.0\db_1\bin\nmesrvc.exe fails to start.
    My situation is that I am using a single instance of Oracle 11G R2 for self educational training and development.
    I am running on Windows XP SP3.

    Hi,
    To create or recreate a database control you need to execute the following commands:
    Create the DB Control Repository Objects and Configuration Files
    $ <ORACLE_HOME>bin/emca -config dbcontrol db -repos create
    ReCreate the DB Control Repository Objects and Configuration Files
    $ <ORACLE_HOME>bin/emca -config dbcontrol db -repos recreate
    Best Regards,
    Venkat

  • Remote access database using EM Database Control Console

    When I install the Oracle database 10g, it gives me two choices:
    1)Using Grid Control for Database Management and
    2)Using Database Control for Database Management.
    When I select the #2, according to the Guide, I'll be able to manage my database locally. (Assume the database server's IP address is: DB_IP_Address, then I can use: http://DB_IP_Address:5560/em). But wait a minute___
    a)What does this "locally" mean? If the Oracle DB is installed in a remote location, and there is no LAN connection to it, can I still access it via the Oracle Enterprise Manager (Database Control Console)? (i.e., via the HTTP protocol)
    b)The same question is asked for the iSQL*Plus in regarding to the remote access. I guess the answer to a) above will automatically answer the b) ? (Actually I doubt that I can access remote database using the iSQL*Plus via HTTP protocol).
    Thanks
    Scott

    Hi,
    and there is no LAN connection to itWell you'll need some network link in order to connect successfully.
    What is meant by locally is that you can only manage databases installed on the local computer.
    For example if you installed it on machine "CPTR1", and on another machine "CPTR2", then you can't use http://cptr1:5560/em to manage the databases on "CPTR2. And vice versa.
    About iSQL*Plus, in fact, as far as the tns alias is ok from "CPTR1", you can connect to the databases on "CPTR2", "CPTR3", ....
    HTH,
    Yoann.

  • Database control: how to read output of sproc that returns result set

    I have a stored procedure that returns a result set. Should I use a RowSet control to wrap this, or a database control, or neither? Am I better off with straight JDBC in a Java control?
    Thanks.

    Sorry for missing the point totally...
    DOKTL also contains long text for FM parameters...
    This is a modified version of your code that retrieves the long text and displays it...
    DATA: parameter TYPE TABLE OF swotfupar,
          ls_parameter LIKE LINE OF parameter,
          search_string TYPE doktl-object,
          texttab type table of doktl-doktext with header line.
    PARAMETERS: fubaname TYPE swcontdef-abapname
                              DEFAULT 'POPUP_TO_CONFIRM',
                pa_lang TYPE sy-langu.
    START-OF-SELECTION.
      CALL FUNCTION 'SWO_QUERY_FUNCTION_PARAMETERS'
        EXPORTING
          functionmodule            = fubaname
        TABLES
          function_parameters       = parameter
    *   EXCEPTIONS
    *     FUNCTION_NOT_FOUND        = 1
    *     OTHERS                    = 2
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT parameter INTO ls_parameter.
        CONCATENATE `                              `            "30 spaces
                    ls_parameter-parameter INTO search_string.
        OVERLAY search_string WITH fubaname.
        SELECT doktext FROM doktl INTO TABLE texttab
               WHERE id = 'FU'
               AND langu = pa_lang
               AND object = search_string.
        WRITE:/ 'Long Text for', ls_parameter-parameter.
        LOOP AT texttab.
          NEW-LINE.
          WRITE: AT 10 texttab COLOR COL_HEADING.
        ENDLOOP.
      ENDLOOP.
    Hope this helps you
    Regards,
    Dushyant Shetty

  • Workshop 8.1 beta - problem with creating Database control

    I am using Workshop 8.1 beta to create a webservice, which uses a database control
    to query the Db, as simpel as it comes. However, I get the following exception
    when I try to create the new DBControl:
    java.lang.AssertionError
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.util.DbControlWizardUtil.getTables(DbControlWizardUtil.java:268)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.util.DbControlWizardUtil.getTablesAndViews(DbControlWizardUtil.java:223)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.step.PickMethodsStep$4.run(PickMethodsStep.java:299)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140)
         at java.awt.Dialog.show(Dialog.java:538)
         at com.bea.ide.ui.wizard.WizardDialog.show(WizardDialog.java:117)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizard.runWizard(DbControlWizard.java:96)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.FileNewDbControlWizardAction.doAction(FileNewDbControlWizardAction.java:58)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizardDocHandler.launchWizard(DbControlWizardDocHandler.java:87)
         at workshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizardDocHandler.createNewFile(DbControlWizardDocHandler.java:72)
         at workshop.shell.wizards.NewFileWizard.getDisplayURI(NewFileWizard.java:232)
         at workshop.shell.actions.file.FileNewAction$1.run(FileNewAction.java:111)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    What's interesting is that it works well for the default dbcontrols of cgDataSource
    and cgSampleDataSource. The connection pool and the datasources were created successfully
    in the server. Its the workshop that seems to be complaining.
    Anyone face this problem?

    Sanjeev,
    This newsgroup is for Workshop 7.0 issues, till WebLogic Platform 8.1 goes
    GA.
    Meanwhile, please post Workshop 8.1 beta issues on
    weblogic.developer.interest.81beta.workshop newsgroup.
    Regards,
    Anurag
    "Sanjeev Saha" <[email protected]> wrote in message
    news:[email protected]...
    >
    I am using Workshop 8.1 beta to create a webservice, which uses a databasecontrol
    to query the Db, as simpel as it comes. However, I get the followingexception
    when I try to create the new DBControl:
    java.lang.AssertionError
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.util.DbControlWizardUtil.getTab
    les(DbControlWizardUtil.java:268)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.util.DbControlWizardUtil.getTab
    lesAndViews(DbControlWizardUtil.java:223)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.step.PickMethodsStep$4.run(Pick
    MethodsStep.java:299)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:197)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :150)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :140)
    at java.awt.Dialog.show(Dialog.java:538)
    at com.bea.ide.ui.wizard.WizardDialog.show(WizardDialog.java:117)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizard.runWizard(DbCon
    trolWizard.java:96)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.FileNewDbControlWizardAction.do
    Action(FileNewDbControlWizardAction.java:58)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizardDocHandler.launc
    hWizard(DbControlWizardDocHandler.java:87)
    atworkshop.pageflow.ui.dialogs.wizards.jbcx.db.DbControlWizardDocHandler.creat
    eNewFile(DbControlWizardDocHandler.java:72)
    atworkshop.shell.wizards.NewFileWizard.getDisplayURI(NewFileWizard.java:232)
    at workshop.shell.actions.file.FileNewAction$1.run(FileNewAction.java:111)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:197)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    What's interesting is that it works well for the default dbcontrols ofcgDataSource
    and cgSampleDataSource. The connection pool and the datasources werecreated successfully
    in the server. Its the workshop that seems to be complaining.
    Anyone face this problem?

  • Do i need to reconfigure OEM Database Control when change ip address?

    Hi all.
    Do i need to reconfigure OEM Database Control after a change of ip address?
    I mean, i have an OEL5 box with 10g Rel2. I have configure the server with a static ip address.
    This server will be sent to another location and it's possible the ip address will be changed. It will remain a static ip, but may change. Since i plan to deliver this server with rman jobs within OEM Database Control. I'd like to know if this will continue working after an eventual ip address change ....
    Regards....!

    myluism wrote:
    Hi all.
    Do i need to reconfigure OEM Database Control after a change of ip address?
    I mean, i have an OEL5 box with 10g Rel2. I have configure the server with a static ip address.
    This server will be sent to another location and it's possible the ip address will be changed. It will remain a static ip, but may change. Since i plan to deliver this server with rman jobs within OEM Database Control. I'd like to know if this will continue working after an eventual ip address change ....
    Regards....!It depends.
    When you created the dbcontrol, the configuration was put in a directory in ORACLE_HOME named something like 'hostname_sid' and there are also files under that where the hostname is baked into either the file name or a property of a configration defined within a file. If it is truly hostname, you might be ok, but if it is actually IP address instead of host name (I have seen that) then you obviously have a problem.
    Over the years (and across several versions) I've found the OEM repository to be rather "brittle", and Oracle to have a rather cavalier attitude about rebuilding it. As a result, I specifically DO NOT have anything important - and very specifically my backup jobs - in the repository. I still schedule my backups through rman, though I know many people use dbms_scheduler. But even that appears to not be the same as an oem controlled schedule.

  • 10.1.0.2.0 Database Control Backup error.

    Has anybody found this error when running an "gui" Database Control error?
    I can successfully run a command line RMAN backup (script) on our production server, however I get the following error when attempting to schedule an backup through the GUI.
    STATUS: failed initialization, Param username not provided.
    When I go through setting up the backup I ensure to "test backup to disk" which is successful.
    It should work if the test is successful, and I am able to run the scripted RMAN backup to the same directory on the disk with no issues.
    Any thoughts?
    Kindest regards,
    Shawn

    Is this window box , if this is the case then you
    need to set the local security policy before running
    backup job.Yes, make sure your username (i.e. the one running the job) has log on as batch job privilege.

  • Regarding duplicate database

    Dear Experts
    Pls give me solution for my problem..
    I am working on Oracle 10.2 running on rhel 4.I am trying to create duplicate database on the same host as on target.My target database is in archive log mode. When i am trying to fire the above command I get following error. Here are the steps..
    [oracle@infotech ~]$ rman target / auxiliary sys/admin@dupli
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Jan 27 12:50:25 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: SQLSTAR (DBID=1533334878, not open)
    connected to auxiliary database: DUPLI (not mounted)
    RMAN> duplicate target database to dupli
    2> logfile
    3> '/database/dupli/log/redo01.log' size 10m,
    4> '/database/dupli/log1/redo02.log' size 10m;
    Starting Duplicate Db at 27-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=153 devtype=DISK
    allocated channel: ORA_AUX_DISK_2
    channel ORA_AUX_DISK_2: sid=154 devtype=DISK
    allocated channel: ORA_AUX_DISK_3
    channel ORA_AUX_DISK_3: sid=156 devtype=DISK
    allocated channel: ORA_AUX_DISK_4
    channel ORA_AUX_DISK_4: sid=157 devtype=DISK
    datafile 5 not processed because file is offline
    datafile 6 not processed because file is offline
    contents of Memory Script:
    set until scn 2404769;
    set newname for datafile 1 to
    "/database/dupli/data/system01.dbf";
    set newname for datafile 2 to
    "/database/dupli/data/undotbs01.dbf";
    set newname for datafile 3 to
    "/database/dupli/data/sysaux01.dbf";
    set newname for datafile 4 to
    "/database/dupli/data/users01.dbf";
    restore
    check readonly
    clone database
    skip tablespace TRY,
    PROD ;
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 27-JAN-11
    using channel ORA_AUX_DISK_1
    using channel ORA_AUX_DISK_2
    using channel ORA_AUX_DISK_3
    using channel ORA_AUX_DISK_4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/27/2011 12:55:35
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Although I am having the backups
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    58 Full 6.86M DISK 00:00:01 27-JAN-11
    BP Key: 57 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
    Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_ncnnf_TAG20110127T105501_6n20fh2b_.bkp
    Control File Included: Ckp SCN: 2428375 Ckp time: 27-JAN-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    59 Full 80.00K DISK 00:00:04 27-JAN-11
    BP Key: 58 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
    Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnsnf_TAG20110127T105501_6n20fmbz_.bkp
    SPFILE Included: Modification time: 27-JAN-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    60 Full 370.27M DISK 00:01:41 27-JAN-11
    BP Key: 59 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
    Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnndf_TAG20110127T105501_6n20fh6k_.bkp
    List of Datafiles in backup set 60
    File LV Type Ckp SCN Ckp Time Name
    2 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/undotbs01.dbf
    3 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/sysaux01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    61 Full 339.97M DISK 00:01:57 27-JAN-11
    BP Key: 60 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
    Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnndf_TAG20110127T105501_6n20fkq2_.bkp
    List of Datafiles in backup set 61
    File LV Type Ckp SCN Ckp Time Name
    1 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/system01.dbf
    6 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/try01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    62 Full 652.93M DISK 00:02:15 27-JAN-11
    BP Key: 61 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
    Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnndf_TAG20110127T105501_6n20fjkw_.bkp
    List of Datafiles in backup set 62
    File LV Type Ckp SCN Ckp Time Name
    4 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/users01.dbf
    5 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/prod01.db
    Regards
    Asif

    Dear Experts
    As per your suggestion I havle allocated multiple channels including the auxliary channel..*It has executed to a lot of extent but it has hung at last*.I am posting the commands and steps..
    [oracle@infotech ~]$ rman target / auxiliary sys/admin@dupli
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 28 11:46:07 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: SQLSTAR (DBID=1533334878)
    connected to auxiliary database: DUPLI (not mounted)
    RMAN> run{
    2> allocate channel c1 type disk;
    3> allocate channel c2 type disk;
    4> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
    5> ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
    6> duplicate target database to dupli;
    7> }
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: sid=140 devtype=DISK
    allocated channel: c2
    channel c2: sid=139 devtype=DISK
    allocated channel: aux1
    channel aux1: sid=155 devtype=DISK
    allocated channel: aux2
    channel aux2: sid=154 devtype=DISK
    Starting Duplicate Db at 28-JAN-11
    contents of Memory Script:
    set until scn 2487653;
    set newname for datafile 1 to
    "/u01/dupli/data/system01.dbf";
    set newname for datafile 2 to
    "/u01/dupli/data/undotbs01.dbf";
    set newname for datafile 3 to
    "/u01/dupli/data/sysaux01.dbf";
    set newname for datafile 4 to
    "/u01/dupli/data/users01.dbf";
    set newname for datafile 5 to
    "/u01/dupli/data/prod01.dbf";
    set newname for datafile 6 to
    "/u01/dupli/data/try01.dbf";
    restore
    check readonly
    clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 28-JAN-11
    channel aux1: starting datafile backupset restore
    channel aux1: specifying datafile(s) to restore from backup set
    restoring datafile 00002 to /u01/dupli/data/undotbs01.dbf
    restoring datafile 00003 to /u01/dupli/data/sysaux01.dbf
    channel aux1: reading from backup piece /u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkhf6_.bkp
    channel aux2: starting datafile backupset restore
    channel aux2: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /u01/dupli/data/system01.dbf
    restoring datafile 00006 to /u01/dupli/data/try01.dbf
    channel aux2: reading from backup piece /u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkb92_.bkp
    channel aux1: restored backup piece 1
    piece handle=/u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkhf6_.bkp tag=TAG20110128T114150
    channel aux1: restore complete, elapsed time: 00:01:16
    channel aux2: restored backup piece 1
    piece handle=/u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkb92_.bkp tag=TAG20110128T114150
    channel aux2: restore complete, elapsed time: 00:01:17
    channel aux1: starting datafile backupset restore
    channel aux1: specifying datafile(s) to restore from backup set
    restoring datafile 00004 to /u01/dupli/data/users01.dbf
    restoring datafile 00005 to /u01/dupli/data/prod01.dbf
    channel aux1: reading from backup piece /u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qk8lg_.bkp
    channel aux1: restored backup piece 1
    piece handle=/u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qk8lg_.bkp tag=TAG20110128T114150
    channel aux1: restore complete, elapsed time: 00:01:15
    Finished restore at 28-JAN-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "DUPLI" RESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 2 ( '/u01/dupli/log/redo02.log' ) SIZE 50 M REUSE,
    GROUP 3 ( '/u01/dupli/log/redo03.log' ) SIZE 50 M REUSE,
    GROUP 4 ( '/u01/dupli/log/redo05.log' ) SIZE 100 M REUSE
    DATAFILE
    '/u01/dupli/data/system01.dbf'
    CHARACTER SET WE8ISO8859P1
    contents of Memory Script:
    switch clone datafile all;
    executing Memory Script
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=741613900 filename=/u01/dupli/data/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=741613900 filename=/u01/dupli/data/sysaux01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=3 stamp=741613900 filename=/u01/dupli/data/users01.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=4 stamp=741613900 filename=/u01/dupli/data/prod01.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=5 stamp=741613900 filename=/u01/dupli/data/try01.dbf
    contents of Memory Script:
    set until scn 2487653;
    recover
    clone database
    delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 28-JAN-11
    starting media recovery
    archive log thread 1 sequence 142 is already on disk as file /u01/flash/SQLSTAR/archivelog/2011_01_28/o1_mf_1_142_6n4qqom4_.arc
    archive log filename=/u01/flash/SQLSTAR/archivelog/2011_01_28/o1_mf_1_142_6n4qqom4_.arc thread=1 sequence=142
    media recovery complete, elapsed time: 00:00:04
    Finished recover at 28-JAN-11
    contents of Memory Script:
    shutdown clone;
    startup clone nomount ;
    executing Memory Script

  • Can i use "begin" and "end" in a database control

    hi there
    i just want to know if i can use begin and end with several sql update statments in between in a database control. u see, i need to run few update statements together. i don't want to put them in seperate method. i was wondering if i could put them together in on method and run it. is there any other way to do it if begin and end are not allowed. thanks

    I have a J2EE application, for which I have a module which is used by system administrators. this module is completly written in Java swing.
    and it does talk to my EJBs.
    If you don't have a firewall in your application, then you can directly make your applications in awt, swing and applets talk to EJBs. if you do have a firewall, then just write a web-service wrapper over your EJBs and other J2EE components and use them from desktop applications.
    It seems that you want to implement a kind of a applet based monitor application for your J2EE EJBs on the server. Applets cannot directly monitor your EJBs.
    Create a new module which has a service which acts as an event listener on the server. each j2ee component on the server notify it if there is a change to them. this service, can then write the data realted to the modification on a socket which is continiously being read by the applet. So you can implement a kind of a monitor for J2ee apps with applets.
    hope this helps.
    regards,
    Abhishek.
    PS:How did you manage to adore the AWT ;-) ? I found that it sucks (good performance.. very poor lnf) ... java swing sucks too (very poor performance ... avaerage lnf).

  • How to configure Enterprise Manager Database Control (EMDC) to make it work on 2 servers working (primary and standby) under DG rules

    Hello everybody i use Oracle Database EE 11.2.0.4 with DG.
    In those cases i need to get Enterprise Manager Database Control running against DB with no RAC and no DG i perform the following steps:
    I Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and management objects:
    DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN';
    BEGIN
    FOR r1 IN c1 LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
    END IF;
    END LOOP;
    END;
    DROP USER mgmt_view CASCADE;
    DROP ROLE mgmt_user;
    DROP USER sysman CASCADE;
    After that i run
    emca -config dbcontrol db -repos recreate
    But what should i do in cases i have 2 servers working (primary and standby) under DG rules?

    Hi ,
    It is not possible to monitor/administer a Logical or Physical Standby database, i.e Data Guard, using Enterprise Manager Database Control.  This is primarily due to the fact that Database Control is designed to monitor 1 database and a Data Guard environment, by definition, includes more than 1 database.
    If you attempt to run emca against a standby Database, you will get an error like (i.e. ORA-01219: database not open).
    Database Control, can, of course, be used to monitor the current Primary database (with no ability to administer or monitor Data Guard related functionality).  In such a case, when failover occurs Database Control must be reconfigured to run on the new Primary database using the commands detailed in Note 278100.1 How To Drop, Create And Recreate DB Control In A 10g Database, section C. Recreate/ReConfig DB Control, Option 2. Recreate the DB Control Configuration Files and Repository.
    Enterprise Manager Grid Control or Cloud Control provides the functionality for viewing, monitoring, and administering primary and standby databases in a Data Guard configuration.
    Reference: Is it Possible to Configure Database Control for a Logical or Physical Standby Database? (Doc ID 315116.1)
    You can use EM 12c cloud control to monitor and manager Standby DB effectively
    Ref to below link for details
    Set Up and Manage Oracle Data Guard using Oracle Enterprise Manager Cloud Control 12c
    Regards,
    Rahul

  • Problem with Database Control

    Hi @all
    OS Windows Server 2008 (Standard)
    DB 11.1.0.7.0
    I try to configure DB Control manually with
    D:\ORACLE\product\11.1.0\db_1\BIN>emca -config dbcontrol db -repos create
    result is
    15.09.2009 13:19:14 oracle.sysman.emcp.EMConfig perform
    INFO: Dieser Vorgang wird in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_1
    3_15_52.log protokolliert.
    15.09.2009 13:19:15 oracle.sysman.emcp.util.FileUtil backupFile
    WARNUNG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\config\emd.properties konnte
    nicht gesichert werden
    15.09.2009 13:19:15 oracle.sysman.emcp.util.FileUtil backupFile
    WARNUNG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties.emca
    konnte nicht gesichert werden
    15.09.2009 13:19:15 oracle.sysman.emcp.util.FileUtil backupFile
    WARNUNG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\emd\targets.xml konnte nicht
    gesichert werden
    15.09.2009 13:19:15 oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Database Control wird gestoppt (dies kann etwas lõnger dauern) ...
    15.09.2009 13:19:15 oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Das EM-Repository wird erstellt (dies kann etwas lõnger dauern)...
    15.09.2009 13:24:22 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository erfolgreich erstellt
    15.09.2009 13:24:23 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepositor
    y
    INFO: Konfigurationsdaten werden in das EM-Repository hochgeladen (dies kann etw
    as lõnger dauern) ...
    15.09.2009 13:25:02 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Konfigurationsdaten wurden erfolgreich hochgeladen
    15.09.2009 13:25:02 oracle.sysman.emcp.EMConfig perform
    SCHWERWIEGEND: Fehler beim Aktualisieren von D:\ORACLE\product\11.1.0\db_1\sysma
    n\config\emoms.properties
    Weitere Einzelheiten finden Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\S
    AXMBS\emca_2009_09_15_13_15_52.log.
    Die Konfiguration konnte nicht abgeschlossen werden. Weitere Einzelheiten finden
    Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_13_15
    _52.log.
    snippet of the log
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Caused by: java.io.FileNotFoundException: D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties (Zugriff verweigert)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:257)
         ... 11 more
    15.09.2009 13:25:02 oracle.sysman.emcp.EMDBCConfig updateEmomsProps
    KONFIG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties.emca wird in D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties kopiert
    15.09.2009 13:25:02 oracle.sysman.emcp.EMConfig perform
    SCHWERWIEGEND: Fehler beim Aktualisieren von D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties
    Weitere Einzelheiten finden Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_13_15_52.log.
    15.09.2009 13:25:02 oracle.sysman.emcp.EMConfig perform
    KONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Fehler beim Aktualisieren von D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties
         at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:405)
         at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:167)
         at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:137)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:223)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:535)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1215)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    the problem is Caused by: java.io.FileNotFoundException: D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties (access denied)
    and when i try to deconfig this following occured
    15.09.2009 13:30:28 oracle.sysman.emcp.EMConfig perform
    INFO: Dieser Vorgang wird in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_1
    3_29_13.log protokolliert.
    15.09.2009 13:30:28 oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Database Control wird gestoppt (dies kann etwas lõnger dauern) ...
    15.09.2009 13:30:28 oracle.sysman.emcp.EMConfig perform
    SCHWERWIEGEND: Can't find file D:\ORACLE\product\11.1.0\db_1\host\sysman\config\emoms.properties
    Weitere Einzelheiten finden Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\S
    AXMBS\emca_2009_09_15_13_29_13.log.
    Die Konfiguration konnte nicht abgeschlossen werden. Weitere Einzelheiten finden
    Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_13_29
    _13.log.
    Can't find file D:\ORACLE\product\11.1.0\db_1\host_db\sysman\config\emoms.properties
    With Windows Server 2003 I haven't any problems with the configuration of database control over cmd.
    Any Ideas?

    Please run the following command
    cmd>net start OracleDBConsolexxx(Assume sid name=xxx
    cmd>set oracle_sid=xxx
    cmd>emca (You will get all related keyword of emca)
    Firstly you have to check that if you have created your database through DBCA then you have to drop old repository or recreate repository:
    To drop (remove) the configuration files and repository for Database Console, run:
    cmd>emca -deconfig dbcontrol db -repos drop
    To recreate (remove & create) the configuration files and repository for Database Console, run:
    cmd>emca -config dbcontrol db -repos recreate
    (Please mark it helpful/Answered if you get solution)
    Regards,
    Suman

  • Oracle 10G Database Control and Scheduling OWB Process Flow

    Does anyone know how to go about scheduling an OWB Process Flow from
    Oracle 10G Data Base Control. I knew how to do this with Oracle Enterprise Manager 9.2 but we recently upgraded to Oracle Db 10G and the interface has changed significantly.
    Now the interface seems to require a PL/SQL stored procedure to be executed.
    Is there a template procedure that is installed with 10G Data Base Control as there was for 9.2 i.e. oem_exec_template.sql?
    Thanks! Deadline approaching fast...
    Marion

    I've used the oem_exec_template.sql successfully with OWB 10.1 and Oracle 10G Database Control, with a little trial and error at first.
    I'm assuming that your job execution environment is set up correctly, ie. that you can properly execute jobs via the host agent.
    1. Log on to Database Control as SYSTEM, select Jobs from the links at the bottom of the page
    2. In the Results section, Create Job, select "SQL Script" and press Go
    3. In the General section, enter Job Name, and as SQL Script enter e.g.:
    @/u01/app/oracle/owb_oracle_home/owb/rtp/sql/oem_exec_template.sql owb_runtime WF_LOC PROCESS MY_PROCESS , ,
    4. In the Databases section, add your target database
    5. In the Credentials section, I select "Override Preferred Credentials" and use the agent account (oracle on my Linux system) and db user owb_access (OWB Runtime Access user)
    6. Review Schedule tab and submit
    Comments on step 3:
    - the oem_exec_template.sql script must be installed according to the path specified in step 3, on the database host where the OWB Runtime Repository is located
    - owb_runtime is the owner of my OWB Runtime Repository
    - WF_LOC is the name of my Workflow Location as seen in OWB Deployment Manager
    - MY_PROCESS is the name of a deployed Workflow Process
    - the commas indicate that I don't supply any system or custom parameters.
    - step 3 is actually a shell command line that is interpreted by eg. /bin/sh on Unix or cmd on Windows, and must obey proper quoting rules. On windows, I had to specify the empty commas as "\," (including dblquotes)
    Regards, Hans Henrik

  • How to view/ammend jobs in DBA_JOBS using Enterprise Manager (Database Control)

    Dear Gurus,
    We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
    Regards,
    Riaz

    Riaz wrote:
    Dear Gurus,
    We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
    Regards,
    Riaz
    In V10 which is no longer under support DBA_JOBS was superceded  by DBMS_SCHEDULER.
    Why are you dependent upon EM to manage the DB?

  • The service name is invalid When starting the Database Control

    Dear Oracle Expert,
    I have installed Oracle database 11g on Windows Professional x64 Edition Version 2003 Service Pack 2..
    When I try to start the Database control after renaming the IP_address to the local machine name which is robert. It prompts back with an error.
    C:\>emctl status dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    C:\>set ORACLE_SID=ocp11g
    C:\>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://192.168.1.67:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is not running.
    C:\>emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://192.168.1.67:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ...The service name is i
    nvalid.
    More help is available by typing NET HELPMSG 2185.
    C:\>hostname
    robert
    C:\>emctl status dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>set ORACLE_SID=ocp11g
    C:\>emctl status dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>emctl start dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>SET ORACLE_HOME= C:\app\Administrator\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBC
    onsole_robert_ocp11g
    C:\>set ORACLE_SID=ocp11g
    C:\>emctl status dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>emctl start dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>
    Thanks in advance.
    Rlee

    Hello Oracle experts,
    I have to managed to Configure the Database Control by configuring a Microsoft Network adapter on my laptop but
    right now I can't access it within the URL.
    Tests of the running Database control include:
    C:\Documents and Settings\Administrator>emctl status dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    C:\Documents and Settings\Administrator>SET ORACLE_SID=ocp11
    C:\Documents and Settings\Administrator>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://robert:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory C:\app\Administrator\product\11.1.0\db_2/robert_
    ocp11/sysman/log
    C:\Documents and Settings\Administrator>
    When I try to access the database control, I am un able to.
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    Open the robert:1158 home page, and then look for links to the information you want.
    Click the Back button to try another link.
    Click Search to look for information on the Internet.
    HTTP 404 - File not found
    Internet Explorer
    Is this something related to Internet Explorer.
    Kindly rescue me out.
    Regards,
    RLee

Maybe you are looking for

  • Deleting Links Ridiculously Slow – Document Specific

    I've got one document that is worse than others in terms of removing links. It is a 52 page 4 color piece that just is a dog. The whole thing exports, saves and prints at the same rate as any other document, but when placing or removing links this th

  • LCA error in APO

    Dear All, we have Apo Development server Product Version SAP APO 3.0A. in that we are not able to use T-Code LC10. it always gives the error Syntax error in program : SAPLSLCA  . due to which not able stop or start LCA. kindly help on this. Thanks in

  • Elements 9 and Raw2 files

    Why can't I open the raw2 files from my Panasonic G5 camera after downloading the latest (6.5) raw patch from the Adobe downloads

  • Tuner for 7.0 Acrobat Reader - no SMS files?

    I am trying to create a Package Definition file using Tuner 7.0. I have checked the box "Create SMS file (SMS 2.0 or later)". When I create the package in the Tuner (not SMS admin console) there are not files listed under "Copying SMS related files"

  • Problems with opening iBA books after the recent upgrade.

    How many folks have had problems opening .iba books after the recent upgrade?? I did !  I completed and delivered a free book which was No: 9 in series - all the others opened OK in iBA after the upgrade except this last one. I read the forum, none o