Message Queuing in a single instance: should we use Streams or AQ?

Hi,
We are going over the requirments for a new application, and it needs to have some king of queuing mechanism that table level triggers can add tasks to.
I instantly thought AQ as this is what I last used in the past, however now I see that there is Streams and "Streams AQ".
Has Streams superceded AQ? Is it a simpler concept / technology that does the same thing, or is it intended for a different role?
Thanks!
Kirk Brocas

AQ has appeared in Oracle8. Streams are only avalable in Oracle 9 (limited capabilities) and 10g, and they are build upon AQ.
Although using stright AQ from the trigger will solve your problem, the Streams would give you the following benefits:
1. They are mining redo logs, so there is no trigger perforance degradation within your app transaction.
2. You can declaratively specify the procedure (APPLY process in the stream terms and propagation RULES) to filter, dequeue and process your messages. Oracle will fire your procedure in the background. In AQ you have to program this process by yourself.
On the other hand, streams is a hard artillery more suited to be used as a basis for systems like CDC (change data capture) to provide near real-time update of your Data Warehouse - it is avalable in 10g.
If you need compatability with the earlier versions of Oracle - you have to stay with AQ. Even in Oracle 8 they function as advertized and we did a number of projects which are in production since 2003. Use both Java messaging interface from J2EE appserver and OCI clients - work like a charm!

