仅对于 Windows,可以通过使用服务实用程序 dbsvc.exe 将状态管理器作为 Windows 服务来启动。中继服务器配置文件的选项部分中的 start 属性应设置为 no。请参见选项部分。
服务实用程序 (dbsvc) 用于创建、修改和删除服务。要获得使用信息的完整列表,请运行不带任何选项的 dbsvc.exe。
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 |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |