来源于:
Services and Distributed Transaction Processing in Oracle RAC(DTP) (文档 ID 1307751.1)
APPLIES TO:
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]Information in this document applies to any platform.
SYMPTOMS
You may find the following message in alert log when application servers which perform distributed transactions connects to the database at first.
CAUSE
If you are running any kind of distributed transactions, the service that the application uses to connect to the RAC database should be enabled for DTP. This keeps all parts of a distributed transaction on the same
instance, and allows the service to migrate to a new instance in case of instance failure.
SOLUTION
1.Check for what services do you have enabled?:
2. Enable all services for the application which uses DTP:
Or alternately you can use Oracle Enterprise Manager or SRVCTL to modify the DTP property of the singleton service. Set the DTP option (-x) for the service to TRUE
(the default value is FALSE).
The following example shows how to modify the xa_01.example.com service using SRVCTL:
srvctl modify service -d crm -s xa_01.example.com -x TRUE
Please see the following for more information:
Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide 10g Release 2 (10.2) Part Number B14197-09
6 Introduction to Workload Management
Services and Distributed Transaction Processing in Oracle RAC
Oracle Database Advanced Application Developer's Guide
11g Release 2 (11.2)
Part Number E25518-03
15 Developing Applications with Oracle XA

本文解决Oracle RAC环境下使用分布式事务处理时出现的警告问题,通过检查和启用服务来确保分布式事务在同一个实例中运行,并能平滑迁移至新实例,避免因实例故障导致的问题。
734

被折叠的 条评论
为什么被折叠?



