Apigee Edge の起動、停止、再起動

Edge for Private Cloud バージョン 4.16.05

サブシステムの停止と起動の順序は重要です。同じノード上で実行されている Edge コンポーネントのために、起動スクリプトと停止スクリプトが提供されています。

停止順序: 複数のノードに Edge をインストールする場合は、それらのノードで Edge コンポーネントを次の順序で停止する必要があります。

  1. Apigee UI
  2. 管理サーバー
  3. ルーター
  4. Message Processor
  5. Qpid サーバー
  6. Postgres サーバー
  7. OpenLDAP
  8. Qpidd
  9. PostgreSQL データベース
  10. Cassandra
  11. ZooKeeper

開始順序: Edge を複数のノードにインストールする場合は、それらのノードで次の順序で Edge コンポーネントを起動する必要があります。

  1. ZooKeeper
  2. Cassandra
  3. OpenLDAP
  4. Qpidd
  5. PostgreSQL データベース
  6. 管理サーバー
  7. ルーター
  8. Message Processor
  9. Qpid サーバー
  10. Postgres サーバー
  11. Apigee UI

次のスクリプトは、スクリプトが実行されたシステムで実行するように構成された Apigee コンポーネントを検出し、そのノードの正しい順序でコンポーネントのみを起動または停止します。

  • Apigee Edge、Apache Cassandra、Apache ZooKeeper を停止するには:
    /<inst_root>/apigee/apigee-service/bin/apigee-all
  • 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