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

Edge for Private Cloud v. 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 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