Starting, Stopping, and Restarting Apigee Edge

Edge for Private Cloud v. 4.16.05

The order of stopping and starting the subsystems is important. Start and stop scripts are provided that take care of that for you for Edge components running on the same node.

Stop order: If you install Edge on multiple nodes, then you should stop Edge components on those nodes in the following order:

  1. Apigee UI
  2. Management Server
  3. Router
  4. Message Processor
  5. Qpid Server
  6. Postgres Server
  7. OpenLDAP
  8. Qpidd
  9. PostgreSQL database
  10. Cassandra
  11. ZooKeeper

Start order: If you install Edge on multiple nodes, then you should start Edge components on those nodes in the following order:

  1. ZooKeeper
  2. Cassandra
  3. OpenLDAP
  4. Qpidd
  5. PostgreSQL database
  6. Management Server
  7. Router
  8. Message Processor
  9. Qpid Server
  10. Postgres Server
  11. Apigee UI

The following scripts detect the Apigee components configured to run on the system on which the script is executed, and will start or stop only those components in the correct order for that node.

  • To stop Apigee Edge, Apache Cassandra, and Apache ZooKeeper:
    /<inst_root>/apigee/apigee-service/bin/apigee-all stop
  • To start Apache ZooKeeper, Apache Cassandra, and Apigee Edge:
    /<inst_root>/apigee/apigee-service/bin/apigee-all start
  • To check if the server is running:
    /<inst_root>/apigee/apigee-service/bin/apigee-all status

Starting, Stopping and Restarting an Individual Service

You can use the following tool to start/stop/restart an individual Apigee service on any specific server.

/<inst_root>/apigee/apigee-service/bin/apigee-service <service> <command>

where:

  • <service> 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
  • <command> is one of the following: start, stop, restart

For example, to start or stop or restart Management Server, run the following commands:

apigee-service edge-management-server start
apigee-service edge-management-server stop
apigee-service edge-management-server restart

You can also check the status of an individual Apigee service by using the following command:

apigee-service edge-management-server status