Prepare and create a Replication Agent instance for replication of each DB2 UDB database.
Parameter |
Description |
Example values |
---|---|---|
instance name |
Any valid name. |
myra |
admin_port |
Port number that Replication Agent uses. |
9030 (if in use, select a different port number) |
ltm_admin_user |
User name for administering the Replication Agent instance. |
sa |
ltm_admin_pw |
Password for the user administering the Replication Agent instance. |
The default password policy is that the password must be between 6 and 255 characters. For example: sa_pass |
pds_host_name |
Machine (host) where DB2 UDB is installed. |
NY |
pds_port_number |
Port number for DB2 UDB. Note: Make sure you know which port your DB2 UDB instance is
using. You can find this information in the
/etc/services file.
|
50007 |
pds_database_name |
Name of the primary database. |
NYudb9 |
pds_username |
User ID that Replication Agent uses to access primary data server. |
ra_user |
pds_password |
Password for pds_username. |
sybase |
pds_datasource_name |
Data source name or database alias for the primary database |
DBALIAS |
rs_host_name |
Machine where Replication Server is installed. |
jdoe_host1 |
rs_port_number |
Port number where Replication Server is installed. |
11752 |
rs_username |
Replication Server user with connect source and create object permissions. |
SAMPLE_RS_ra |
rs_password |
Password for rs_username. |
SAMPLE_RS_ra_ps |
rs_source_ds |
Valid name representing data server of the primary DB2 UDB database. |
NY |
rs_source_db |
Valid name representing the primary DB2 UDB database. |
NYudb9 |
rs_charset |
Character set that Replication Server is using. Note:
The value defined for the rs_charset
configuration parameter must match the RS_charset value in the
Replication Server configuration file, $SYBASE/REP-15_5
/install/<server>.cfg (UNIX or
Linux) or %SYBASE%\REP-15_5
\install\<server>.cfg
(Windows).
|
|
rssd_host_name |
Machine where RSSD resides. |
jdoe_host1 |
rssd_port_number |
Port number where RSSD resides. |
11751 |
rssd_database_name |
Database name for RSSD. |
SAMPLE_RS_ERSSD |
rssd_username |
Valid user for RSSD. |
SAMPLE_RS_RSSD_maint |
rssd_password |
Password for rssd_username. |
SAMPLE_RS_RSSD_maint_ps |
pdb_archive_remove |
Enables or disables the removal of archived DB2 UDB transaction log files from the path specified by pdb_archive_path. |
USE_DEFAULT |
pdb_archive_path |
Identifies directory path where Replication Agent expects to find archived DB2 UDB transaction log files. |
A valid directory path on the machine hosting Replication Agent that points to a location where DB2 UDB puts the archived transaction log files |
start_instance |
Start the instance that was created. |
yes |
initialize_instance |
Initialize the Replication Agent instance. |
yes |
where myra.rs is the path and name of the resource file.
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.
where myra.rs is the path and name of the resource file.