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

SQL Anywhere 11.0.1 (中文) » MobiLink - 服务器管理 » 使用 MobiLink 服务器技术 » 中继服务器 » 将 MobiLink 与中继服务器结合使用

 

将客户端连接到中继服务器群

中继服务器群已正确配置后,客户端使用以下 URL 连接到该中继服务器群:

http://<Relay Server client extension URI>/<farm>
选项
选项 说明
<中继服务器客户端扩展 URI>

对于 Windows 上的 IIS,<域名>/ias_relay_server/client/rs_client.dll

对于 Linux 上的 Apache,<域名>/cli/iarelayserver

<群> 标识中继服务器将客户端请求转发到的后端群(一组后端服务器)。
SQL Anywhere MobiLink 客户端连接示例

SQL Anywhere MobiLink 客户端应指定以下选项来连接到服务器群 F1

-e "ctp=http;
     adr='host=relayserver.sybase.com;
        url_suffix=/ias_relay_server/client/rs_client.dll/F1'"

对于 HTTPS,将 http 更改为 https

UltraLite/UltraLiteJ MobiLink 客户端连接示例

UltraLite/UltraLiteJ MobiLink 客户端应在 ULSyncParms 类中设置以下属性来连接到服务器群 F1

  • 将流类型设置为 HTTPS。

  • 将流参数设置为以下内容:

    "host=testrelay.ianywhere.com; url_suffix=/ias_relay_server/client/rs_client.dll/F1"
QAnywhere 客户端连接示例

QAnywhere 客户端应指定以下选项来连接到服务器群 F1

-x "http(host=relayserver.sybase.com;url_suffix=/ias_relay_server/client/rs_client.dll/F1"