33

Management and Monitoring of Oracle Tuxedo Integrated, Automated Todd Little Oracle Tuxedo Chief Architect Tuxedo Product Development Team October 2,

Embed Size (px)

Citation preview

Management and Monitoring of Oracle TuxedoIntegrated, Automated

Todd LittleOracle Tuxedo Chief ArchitectTuxedo Product Development TeamOctober 2, 2014

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Safe Harbor StatementThe following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Introduction to TSAM Plus

TSAM Plus 12.1.3 New Features

Solving Real World Problems with TSAM Plus

TSAM Plus Demonstration

Summary and Q&A

1

2

3

4

5

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Introduction to TSAM Plus

• Originally released as Tuxedo System and Application Monitor – TSAM• First released in 2007• Developed to provide:– Detailed correlated performance metrics of Tuxedo applications– Real-time and historical performance information– SLA alerting facility to warn of missed SLAs– Single monitoring interface to multiple domains

Brief history

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Introduction to TSAM Plus

• Integration with Oracle Enterprise Manager (OEM)– Cloud control plug-in

• Added complete administration and management• Full access to Tuxedo MIB• Replacement for Tuxedo admin console• Single pane of glass console

From TSAM to TSAM Plus

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Real-time Monitoring

• Application – Request based– Complete end-to-end monitoring of a single client request– Fan-out to other called services including cross-domain calls– Details of each step including queued time, network time, etc.

• Service – Similar to built-in txrpt– Per service metrics, rate and elapsed time

• System servers – Domain gateways, BRIDGE, etc.– Rate of message flow and amount of queued traffic

• XA – Monitor the stages of a distributed transaction

Monitoring categories

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Real-time Monitoring

• Flexible dynamic monitoring policy– Request ratio, i.e., every 1/10 request– Interval, i.e., once per minute–Monitored components

• Messages tagged with new TCM to carry performance monitoring information such as correlation ID, start time, etc.• Extensible plug-in model supporting fan-out

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Real-time Monitoring

• Central monitoring console with real-time and historical views• SLA monitoring:– Alerts in TSAM Manager console– Tuxedo events

• Better real-time load balancing for Tuxedo clusters– Load information of all servers in the cluster updated in near real-time

• Tuxedo service metadata discovery

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

TUXEDO MACHINE

Real-time Monitoring Architecture

TSAM MANAGER

TSAM Web Console

TUXEDO MACHINE

Local Monitor Server (LMS)

Tuxedo Process

TSAM Data Collection Framework

Default &Custom Plug-ins

TSAM Data Manager

Configuration and Monitoring

DatabaseBrowser-based Monitoring

Webapp Container

Local Monitor Server (LMS)

Tuxedo Process

TSAM Data Collection Framework

Default &Custom Plug-ins

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Enterprise Manager

• Single console for hosts, database, middleware, applications• Adds monitoring targets: Domains, Machines, Groups, Servers, tlisten, etc.• Metrics: polled from JMX agent in tlisten– JMX agent provides access to Tuxedo MIB– Throughput, response time, availability, etc.

• Management – Dynamically create domains from scratch, edit configuration, deploy application packages• Administration – Start/stop domains, machines, groups, and servers

Tuxedo Cloud Control Plug-in

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Enterprise Manager

• Downloadable plug-in for Enterprise Manager Cloud Control• Consists of 3 components:–Oracle Management Server add-on–OEM Host Agent add-on– JMX Agent inside the tlisten

process

Tuxedo Cloud Control Plug-in

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Tuxedo Cloud Control

• Accounting a chargeback data collection• Dynamic Resource Broker – scale-up/scale-down– Application Packages– Tuxedo machines– Tuxedo servers

• Dynamic Request Broker– Response times automatically optimized across clustered machines– Near real-time load optimization– Automatic determination of load and network delays

Features

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Introduction to TSAM Plus

TSAM Plus 12.1.3 New Features

Solving Real World Problems with TSAM Plus

TSAM Plus Demonstration

Summary and Q&A

1

2

3

4

