Collaboration 導入ガイド
Webサーバでは次の設定を実施します。
HTMLや画像ファイルなどの静的なコンテンツを,アプリケーションサーバを経由して取得するとレスポンスタイムが低下します。これを回避するには,次の手順で,静的コンテンツをWebサーバから直接取得するようにバイパスを設定してください。
手順
xcopy d:\hitachi\collaboration\deploy_work\*.gif d:\hitachi\collaboration\clb_home\public /S /Q /I /K /Y /R xcopy d:\hitachi\collaboration\deploy_work\*.png d:\hitachi\collaboration\clb_home\public /S /Q /I /K /Y /R xcopy d:\hitachi\collaboration\deploy_work\*.html d:\hitachi\collaboration\clb_home\public /S /Q /I /K /Y /R xcopy d:\hitachi\collaboration\deploy_work\*.htm d:\hitachi\collaboration\clb_home\public /S /Q /I /K /Y /R xcopy d:\hitachi\collaboration\deploy_work\*.js d:\hitachi\collaboration\clb_home\public /S /Q /I /K /Y /R xcopy d:\hitachi\collaboration\deploy_work\*.css d:\hitachi\collaboration\clb_home\public /S /Q /I /K /Y /R
Alias /Portal "D:/Hitachi/Collaboration/clb_home/public"
/<コンテキストルート>/portal/* /<コンテキストルート>/*.jsp /<コンテキストルート>/js/csdc.js
利用者のアクセス数が多いと,次のような問題が発生します。
これらの問題を回避するには,Webサーバで,サーバスレッド数のディレクティブや,ログに関するディレクティブの設定値を変更します。Cosminexusのインストールディレクトリがd:\hitachi\cosminexus,WebサーバがHitachi Web Serverの場合の設定例を次に示します。
手順
ThreadsPerChild 500
KeepAliveTimeout 3
ErrorLog "|\"D:/Hitachi/Cosminexus/httpsd/sbin/rotatelogs2.exe D:/Hitachi/Cosminexus/httpsd/logs/errorlog 102400 5\""
LogFormat "%h %l %u %t %T \"%r\" %>s %b" common
CustomLog "|\"D:/Hitachi/Cosminexus/httpsd/sbin/rotatelogs2.exe D:/Hitachi/Cosminexus/httpsd/logs/access 51200 5\"" common
LoadModule expires_module modules/mod_expires.so
<Directory "D:/Hitachi/Collaboration/clb_home/public">
ExpiresActive On
ExpiresByType text/html A3600
ExpiresByType image/gif A3600
ExpiresByType image/png A3600
ExpiresByType application/x-javascript A3600
ExpiresByType text/css A3600
</Directory>All Rights Reserved. Copyright (C) 2004, 2015, Hitachi, Ltd.