To remove the previous Kafka and DCF settings, follow the steps on all the Domain Managers.

Procedure

  1. Remove the previous (Kafka and DCF) setting from domain manager using dmctl command.
    1. Get the instance name of the Kafka access setting:
      dmctl -s < Server name>  geti Kafka_AccessSetting
      Note: Server name can be either ESM or OI server name.
    2. Remove the Kafka access setting from the domain manger:
      dmctl -s <Server name>  invoke Kafka_AccessSetting::"<kafka-access-setting-instance-name> " remove | tee
    3. Get the instance name of the DCF setting:
      dmctl -s <Server name>  geti DataCollector_AccessSetting
    4. Remove the DCF setting from the domain manger:
      dmctl -s <Server name>  invoke DataCollector_AccessSetting::"<data-collector-access-setting-instance-name > " remove | tee
  2. Remove the Kafka and DCF settings which were configured in VMware Telco Cloud Service Assurance 2.2 from the backend Postgres database by executed the below steps:
    1. kubectl exec -it postgres-0 -- bash
    2. psql
    3. \c collector;
    4. Delete from configuration where name='< kafka-access-setting-instance-name>';
    5. Delete from configuration where name='< data-collector-access-setting-instance-name >';
    Note: If there are multiple DCF and Kafka settings configured then the below steps need to be repeated for all the settings.