Using the ra utility

The Replication Agent ra utility provides two major capabilities:

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.

NoteYou 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:

-v

returns the Replication Agent version number.

Example

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”.