Starting the subsystem and the listener
After installing CDC Replication, you must start the subsystem and the listener.
- If you have installed CDC Replication on an Independent
Auxiliary Storage Pool (IASP) device, you must start the subsystem and the listener from the system
that is currently connected to the IASP device. To set the ASP group for the interactive session,
issue the following command:
SETASPGRP <name>where <name> is the IASP name.
- To change the current library to the product library, issue the following
command:
CHGCURLIB <library>where <library> is the CDC Replication product library.
Note: To enable TLS encryption, make sure that the auto job is not configured for the TCP listener job:- Run the command: DSPSBSD SBSD(<library>/<subsystem name>)
- Select option 3.
- Check if TCPLISTEN job is listed.
If it is configured please remove the autostart job entry by running this command: RMVAJE SBSD(<library>/<subsystem name>) JOB(TCPLISTEN). We need to start the TCP listen job manually with the new parameters that are introduced to enable or disable TLS on the CDC for IBM i instance.
- To start the subsystem, issue the following
command:
STRSBS <library>/DMIRRORwhere <library> is the work library.
- To start the listener, issue the following command:
- Without TLS encryption, (if it has not already been started with the STRSBS
command):
STRDMTCP SERVICE (<service>) JOBD(<library>/DMCJOBD) - With TLS
encryption:
STRDMTCP SERVICE(<service>) JOBD(<library>/DMCJOBD) TLS(*ENABLED) APPID('<SERVER_APPLICATION_ID>') APPID2('<CLIENT_APPLICATION_ID>')
where <service> is the service name and <library> is the CDC Replication product library, <SERVER_APPLICATION_ID> server application id configured for TLS encryption in IBM i DCM, and <CLIENT_APPLICATION_ID> client application id configured for TLS encryption in IBM i DCM.
- Without TLS encryption, (if it has not already been started with the STRSBS
command):