Follow these steps to configure RMS:
Navigate to the $SYBASE directory and source SYBASE.csh.
Go to the $SYBASE/$SYBASE_OCS/bin directory and select dsedit to add the following entry to the interface 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.
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 interfaces file resides by running the following command, where /software/Sybase is the directory in which the Sybase interfaces file resides:
configure sybasehome=/software/Sybase
The interfaces 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.