The ra_admin utility provides two command-line parameters that support creating a Replication Agent instance using a resource file, and validating resource files.
ra_admin {-vr res_file | -r res_file}
-vr res_file
Validates the specified resource file (res_file), without creating a Replication Agent instance or making any change in the environment.
-r res_file
Creates a Replication Agent instance, based on the contents of the specified resource file (res_file).
A resource file is an ASCII text file that contains configuration information for the Replication Agent instance to be created by the ra_admin utility.
The ra_admin parameters in the resource file allow you to specify the following options, in addition to creating a Replication Agent instance:
Create the instance user login in the primary data server, and grant all required permissions.
Start the new instance after it is created.
Initialize the new instance after it starts.
When you validate a resource file
with ra_admin -vr, no other action is taken,
and no Replication Agent instance is created.
The following sections describe how to use a Replication Agent resource file: