This section explains how to stop an RSM Server. When you stop an RSM Server, all Sybase Central connections and in-process commands are terminated.
There are three ways to stop an RSM Server:
Use the Administrative Tools Services program.
Use the isql shutdown command.
Use the Shutdown menu item on the Sybase Central RSM Server icon.
When you stop an RSM Server, it:
Stops managing replication system servers
Writes the following message to the RSM Server error log:
RSM Server rsmserver_name exiting.
Disconnects all Sybase Central and isql sessions
Terminates
WARNING! Before you stop an RSM Server, make sure that there are no Sybase Central sessions (because of server events, latency graphs, or materializations) connected to that server. If a Sybase Central session is connected when you stop an RSM Server, requests from that session cannot be completed. See the Replication Server plug-in help for more information.
Stopping an RSM Server using Administrative Tools
Services
Double-click the Control Panel icon.
Double-click the Services icon.
In the Services window, select the RSM Server you want to stop.
RSM Servers are listed as the following, where servername is the name of the RSM Server:
Sybase RSMServer_servername
Click Stop to stop the selected RSM Server.
This sequence works only if the RSM Server was started
using Administrative Tools Services.
Stopping an RSM Server using isql
Log in to RSM Server using isql:
isql -U<username> -P<password> -S <servername>
Shut down RSM Server.
At the isql prompt, enter:
shutdown
A disconnected isql session (including your session that issued the shutdown command) displays the following message:
DB-LIBRARY error: Unexpected EOF from SQL Server.
Stopping an RSM Server
using Sybase Central
Right-click the RSM Server icon in Sybase Central.
Select Shutdown.