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 服务器技术 » 中继服务器 » 中继服务器状态管理器

 

将中继服务器状态管理器作为 Windows 服务进行启动

仅对于 Windows,可以通过使用服务实用程序 dbsvc.exe 将状态管理器作为 Windows 服务来启动。中继服务器配置文件的选项部分中的 start 属性应设置为 no。请参见选项部分

服务实用程序 (dbsvc) 用于创建、修改和删除服务。要获得使用信息的完整列表,请运行不带任何选项的 dbsvc.exe

要设置名为 rs 的自动启动的状态管理器服务:
dbsvc -as -s auto -w rs "C:\inetpub\wwwroot\ias_relay_server\server\rshost.exe" -q -qc -f c:\inetpub\wwwroot\ias_relay_server\server\rstest.config -o c:\temp\rs.log
要启动服务:
dbsvc.exe -u rs
要停止服务:
dbsvc.exe -x rs
要卸载服务:
dbsvc.exe -d rs