A resource file is an ASCII text file that contains configuration information for the Mirror Replication Agent instance to be created, and the mra_admin utility.
The mra_admin utility provides two new command-line parameters that support using a resource file to create a Mirror Replication Agent instance and to validate resource files.
mra_admin [-r res_file | -vr res_file]
-r res_file
Creates a Mirror Replication Agent instance, based on the contents of the specified resource file (res_file).
-vr res_file
Validates the specified resource file (res_file), without creating a Mirror Replication Agent instance or making any change in the environment.
In addition to creating a Mirror Replication Agent instance, the mra_admin parameters in the resource file allow you to specify the following options:
Create the instance user login in the primary data server, and add the instance user name to the primary database
Stop and disable the Replication Agent thread in the primary database
Start the new instance after it is created
Initialize the new instance after it starts
Record mirror log device information in the log device repository after the instance is initialized
When you validate a resource file
with mra_admin -vr, no other action
is taken, and no Mirror Replication Agent instance is created.
The following sections describe how to use the new mra_admin features:
See the Mirror Activator Administration Guide for more information about Mirror Replication Agent configuration parameters.