intra-martでWebサーバ+APサーバ(2台)構成のhttpd.conf

intra-martでWebサーバ+APサーバ(2台)構成のhttpd.conf

Webサーバ+APサーバ(2台)構成の場合のhttpd.confについてです。

詳細はこちらに記載されています。

エイリアスは「/imart」としています。

Alias /imart "<%WEB_PATH%>"
<Directory "<%WEB_PATH%>">
  Order allow,deny
  Allow from all
</Directory>

LoadModule caucho_module 組み込みモジュールのパス

ResinConfigServer 192.168.1.1 6800
ResinConfigServer 192.168.1.2 6800

<Location /caucho-status>
  SetHandler caucho-status
</Location>

Windows版の組み込みモジュールは以下に用意されるようです。

<%web_path%>/round_robin/win32/apache2.2/mod_caucho.dll

ResinConfigServerでResin(APサーバ)のIPアドレスとポートを指定します。

ポートは恐らくですがデフォルトは6800です。

2台構成の場合は上記のように2行記述します。

caucho-status

最後の3行を記述することで、以下URLからAPサーバの状態を確認できます。

http://Webサーバアドレス/caucho-status

コメント

タイトルとURLをコピーしました