Stop/start order
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 stop 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
(classic) oredge-management-ui
(new) - Cassandra (
apigee-cassandra
) - OpenLDAP (
apigee-openldap
) - PostgreSQL database (
apigee-postgresql
) - Qpidd (
apigee-qpidd
) - ZooKeeper (
apigee-zookeeper
) - Apigee SSO (
apigee-sso
)
Start order
If you install Edge on multiple nodes, then you should start Edge components on those nodes in the following start 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
(classic) oredge-management-ui
(new) - Edge SSO (
apigee-sso
)
Start/stop/check all components
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 restart all Apigee components:
/opt/apigee/apigee-service/bin/apigee-all restart
- To check which components are running:
/opt/apigee/apigee-service/bin/apigee-all status
Start/stop/restart individual components
You can use the apigee-service
tool to start/stop/restart or check the status of
an individual Apigee component on any specific server.
/opt/apigee/apigee-service/bin/apigee-service component_name [start|stop|restart|status]
Where component_name identifies the component. Possible values of component_name include (in alphabetical order):
apigee-cassandra
(Cassandra)apigee-openldap
(OpenLDAP)apigee-postgresql
(PostgreSQL database)apigee-qpidd
(Qpidd)apigee-sso
(Edge SSO)apigee-zookeeper
(ZooKeeper)edge-management-server
(Management Server)edge-management-ui
(new Edge UI)edge-message-processor
(Message Processor)edge-postgres-server
(Postgres Server)edge-qpid-server
(Qpid Server)edge-router
(Edge Router)edge-ui
(Classic UI)
For example, to start, stop, or restart the Management Server, run the following commands:
/opt/apigee/apigee-service/bin/apigee-service edge-management-server start/opt/apigee/apigee-service/bin/apigee-service edge-management-server stop
/opt/apigee/apigee-service/bin/apigee-service edge-management-server restart
You can also check the status of an individual Apigee component by using the following command:
/opt/apigee/apigee-service/bin/apigee-service component_name status
For example:
/opt/apigee/apigee-service/bin/apigee-service edge-management-server status