Starting and stopping RMS

RMS is a Java application built using the Sybase Unified Agent Framework (UAF). To start or stop RMS you must start or stop UAF.

StepsStarting RMS

  1. Navigate to the Replication Server installation directory, %SYBASE% on Windows, or $SYBASE on UNIX.

  2. Set the environment variables by executing SYBASE.bat (Windows) or by sourcing SYBASE.csh (UNIX).

  3. Change to the %SYBASE_UA%\bin directory (Windows) or the $SYBASE_UA/bin directory (UNIX).

  4. In Windows, execute agent.bat or add this command to run Unified Agent (UA) in the background. Similarly on UNIX, execute agent or add this command to run UA in the background.

StepsStopping RMS

  1. Navigate to the Replication Server installation directory, %SYBASE% on Windows, or $SYBASE on UNIX.

  2. Set the environment variables by executing SYBASE.bat (Windows) or by sourcing SYBASE.csh (UNIX).

  3. Stop RMS:

    • If an Adaptive Server Unified Agent is running, enter one of these commands:

      shutdown [-port rmi-port] [-U username] 
      [-P password]
      

      Or

      shutdown [-port rmi-port] [-user username] 
      [-password password]
      

      where:

      • rmi-port value is 9999.

      • username and password are the values configured for the UA.

    • If RMS is the only Unified Agent running, enter shutdown.bat (Windows) or shutdown (UNIX).