Adding remote journals
This topic provides instructions for adding a remote journal.
The following is the input that provide to add a remote journal to a source journal:
- The journal name and library on the source system to which the remote journal is being added.
- The remote journal name and library on the target system that is being added.
- A relational database directory entry, which identifies the target system and other necessary communications information.
- The type of remote journal to be added.
- Optionally, the journal or journal receiver library redirection.
- Optionally, the values for the journal message queue, text, delete receivers, and delete receiver delay attributes to be applied to any newly created remote journal.
If a different target journal library or remote receiver library is specified, then those libraries will be used to hold the remote journal and receivers on the target system. This is what is referred to as library redirection.
To add a remote journal, take the following steps:
- In the iSeries™ Navigator window, expand the system you want to use.
- Expand Databases.
- Expand the database you want to use.
- Expand Schemas.
- Click the schema that contains the journal that you want to add a remote journal to.
- Right-click the journal you want to add a remote journal to and select Properties.
- On the Journal Properties dialog, click Remote Journals.
- To add (associate) a remote journal to this journal, click Add.
Alternatively, you can use the Add Remote Journal (ADDRMTJRN) Command or the Add Remote Journal (QjoAddRemoteJournal) API to add a remote journal.
The remote journal does not have an attached journal receiver after the add remote journal processing completes. In addition, the journal state for the remote journal is set to *INACTIVE. A journal state of *INACTIVE means that the remote journal is not ready to receive any journal entries from the journal on the source system. During this time, journal entries can continue to be deposited or replicated into the journal on the source system. However, no entries are replicated to the newly added remote journal until you activate that remote journal. Refer to Activate the replication of journal entries to a remote journal for information about activating a remote journal.
Parent topic:
Setting up remote journalsRelated concepts
Process of adding remote journalRelated tasks
Recovering a damaged journal Recovering a damaged journal with the WRKJRN command Activating the replication of journal entries to a remote journal Removing remote journalsRelated reference
Add Remote Journal (ADDRMTJRN) command Add Remote Journal (QjoAddRemoteJournal) APIRelated information
Scenario: Data replication environment for remote journals