After updating Control-M/Server to version 9.0.20 or setting up a new instance on the same Unix/Linux machine, the newly added Kafka and Zookeeper services might show a warning in the Control-M Configuration Manager (CCM). If both Control-M/Enterprise Manager and Control-M/Server are operating on the same host, you could see two processes: one for Kafka and one for Zookeeper. It's important to note that these processes may belong to Control-M/Enterprise Manager instead of Control-M/Server. You can find messages related to this issue in the |
CTM-5074 has been created for this issue and is implemented in version 9.0.21 Apply the latest available version to fix the issue. Alternate option before version 9.0.21: The following instructions must not be applied on the Windows Operating System : Change the ports used by Control-M/Server to ones not used by Control-M/Enterprise Manager with the following steps: The default Kafka port is 19092. In Control-M/Server, please use any unused port, such as 29092. The default Zookeeper port is 12181. In Control-M/Server, please use any unused port, such as 22181. Stop the Control-M/Server processes with the following commands:
ps -fu < unix user>If there are some processes left, please kill them. Log in as your Control-M/Server and run the following commands
The following video demonstrates this solution: Additional Information: - Micro Services were first introduced to Control-M/Server in version 9.0.20, but for Control-M/Enterprise Manager since version 9.0.18. To use Micro Services, Control-M/Server uses its instances of Zookeeper and Kafka. If the upgrade (or installation) of Control-M/Server version 9.0.20 is performed in a machine where there is already the Control-M/Enterprise Manager at version 9.0.19 or higher, and this is kept down while installing/upgrading, then the ports selected to be used by the Control-M/Server's Kafka and Zookeeper are the default ones and will create a conflict with the ones used by Control-M/Enterprise Manager. This can be verified by checking the file <CTM Server Home>/ctm_server/services/config/services.yml: this file contains the ports assigned to Kafka and Zookeeper: zookeeper. connect: 'localhost\:12181/emkafka' zookeeper.properties: 'em.zookeeper.properties' kafka.bootstrap.servers: 'hostname\:19092' Check to see if the zookeeper. connect and/or the kafka.bootstrap.servers ports from that file match the ports found in the same file on the Control-M/Enterprise Manager machine (<EM Server Home>/ctm_em/services/config/services.yml). If both files from Control-M/Server and Control-M/Enterprise manager contain any of the same port values then neither instance of Kafka will work properly. - Customers viewing this solution may find value in the following self-help Connect with Control-M video. |