Configuring RMS for Three-tier Management Support

Configure RMS to support three-tier environment.

  1. Go to the %SYBASE% directory and run SYBASE.bat.
  2. Go to Start > Programs > Sybase > Connectivity > Open Client Directory Service Editor. Using dsedit, add RMServices to the sql.ini file.
    • Server Name – RMServices.
    • Port – 32008.
    • Hostname – host name of the machine on which RMS will run.
  3. To start RMS, go to the %SYBASE_UA%\bin directory and run agent.bat.
  4. To configure the RMS server, start an isql session by entering:
    isql -Usa -Psa_pwd -SRMServices
  5. To change the RMS password, enter:
    configure password=newPassword
    go
  6. Set the parameter sybasehome to the directory where the sql.ini file resides by running the following command, where c:\Sybase is directory in which the sql.ini file resides:
    configure sybasehome=c:\Sybase
    The sql.ini file contains the connection specifications for the servers added to an RMS domain.
  7. You can now start using the RMS API commands to monitor a replication environment. For example:
    add replication server SAMPLE_RS set username to sa
See Chapter 9, “Replication Monitoring Services API” in the Replication Server Reference Manual for API definitions.