ストリームデータ処理基盤 uCosminexus Stream Data Platform - Application Framework システム構築・運用ガイド
Dashboard Serverは,ダッシュボード出力コネクターが出力したダッシュボード表示用データを取得するためのFlex Dashboardのアプリケーションです。Dashboard Serverは,Dashboard Viewerからの要求を受け付けて,ダッシュボード出力コネクターから取得したダッシュボード表示用データをDashboard Viewerに送信します。
ここでは,Dashboard Serverの設定方法について説明します。
次のシステム環境変数を設定します。
表3-5 設定する環境変数(Windowsの場合)
| 環境変数名 | 設定値 |
|---|---|
| PRFSPOOL | <インストールディレクトリ>\psb\CC\web\redirector\logs |
表3-6 設定する環境変数(Linuxの場合)
| 環境変数名 | 設定値 |
|---|---|
| PRFSPOOL | /opt/hitachi/sdp/psb/CC/web/redirector/logs |
| PATH※1 | /opt/hitachi/sdp/psb/jdk/bin |
| /opt/hitachi/sdp/psb/PRF/bin | |
| LD_LIBRARY_PATH | /opt/hitachi/sdp/psb/PRF/lib |
| /opt/hitachi/common/lib | |
| CSCCFJ_SERVER_HOME | /opt/hitachi/sdp/psb/CC |
| COSMINEXUS_PSB_HOME※2 | /opt/hitachi/sdp/psb |
| PRF_AUDITLOG_USE※2 | 0 |
Dashboard Serverを使用するためには,Webサーバのサービスを登録して,Webコンテナサーバをセットアップします。
なお,Linuxの場合,Webサーバのサービスの登録は不要です。
<インストールディレクトリ>\psb\httpsd\httpsd.exe -k install -n "Hitachi Web Server for uCSDPAF"
<インストールディレクトリ>\psb\CC\web\bin\cjwebsetup.exe uCSDPAF_Server
<インストールディレクトリ>\psb\CC\web\containers\uCSDPAF_Server\
WebサーバとWebコンテナサーバを設定するコマンドの実行例を次に示します。
C:\> <インストールディレクトリ>\psb\httpsd\httpsd.exe -k install -n “Hitachi Web Server for uCSDPAF” Installing the Hitachi Web Server for uCSDPAF service The Hitachi Web Server for uCSDPAF service is successfully installed. C:\><インストールディレクトリ>\psb\CC\web\bin\cjwebsetup.exe uCSDPAF_Server KDJE41800-I The setup for the Web container server has finished successfully. Server name = uCSDPAF_Server
<インストールディレクトリ>/psb/CC/web/bin/cjwebsetup.exe uCSDPAF_Server
<インストールディレクトリ>/psb/CC/web/containers/uCSDPAF_Server/
Dashboard Serverで使用するファイルを準備します。
なお,V01-50より前のLinuxの場合,インストーラがhttpsd.confファイルの指定値を自動で更新するため,httpsd.confファイルの編集は不要です。
################################################################
##
## httpsd.conf - Cosminexus HTTP Server configuration file
##
## All Rights Reserved. Copyright (C) 2000, 2012, Hitachi, Ltd.
#################################################################
Listen 20430
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 10000
:
(略)
:
Include ..\CC\web\redirector\mod_jk.conf
|
| コピー元のファイル | コピー先のディレクトリ | コピー後のファイル編集の要否 |
|---|---|---|
| <インストールディレクトリ>\samples\httppacket\web\redirector\workers.properties | <インストールディレクトリ>\psb\CC\web\redirector\ | × |
| <インストールディレクトリ>\samples\httppacket\web\redirector\mod_jk.conf | <インストールディレクトリ>\psb\CC\web\redirector\ | × |
| <インストールディレクトリ>\samples\httppacket\web\containers\uCSDPAF_Server\usrconf\usrconf.cfg | <インストールディレクトリ>\psb\CC\web\containers\uCSDPAF_Server\usrconf\ | × |
| <インストールディレクトリ>\samples\httppacket\web\containers\uCSDPAF_Server\usrconf\usrconf.properties | <インストールディレクトリ>\psb\CC\web\containers\uCSDPAF_Server\usrconf\ | ○ |
| <インストールディレクトリ>\lib\dashboard.war | <インストールディレクトリ>\psb\CC\web\containers\uCSDPAF_Server\webapps\ | × |
| コピー元のファイル | コピー先のディレクトリ | コピー後のファイル編集の要否 |
|---|---|---|
| <インストールディレクトリ>/samples/httppacket/web/redirector/workers.properties | <インストールディレクトリ>/psb/CC/web/redirector/ | × |
| <インストールディレクトリ>/samples/httppacket/web/redirector/mod_jk.conf | <インストールディレクトリ>/psb/CC/web/redirector/ | × |
| <インストールディレクトリ>/samples/httppacket/web/containers/uCSDPAF_Server/usrconf/usrconf.cfg | <インストールディレクトリ>/psb/CC/web/containers/uCSDPAF_Server/usrconf/ | × |
| <インストールディレクトリ>/samples/httppacket/web/containers/uCSDPAF_Server/usrconf/usrconf.properties | <インストールディレクトリ>/psb/CC/web/containers/uCSDPAF_Server/usrconf/ | ○ |
| <インストールディレクトリ>/lib/dashboard.war | <インストールディレクトリ>/psb/CC/web/containers/uCSDPAF_Server/webapps/ | × |
################################################################
##
## httpsd.conf - Cosminexus HTTP Server configuration file
##
## All Rights Reserved. Copyright (C) 2000, 2012, Hitachi, Ltd.
#################################################################
Listen 20430
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 10000
:
(略)
:
User nobody
Group nobody
:
(略)
:
Include ../CC/web/redirector/mod_jk.conf
|
| コピー元のファイル | コピー先のディレクトリ | コピー後のファイル編集の要否 |
|---|---|---|
| <インストールディレクトリ> /samples/httppacket/web/redirector/workers.properties |
<インストールディレクトリ>/psb/CC/web/redirector/ | × |
| <インストールディレクトリ> /samples/httppacket/web/redirector/mod_jk.conf |
<インストールディレクトリ>/psb/CC/web/redirector/ | × |
| <インストールディレクトリ> /samples/httppacket/web/containers/uCSDPAF_Server/usrconf/usrconf.cfg |
<インストールディレクトリ>/psb/CC/server/usrconf/ejb/uCSDPAF_Server | × |
| <インストールディレクトリ> /samples/httppacket/web/containers/uCSDPAF_Server/usrconf/usrconf.properties |
<インストールディレクトリ>/psb/CC/server/usrconf/ejb/uCSDPAF_Server | ○ |
コピーしたファイルのうち,Dashboard Serverのサーバ内設定ファイル(usrconf.properties)には,Dashboard Serverがダッシュボード出力コネクターにアクセスして,ダッシュボード表示用データを更新するための間隔とリトライ回数を指定します。
サーバ内設定ファイルの編集については,「12.2 Dashboard Serverのサーバ内設定ファイル(usrconf.properties)」を参照してください。
ejbserver.rmi.naming.port=20432
All Rights Reserved. Copyright (C) 2010, 2014, Hitachi, Ltd.