example
Version 1.1
IBM Information
Management
TABLE OF CONTENTS
TABLE OF CONTENTS .......................................................................................................................2
INTRODUCTION .................................................................................................................................3
TRANSFER SAVE FILES TO THE ISERIES SERVER................................................................................4
Create save files on the iSeries server..................................................................................................................................................... 4
Transfer the save files from a desktop to the iSeries server.................................................................................................................... 4
PAGE 2 OF 16
INTRODUCTION
This document demonstrates the steps to install InfoSphere CDC on an iSeries (IBM i)
server. It is not intended as the full installation guide and only installs from iSeries save files
(the most common installation media nowadays).
There are 4 main steps required to install CDC on an iSeries server:
1. Transfer save files to the iSeries server
2. Install CDC base version + latest fix pack + latest InterimFix
3. Post-installation steps to create service (port) for CDC listener process
4. Start CDC
PAGE 3 OF 16
PAGE 4 OF 16
2. Change to the directory that hold the save files that were part of the distribution
3. Start FTP to the iSeries server you have created the save files on and log on as the
iSeries user:
ftp <hostname>
PAGE 5 OF 16
PAGE 6 OF 16
PAGE 7 OF 16
4. Enter X for the authorization code, CDC 6.1 FP1 or higher no longer requires codes.
5. Specify the product library and the library holding the tutorial files. Usually, you can accept
the defaults.
PAGE 8 OF 16
Post-installation steps
The most important step after you install is to define a port that CDC will listen on.
PAGE 9 OF 16
1. Determine if the port you want to add is free. The standard listening port for CDC on
iSeries is 2222. To determine if the port is free, use the NETSTAT *CNN command:
- Type command NETSTAT *CNN
- Hit the F15 (shift-F3) key to subset the connections and enter 2222 for the local port
- If there are no processes listening on this port, you should see the following:
PAGE 10 OF 16
If you do see a listener on the specified port, you have to choose a different one.
2. Add the service table entry
- Type the WRKSRVTBLE command
- Add a new service by selecting 1 for option and type the rest of the service information
on the same line:
PAGE 11 OF 16
Please ensure that you type the service name and protocol in lowercase.
- You will be prompted with the following:
Enter the text description and enter to add the service entry.
PAGE 12 OF 16
- Press F10 for additional parameters and page down to find Request data or
command, the default value for this parameter is 'STRDMTCP'.
- Change the request data to reference the service you just created, as an example we
have chosen service name dmirror_p.
Please note that the command must be enclosed in single quotes. Also, the service name
must be enclosed in quotes and to let the command process correctly interpret the
quotes, you have to add an additional for each quote around the service name. So, the ''
are 2 single quotes.
PAGE 13 OF 16
4. Make sure you specify CDC 6.1 library for the RSTLIB parameter
5. You may see messages that security or data format changes have occurred; you can
safely ignore these messages
Give the operational user profile a minimum of *USE authority to the D_MIRROR user
profile and the DMIRROR_P library
- GRTOBJAUT OBJ(QSYS/D_MIRROR) OBJTYPE(*USRPRF) USER(*PUBLIC)
AUT(*USE)
PAGE 14 OF 16
START CDC
The CDC listener is started when the DMIRROR subsystem becomes active.
- You can view which port the listener is listening to, by displaying the job log
- Enter option 5 before the TCPLISTEN job
PAGE 15 OF 16
Once the listener has been started, you can create the datastore in the Management Console
and start creating subscriptions and mapping tables.
PAGE 16 OF 16