Oracle® Fusion Middleware Oracle WebCenter Portalの管理 11gリリース1 (11.1.1.8.3) E51441-03 |
|
前 |
次 |
Oracle WebCenter PortalコンポーネントがOracle WebLogic Server上で実行している場合、Oracle WebLogic ServerへのフロントエンドとしてOracle HTTP Server (OHS)を設定できます。フロントエンドとしてOHSが必要なシナリオの一部は、次のとおりです。
Site StudioとOracle Content Server間でOSSOが正しく機能するため。これはOHSのmod_osso
を介して実現されます。
Oracle WebLogic Serverクラスタ・ノード間で適切な負荷の分散を行うため。これはOHSのmod_wl
を介して実現されます。
OHSはOAMのWebGateコンポーネント用に必要です。
OHSはリバース・プロキシとして使用されます。
これらの場合、mod_wl_ohs
モジュールを構成して、リクエストをOHSからOracle WebLogic Serverへプロキシ可能にする必要があります。
サンプルのmod_wl_ohs.conf
Fusion Middleware Controlを使用してmod_wl_ohs
モジュールを構成した後で、mod_wl_ohs.conf
ファイルは例B-1のようになります。このファイルのデフォルトの場所は、OHS_HOME
/Oracle_WT1
/instances/
instance1
/config/OHS/ohs1/mod_wl_ohs.conf
です。
例B-1 WebCenter Portal: サンプルのmod_wl_ohs.confファイル
# WebCenter Portal Application <Location /webcenter> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> <Location /webcenterhelp> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> <Location /rss> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> <Location /rest> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> # Discussions <Location /owc_discussions> SetHandler weblogic-handler WeblogicHost discuss.example.com WeblogicPort 8890 </Location> # SES Search <Location /rsscrawl> SetHandler weblogic-handler WeblogicHost ses.examplet.com WeblogicPort 7777 </Location> <Location /sesUserAuth> SetHandler weblogic-handler WeblogicHost ses.example.com WeblogicPort 7777 </Location> # Portlets <Location /portalTools> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8889 </Location> <Location /wsrp-tools> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8889 </Location> <Location /pagelets> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8889 </Location> # Personalization <Location /wcps> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8891 </Location> # Activity Graph <Location /activitygraph-engines> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8891 </Location> # UCM # Web server context root for Oracle WebCenter Content Server <Location /cs> SetHandler weblogic-handler WeblogicHost ucm.example.com WeblogicPort 16200 </Location> # Enables Oracle WebCenter Content Server authentication <Location /adfAuthentication> SetHandler weblogic-handler WeblogicHost ucm.example.com # Same as /cs entry WeblogicPort 16200 # Same as /cs entry </Location> # SAML SSO <Location /samlacs/acs> SetHandler weblogic-handler WeblogicHost ucm.example.com WeblogicPort 16200 </Location> # BPEL Server <Location /workflow> SetHandler weblogic-handler WeblogicHost soa.example.com WeblogicPort 8001 </Location> # SharePoint <Location /wcsdocs> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location> <Location /_vti_bin> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 </Location>
SSLディレクティブ
SSLを構成している場合、次の追加のディレクティブが必要です。
WLProxySSL ON
WLProxySSLPassThrough ON
たとえば、mod_wl_ohs.conf
エントリは例B-2のようになります。
例B-2 WebCenter Portal: SSLディレクティブを使用したmod_wl_ohs.confファイル
# WebCenter Portal Application <Location /webcenter> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 WLProxySSL ON WLProxySSLPassThrough ON </Location> <Location /webcenterhelp> SetHandler weblogic-handler WeblogicHost webcenter.example.com WeblogicPort 8888 WLProxySSL ON WLProxySSLPassThrough ON </Location> ...
フロントエンド・リスニング・ホストおよびフロントエンド・リスニング・ポート
Oracle HTTP Server (OHS)フロントエンドがサイト・エントリ・ポイントでもある場合、Oracle WebLogic Server管理コンソールを使用して、OHSフロントエンドを使用する各サーバーに対してFrontEnd Host
およびFrontEnd HTTP Port
を設定します。
クラスタのエラー・ページの構成
次のようにErrorPage
パラメータをmod_wl_ohs.conf
に組み込みます。
<Location /webcenter>
WebLogicCluster
app1.mycompany.com:8888,app2.mycompany.com:8888,app3.company.com:8888
SetHandler weblogic-handler
ErrorPage http://mycompany.com/error.html
</Location>
すべてのWC_Spaces
管理対象サーバーが停止している場合、ユーザーはhttp://company.com/error.html
にリダイレクトされます。任意の管理対象サーバーがオンラインになると、ユーザーは通常どおりWebCenter Portalにアクセスできます。
『Oracle Fusion Middleware Oracle HTTP Server管理者ガイド』のmod_wl_ohsの構成に関する項も参照してください。