Similar Messages

  • Trying to install flash player; keep getting message that only single instance application can rub, but this has been happening 2/3 days; help?

    I've been attempting to install Flashplayer, but keep getting the message that only a single instance of the application can run. Have tried various things but not getting anywhere.
    Can anyone assist? Thanks.

    Does this error appear after you complete the download and start up the installer file? If so, you may need to restart Windows. Sometimes the Windows Installer accumulates a backlog of changes and stops working correctly until you restart your system and let it clear its queue.

  • How to restore a single instance database to RAC (10g) using RMAN ?

    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    Does anyone can help with this documentation or a link about any information about this restore using rman ?
    I tryied found on metalink but threres isn´t this specific case. Only how to convert single instance to 10g RAC, but without how to use with rman information.
    System: Windows 2003
    Oracle 10g R2
    Thanks.
    Wander(Brazil)

    Wander(Brazil) wrote:
    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    In essense you are really doing nothing more than restoring a backup on a new host. If you want a blow by blow detail of how to accomplish it take at http://www.oracledistilled.com/oracle-database/restore-database-to-another-host-using-rman
    In order to write the files to the ASM Disk groups you will use the SET NEWNAME FOR DATAFILE in your restore script. You will also need to create the ORACLE_BASE/admin/<DBSID> structure on all of node. Once you get the database completely restore you will need to edit the SPFILE to include the proper value for the CLUSTER* parameters and each the node specific parameters. Sorry that it is kind of higher level than what you are probably looking for but the link above and what I put here should get you were want to go.

  • About message queue in message mapping?

    Hi SDNer,
    I have been read help.sap.com and sdn threads about message queue
    I hope this thread should be help for all like me.
    thank you
    Sha

    Hi Shankar,
           XI uses Queue's to store messages, If you worked on message mapping you can see the how queue look like,
    Every queue having context ,it separate the values,it store the messages in highrarchy manner.
    Using Context Handling we resoleve context issues.
    Using node functions we aceive Context Handling.
    Search in SDN there is some good blogs abt Node Functions, if you understand nodefunction you wil understand the Queue concepts.
    Regards,
    Raj

  • "Only a single instance of this application can run"  Have you seen this yet?

    Hi -
    Please excuse a newbie's ignorance - I've never posted to any forums before :-)
    I am using Win7 Professional and IE9 on a well-spec'd HP PC (4GM Ram, dual core, lost of hard disk space etc).
    I have successfully downloaded Adobe Reader (install_reader 10....exe @ 703kb) using Win7.
    I cannot run this file (I have tried all I talk about here with Reader 9 and with Firefox;  all the same errors noted below get repeated)
    The error message is headed:  "UI_ReaderInstaller" and the text in the message is "Only a single instance of thsi application can run"
    The only option given is an "OK" button and leaves one having achieved nothing!
    I have never had a previous version of Adobe reader on this PC; this is a first time install attempt.
    If I search my PC for "UI_ReaderInstaller" it does not give any results!
    Please might someone more competent that I help me out here?  Maybe you've experienced this and found the solution?  Please might you share your knowledge with me?
    Thanks for reading and giving this your attention.  It is much appreciated.
    Highland D

    Hi Ankit
    Thanks for taking the troubel to reply.  Sorry if I didn't give full information (I thought I had!)
    I have successfully doenloaded the intsaller to my PC (see last post and "PScreen 1" enclosed
    When I try to run it I get the error described in my last post (see "PScreen 2" enclosed).
    I really need your help so thanks again
    Highland D

  • Query performance on RAC is a lot slower than single instance

    I simply followed the steps provided by oracle to install a rac db of 2 nodes.
    The performce on Insertion (java, thin ojdbc) is pretty much the same compared to a single instance on NFS
    However the performance on the select query is very slow compared to single instance.
    I have tried using different methods for the storage configuration (asm with raw, ocfs2) but the performance is still slow.
    When I shut down one instance, leaving only one instance up, the query performance is very fast (as fast as one single instance)
    I am using rhel5 64 bit (16G of physical memory) and oracle 11.1.0.6 with patchset 11.1.0.7
    Could someone help me how to debug this problem?
    Thanks,
    Chau
    Edited by: user638637 on Aug 6, 2009 8:31 AM

    top 5 timed foreground events:
    DB CPU: times 943(s), %db time (47.5%)
    cursor.pin S wait on X: wait(13940), time (321s), avg wait(23ms), %db time (16.15%)
    direct path read (95,436), times (288), avg watie (3ms), %db ime (14.51%)
    IPC send completion sync: wait(546,712), times(149s), avg wait (0), %db time (7.49%)
    gc cr multi block request: waits (7574), teims (78) avg wait (10 ms), %db time (4.0)
    another thing i see is the "avg global cache cr block flush time (ms): is 37.6 msThe DB CPU Oracle metric is the amount of CPU time (in microseconds) spent on database user-level calls.
    You should check your sql statement from report and tuning them.
    - Check from Execute Plan.
    - If not index, determine to use index.
    SQL> set autot trace explain
    SQL> sql statement;
    cursor: pin S wait on X.
    A session waits on this event when requesting a mutex for sharable operationsrelated to pins (such as executing a cursor), but the mutex cannot be granted becauseit is being held exclusively by another session (which is most likely parsing the cursor).
    use variable SQL , avoid dynamic sql
    http://blog.tanelpoder.com/2008/08/03/library-cache-latches-gone-in-oracle-11g/
    check about memory MEMORY_TARGET initialization parameter.
    By the way you have high "DB CPU"(47.5%), you should tune about your sql statement (check sql in report and tune)
    Good Luck

  • How to change an ASM single-instance  into a clustered ASM ?

    Hi,
    I have a node#1 with Oracle10gR2 installed (standard installation, not RAC).
    Everything is in the ORACLE_HOME.
    A unique single-instance database DB1 uses ASM#1 to access a diskgroup on a SAN.
    I'd like to install Clusterware in a separate CRS_HOME (within the oracle account), and protect ASM#1 and the database DB1 using an application VIP.
    The things is: I want to create another single-instance database DB2 on another node#2, with another ASM#2 instance.
    I need a clustered ASM (with Clusterware) installation to do that because ASM#1 and ASM#2 need to access the same diskgroup.
    I don't want to lose the existing data & configuration of the ASM#1 instance.
    What modifications I need to do in the current ASM#1 instance on node#1 to make it Clusterware-aware ?
    (Again, it's not a RAC installation...)
    Thanks

    Hi,
    I finally found this Metalink Note 452758.1, which describe the procedure....
    Any feedback about this ?

  • Should I use orchestration

    I am currently in the process of porting an existing application (Biztalk 2004) to a newer version of Biztalk. The current solution takes multiple types of EDI documents, modifies it if its necessary and sends it to our legacy system to be loaded and processed.
    This process is developed using a combination of Receive Ports, Pipeline component, Send Ports and Maps, Schema and Message Queue Components. This solution uses 10 send & receive ports to handle various aspects of the process such as Bursting EDI into
    individual messages, Transforming Messages, Error handling, Edi Validation and Batching of Edi Messages. All the modification of EDI is done using Message Queue Components.
    This solution does NOT use orchestration at all. I am considering implementing the current solution as a Biztalk orchestration. I have read up a bit on orchestrations and worked thru few sample applications. But I am still very confused over what benefit
    of using orchestration, if a solution can be developed without it. I am sure I am missing something here. What additional benefit orchestration gives that the current solution does not?

    The use of Orchestrations are sort of religious when it comes to BizTalk desgin, so I'm just going to leverage what I think:
    The use of Orchestrations is never a goal in itself. They should be used if required. In other words: If your integrations cannot be done through simple Content-Based Routing using Pipelines, Maps, Ports and Subscriptions then you start to look into Orchestrations.
    Morten la Cour

  • Not able to install Adobe 17x32.Getting message  only a single instance of this application can run

    Sir,I can't install Adobe 17X32.I have      Win 7 system.All previous versions have been uninstalled and yet I am getting a message--ONLY A SINGLE INSTANCE OF THIS APPLICATION CAN RUN.How do I remedy the situation?
    Thanks,
    Message was edited by: Maria Vargas
    Removed personal email address, which should not be included in a public forum.

    Hi Viraj,
    Please try the offline installer posted at the bottom of the Installation problems | Flash Player | Windows page, in the 'Still having problems' section.
    Maria

  • Performance for messaging queue - queue implemented as single cache entry.

    Hey Brian/All,
    Has there been any progress on addressing the long standing performance issues with messaging?
    i.e. messaging stores a queue within a single cache entry, which means it needs to deserialize, add item, and reserialize every time we add an item to the queue.
    For push rep, this means a burst of data can bring messaging to it knees and cause a cluster to fall over (eg: a clear of a large cache, or a remote site that is unavailable causing queues to grow to a very large size).
    I have also noticed that when a queue gets very large, the jmx suspend/drain times out, and throws an exception.
    Cheers,
    Neville.

    Hi Friends,
    Create a function that needs to be called on the ejbCreate.
    Inside this function make the connections as in the snippet below and close it when ejbRemove() or exception.
    fis                          = new FileInputStream("D:/MessageRouter_UAT/AppConfig.Properties");
    props.load(fis);
    fis.close();
    String logPath      = props.getProperty("Log_path").trim()+".log";
    logHandler      = new FileHandler(logPath);
    logHandler.setFormatter(new SimpleFormatter());
    logWriter.addHandler(logHandler);
    logWriter.setLevel(Level.ALL);
    MQEnvironment mqEnv      = null;
    mqEnv      = new MQEnvironment();
    MQEnvironment.hostname      = props.getProperty("MQ_HOST_NAME").trim();
    MQEnvironment.port      = Integer.parseInt(props.getProperty("MQ_PORT").trim());
    MQEnvironment.channel      = props.getProperty("CHANNEL_NAME").trim();
    MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_CLIENT);
    q_Mgr                = new MQQueueManager(props.getProperty("QUEUE_MANAGER").trim());
    queueID                = q_Mgr.accessQueue(props.getProperty("ID_Queue").trim(), MQC.MQOO_OUTPUT);
    queueSG                     = q_Mgr.accessQueue(props.getProperty("SG_Queue").trim(), MQC.MQOO_OUTPUT);
    queueHK                = q_Mgr.accessQueue(props.getProperty("HK_Queue").trim(), MQC.MQOO_OUTPUT);
    queueCL                     = q_Mgr.accessQueue(props.getProperty("CL_Queue").trim(), MQC.MQOO_OUTPUT);
    Thanks,
    Arun Prithviraj

  • I get this error message: only a single instance of this application can run

    When I try to open my bank statement I get this message: only a single instance of this application can run.  Just wondering what that means,  and how do I open a file with adobe reader?

    Adobe Reader | Edit | Preferences | Security (Advanced)
    That is, start Adobe Reader.
    Chose Preferences from the Edit menu
    Look at the left hand side for Security (Advanced) and click on it
    Now look for the option to turn off Protected Mode.

  • Single-instance MDB - jmsra

    Hello,
    I've got the following SAS configuration:
    Sun Java System Application Server Platform Edition 8.1_02 (build b06-fcs).
    It comes with the Sun Java(tm) System Message Queue 3 2005Q1 Sun Microsystems, Inc.; Version: 3.6 SP2-ER Bugs 6256771 - 2005-04-25 (Build 2-A).
    I want to setup the following queues and MDBs.
    Queue-1 consumed by MyFirstMDB.
    Queue-2 consumed by MySecondMDB.
    Both MDBs "use" the same jms/QueueConnectionFactory. I guess this is not the problem.
    The questions I now have are the following:
    Where and how should I specify that only one instance of MyFirstMDB should consume messages from Queue-1 ?
    Where and how should I specify that only one instance of MySecondMDB should consume messages from Queue-2 ?
    Should I specify this in the MDB descriptor in my ejb-jar.xml, or should I put this in the sun-ejb-jar.xml, or still should I configure this somewhere else and if yes where and how ?
    Where and how should I specify that in case of a problem, messages on Queue-1 should be retried 3 times with an interval of 1 hour ?
    Where and how should I specify that in case of a problem, messages on Queue-2 should be retried 10 times with an interval of 2 hour ?
    Should I specify this in the MDB descriptor in my ejb-jar.xml, or should I put this in the sun-ejb-jar.xml, or still should I configure this somewhere else and if yes where and how ?
    Does the fact that the redelivery attempts and redelivery interval differ mean that I need to use two different sessionfactories and that I can't let my MDB share the same ?
    Any help would be appreciated.
    Thanks,
    EDH

    in 11gR2,ASM is part of grid infrastructure so you've to install Grid Infrastructure first on standalone server first.
    http://docs.oracle.com/cd/E11882_01/install.112/e24346/oraclerestart.htm#CIHCBGCC
    http://docs.oracle.com/cd/E18728_01/html/821-2678/gjafo.html
    Single instance Oracle ASM is not supported with Oracle 11g release 2 on Oracle Solaris Clusteri'm not fully sure but i think it should be supported.

  • Agent issue with 10.2.0.4 on RHEL 4 for single instance db.

    Hi,
    I had 2 instances that were not able to upload nor where they secure. For one of them which ran on port 5500, I was able to go through the forums and basically I ended up dropping the repository for that instance, and then I was able to secure the agent, and uploads were fine. Now I have one single instance that runs on port 1158:
    [oracle@stdb7 bin]$ emctl status agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.6.0
    OMS Version : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
    Agent binaries : /dsk0/oracle
    Agent Process ID : 27304
    Parent Process ID : 27301
    Agent URL : http://stdb7XXXXorg:3938/emd/main
    Started at : 2009-05-12 10:53:16
    Started by user : oracle
    Last Reload : 2009-05-12 10:53:16
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 56
    Size of XML files pending upload(MB) : 2.44
    Available disk space on upload filesystem : 70.15%
    Agent is Running and Ready
    [oracle@stdb7 bin]$ emctl secure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent successfully stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Failed.
    The OMS is not set up for Enterprise Manager Security.
    [oracle@stdb7 bin]$ emctl start agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ... started.
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    clearstate failed with ret=-10
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD clearstate completed successfully
    [oracle@stdb7 bin]$ emctl start dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://stdb7XXXXorg:1158/em/console/aboutApplication
    Agent Version : 10.1.0.6.0
    OMS Version [oracle@stdb7 bin]$ emctl status agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.6.0
    OMS Version : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
    Agent binaries : /dsk0/oracle
    Agent Process ID : 27304
    Parent Process ID : 27301
    Agent URL : http://stdb7XXXXorg:3938/emd/main
    Started at : 2009-05-12 10:53:16
    Started by user : oracle
    Last Reload : 2009-05-12 10:53:16
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 56
    Size of XML files pending upload(MB) : 2.44
    Available disk space on upload filesystem : 70.15%
    Agent is Running and Ready
    [oracle@stdb7 bin]$ emctl secure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent successfully stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Failed.
    The OMS is not set up for Enterprise Manager Security.
    [oracle@stdb7 bin]$ emctl start agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ... started.
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    clearstate failed with ret=-10
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD clearstate completed successfully
    [oracle@stdb7 bin]$ emctl start dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://stdb7XXXXorg:1158/em/console/aboutApplication
    Agent Version : 10.1.0.6.0
    OMS Version : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
    Agent binaries : /dsk0/oracle
    Agent Process ID : 25197
    Parent Process ID : 25194
    Agent URL : http://stdb7XXXXorg:3938/emd/main
    Started at : 2009-05-12 11:25:33
    Started by user : oracle
    Last Reload : 2009-05-12 11:25:33
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 66
    Size of XML files pending upload(MB) : 4.18
    Available disk space on upload filesystem : 70.14%
    Agent is already started. Will restart the agent
    Stopping agent ... stopped.
    Starting Oracle Enterprise Manager 10g Database Control .... started.
    Logs are generated in directory /dsk0/oracle/stdb7XXXXorg_dhqprd/sysman/log
    [oracle@stdb7 bin]$ emctl upload
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent is Not Running
    [oracle@stdb7 bin]$ emctl unsecure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Checking Agent for HTTP... Done.
    Agent is already unsecured.
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD clearstate completed successfully
    [oracle@stdb7 bin]$ emctl secure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent is already stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Failed.
    The OMS is not set up for Enterprise Manager Security.
    [oracle@stdb7 bin]$ emctl start agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ... started.
    [oracle@stdb7 bin]$ emctl upload
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet.. : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
    Agent binaries : /dsk0/oracle
    Agent Process ID : 25197
    Parent Process ID : 25194
    Agent URL : http://stdb7XXXXorg:3938/emd/main
    Started at : 2009-05-12 11:25:33
    Started by user : oracle
    Last Reload : 2009-05-12 11:25:33
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 66
    Size of XML files pending upload(MB) : 4.18
    Available disk space on upload filesystem : 70.14%
    Agent is already started. Will restart the agent
    Stopping agent ... stopped.
    Starting Oracle Enterprise Manager 10g Database Control .... started.
    Logs are generated in directory /dsk0/oracle/stdb7XXXXorg_dhqprd/sysman/log
    [oracle@stdb7 bin]$ emctl upload
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent is Not Running
    [oracle@stdb7 bin]$ emctl unsecure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Checking Agent for HTTP... Done.
    Agent is already unsecured.
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD clearstate completed successfully
    [oracle@stdb7 bin]$ emctl secure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent is already stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Failed.
    The OMS is not set up for Enterprise Manager Security.
    [oracle@stdb7 bin]$ emctl start agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ... started.
    [oracle@stdb7 bin]$ emctl upload
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
    So, with this one instance and agent, I keep going in loops with the same 2 errors:
    1. EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
    2. The OMS is not set up for Enterprise Manager Security.
    I even followed related messages on the forums here to try to resolve the issue, but this did not work:
    '- emctl stop agent
    - delete all files in $AGENT_HOME/sysman/emd/upload and $AGENT_HOME/sysman/emd/state
    - emctl clearstate agent (this should delete all state files but sometimes it is not enough, but I experienced that it is better to use this command after deletion of the files)
    - emctl secure agent (and specify the password on demand)
    - emctl start agent'
    Any advice or help on HOW to secure this instance's agent and get it to upload would be greatly appreciated.
    Edited by: user611572 on May 12, 2009 9:11 AM
    I guess I solved my own issue, however I basically had to drop and recreate the repository and grid control for the instance, thus loosing over 3300 XML files, but now the agent is working and the server is running secure. I simply did:
    emca -config dbcontrol db -repos recreate
    And answered all the questions... I am wondering if the 3300+ xml files I deleted by following some guy's response in a similar thread was necessary, and if it was not, I wonder if I would have been able to upload all of the files after executing and rebuilding....

    Since you have dropped the repository thats why it was needed to deleted the previous files

  • Single-instance manual standby for a three-node RAC database

    Hi all,
    I am wondering how it is possible to create a manual standby database for a rac primary database.
    Oracle versione is standard edition 11.1.
    I have experience creating and managing manual standby for single-instance database; I am wondering if and how I can instruct the single-instance standby database to discover and apply the three redo threads that I will copy from the primary site to the standby site.
    Should I use rman to catalog all the archived log on the standby site ?
    Should I configure many LOG_ARCHIVE_DEST_n parameters to point to many different path, one for each primary instance (i.e. one for each redo thread), and let rman automagically discover all the archived logs ?
    Should I configure only LOG_ARCHIVE_DEST_1 , put archivelogs from all threads in the same folder, and let rman automagically discover all the archived logs ?
    Thanks for every answer!
    Andrea

    Hi,
    indeed i catalog all transfered archive logs in front of the recover process.
    During the tests i believe (iirc) i was unable to recover from transfered archivelogs without catalog them first. But this statement is out of my mind, i am not 100% sure for this, sorry.
    Some more details.
    Because it is a standard edition, i have to use on the RAC side ASM. So our normal scripts to transfer archivelogs from primary to standby are obsolete.
    So i decided to put the whole standby thing into the database. Now the primary database uses external scheduler jobs to do the work. The standby side is not using ASM, so there is no need to handle the logs in any special way.
    The steps are:
    1. Get SCN from primary and standby
    2. Transfer the logs for the gap from ASM to "normal" filesystem.
    3. Transfer (and compress, if not in LAN) to standby archive dest
    4. Catalog on standby side
    5. Recover on standby side
    6. Delete on normal filesystem (on both sides, but on standby with a delay of 2 days just to be sure)
    The steps on the standby side are both using the primary scn from step 1 as a parameter to avoid error messages during the catalog or recover call.
    Hth
    Joerg

  • Installing G.I.:[INS-40916] Single-instance version of  (CSS) are detected

    I am configuring Grid Infrastructure 11g2 on node A, one of two cluster nodes, and getting the following message:
    [INS-40916] Single-instance versions of Cluster Synchronization Services (CSS) are detected.
    I executed runInstaller and installed software-only on both A and B nodes. It apparently the other node has already CSS instance running, and maybe caused by the installation.
    Should I remove the software from A first?
    How do I stop CSS on the node A, and let the configuratoin to continue on this node B
    Thanks!

    I am new with the installation. I am following this document:
    http://docs.oracle.com/cd/E11882_01/install.112/e24321.pdf
    I have done all required elements on both A and B, now i come to charpter 3, Oracle Grid Infrastructure.
    I have also created oarcle asm disks on both two nodes.
    As I understand, before install the database, I have to install Grid Infrastructure first. So, I execuated ./runInstaller on node A, and B, choose "Install Grid Infrasture software only" installation options on both nodes. Both seem successful.
    Now I am running /u01/app/11.2.0/grid/crs/config/config.sh on node B, and getting that error message.
    I'd love to do as your suggested, stay away with the keyboard, and read the documents first.
    But, I am stuck now. Would you please tell me. Should I remove the software from node A, and just run config.sh on B, and push the software to A from B?
    other than the document I put at the beginning of the message, what documents specifically I need to read first?
    Please advice. Thanks!

Maybe you are looking for

  • Library creating a new duplicate folder structure

    I am using 2.0 on a Mac. Recently I moved all my data files including photos and lightroom catalogs from an external to an internal drive on my MacPro and renamed the new drive with the same name as the external and changed the external name and it b

  • IDVD burned disk does not start at main menu

    The IDVD burned disk starts randomly in the middle of the disk. Cannot access the main menu. I started with an IMovie with chapter headings, videos and pictures. Then shared it with IDVD, created themes, music, changed the headers, etc. Burned the di

  • My computer does not eject the disc after it has been burned.

    I understand that my computer is supposed to automatically eject a disc after it has been burned. Mine doesn't. Instead, I hear a "Plonk," which I assume is announcing that the burning process has been completed. First of all, is it true that the dis

  • Change language in spiderman app

    Help the language in the spiderman game app is now Chinese (was English), but now we can't read the menus to change back to englsh. Can anyone walk me through the steps?

  • Undo-ing Quicktime as the default movie setting

    I uploaded a short video from my camera to my Vista pc - and it came as an .MOV file so I had to download Quicktime to play it back. I did that ok, but to my dismay I must have selected QT as default because now ALL my previous movies are showing as