このページを使用して、補正サービスを管理します。 補正サービスは、補正の使用可能化およびロギングのためのサーバー・レベルの構成をサポートします。
To view this administrative console page, click Servers > Server Types > WebSphere application servers > server_name > [Container Settings] Container services > Compensation service.
サーバーの次の始動に、アプリケーション・サーバーが補正サービスを開始しようとするかどうかを指定します。
デフォルト | 選択 |
範囲 |
|
設定された場合、補正サービスがこのサーバーのリカバリーのためにログ・ファイルを保管しているロケーションをオーバーライドする、ディレクトリー・パスを指定します。
サーバー構成でブランクになっている値は、始動時に補正サービスによって、ディレクトリー profile_root/recoveryLogs/cell_name/node_name/server_name/compensation として展開されます。変数 profile_root は、サーバーで使用される WebSphere Application Server プロファイルのホーム・ディレクトリーです。
補正が使用されると、WebSphere 製品は、物理ストレージ・デバイスでのシステム障害後に 補正を実行するのに必要な情報を保管します。 In a higher application load, this persistence slows down performance of the application server because the application server is dependent on the operating system and the underlying storage systems.
To achieve better performance, move the compensation log files to a storage device with more physical disk drives, or preferably Redundant Array of Independent Disks (RAID) disk drives. When the log files are moved to the file systems on the RAID disks, the task of writing data to the physical media is shared across the multiple disk drives. This sharing provides more concurrent access to make compensation information persistent and provides faster access to that data from the logs. Depending upon the design of the application and storage subsystem, typical performance gains can be 10% to 100% or greater.
This change applies only to the configuration where the application has compensation configured. アプリケーション・サーバーが以下の 1 つ以上の症状を示す場合、このプロパティーを 設定することを検討してください。
データ型 | ストリング |
デフォルト | profile_root/recoveryLogs/cell_name/node_name/server_name/compensation ここで、profile_root は、サーバーで使用される WebSphere Application Server プロファイルのホーム・ディレクトリーです。 |
推奨 | Create a file system with at least 3 to 4 disk drives grouped together in a RAID-0 configuration. このファイル・システム上 で、デフォルトのサイズの補正ログを作成します。 負荷がかかった状態でサーバーが稼働している場合は、ディスクの 入出力をチェックします。 ディスクの入出力時間が 5% を超える場合は、物理ディスクをさらに追加してこの値を抑えることを検討してください。 ディスクの入出力が低いにもかかわらず、サーバーの負荷が高い値を示す場合は、ログ・ファイルのサイズを 大きくすることを検討してください。 |
補正サービスがデータのリカバリーに使用するリカバリー・ログ・ファイルの最大サイズを、メガバイト (MB) 単位で指定します。 デフォルト値は 5 MB です。
補正サービスによって記録されたデータ量は、補正を使用する、同時にアクティブになっているアプリケーションの数、および補正ロジックへの入力として提供されるアプリケーション・データのサイズに影響されます。
補正サービスは、補正リカバリー・データのためのサーバー始動時に、物理ストレージ・デバイスにスペースを予約します。 If this size is not enough for active compensation data, the log files grow dynamically until they reach the maximum size that this value specifies.
データ型 | 整数 |
単位 | MB |
デフォルト | 5 |
範囲 | 1 から 2147483647 MB |
リカバリー・ログ・ファイル・サイズの許可範囲は 1 から 2147483647 であるが、 実際に可能な最大サイズはマップ・ファイルのオペレーティング・システムが許可する最大サイズに依存します。
補正サービスが補正ハンドラーを再試行する最大回数を指定します。
この値は、補正サービスが CompensationHandler メソッドの compensate() および close() を呼び出す回数を指定します。Each time that the compensation handler is retried, the Compensation handler retry interval doubles.
この値を -1 に設定すると、compensate() および close() メソッドが無制限に再試行されます。どちらのメソッドも再試行を行わない場合は、値を 0 に設定します。
データ型 | 整数 |
デフォルト | -1 |
範囲 | -1 以上 |
補正サービスが補正ハンドラーを再試行するまで待機する時間間隔 (秒) を指定します。 Each time that the compensation handler is retried, the interval doubles.
補正サービスは、CompensationHandler メソッドである compensate() および close() のいずれかが RetryCompensationHanderException をスローした場合に、これらのメソッドを再呼び出しして補正ハンドラーを再試行します。
データ型 | 整数 |
単位 | 秒 |
デフォルト | 30 |
範囲 | 0 以上 |
マーク付きのリンク (オンライン) では、インターネットにアクセスする必要があります。