ページの先頭行へ戻る
Interstage Application Server OLTPサーバ運用ガイド

A.2 記述例

  ワークユニット定義は、以下の形式で記述します。
  ワークユニット種別ごとに指定可能なセクション、ステートメントが異なります。
  以下にワークユニット種別ごとに記述例をあげます。記載のないセクション、ステートメントは指定しても無視されます。
  ワークユニット種別については、[WORK UNIT]セクションの“A.3.1.2 Kind:ワークユニット種別”ステートメントを参照してください。

  太字の項目は必ず指定してください。これ以外は省略可能です。省略した場合にはデフォルト値が有効になります。
  ワークユニット種別やワークユニットが使用する機能によっては、省略可能なセクションがあります。その場合は、ステートメントだけでなくセクション名も省略してください。

CORBA

[WORK UNIT]
  Name: WU001 ワークユニット名
  Kind: CORBA ワークユニット種別
[Control Option]
  Path: c:\Interstage\odwin\src\samples アプリケーションライブラリパス
   ...
  Current Directory: c:\temp カレントディレクトリ
  Application Retry Count: 10 連続異常終了回数   Path for Application: C:\SFWPK9X\ESQL\BIN アプリケーション使用パス    ...   Environment Variable: RDBNAME=rdbsys1 環境変数    ...   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   WorkUnit Exit Program: wuexit ワークユニット出口プログラム名   Executable File of Exit Program for Salvage: exit1.dll プロセス回収出口プログラム実行ファイル名   Request Assignment Mode: LIFO 要求メッセージ振り分け方式   Traffic Director Monitor Mode: IPCOM連携時の監視有無   Startup Time: ワークユニット起動待ち時間   Shutdown Time: プロセス強制停止時間   Start Log: プロセス起動ログ採取   Process Degeneracy: プロセス縮退運用   Number of Revision Directories: カレントディレクトリの退避世代数
[Application Program]
  Executable File: simple_s.exe 実行ファイル名
  Impl ID: ODsample/anytest:1.0 インプリメンテーションリポジトリID
  Concurrency: 1 プロセス多重度   Maximum Processing Time: 60 アプリケーション最大処理時間   Terminate Process for Time out: YES 最大処理時間超過時強制停止の有無   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   Maximum Queuing Message: 100 最大キューイング数   Queuing Message To Notify Alarm: 70 監視キューイング数   Queuing Message To Notify Resumption: 50 監視再開キューイング数   Environment Variable: APLENV=XX 環境変数    ...   CLASSPATH for Application: アプリケーション使用クラスパス    ...   Executable File of Exit Program for Salvage: exit2.dll プロセス回収出口プログラム実行ファイル名   Exit Program for Process Salvage: collectionexit プロセス回収出口プログラム名   Param for Executable File: USERPARAM1 起動パラメタ   Request Assignment Mode: LIFO 要求メッセージ振り分け方式   Buffer Number: 1000 通信バッファ数   Buffer Size: 4096 通信バッファ長   Path: c:\Interstage\odwin\src\samples アプリケーションパス

[WORK UNIT]
  Name: WU001 ワークユニット名
  
Kind: CORBA ワークユニット種別
[Control Option]
  Path: /opt/FSUNod/src/samples アプリケーションライブラリパス
   ...
  Current Directory: /tmp カレントディレクトリ
  Application Retry Count: 10 連続異常終了回数   Path for Application: アプリケーション使用パス    ...   Library for Application: /opt/FSUNrdb2b/lib アプリケーション使用ライブラリパス    ...   Environment Variable: RDBNAME=rdbsys1 環境変数    ...   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   WorkUnit Exit Program: wuexit ワークユニット出口プログラム名   Executable File of Exit Program for Salvage: libexit1.so プロセス回収出口プログラム実行ファイル名   Request Assignment Mode: LIFO 要求メッセージ振り分け方式   Traffic Director Monitor Mode: IPCOM連携時の監視有無   Output of Stack Trace: タイムアウト検出時のスタックトレース取得の有無   Startup Time: ワークユニット起動待ち時間   Shutdown Time: プロセス強制停止時間   Start Log: プロセス起動ログ採取   Process Degeneracy: プロセス縮退運用   Number of Revision Directories: カレントディレクトリの退避世代数
[Application Program]
  Executable File: simple_s 実行ファイル名
  Impl ID: ODsample/anytest:1.0 インプリメンテーションリポジトリID
  Concurrency: 1 プロセス多重度   Maximum Processing Time: 60 アプリケーション最大処理時間   Terminate Process for Time out: YES 最大処理時間超過時強制停止の有無   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   Maximum Queuing Message: 100 最大キューイング数   Queuing Message To Notify Alarm: 70 監視キューイング数   Queuing Message To Notify Resumption: 50 監視再開キューイング数   Environment Variable: APLENV=XX 環境変数    ...   CLASSPATH for Application: アプリケーション使用クラスパス    ...   Executable File of Exit Program for Salvage: libexit2.so プロセス回収出口プログラム実行ファイル名   Exit Program for Process Salvage: collectionexit プロセス回収出口プログラム名   Param for Executable File: USERPARAM1 起動パラメタ   Request Assignment Mode: LIFO 要求メッセージ振り分け方式   Buffer Number: 1000 通信バッファ数   Buffer Size: 4096 通信バッファ長   Path: /opt/FSUNod/src/samples アプリケーションパス

