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:
- Apigee UI
- Management Server
- Router
- Message Processor
- Qpid Server
- Postgres Server
- OpenLDAP
- Qpidd
- PostgreSQL database
- Cassandra
- ZooKeeper
Start order: If you install Edge on multiple nodes, then you should start Edge components on those nodes in the following order:
- ZooKeeper
- Cassandra
- OpenLDAP
- Qpidd
- PostgreSQL database
- Management Server
- Router
- Message Processor
- Qpid Server
- Postgres Server
- 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