1 サーバー管理

STA コマンドは、各種 STA コンポーネントの管理とステータスの確認に使用します。この章は次のセクションで構成されています。

STA コマンドの概要

STA コマンドのバリアントは次のカテゴリに分類できます。

  • STA 環境全体の起動または停止や、STA 環境全体のステータス確認を行うためのコマンド

  • 個々の STA サービスの起動または停止や、個々の STA サービスのステータス確認を行うためのコマンド。

注意:

個々の STA サービスのコマンドは参照用として記載されています。Oracle Support から指示されないかぎり、これらのコマンドは実行しないでください。

有効な STA コマンド引数のリストは、STA help コマンドを使用していつでも取得できます。

管理対象サーバー

STA プロセスは次の 3 つの管理対象サーバーに分類できます。

  • staUi — STA ユーザーインタフェース

  • staEngine — 基本的な STA 内部機能

  • staAdapter — SNMP 通信

サーバーは個々に管理できます。個々のサービス管理コマンド を参照してください。

メモリー使用要件

表1-1 は、STA ドメインサーバー、STA 管理対象サーバー、および MySQL のメモリー使用要件を示しています。

表1-1 メモリー使用要件

項目
メモリー要件

STA ドメインサーバー

2G バイトのヒープサイズ

STA 管理対象サーバー

2G バイトのヒープサイズ

MySQL

2G バイトのメモリー


グローバル管理コマンド

次の STA コマンドは、STA 環境全体の開始と停止、およびステータス確認に使用できます。

  • STA start all は、STA 環境全体を開始します。例:

    # STA start all

    Starting mysql Service..
    mysql service was successfully started
    Starting staservd Service.
    staservd service was successfully started
    Starting weblogic Service......
    weblogic service was successfully started
    Starting staengine Service.........
    staengine service was successfully started
    Starting staadapter Service..........
    staadapter service was successfully started
    Starting staui Service..........
    staui service was successfully started
    #
    
  • STA stop all は、STA 環境全体を停止します。例:

    # STA stop all

    Stopping the staui service......
    Successfully stopped the staui service
    Stopping the staadapter service......
    Successfully stopped the staadapter service
    Stopping the staengine service......
    Successfully stopped the staengine service
    Stopping the weblogic service......
    Successfully stopped the weblogic service
    Stopping the staservd Service...
    Successfully stopped staservd service
    Stopping the mysql service.....
    Successfully stopped mysql service
    #
    
  • STA status all は、STA 環境全体のステータスを表示します。例:

    # STA status all

    mysql is running
    staservd service is running
    weblogic service is running
    staengine service is running
     .... and the deployed application for staengine is in an ACTIVE state
    staadapter service is running
     .... and the deployed application for staadapter is in an ACTIVE state
    staui service is running
     .... and the deployed application for staui is in an ACTIVE state
    

個々のサービス管理コマンド

次の STA コマンドは、個々の STA コンポーネントの開始と停止や、それらのコンポーネントのステータス確認に使用できます。

注意:

個々の STA サービスのコマンドは参照用として記載されています。Oracle Support から指示された場合にのみ、これらのコマンドを使用してください。
  • STA start|stop|status mysql

    MySQL の開始または停止、またはそのステータスを表示します。

  • STA start|stop|status staservd

    STA サービスデーモンの開始または停止、またはそのステータスを表示します。

  • STA start|stop|status weblogic

    WebLogic 管理サーバーの開始または停止、またはそのステータスを表示します。

  • STA start|stop|status staadapter

    staAdapter 管理対象サーバーの開始または停止、またはそのステータスを表示します。

  • STA start|stop|status staengine

    staEngine 管理対象サーバーの開始または停止、またはそのステータスを表示します。

  • STA start|stop|status staui

    staUi 管理対象サーバーの開始または停止、またはそのステータスを表示します。