Setup secure communications on mainframe side - connect_cdc_sqdata - aws_mainframe_modernization_service - Latest

AWS Mainframe Modernization Data Replication for IBM z/OS

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
AWS Mainframe Modernization > AWS Mainframe Modernization Service
Version
Latest
ft:locale
en-US
Product name
AWS Mainframe Modernization
ft:title
AWS Mainframe Modernization Data Replication for IBM z/OS
Copyright
2025
First publish date
2000
ft:lastEdition
2025-02-10
ft:lastPublication
2025-02-10T15:55:15.122000

Secure communications between your mainframe and the AMI is required. As part of acquiring and setting up the AMI, you would have setup general TCP/IP communications already. Now, you must setup public / private key pairs between the controller in the AMI and the controller in z/OS so that they can communicate securely.

Create NaCL key pair generation

The Controller Daemon uses a Public / Private key mechanism to ensure component communications are valid and secure. A key pair must be created for the sqdaemon process User-ID and the User-ID's of all the Agent processes that interact with the Controller Daemon.

The sqdutil utility program using the keygen command is used to generate the necessary keys. The command must be run under the User-ID that will be used to run the Controller Daemon process.
$ sqdutil keygen

Use Mainframe controller to communicate with AMI

  1. Stop your mainframe controller daemon.


  2. Add your AMI controller public key to your mainframe authorized dataset. In this case, WWCZXLA.SQDATA.NACL.AUTH.KEYS.
  3. Restart your mainframe controller daemon.

Validate Kafka

  1. Use the following instructions to setup Kafka Consumer to check for messages produced by SQDATA.
  2. Sample command to browse data from Kafka Topic.
    /home/ec2-user/kafka_2.13-2.8.1/bin/kafka-console-consumer.sh --bootstrap-server b-3.msktutorialcluster.XXXXX.XX.kafka.us-east-1.amazonaws.com:9098 --consumer.config client.properties --topic MSKTutorialTopic --from-beginning