次のディレクティブを使用して、サーバーによる永続的な接続の処理方法を決定します。これ らのディレクティブは、httpd.confファイルのGlobal Environmentセクションにあります。
■ KeepAlive
■ KeepAliveTimeout
■ MaxKeepAliveRequests 関連項目
関連項目 関連項目
関連項目: B-3ページの「httpd.confのファイル構造」
関連資料 関連資料 関連資料
関連資料: Apache Serverマニュアルの「ListenBackLog directive」
関連資料関連資料
関連資料関連資料: Apache Serverマニュアルの「SendBufferSize directive」
関連資料 関連資料 関連資料
関連資料: Apache Serverマニュアルの「TimeOut directive」
関連資料 関連資料 関連資料 関連資料:
■ 『Oracle Application Serverパフォーマンス・ガイド』
■ B-3ページの「httpd.confのファイル構造」
リバース・プロキシとロード・バランサの構成
4.3.1 KeepAlive
このディレクティブを「On」に設定すると、HTTP 1.1 KeepAliveのサポートが有効になり、
1つのクライアントからの複数のHTTPリクエストに対して同じTCP接続を再利用できます。
4.3.2 KeepAliveTimeout
サーバーがKeepAlive接続をクローズする前に、後続のリクエストを待機する秒数を設定しま す。リクエストが受信されると、TimeOutディレクティブで指定したタイムアウト値が適用さ れます。デフォルトは15秒です。
4.3.3 MaxKeepAliveRequests
KeepAliveが「On」になっているときの、接続ごとの許容リクエスト数を制限します。「0」に
設定すると、許容リクエスト数は無制限となります。デフォルトは100です。
4.4 リバース・プロキシとロード・バランサの構成 リバース・プロキシとロード・バランサの構成 リバース・プロキシとロード・バランサの構成 リバース・プロキシとロード・バランサの構成
デフォルトでは、Oracle HTTP ServerのServerNameディレクティブで設定されているローカ ル・ホスト名を使用してOracle Application Serverがインストールされます。ほとんどのWeb サイトが、Webサーバーまたはアプリケーション・サーバー用に特定のホスト名またはドメイ ン名を使用する傾向があります。ただし、ServerNameディレクティブを使用すると、Oracle
HTTP Serverがローカル・ホストを使用してインスタンス化されるため、そのままでは不可能
です。
例例
例例4-1 Oracle HTTP Serverとリバース・プロキシおよびロード・バランサの使用とリバース・プロキシおよびロード・バランサの使用とリバース・プロキシおよびロード・バランサの使用とリバース・プロキシおよびロード・バランサの使用 ドメイン名
ドメイン名 ドメイン名
ドメイン名: www.oracle.com:80 123.456.7.8(リバース・プロキシ、ロード・バランサま たはファイアウォール上に置かれる)
Oracle Application Serverホストのホスト名ホストのホスト名ホストのホスト名ホストのホスト名: server.oracle.com 123.456.7.9 Oracle Application Serverホストのサーバー名およびポートホストのサーバー名およびポートホストのサーバー名およびポートホストのサーバー名およびポート: server.oracle.com:7777 httpd.confファイルに次の変更を加えます。
Port 80 Listen 7777 Listen 80
# Virtual Hosts
# This section is mandatory for URLs that are generated by
# the PL/SQL packages of the Oracle Portal and various other components
# These entries dictate that the server should listen on port
# 7777, but will assert that it is using port 80, so that
# self-referential URLs generated specify www.oracle.com:80
# This will create URLs that are valid for the browser since
# the browser does not directly see the host server.oracle.com.
NameVirtualHost 123.456.7.9:7777
<VirtualHost server.oracle.com:7777>
ServerName www.oracle.com Port 80
関連資料関連資料
関連資料関連資料: Apache Serverマニュアルの「KeepAlive directive」
関連資料 関連資料 関連資料
関連資料: Apache Serverマニュアルの「KeepAliveTimeout directive」
関連資料 関連資料 関連資料
関連資料: Apache Serverマニュアルの「MaxKeepAliveRequests
directive」
リバース・プロキシとロード・バランサの構成
# portlets.
NameVirtualHost 123.456.7.9:80
<VirtualHost server.oracle.com:80>
ServerName www.oracle.com Port 80
<VirtualHost>
関連資料 関連資料 関連資料
関連資料:『Oracle Application Server高可用性ガイド』
リバース・プロキシとロード・バランサの構成
5
サーバー・ログの構成と使用 サーバー・ログの構成と使用 サーバー・ログの構成と使用 サーバー・ログの構成と使用
この章では、Oracle Diagnostic Logging、ログの書式、各種ログ・ファイルおよびその位置に ついて説明します。
内容は、次のとおりです。
■ Oracle Diagnostic Loggingの使用
■ ログ・レベルの指定
■ ログ・ファイルの指定
該当する場合は、Apache Software Foundationのマニュアルを参照しています。
Oracle Diagnostic Loggingの使用