When you start the Sybase Replication Agent with the ra utility, you can specify the instance start-up state. If you do not specify a start-up state when you invoke the ra utility, the Replication Agent instance starts in its default Admin state.
You must set the SYBASE environment before you invoke
the Sybase Replication Agent ra utility. See “Setting the SYBASE environment” for more
information.
To start Sybase Replication Agent with the ra utility
Open an operating system command window on the Replication Agent host machine.
At the operating system prompt, navigate to the Sybase Replication Agent bin directory.
On Microsoft Windows platforms, enter:
cd %SYBASE%\RAX-12_6\bin
where %SYBASE% is the path to the Sybase Replication Agent installation directory.
On UNIX platforms, enter:
cd $SYBASE/RAX-12_6/bin
where $SYBASE is the path to the Sybase Replication Agent installation directory.
In the Sybase Replication Agent bin directory, invoke the ra utility to start the Replication Agent instance:
ra -iinst_name
or
ra -iinst_name -state
where:
inst_name is the server name of the Replication Agent instance.
state is the optional keyword for the start-up state:
admin – starts the Replication Agent instance in Admin state.
replicate – starts the Replication Agent instance in Replicating state.
If you do not specify the state option, Replication
Agent starts up in Admin state.
For example, to start the Replication Agent instance named “my_ra” in Replicating state, enter:
ra -i my_ra -replicate
See “Using the ra utility” for more information.
After you start the Replication Agent instance, you must open another operating system command window to log in to its administration port.
| Copyright © 2005. Sybase Inc. All rights reserved. |
|
|