Creating and Validating a Replication Agent Resource File

Create a resource file using the oraclexs template and validate the file by issuing the ra_admin command with the -vr option.

Prerequisites
Locate your resource file templates for Oracle database in the init subdirectory of the Replication Agent installation directory. For example:
C:\sybase\RAX-15_5\init\oraclexs.rs
This resource file template contains comments that describe each configuration parameter and its value.
Note: It is recommended that you to validate each resource file before you create a Replication Agent instance using that resource file.
Task
  1. Copy the resource file template to another file that you edit to create the new resource file.
    For example:
    cp oraclexs.rs raoxs.rs

    where raoxs.rs is the name of the new resource file you want to create.

  2. Use a text editor to edit the resource file copy that you created.
  3. Validate your resource file by executing:
    ra_admin -vr raoxs.rs
    where raoxs.rs is the name of the resource file you want to validate.
    Validation results are returned as one of:
    • Response-file processing completed.

    • Response-file processing completed with errors.

    If the validation is successful, skip step 4, and use the resource file to create a Replication Agent instance.

  4. To correct validation errors:
    1. Review the error messages to determine the cause of the failure.
    2. Edit the resource file to correct the appropriate values.
    3. Re-run ra_admin -vr specifying the name of the resource file.

    Repeat this step until the resource file is successfully validated.