Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » 使用 SQL Anywhere 编程简介 » 三层计算和分布式事务 » 在 SQL Anywhere 中使用 EAServer

 

配置 EAServer

在 Sybase EAServer 系统中安装的所有组件都共享同一事务处理协调器。

EAServer 3.0 以及更高版本提供了多个事务协调器以供用户选择。如果要将 SQL Anywhere 包括在事务中,必须将 DTC 用作事务协调器。本节介绍如何将 EAServer 3.0 配置为使用 DTC 作为其事务协调器。

EAServer 中的组件服务器名为 Jaguar。

♦  配置 EAServer 以使用 Microsoft DTC 事务模型
  1. 确保您的 Jaguar 服务器正在运行。

    在 Windows 上,Jaguar 服务器通常作为一个服务来运行。要手工启动已安装的 Jaguar 服务器(随 EAServer 3.0 提供),请选择 [开始] » [程序] » [Sybase] » [EAServer] » [EAServer]。

  2. 启动 Jaguar Manager。

    在 Windows 桌面上,选择 [开始] » [程序] » [Sybase] » [EAServer] » [Jaguar Manager]。

  3. 从 Jaguar Manager 连接到 Jaguar 服务器。

    从 Sybase Central 中,选择 [工具] » [连接] » [Jaguar Manager]。在连接窗口中,输入 jagadmin 作为 [用户名],[口令] 字段保持空白,输入 localhost 作为 [主机名]。单击 [确定] 进行连接。

  4. 为 Jaguar 服务器设置事务模型。

    在左窗格中,打开 [Servers] 文件夹。在右窗格中,右击要配置的服务器,然后选择 [Server Properties]。单击 [Transactions] 选项卡,然后选择 [Microsoft DTC] 作为事务模型。单击 [OK] 完成操作。