Uninstall netops-kafka
search cancel

Uninstall netops-kafka

book

Article ID: 263989

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

I have attempted to uninstall and reinstall netops-kafka and I get the following error.

No answers file provided.
Stepping into interactive mode.
A remnant of a previous installation of netops-kafka has been detected but insufficient files are present to do an upgrade, cleanup the installation before continuing

How do you uninstall DX NetOps Performance Management netops-kafka to clean the system?

How can you uninstall netops-kafka from a server?

Environment

All supported DX NetOps Performance Management releases

Resolution

To uninstall netops-kafka run the (default path) /opt/CA/netops-kafka/scripts/uninstall-netops-kafka.sh script.

It should remove the following from the system:

  • All contents under the install home directory specified.
  • The /etc/netops-kafka.cfg file.
  • The netops-kafka and netops-kafka-zookeeper services.

Additional Information

Alternative cleanup after a failed install or failed uninstall steps. Follow these steps after trying the uninstall-netops-kafka.sh script.

  1. Stop the services:
    1. systemctl stop netops-kafka.service
    2. systemctl stop netops-kafka-zookeeper.service
  2. Disable the services:
    1. systemctl disable netops-kafka.service
    2. systemctl disable netops-kafka-zookeeper.service
  3. Delete the services operational files:
    1. rm -f /etc/systemd/system/netops-kafka.service
    2. rm -f /etc/systemd/system/netops-kafka-zookeeper.service
    3. rm -f /usr/lib/systemd/system/netops-kafka.service
    4. rm -f /usr/lib/systemd/system/netops-kafka-zookeeper.service
  4. Reload system services.
    1. systemctl daemon-reload
    2. systemctl reset-failed
  5. Delete the install home directory specified and all contents within.
  6. Delete the /etc/netops-kafka.cfg file.

Link to uninstall documentation: 

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/22-2/installing/uninstall-netops-kafka.html