Edge for Private Cloud v. 4.17.09
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:
- Management Server (edge-management-server)
- Message Processor (edge-message-processor)
- Postgres Server (edge-postgres-server)
- Qpid Server (edge-qpid-server)
- Router (edge-router)
- Edge UI (edge-ui)
- Cassandra (apigee-cassandra)
- OpenLDAP (apigee-openldap)
- PostgreSQL database (apigee-postgresql)
- Qpidd (apigee-qpidd)
- ZooKeeper (apigee-zookeeper)
Start order: If you install Edge on multiple nodes, then you should start Edge components on those nodes in the following order:
- Cassandra (apigee-cassandra)
- OpenLDAP (apigee-openldap)
- PostgreSQL database (apigee-postgresql)
- Qpidd (apigee-qpidd)
- ZooKeeper (apigee-zookeeper)
- Management Server (edge-management-server)
- Message Processor (edge-message-processor)
- Postgres Server (edge-postgres-server)
- Qpid Server (edge-qpid-server)
- Router (edge-router)
- Edge UI (edge-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 all Apigee components:
/opt/apigee/apigee-service/bin/apigee-all stop - To start all Apigee components:
/opt/apigee/apigee-service/bin/apigee-all start - To check which components are running:
/opt/apigee/apigee-service/bin/apigee-all status
Starting, Stopping, Restarting, and Checking the Status of an Individual Service
You can use the following tool to start/stop/restart or check the status of an individual Apigee service on any specific server.
/opt/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, status
For example, to start, stop, or restart the 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