The Replication Agent ra utility provides two major capabilities:
Starting a specified Replication Agent instance from an operating system prompt
Determining the Replication Agent version number from an operating system prompt
To start the ra utility, invoke the ra command. The ra command has the following syntax:
ra [-help | -i inst_name [-state] | -v]
The options for the ra command are:
-help
returns usage information.
You can also invoke the ra command
with no option specified to return command usage information.
-i inst_name
where inst_name is the name of an existing Replication Agent instance. If you invoke ra with the -i option specifying a valid Replication Agent instance name, that Replication Agent instance is started.
If you use the -i option, you can also use the -state option to specify the Replication Agent instance start-up state:
-admin – Starts the Replication Agent instance in the Admin state. (This is the default start-up state.)
-replicate – Starts the Replication Agent instance in the Replicating state.
-v
returns the Replication Agent version number.
To start a Replication Agent instance named “NY2_RA” in the Replicating state, type the following command at the operating system prompt:
ra -i NY2_RA -replicate
For more information on Replication Agent states, see “Replication Agent states”.