Uninstalling Edge

Edge for Private Cloud v4.18.01

To uninstall a component, use the apigee-service utility in the form:

> /opt/apigee/apigee-service/bin/apigee-service compName uninstall

where compName is one of the following: edge-management-server, edge-ui, edge-router, edge-message-processor, edge-qpid-server, edge-postgres-server, apigee-zookeeper, apigee-cassandra, apigee-openldap, apigee-qpidd, apigee-postgresql.

For example, to uninstall the Edge UI:

> /opt/apigee/apigee-service/bin/apigee-service edge-ui uninstall

To uninstall all Apigee components on the node, uninstall the apigee-service utility:

> /opt/apigee/apigee-service/bin/apigee-service apigee-service uninstall

This command does not delete any data or log files. It only deletes the components.

If you want to completely remove Edge from your system:

  1. Stop all Edge services running on the machine:
    > /opt/apigee/apigee-service/bin/apigee-all stop
  2. Clear the yum cache:
    > sudo yum clean all
  3. Remove all the Apigee RPMs:
    > sudo rpm -e $(rpm -qa | egrep "(apigee-|edge-|baas)")
  4. Remove the installation root directory:
    > sudo rm -rf /opt/apigee
  5. Remove the Nginx directory:
    > sudo rm -rf /opt/nginx