5

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

TSAM Plus 12.1.3

• Oracle Business Transaction Management integration• Jython based scripting tool to automate operational procedures• Dynamic resource broker introspection of existing domains• Improved TSAM Plus console performance and usability• Monitor SQL statement execution as part of call path monitoring

Major New Features

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

TSAM Plus 12.1.3 New Features

• Observers for:– WebLogic Tuxedo Connector (WTC)– Tuxedo domain gateway

• Monitoring of requests that cross WTC or domain gateway boundaries• Request/response correlation by ECID• Can leverage ECID to drill down into Tuxedo and/or database

Oracle Business Transaction Management integration

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Business Transaction Management

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Business Transaction Management

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

TSAM Plus 12.1.3 New Features

• Similar to WebLogic WLST scripting tool• Recording of interactive sessions for future editing/playback• Can be embedded in Java applications• Mbean hierarchy: Domain, Machine, Bridge, Group, Server, ART Batch• Connect either to JMX agent or domain• Full administration, configuration, and management

Jython based scripting tool - TXST

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

TXST Scripting Examplestxst:/connect("//tuxdemo.demobox:3095", "SIMPAPP","33339");txst:SIMPAPP_33339:/>ls();attributes:

State ACTIVEparameters:

TA_AUTHSVC TA_AUTOTRAN NTA_BBLQUERY 30TA_BLOCKTIME 6...

childBean:tuxedo_machine SITE1

txst:simpapp_38075:/simple/GROUP1> srv1 = create(“simpserv”, "SERVER", srvID =40);txst:simpapp_38075:/simple/GROUP1> cd(srv1);txst:simpapp_38075:/simple/GROUP1/simpserv_40> start();

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

SQL Statement Tracing in Callpaths

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Introduction to TSAM Plus

TSAM Plus 12.1.3 New Features

Solving Real World Problems with TSAM Plus

TSAM Plus Demonstration

Summary and Q&A

1

2

3

4

5

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Solving Real World Problems

• Development– Understanding and characterizing application performance

• Pre-Production–Optimize Tuxedo configuration

• Production– User complaint slow response times

TSAM Plus Best Practices

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Preliminary Steps Before Problems Occur

• Collect baseline performance data and application behavior– Average response times– Average queue depths– Average network loads– Average CPU utilization– Callpaths and call patterns

• Establish SLAs and background monitoring policies– Catch problems before they become problems

Know what’s normal to know what’s abnormal

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Development

• Hard to predict service interactions in SOA applications• Use service monitoring to identify poor performing services• Use callpath monitoring to identify excessively long callpaths– Customer example: 1 service calling another service 370 times

• Use extended callpath monitoring to identify chatty database access

Understanding and characterizing application performance

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Pre-production

• Generate expected peak load• Determine number of servers: use service monitoring or EM to observe:– server utilization– queue depth

• Monitor service execution times and establish/adjust SLA alerts• Watch for unexpected failed requests

Optimize Tuxedo configuration

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Production

• Establish baseline performance for services• For composite applications, start with BTM• Enable callpath monitoring, be sure to enable correct initiator(s)• Define alerts to warn of problem before users notice them• Use ECID from BTM to locate callpath• Identify abnormal behavior or performance• Enable extended monitoring to examine database access

Troubleshooting Slow Response Times

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Introduction to TSAM Plus

TSAM Plus 12.1.3 New Features

Solving Real World Problems with TSAM Plus

TSAM Plus Demonstration

Summary and Q&A

1

2

3

4

5

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Introduction to TSAM Plus

TSAM Plus 12.1.3 New Features

Solving Real World Problems with TSAM Plus

TSAM Plus Demonstration

Summary and Q&A

1

2

3

4

5

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

TSAM Plus Summary

• Only tool to provide detailed Tuxedo application performance metrics• Assists in understanding performance from development to production• Discover service interaction patterns and interfaces• Complete end-to-end monitoring of composite applications• Administration, management, and monitoring in a single product• Improves Tuxedo application performance, management, and availability

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Q&A

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |