Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 2
简化Oracle Tuxedo应用 的监控与管理
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 3
议程
TSAM 12c 简介
性能监控与诊断
服务水平协议(SLA)管理
操作自动化
用户案例和产品路线图
总结
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 4
TSAM 12c简介
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 5
Tuxedo管理面临的挑战
对复杂Tuxedo应用的管理
– 跨部门应用
– 多层级,跨产品
对关键应用的操控
– 跨模块的分布式事务
– 性能与可用性
克隆与扩容等管理性任务
– 耗时长
– 容易出错
更多的宕机时间 +
更高的IT开销 +
较低的灵活性
后果
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 6
通过TSAM 12c 管理Tuxedo
性能监控与诊断
– 跨域管理
– 提高Tuxedo应用的性能与可用性
– 诊断多层复杂应用程序的性能
自动化操作
– 对云应用的生命周期管理
– 动态的部署应用(增加和减少)
业务层面上的服务水平协议
– 定义SLA ,主动预防性监视确保最终用户体验
减少 IT开销,提高服务质量
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 7
TSAM 12c的益处
提高IT员工的生产率
– 集中化的管理
– 准确有效的监控
提高性能与可用性
通过自动化的部署来减少开销
最小化宕机时间,并提高服务质量
最小化的宕机时间
+ 更小的IT开销
+ 增大灵活性
结果
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 8
TSAM 演进史
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 9
完备的生命周期管理 集成的云堆栈管理 业务驱动的应用管理
自助式的 IT | 简单并自动 | 业务驱动
Oracle Enterprise Manager 12c 完备的云控制
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 10
目标机 2
目标机 1
My Oracle Support
插件 Tuxedo, Database, WebLogic, Fusion Apps,
. .
自行更新
• 连接器
• 配置包(插件)
• My Oracle
Support 页面
• VM模板
代理
DB 插件
Tuxedo插件
代理 Auto
-Push
Ora
cle
Ente
rprise M
anage
r
用户认证与访问控制
作业系统,调度与挂起
数据收集,阈值, 通知
配置自动搜索,比较与拓扑图
数据库 Tuxedo
Tuxedo WebLogic
Tuxedo插件
WLS 插件
Oracle Enterprise Manager 12c 可扩展的管理平台
管理性服
务
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 11
Oracle Tuxedo Management Pack 架构
EM OMS
Oracle Tuxedo
Management Pack EM
数据库
EM 代理
Snmp代理
Oracle Tuxedo插件
tlisten
JMX Agent
Tuxedo App
EM 用户
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 12
Oracle Tuxedo Management Pack
与Oracle的其它产品一起的集中化的监控
同时监控多个域
一体化的监视与管理
集成页面
Management Pack for Oracle Tuxedo
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 13
Oracle Tuxedo管理包
应用的搜索与拓扑关系显示
性能的监控与诊断
服务等级的管理
集中化的管理
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 14
Oracle Tuxedo Management Pack
自包含的应用包
集中的应用库
部署
动态扩展或收缩
支持物理和虚拟环境
计帐和收费
Develop
Package Deploy
Develop
Package Deploy
开发
打包 Deploy 部署
企业云中的生命周期管理
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 15
性能监视和诊断
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 16
开箱即用的监控
监控指标
– 可用性的状态 信息
– 各种统计信息
– IPC队列里的消息数
– 交易统计信息
– 远程连接状态
– CICS, TSQ, TDQ 统计信息
指标数据的聚合
- 域级别上的
- 定期的, 比如每周 或每月
预定义的指标数据
图表, 仪表盘, 报告
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 17
实时和历史数据
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 18
监控目标
监控数据涵盖所有Tuxedo模块
– 域, 机器, 服务器(Servers)
– 系统服务器: BRIDGE, TMS,
DOMAIN gateways, SALT
gateways, WSL, JSL, event
broker
– 大型机适配器
– CICS, IMS and Batch应用运行时
– TMQ (Tuxedo消息中间件)
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 19
调用路径监视 诊断性能瓶颈
为复杂且分布式的应用绘出清晰的业务流
关于消息,执行和时间的详细的度量,帮助进行管理和故障排除
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 20
事务路径监控
特点
– 监视分布式的XA事务
– 监视每个参与者的每一个XA操作
– 监视跨域的事务
益处
– 在集成页面中监视分布式事务
– 容易地识别一个全局事务中的所有参与者
– 容易地识别一个XA事务中的瓶颈
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 21
动态请求代理
基于实时的服务响应时间,增强负载管理
– 反映了实时负载:网络,机器,服务器
– 跨Tuxedo应用中多个节点
益处
- 在MP模式Tuxedo域中,更实时且更精确的负载平衡
- 当资源使用大动态波动时,提高吞吐量和响应时间
Machine 1 Machine 2
Server B Server C Server A
WSH Native Client WSH Native Client
Request
Broker
Message
Queue
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 22
服务水平管理
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 23
服务水平协议管理 集中的事件和问题管理
事件 (Event)
意外事件 (Incident)
问题
事件,意外事件和问题协同管理
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 24
在Tuxedo中使用意外事件
用邮件/呼叫器通知管理员
基于意外事件系统实现动态资源请求
Tuxedo系统/用户事件映射成一个EM警告
– 能触发一个EM意外事件
当这个值达到阀值,就会产生一个意外事件
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 25
业务服务建模
组织和模型化Tuxedo目标(domain,
machine, group, server, CICS region,
Batch system, etc.),使它们成为基于业务逻辑的业务服务
基于这些目标的指标数据,来定义业务服务的可用性和性能的指标
根据度量使用来评估用户对商业服务的需求
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 26
为业务服务创建服务水平协议(SLAs)
定义服务水平协议(SLA)的周期
创建服务水平目标
– 类型: 可用性, 性能
– 目标: 百分比
创建服务水平指标
– 定义对于指标数据的评估规则
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 27
演示 – 服务水平协议管理
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 28
操作自动化
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 29
Tuxedo应用打包和部署
Tuxedo应用包 – 自包含的应用包以及必要的配置信息
软件库 – 一个集中化的软件库存储Tuxedo应用包
Tuxedo应用部署
– 创建和部署一个新的Tuxedo域
– 部署一个新的应用包到现有的域
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 30
APP1.zip
TMS1 Servers
server1 server2
Properties.xml
应用包的组织
<ApplicationProperties>
<PackageName>APP1.zip</PackageName>
<TuxedoVersion>12.1.1.0 </TuxedoVersion>
<SupportedOS>Linux</SupportedOS>
<TuxedoWordSize>64<TuxedoWordSize>
<MachineArch>x86_64</MachineArch>
<LibPath>libs</LibPath>
<Groups>
<GroupSection GROUPNAME=”G1” GRPNO="29999">
< ServerSections>
<ServerSection AOUT=”servers/server1” SRVID=”20”>
</ ServerSection>
<ServerSection AOUT=”servers/server2” SRVID=”30”>
</ ServerSection>
</ServerSections>
</GroupSection>
</Groups>
</ApplicationProperties>
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 31
域的配置
部署应用包
候选机器列表
候选应用包列表
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 32
资源调配(Resource Broker) 自动化应用部署
应用包管理
• 在Oracle Tuxedo Summary页面里上载/删除应用包
域配置
• 增加/删除机器
• 增加/删除应用包
• 配置UBB/DUBB参数
保存/部署
• 为Tuxedo域定制启动脚本
• 在目标机器上自动地创建/保存Tuxedo域
• 自动地启动/改变已创建的Tuxedo域
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 33
资源调配(Resource Broker) 动态应用部署
准备
• 增加候选应用包.
• 定义触发意外事件的规则
• 绑定规则和应对动作(action)
意外事件发生
• 候选包将被自动地传送到目标机器并启动,或者从目标机器移除
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 34
准备
• 定义触发意外事件的规则
• 绑定规则和策略
意外事件发生
• 指定的机器将被自动地增加到Tuxedo域,或者从Tuxedo域删除
资源调配(Resource Broker) 动态配置新Tuxedo节点
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 35
准备
• 定义触发意外事件的规则
• 绑定规则和策略
意外事件发生
• 指定服务器的数量将自动增加或减少(在MIN和MAX范围内)
资源调配(Resource Broker) 应用服务器的动态配置
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 36
打包企业应用
获得完整的应用拓扑图 打包成组装件 自助式部署
Oralce Virtual Assembly Builder
上载到软件库
Metadata
OVM
HTTP
OVM
WLS
OVM
Tuxedo
OVM
DB
Ora
cle
En
terp
ris
e
Ma
na
ger
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 37
打包企业应用 虚拟环境中的自动化操作
OVM
Ora
cle
En
terp
ris
e
Ma
na
ger
Tuxedo
Tuxedo Tuxedo
OVM
OVM OVM
Tuxedo
Tuxedo Tuxedo
OVM
OVM
Tuxedo
OVM
识别相关的指标数据
创建规则,例如
=> 100,000 请求/分钟
DEMO
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 38
客户案例和产品路线图
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 39
客户怎样使用TSAM?
跨国电信公司
– 监视25-30个节点
– 感兴趣的功能: 调用路径监视, 服务器, 服务, IPC统计信息, 事务跟踪
益处
– 更好地了解应用间的服务集成
– 关键业务操作的依存关系映射
– 对所选择的服务,评估其服务水平协议(SLA)
– 更容易更快速地诊断问题和意外事件
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 40
客户怎样使用TSAM?
加拿大的电信公司
– Amdocs公司计费应用程序
– Amdocs公司现有报告系统,HP公司的Openview不够用
Public Sector (美国政府)
– 需要单一控制台来,用于监视分布全国的50多个Tuxedo域
– 帮助评估服务水平协议(SLAs)
租车公司
– 监视运行在AS/400和AIX上的关键任务应用程序
– 收购的应用
– 需要更深入了解他们的应用程序
感兴趣的功能: 调用路径监视,性能度量
益处: 更快更容易地诊断生产问题
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 41
模板和组件
将Tuxedo运行时作为一个服务
计量和计费
通过Exalogic仪表盘监视
配置管理
TSAM路线图 云生命周期管理
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 42
TSAM路线图
Tuxedo核心管理 – 监视跨产品端到端事务
– 监视更多组件(WTC, JCA)
– 用于自动应用管理的脚本工具
– 微秒级统计信息
ART管理 – 支持会话API
– 支持IMS
– 集中化的JES作业管理
– 对ARTJES的WLM支持
– 增强的跟踪信息
– 发现CICS/IMS/Batch应用程序的拓扑
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 43
总结
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 44
Tuxedo System and Application Monitor 12c
与OEM的集成
性能监视和诊断
服务等级管理
操作自动化
提高IT人员的生产率
提高性能和可用性
最小化停机时间来改进服务
通过自动化部署降低成本
带来益处
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 45