Q

TCP/IP connection between the two iSeries

One Search400.com member wrote, "I have two iSeries servers with the same configuration, V5R3M0. Both servers are in one city, and I'd like to establish remote journaling between the two. What is the best way to establish a TCP/IP connection between the two machines?" Ken Graap offers advice.

I have two iSeries servers with the same configuration, V5R3M0. Both servers are in one city, and I'd like to establish remote journaling between the two. What is the best way to establish a TCP/IP connection between the two machines?
First of all, you will need to establish a TCP/IP connection between the two machines. This could just be an Internet connection. My guess is that you have already done this.

To enable Remote Journaling you would do the following:

1. Define Journaling on the SOURCE system.xc

For Example:

a. Create a message queue to receive journal messages:

CRTMSGQ MSGQ(QGPL/LAWJRN) TEXT('Lawson journal messages')

b. Create a journal receiver in the proper journal receiver library:

CRTJRNRCV JRNRCV(JRNRCVLAW/LAW2JR0001) THRESHOLD(1000000)

c. Create a journal referencing the receiver just created:

CRTJRN JRN(LAWP1FILES/LAWP1JRN) JRNRCV(JRNRCVLAW/LAW2JR0001)+

MSGQ(QGPL/LAWJRN) MNGRCV(*SYSTEM) DLTRCV(*NO) + RCVSIZOPT(*RMVINTENT *MAXOPT2)

2. Create a Relational Database entry to identify the DB on the system you wish to journal to.

For Example:

ADDRDBDIRE RDB(REMOTESYS) RMTLOCNAME('10.10.10.110' *IP) TEXT('My Remote system')

3. Create a Remote Journal.

For Example:

ADDRMTJRN RDB(REMOTESYS) SRCJRN(LAWP1FILES/LAWP1JRN) TGTJRN(RMTJRN/LAWP1JRN) +

RMTRCVLIB(RMTJRN) TEXT('Remote journal for LAWP1FILES')

4. Decide what objects you want to journal and start journaling them.

5. Manage your remote journaling environment.

This was last published in December 2005

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close