Sybase recommends that you set up the relay server as a Windows service to ensure that it starts automatically when the host is started.
-
Enter the following at the command line, substituting all parameter values to match your configuration:
dbsvc -as -s auto -w SUPRelayServer "C:\inetpub\wwwroot\ias_relay_server\server\rshost.exe" -q -qc -f c:\inetpub\wwwroot\ias_relay_server\server\rs.config -o c:\Sybase\logs\rs.log
This command configures the relay server host process (rshost.exe) as a Windows service. By default, the dbsvc utility is installed to <UnwiredPlatform_InstallDir>\Servers\SQLAnywhere11\BIN32\.
Note: Ensure that the path specified with the -o option exists; otherwise the command fails.
-
Start or stop the rshost service.
From the Windows Services control panel:
- Locate the SQL Anywhere - SUPRelayServer service.
- To start or stop the service, right-click the service and choose the corresponding command.
From the command prompt:
- Change to C:\inetpubs\wwwroot\ias_relay_server\Server.
- To start the service, enter dbsvc.exe -u SUPRelayServer.
- To stop the service, enter dbsvc.exe -x SUPRelayServer.
- To uninstall the service, enter dbsvc.exe -d SUPRelayServer.
- To update the rshost with the latest relay server configuration, enter
rshost.exe –f rs.config –u.