Follow these steps to configure RMS:
Go to the %SYBASE% directory and run SYBASE.bat.
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.
To start RMS, go to the %SYBASE_UA%\bin directory and run agent.bat.
To configure the RMS server, start an isql session by entering:
isql -Usa -Psa_pwd -SRMServices
To change the RMS password, enter:
configure password=newPassword
go
Set the parameter sybasehome to the directory where the sql.ini file resides by running the following command, where c:\Sybase is the Replication Server directory (%SYBASE%):
configure sybasehome=c:\Sybase
This is required by RMS to find the sql.ini file. The sql.ini file contains the connection specifications for the servers added to an RMS domain.
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” of the Replication Server Reference Manual for API definitions.