The RUN script is named RUN_inst_name, where inst_name is the name of the Mirror Replication Agent instance. It is created automatically when the Mirror Replication Agent instance is created.
The RUN script invokes the mra utility with the appropriate parameter values to start the Mirror Replication Agent instance. You can edit the RUN script to specify the start-up state.
You need not set the SYBASE environment before you invoke
the RUN script, because the RUN script
sets the Sybase environment before it starts the Mirror Replication Agent instance.
To start Mirror Replication Agent with the RUN script
Open an operating system command window on the Mirror Replication Agent host machine.
At the operating system prompt, navigate to the Mirror Replication Agent instance directory.
On Microsoft Windows platforms, enter:
cd %SYBASE%\MRA-12_6\inst_name
where:
%SYBASE% is the path to the Mirror Replication Agent installation directory.
inst_name is the name of the Mirror Replication Agent instance.
On UNIX platforms, enter:
cd $SYBASE/MRA-12_6/inst_name
where:
$SYBASE is the path to the Mirror Replication Agent installation directory.
inst_name is the name of the Mirror Replication Agent instance.
In the Mirror Replication Agent instance directory, invoke the RUN script to start the Mirror Replication Agent instance:
RUN_inst_name
where inst_name is the server name of the Mirror Replication Agent instance.
For example, to start the Mirror Replication Agent instance named “my_mra,” enter:
RUN_my_mra
After you start the Mirror Replication Agent instance, you must open another operating system command window to log in to its administration port.