Skip to main content

Jama Connect User Guide

Uninstall Elasticsearch (traditional)

To uninstall an Elasticsearch node on a server, uninstall Replicated.

  1. Stop the Replicated service:

    service replicated-operator stop
  2. Run this command:

    docker ps -a | grep replicated | awk '{print $3}' | xargs docker rm -f
  3. Run this command:

    docker images | grep replicated | awk '{print $3}' | xargs docker rmi -f
  4. Run this command:

    rm -rf /var/lib/replicated* /etc/replicated* /etc/init/replicated* /etc/init.d/replicated* /etc/default/replicated* /var/log/upstart/replicate /etc/systemd/system/replicated*
  5. Restart the Replicated service:

    service docker restart