Troubleshooting guide
Parameter Description Example Values
initialize_instance Initialize the Replication Agent instance. yes
pdb_include_archives Enables or disables the use of Oracle archive
log files.
USE_DEFAULT
pdb_archive_path Identifies directory path where Replication
Agent expects to find archived Oracle redo
log files.
A valid directory path on the
machine hosting Replication
Agent that points to a location
where Oracle puts the archived
redo log files.
8.
Create and execute the new instance resource file.
Note: Be sure your CLASSPATH environment variable points to the correct Oracle JDBC
driver before proceeding.
a) Validate the settings in the resource file:
• On Windows:
%SYBASE%\RAX-15_5\bin\ra_admin.bat -vr myra.rs
• On UNIX or Linux:
$SYBASE/RAX-15_5/bin/ra_admin.sh -vr myra.rs
Note: Make sure permission for the ra_admin.sh file is set no broader than 700
(read/write/execute for user, no permissions for group and other).
where
myra.rs
is the path and name of the resource file. Validation results are returned
as either:
•
Response-file processing completed
Or
•
Response-file processing completed with errors
If any validation fails, the ra_admin utility returns an error message and information
about the failure. You can repeat the validation process as many times as necessary
until it executes without error. No entities are changed or created.
b) Create and configure the Replication Agent instance:
• On Windows:
%SYBASE%\RAX-15_5\bin\ra_admin.bat -r myra.rs
• On UNIX or Linux:
$SYBASE/RAX-15_5/bin/ra_admin.sh -r myra.rs
Note: Make sure permission for the ra_admin.sh file is set no broader than 700
(read/write/execute for user, no permissions for group and other).
where
myra.rs
is the path and name of the resource file.
CHAPTER 4: Oracle-to-SAP HANA Database Replication Setup
42 Replication Server