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

SQL Anywhere 11.0.1 (中文) » QAnywhere » QAnywhere 参考 » QAnywhere 代理实用程序参考 » qaagent 实用程序

 

-fr 选项

指定 QAnywhere 代理与主 MobiLink 服务器重试连接的次数。

语法
qaagent -fr number-of-retries ...
缺省值

0 - QAnywhere 代理不尝试重试连接主 MobiLink 服务器。

注释

缺省情况下,如果 QAnywhere 代理无法连接到 MobiLink 服务器,则不会出现错误,也不会发送消息。此选项指定 QAnywhere 代理应重试与 MobiLink 服务器的连接,并指定在尝试使用备用服务器之前应重试连接的次数,或者在未指定备用服务器的情况下发出错误消息。

通过 -x 选项指定故障转移 MobiLink 服务器时通常使用此选项。缺省情况下,当您设置故障转移 MobiLink 服务器时,QAnywhere 代理在遇到故障时会立即尝试使用备用服务器与主服务器连接。此选项将使 QAnywhere 代理在转到备用服务器之前再次尝试主服务器。

此外,可使用 -fd 选项指定重试主服务器之间的时间间隔。

不能将此选项与 qaagent -xd 选项一起使用。

另请参见