[WORK UNIT]
  Name: WU001 ワークユニット名
  
Kind: CORBA ワークユニット種別
[Control Option]
  Path: /opt/FJSVod/src/samples アプリケーションライブラリパス
  
...
  
Current Directory: /tmp カレントディレクトリ
  Application Retry Count: 10 連続異常終了回数   Path for Application: アプリケーション使用パス    ...   Library for Application: /opt/FSUNrdb2b/lib アプリケーション使用ライブラリパス    ...   Environment Variable: RDBNAME=rdbsys1 環境変数    ...   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   WorkUnit Exit Program: wuexit ワークユニット出口プログラム名   Executable File of Exit Program for Salvage: libexit1.so プロセス回収出口プログラム実行ファイル名   Request Assignment Mode: LIFO 要求メッセージ振り分け方式   Traffic Director Monitor Mode: IPCOM連携時の監視有無   Startup Time: ワークユニット起動待ち時間   Shutdown Time: プロセス強制停止時間   Start Log: プロセス起動ログ採取   Process Degeneracy: プロセス縮退運用   Number of Revision Directories: カレントディレクトリの退避世代数
[Application Program]
  Executable File: simple_s 実行ファイル名
  Impl ID: ODsample/anytest:1.0 インプリメンテーションリポジトリID
  Concurrency: 1 プロセス多重度   Maximum Processing Time: 60 アプリケーション最大処理時間   Terminate Process for Time out: YES 最大処理時間超過時強制停止の有無   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   Maximum Queuing Message: 100 最大キューイング数   Queuing Message To Notify Alarm: 70 監視キューイング数   Queuing Message To Notify Resumption: 50 監視再開キューイング数   Environment Variable: APLENV=XX 環境変数    ...   CLASSPATH for Application: アプリケーション使用クラスパス    ...   Executable File of Exit Program for Salvage: libexit2.so プロセス回収出口プログラム実行ファイル名   Exit Program for Process Salvage: collectionexit プロセス回収出口プログラム名   Param for Executable File: USERPARAM1 起動パラメタ   Request Assignment Mode: LIFO 要求メッセージ振り分け方式   Buffer Number: 1000 通信バッファ数   Buffer Size: 4096 通信バッファ長   Path: /opt/FJSVod/src/samples アプリケーションパス

UTY

[WORK UNIT]
  Name: UTYWU001 ワークユニット名
  
Kind: UTY ワークユニット種別
[Control Option]
  Path: /opt/FJSVawjbk/jdk13/bin アプリケーションライブラリパス
  
...
  Current Directory: /tmp カレントディレクトリ
  Application Retry Count: 10 連続異常終了回数   Path for Application: アプリケーション使用パス    ...   Library for Application : アプリケーション使用ライブラリパス    ...   Environment Variable: 環境変数    ...   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   WorkUnit Exit Program: wuexit ワークユニット出口プログラム名   Executable File of Exit Program for Salvage: libexit1.so プロセス回収出口プログラム実行ファイル名   WorkUnit Automatic Stop Mode: NO 自動停止モード   Traffic Director Monitor Mode: IPCOM連携時の監視有無   Number of Revision Directories: カレントディレクトリの退避世代数
[Application Program]
  Executable File: java 実行ファイル名
  Concurrency: 1 プロセス多重度   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   Environment Variable: CLASSPATH=/aplclass 環境変数    ...   Executable File of Exit Program for Salvage: libexit2.so プロセス回収出口プログラム実行ファイル名   Exit Program for Terminating Process: stopexit プロセス停止出口プログラム名   Exit Program for Process Salvage: collectionexit プロセス回収出口プログラム名   Param for Executable File: APLCLASS 起動パラメタ   Reset Time for Application Retry Count: 300 リトライカウントリセット時間

[WORK UNIT]
  Name: UTYWU001 ワークユニット名
  
Kind: UTY ワークユニット種別
[Control Option]
  Path: /opt/FJSVawjbk/jdk13/bin アプリケーションライブラリパス
  
...
  
Current Directory: /tmp カレントディレクトリ
  Application Retry Count: 10 連続異常終了回数   Path for Application: アプリケーション使用パス    ...   Library for Application : アプリケーション使用ライブラリパス    ...   Environment Variable: 環境変数    ...   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   WorkUnit Exit Program: wuexit ワークユニット出口プログラム名   Executable File of Exit Program for Salvage: libexit1.so プロセス回収出口プログラム実行ファイル名   WorkUnit Automatic Stop Mode: NO 自動停止モード   Traffic Director Monitor Mode: IPCOM連携時の監視有無   Number of Revision Directories: カレントディレクトリの退避世代数
[Application Program]
  Executable File: java 実行ファイル名
  Concurrency: 1 プロセス多重度   Maximum Processing Time for Exit Program: 180 出口プログラム最大処理時間   Environment Variable: CLASSPATH=/test 環境変数    ...   Executable File of Exit Program for Salvage: libexit2.so プロセス回収出口プログラム実行ファイル名   Exit Program for Terminating Process: stopexit プロセス停止出口プログラム名   Exit Program for Process Salvage: collectionexit プロセス回収出口プログラム名   Param for Executable File: TESTCLASS 起動パラメタ   Reset Time for Application Retry Count: 300 リトライカウントリセット時間