Transaction monitoring in Oracle
Hi.
I don't know if this is the right forum, but here goes:
We've developed a system, where all the client transactions gets
processed by our own backend, as well as the database. Like in:
Client:
begin trans
insert into t1 ...
insert into t2
update t3 ....
commit trans
Our back-end system needs to get all committed transactions. At
some point, our system will process the client transaction, but
it will NOT alter it:
Our backend:
For each new transaction
For each 'command' in transaction, process it.
I think I can remember that Oracle used to have a log-reader,
but is there another way? The XA interface seems to be overkill
for this.
Any comments much appreciated.
max
if the applications are using OCI you can add callbacks to the
OCI calls to log the execution flow. Each OCI call can take 2
call backs - one for processing before the body of the call is
executed and the other for processing after the body of the call
is executed but prior to its return. May be this will help.
Similar Messages
-
Hi,
I enabled tsam transaction monitoring from 'bankapp' application at tmadmin as follows:
chmo -m SITE1 tran:tranratio=1:Now I accessed the 'bankapp' client using the following command.
driver -n1000
Now I go to TSAM console and click on TSAM -> Transaction -> Query -> Query for later 100 transactions -> Submit.
The result is:
INFO: nothing found.
Is there anything extra to be done for getting these transaction monitoring logs?
Is TSAM console only way to view transaction monitoring logs?
Does TSAM agent store transaction monitoring logs somewhere in the server?
Does TSAM give transaction monitoring inforamation only for currently running transactions or does it provide data for historical transactions also?
I will be grateful if you could provide me answers for these.
RaviHi Ravi,
Sorry for the delay in answering but as you can probably imagine things are a little busy as a result of the Oracle acquisition.
I'm not sure why you aren't seeing any transaction entries in TSAM console. Are you able to monitor other categories and see them show up in the console?
The TSAM console is currently the only way to view any performance data collected by TSAM.
The TSAM Agent does not "store" any logs of any sort, but there may be a lag in the reporting of the data if the LMS or TSAM Manager get behind. The raw records in TSAM 1.1 are buffered just like any other Tuxedo request so if the LMS can't send the data fast enough to the TSAM Manager, then logging requests may queue up in the LMS's request queue.
TSAM provides both current transaction monitoring and historical transaction reports.
Regards,
Todd Little
Oracle Tuxedo Architect -
Transactional Behaviour of Oracle B2B 11g
Hi Gurus/Anuj,
Can you please explain Transactional Behaviour in Oracle B2B 11g?
For a Inbound Interface I have three Mediators(Mediator M1,M2 and M3)
Partner push a file at file location --> B2B Interface used in M1 ,through B2B Binding,picks the FIle and brings to SOA and--> Give it to M2 and M3.
I need to perform Error Handling in this case..
M1 M2 and M3 are Asynchronous,Synch and Synch in nature and I guess M1 will propogate it's transaction to M2 and M2 will propogate it's transaction to M3.
Routing rules are Sequential..
Note : Fault policies are applicable to parallel routing rules only. For sequential routing rules, the fault goes back to the caller and it is the responsibility of the caller to handle the fault.
Am I correct in understanding that :
B2B Adapter in M1 is the caller and M2 and M3 ,as being Synchronous,will follow M1'a transaction.
And if a Fault goes into M2 and M3,it will go back to the caller,means M1.
And in M1 we can have Fault-Handling.
Also please explain Transactional Behaviour in Oracle B2B 11g?
Is B2B is Asynchronous in nature?
Is B2B Adapter a Transactional Adapter?
What category of JCA adapter is Oracle B2B adapter?
Thanks
Vivek
Edited by: Vivek on May 19, 2011 11:41 PM
Edited by: Vivek on May 19, 2011 11:54 PMHi Vivek,
Also please explain Transactional Behaviour in Oracle B2B 11g?Oracle B2B depends upon the underlying transport being used for transactional behavior. As far as transaction propagation is concerned, we never had any such need in B2B communication.
Am I correct in understanding that :
B2B Adapter in M1 is the caller and M2 and M3 ,as being Synchronous,will follow M1'a transaction.
And if a Fault goes into M2 and M3,it will go back to the caller,means M1.
And in M1 we can have Fault-Handling.If you are using AQ interface of B2B adapter with XA Data Source then that adapter can participate in an XA global transaction that can span multiple resources. In this transaction, the application server acts as the coordinating transaction manager with multiple databases (or other resources such as JMS), each of which is involved in a single transaction.
If you are using JMS interface of B2B adapter with XA Connection factor then that adapter can also participate in an XA global transaction that can span multiple resources.
If you are using Default (Fabric) interface of B2B adapter then it does not participate in global transaction, rather it starts it's own local transaction and executes in that. So it will totally depend upon the interface you are using with B2B adapter that it will start and propagate a global transaction or will not participate in a global transaction. Moreover, if B2B adapter is starting a transaction and propagating it to a async service then that sync service will start a new local transaction and further sync services may execute in that transaction. As soon as the control comes back to B2B adapter, it will commit the transaction.
Is B2B is Asynchronous in nature?B2B can be used for both sync and async calls (between partners). B2B is async when communicating with middleware.
Is B2B Adapter a Transactional Adapter?Explained above
What category of JCA adapter is Oracle B2B adapter?No special category. It is a specific adapter for Oracle SOA SCA composites to facilitate them in communication with Oracle B2B. You may or may not use this adapter in SOA SCA composites.
Regards,
Anuj -
Guide to differences between SQL Server Transact SQL and Oracle PL/SQL
Does anyone know of a good book (or online guide) that has an in-depth comparison of the differences between SQL Server Transact SQL and Oracle PL/SQL? (Something more than a beginner's guide)
Hello,
Below links will surely be helpful
Discontinued features in SQL 2012
Depricated features in SQL Server 2012
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Using Sql monitor in Oracle SqlDeveloper
Hi ,
i tried to use SQL Monitor in Oracle SqlDeveloper but it says "i need to register the oracle "
is there any other way to use it ?
thank uHi,
I am not quite sure what you mean by "i need to register the oracle ". Are you referring to the Tuning Pack Required confirmation dialog? If so, then you should click on the Yes button if that option is licensed for your database installation.
Regards,
Gary
SQL Developer Team -
How the transaction executing in Oracle bpm 10g
Hi,
i want to know "how the database transaction executing in Oracle bpm 10g",
My Scenario is 'i have two data tables, i need to update the same information in two different data tables with OBPM 10g. let's imagine, info is updated in 1st data table, and is some exeption occured while updating the same info in second da table, so i want to roll back the info which is updated in first db table'.
can any one suggest the approach how can i proceed?
Thanks.
SudheeHi Omkar,
Please check the following code.
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
plid ParamList;
BEGIN
plid := Get_parameter_List('tmp');
IF NOT Id_Null(plid) THEN
Destroy_parameter_List( plid );
END IF;
plid := Create_parameter_List('tmp');
add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
repid := FIND_REPORT_OBJECT('POL_REP');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
v_rep := RUN_REPORT_OBJECT(repid,plid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
'||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
'¶mform=no');
END;
I am used to Start the Report sever 'Rwserver Server=prod_Report_Server Start'
OracleAS Report Services
Version :- 10.1.2.0.2
Name :- prod_report_server
Status :- Server is Shutting down
Jobs in Queue 0
Active Engines 0
I got the Following Error when I trying to run the Report
FRM-41211: Integration error:SSL failure running another product
Thanks and Regards,
Faziludeen -
SCOM2012 Web Transaction Monitor - Displaying the Request Status
I have successfully created a 'Web Application Transaction Monitor' using the SCOM 2012 R2 Console wizard. The monitor goes through several listed website URLs and completes.
What I'm interested in is how to display the 'Request' status objects. I use the MS-Visio plug-in to display various dashboards within Sharepoint and I would like to display the part of the Web Transaction which is showing an error.
I can see the individual requests under the Availability of the created 'Web Application Transaction Monitor'. I just need to capture those objects for displaying within a view or MS-Visio diagrams.
The email notifications show which of the URLs are having the issue, but I do not seem to find a view or object I can display.
Any ideas on what could be done would be appreciated. I was hoping NOT to create individual Web Txn Monitors for each URL, but that maybe the only solution.When I create a Dashboard View and add the Alert Widget, I can get the URL from Name Column.
Juke Chou
TechNet Community Support -
Transaction Monitor u2013 Services Processes into BI
Hello Experts,
I'm wondering if it is possible to get tickets information from Solution Manager and have some statistics in BI.
For instance the average time of ticket resolution, number of tickets per team/person/month, etc, etc
At this moment Iu2019m using the ZNTP transaction in solution manager to access Transaction Monitor u2013 Services Processes.
I would like to install BI Content to have some summary queries about the activity within ZNTP.
I already connected BI to SMP and also replicated metadata, however the data sources available just by the name donu2019t help me much.
Perhaps I should check the content version within solution manager and BI but I don't know how to performe such verifications.
Thanksusing rsa3 in the source system I'm getting the follow error:
The extraction program does not support object 0CRM_SRV_PROCESS_H
Message no. R3009
Diagnosis
The application program for the extraction of data was called up using the invalid InfoSource/invalid InfoObject 0CRM_SRV_PROCESS_H.
System Response
The data extraction is terminated.
Procedure
Check the SAP Support Portal for the appropriate Notes and create a customer message if necessary.
Can you help me? -
Web Application Transaction Monitoring Alerts with "wrong" Path
Hello,
i have created some web transaction monitors, such as
http://foo.htm who is hosted on the server foo123.cologne.org.
It works.. but
we have also a mssql monitoring, the discovery of the mssql management pack discovers the reporting part of mssql server on our managementserver Operations12.cologne.org. So (it's right..) the server Operations12.cologne.org is a member of the SQL Instances;SQL
Compontents;SQL Computers group.
When the web transaction monitor generates an alert, it have the pathname Operations12.cologne.org and not the pathname of the "right" server foo123.cologne.org.
For our mssql admins i have build an email-notification, when somethings going wrong at our sql servers (member of the SQL Instances;SQL Compontents;SQL Computers group) they received a mail.
The problem is, that they received a mail, when a web transaction monitor generated one, because the pathname is the name of our management server, because the management server is a member of thos sql server groups.
Someone have an idea to fix my "problem"?
- Best way: changing the path names of the web transaction monitorings... but how? i can't find anything to change..
Kind regards
Wolfgang WinterThank you, it's a help to decide, what to do, so i have to solutions:
- installing an agent to the web-appliction-hosting-server and configure it as a watcher node
(may be i will have problems with our firewall admins, because they have to allow the communications and.. when the hosting watcher is down, i have no alerts.. when i use more than one watcher nodes (good).. i have the wrong path names..
- configure a part of our management server group without SQL-Reporter Component as a watcher node
(more easy, because i have to tell my firewall admins: "the server foo456 is the standard watcher node"
Crazy.. because i don't know, how to assign the web transaction monitors to the "causing" server.., for mail notification and for our integration to HP Service Desk... -
SNMP monitoring of Oracle 10g?
Hi there,
I'm curious about using SNMP technology to monitor Oracle 10g databases.
I've done some light reading on the subject and I'm now at the stage
where I have a few questions.
-What exactly do I need to configure in my Oracle 10g environment?
-Is Enterprise Manager the best and/or only UI available for me
to carry out configuration chores?
-I see no SNMP specific documentation for 10g; why is that?
-I do see a good document for 9i:
Oracle SNMP Support Reference Guide Release 9.2.0 Part Number A96672-01
http://download-west.oracle.com/docs/cd/B10501_01/em.920/a96672/toc.htm
Is the above document suitable for configuring SNMP monitoring of Oracle
in a 10g environment?
-moiI'm able to set up traps via the EM website following these instructions:
http://download-west.oracle.com/docs/cd/B19306_01/em.102/b40002/notification.htm
However, what I'm really looking for is the ability to do snmp gets. I need functionality similar to how the old school DBSNMP under OMS used to work. These commands seem to be totally missing. I found the following documentation:
http://download-east.oracle.com/docs/cd/B19306_01/em.102/b16244/chap2.htm#sthref74
Which indicates there should be an snmp subfolder under $ORACLE_HOME/sysman, but that folder does not exist in my installation. I installed Oracle EE. Is there another package I need to install in order to make the subagent run like a normal snmp agent?
So far if I do a:
emctl start dbconsole
that starts up the EM Website and I can use that no probelm. If I...
emctl start agent -- I get:
Starting agent ... started.
issuing a 'emctl staus agent' gives me a normal status message. Things start to get strange when I try to start the subagent, which to my understanding is what I need running in order to to talk to net-snmp, which is the master agent running on this host. Here's what happens:
[zaro@cheetah bin]$ ./emctl start subagent
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Starting sub agent .....started
[zaro@cheetah bin]$ ./emctl status subagent
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Sub agent is not running..
I guess my question is how do I get to have the ability I used to have back in 8i to start up dbsnmp and then have my SNMP monitoring app "discover" the agent and use its instrumentation to get data? -
Transaction Monitor - Org Unit (Service) and Service Organization
When using Transaction Monitor I notice that there are two available filters:
Org Unit (Service) and Service Organization
When I try and use these filters only some of the Org Units I have created using PPOMA_CRM ae visible and most of the other org units are not.
How do I make all the other Org Units I have created visible to this filter option?
Thanks
SimonHi Naveen,
We assign these Org Units on the support ticket in the support team field when creating the ticket. Do I need to make any further configuration as all the support teams I have entered on the tickets do not appear as a selectable option when using the Org Unit (Service) or Service Organization filters in Transaction Monitor.
I am sure there is somethign I am missing.
Thanks for your assistance.
Simon -
OSS messages in Transaction Monitor
Hey all,
I saw at the Solution Manager Seminar that it is possible to bring OSS messgaes created in the Service Market place into the Transaction Monitor in Solution Manager. Anyone know the config or background job for this?
regards,
JasonThanks Raquel,
I read through note 781163.
https://service.sap.com/sap/support/notes/781163
Which variant do you recommend?
'All systems' or
'X all systems (without SAPNet R/3 Front End)', or
'W Workplace'?
regards,
Jason -
CRM_DNO_MONITOR - Transaction Monitor -reg
Hi,
We are using solution manager for SAP support, whenever we receive a issue from the clinet we logg a call in the transaction 'CRM_DNO_MONITOR - Transaction Monitor' this is like notification in QM and CS modules. After giving the solution we changes the statuses like inprocess, soltion proposed, confirmed. Once we logg a call system generates a numaric unique number, now my client wants this number wise status. Which transaction is having what status like inprocess, soltion proposed, confirmed ?
I am not able to find tables where the system is storing data for this transactions. Please help me in this regard.
thanks in advance.
rajendraHi Rajendra,
What do you mean by " system wise status "
If you use the selection criteria for crm_dno_monitor then you can get the tickets as ur required..
for e.g if u select status as In Process then you will get all the tickets in in process status ...moreover its ALV output so you can use the filter feature to provide more filteration based upon the requirement like sorting etc.
As far as building the zreport its bit difficult but hint is to before pressing execute button in Crm_dno_monitor switch on trace in
"ST05"
Hope it helps.
regards
Prakhar -
We do a lot of web app/transaction monitoring and we have watcher nodes distributed globally. When we have connectivity issues at a site hosting a watcher node, the web monitors that target the watcher node in that site all alert even though all the other
watcher nodes are fine.
We'd like to reduce the noise from our web monitoring by having alerts fire only when a majority, or some other defined ratio, of watcher nodes are in an error condition. Is this possible, and if so, how?
For reference, we're running 2012 R2 and monitor hundreds of URLs. This list of URLs and watcher nodes is fairly dynamic, so we'd prefer to find a solution that doesn't require manual development (e.g. creating distributed apps), however if that's the only
path then it would also be good to know.First, disable the alerts from the web application that you have created.
Next, create a new distributed application. Use the 'Blank (Advanced)' template. When it comes to choosing the management pack, set it to be the same as the one used for the web monitor.
Once the distributed application designer has loaded, client the 'Add Component' button.
Give it a name - Something like 'Appname web monitor component group'
Choose the 'objects of the following type(s)' radio button. Navigate the tree:
Entity -> Logical Entity -> Perspective -> Web Application Perspective -> YOURWEBMONITOR
Tick the box next to the name of your web monitor.
Now, on the left, in the Objects bar, you should see the watcher nodes for your web application. Add ALL the watcher nodes into the component group by dragging them in.
Now save your distributed application.
Click the title of the component group that you have just created, down the bottom right of the window there will be a link called 'Configure Health Rollup'. Click that.
In the override properties window, Tick the box next to the 'Rollup Algorithm' and change the Override Value to Worst state of a percentage of members in good health state' and override 'percentage' value into your expected value.
OK the changes and then save the distributed application once again.
Before you exit the designer, note the name of the component group that you created.
Finally, we have to enable alerting for that component group. To do this, exit the designer and you should be back in the Authoring pane of the console.
Go to "Management Pack Objects\Monitors" in the console. Click on the Scope toolbar button to scope the view -
if a scope was previously active, this will disable the scoped view, so click the button again. You should be presented with a "Scope Management Pack Objects Window"
Click the "Clear All" button at the bottom of that window, then type in the
name of the component group that you noted down earlier into the search box. A single line should be displayed in the search results. Tick the box and click OK.
There should now be a yellow bar saying that the view has been scoped to your web application component group. Underneath will be a tree view of the monitors in your web applicaion.
Expand the tree view until you find a monitor called "Component Group Health Roll-up for type..."
Open the properties of that item, go to the alerting tab and
enable the "generate alerts for this monitor" checkbox.
You can then fill in the alert name and description as well as other things like severity and whether or not the alert will close when the monitor is healthy.
Roger -
Hi,
In Operations Manager Console 2012 SP1 including RU2 I am trying to record a web session in Web Application Transaction Monitoring.
I have check that:
The add-on (Microsoft Web Recorder Helper) 64bit is Enabled.
The 64bit version of IE10 is running/launched. See this link for how to modify your registry key if needed: http://kevingreeneitblog.blogspot.co.uk/2012/01/scom-2012-recording-web-browser-session.html
I have tried both on a Windows 2008R2 and 2012 server, but the recorder is not showing up as can been seen from Kevin's Blog (link above).
Any Ideas?I managed to get this working on both Windows 8 IE10 and server 2012 IE10. Tested on SCOM 2012 SP1 UR2 and UR3. I've done this process in lab and production several times so hopefully this helps you out.
Checklist:
1. Ensure that the 64bit IE10 is launching when the "start web-capture" is started in SCOM.
2. Enable IE10 internet options:
a: Advanced - Security - Enable Enhanced Protected Mode
b: Advanced - Browsing - Enable third-party browser extensions
3. Close all running IE sessions and open the Registry Editor
4. Registry Change (No reboot needed)
- Browse to the following regkey:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
- Add a new DWORD called TabProcGrowth and set it to 0
5. Registry Change (No reboot needed)
- Browse to the following regkey:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories64\
-You should see two subkeys labeled: (These are the cached BHO IE objects related to the Web Recorder)
{00021493-0000-0000-C000-000000000046}
{00021494-0000-0000-C000-000000000046}
- Delete only the above two mentioned keys (This will force IE to recache them next launch)
6. Try to start the web capture again from SCOM 2012 SP1.
7. When IE10 Launches enable the add-on again if you are prompted.
8. If you still don't see the Web-Recorder pane in IE you can now show it by:
- View - Explorer bars - Web Recorder
Maybe you are looking for
-
Hi , I have a report in production server. The client took a print out of the report which is accessible from report server URL. The issue pertaining for this report is, some of the letters in the report such as 'ti' and 'le' are missing when the cli
-
Problems Republishing a Website
Alright, I had a friend build my website with iWeb, and can no longer keep it up. I then created my own website with iWeb. I tried to publish it and both websites were then active and the site would automatically shoot people to the old website if yo
-
Getting "Insufficient # of client access lincenses" message
Nothing has been monkeyed with and all of a sudden I'm getting that message when I'm trying to send/receive in Entourage. Please help!
-
Actions not recording curve/levels adjustments or presets
Hi I'm trying to record an action in Photoshop CC, but it seems to refuse to record adjustments or the selection of a saved preset. All I get when I play the action, is a new curves or levels layer without my adjustments. Hope someone can help. /Mart
-
How to stop the selection of an empty table?
Hello , everyone. I created a JTable : tableView : tableView.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); tableView.getSelectionModel().addListSelectionListener(this); tableView is a empty table , that is to say , tableView.getRo