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