Edge for Private Cloud v. 4.16.09
サブシステムを停止して起動する順序は重要です。同じノードで実行されている Edge コンポーネントを処理する起動スクリプトと停止スクリプトが用意されています。
停止順序: 複数のノードに Edge をインストールする場合は、次の順序でそれらのノードの Edge コンポーネントを停止する必要があります。
- Management Server(edge-management-server)
- Message Processor(edge-message-processor)
- Postgres Server(edge-postgres-server)
- Qpid Server(edge-qpid-server)
- ルーター(edge-router)
- Edge UI(edge-ui)
- Cassandra(apigee-cassandra)
- OpenLDAP(apigee-openldap)
- PostgreSQL データベース(apigee-postgresql)
- Qpidd(apigee-qpidd)
- ZooKeeper(apigee-zookeeper)
起動順序: 複数のノードに Edge をインストールする場合は、次の順序で Edge コンポーネントを起動する必要があります。
- Cassandra(apigee-cassandra)
- OpenLDAP(apigee-openldap)
- PostgreSQL データベース(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)
- ルーター(edge-router)
- Edge UI(edge-ui)
次のスクリプトは、スクリプトが実行されるシステムで実行するように構成された Apigee コンポーネントを検出し、そのノードの正しい順序でそれらのコンポーネントのみを開始または停止します。
- Apigee Edge、Apache Cassandra、Apache ZooKeeper を停止するには、次のコマンドを実行します。
/<inst_root>/apigee/apigee-service/bin/apigee-all stop - Apache ZooKeeper、Apache Cassandra、Apigee Edge を起動するには、次のコマンドを実行します。
/<inst_root>/apigee/apigee-service/bin/apigee-all start - サーバーが実行されているかどうかを確認するには、次のコマンドを実行します。
/<inst_root>/apigee/apigee-service/bin/apigee-all status
個々のサービスの起動、停止、再起動
次のツールを使用すると、特定のサーバーで個々の Apigee サービスを開始/停止/再起動できます。
/<inst_root>/apigee/apigee-service/bin/apigee-service <service> <command>
ここで
- <service> は、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> は、start、stop、restart のいずれかです。
たとえば、Management Server を起動、停止、再起動するには、次のコマンドを実行します。
apigee-service edge-management-server start apigee-service edge-management-server stop apigee-service edge-management-server restart
次のコマンドを使用して、個々の Apigee サービスのステータスを確認することもできます。
apigee-service edge-management-server status