You need to specify the Kafka/Kafka Cluster and DCF Controller credentials in the clientConnect.conf file and specify the VCloud Director, Kafka/Kafka Cluster and DCF Controller details in esm-param.conf file located in the Server Manager installation directory.
Procedure
- At BASEDIR/smarts/bin , type the following command:
sm_edit conf/clientConnect.conf
- Enter the following line for Kafka and DCC instance:
kafka:<kafka_IP_Address>:<kafka_Username>:<kafka_Password>:<Discovery_Topic>:<Monitoring_Topic>
dcc:<dcf_controller_IP_Address>:<dcf_controller_Username>:<dcf_controller_Password>:<Protocol>:<Port>
You must add the line for kafka and dcc instances above the line for admin user
“::admin:<E-1.0>94689C5A7C826FD58DDE9F62284A68191EC739743EA25E5E1F76FE493337D558” in the clientConnect.conf file.
For example:
kafka:xx.xx.xx.xx:admin:admin:9092:discoveryTopic:monitoringTopic
dcc:xx.xx.xx.xx:admin:admin:https:8443
Note: In case of Kafka Cluster add the details of any one Kafka broker.
- Save and close the file.
- At BASEDIR/smarts/bin , type the following command:
sm_edit conf/esm/esm-param.conf
- Enter the following line for vCloud Director, Kafka and DCF Controller
# For providing single broker instance use below format.
KAFKA-<vCloudDirector_host_IP_address> <Kafka_broker_ip_address:port>
# For providing multiple broker instances of a kafka cluster use below format.
KAFKA-<vCloudDirector_host_IP_address>
<Kafka_broker1_ip_address>:>port1>,<Kafka_broker2_ip_address>:<port2>,……,<Kafka_broker[n]_ip_address>:<port[n]>
# For providing DCF Controller instance use below format
DCC- <vCloudDirector_IP_Address> dcf_controller_IP_Address
For Example:
KAFKA-xx.xx.xx.xx zz.zz.zz.zz:9092,zz.zz.zz.zz:9093, zz.zz.zz.zz:9094
DCC- xx.xx.xx.xx yy.yy.yy.yy
- Restart the Server Manager.