■インストールログから仕組みを探ろう

1.Sendmail自体を利用していなくても、次のようにコマンドが用意されていれば問題はない。

# which sendmail
/usr/sbin/sendmail

2.PostgreSQLがインストールされている必要がある。

# rpm -qa|grep postgre
postgresql-server-7.1.3-2
postgresql-devel-7.1.3-2
postgresql-7.1.3-2
postgresql-libs-7.1.3-2

3.次に挙げるツールやモジュールが必要だ。通常、Red Hat Linux 7.xでインストールされているものばかりだ。

# rpm -qa|grep grep
grep-2.4.2-7
# rpm -qa|grep XFree86-libs
XFree86-libs-4.1.0-25
# rpm -qa|grep bind-utils
bind-utils-9.2.1-0.7x
# rpm -qa|grep fileutils
fileutils-4.1-4
# rpm -qa|grep textutils
textutils-2.0.14-2
# rpm -qa|grep sh-utils
sh-utils-2.0.11-5
# rpm -qa|grep net-tools
net-tools-1.60-3
# rpm -qa|grep procps
procps-2.0.7-11
# rpm -qa|grep patch
patch-2.5.4-10
# rpm -qa|grep libstdc++
compat-libstdc++-6.2-2.9.0.16
libstdc++-devel-2.96-110
libstdc++-2.96-110
# rpm -qa|grep compat-libstdc
compat-libstdc++-6.2-2.9.0.16
# rpm -qa|grep vixie-cron
vixie-cron-3.0.1-63

4.PostgreSQLをいちども触ったことが無くても心配はない。取りあえず起動させてみる。

# /etc/rc.d/init.d/postgresql start
データベースを初期化中:        [ OK ]
Starting postgresql service:      [ OK ]
# ps ax |grep postmaster
29371 pts/1  S  0:00 /usr/bin/postmaster -D /var/lib/pgsql/data

5.マネージャソフトのインストール

 データベースが登録される管理サーバには、マネージャソフトをインストールする必要がある。

# cd /mnt/cdrom/HDECENTER/
# ./install_manager

###########################################################
HDE Center System Manager
Install Package
http://www.hde.co.jp/ version: 2.5-001
###########################################################


Would you really want to install this package? (yes/no): yes
------------------------------------------------------------

1. Specify the authentication password to logon to
HDE Center
(Max 16 characters. You cannot use the "'", "\" and " ".)


Enter server logon password.
password:
re-enter:

2. Input the FQDN of your site (eg. manager.hde.co.jp ).

FQDN [speed.galaxies.jp]:
FQDN: speed.galaxies.jp

3. Select the communication method between the server and the agents

1) Use only Secure method (only HTTPS)
2) Use both methods ( both HTTPS and HTTP)
3) Use only normal http method (less secure but high performance)

choose the number (1/2/3): 1



Hit Enter Key and Installation will begin.
( [Ctrl]+[C] for abortion ):
------------------------------------------------------------
PostgreSQLサービスを停止中: [ OK ]
Starting postgresql service: [ OK ]
PostgreSQLサービスを停止中: [ OK ]
Starting postgresql service: [ OK ]
Creating the database table....
CREATE USER
CREATE USER
CREATE USER
CREATE DATABASE
.........
Preparing... ########################################### [100%]
1:lceserver ########################################### [100%]
Preparing... ########################################### [100%]
1:lceserver-modssl ########################################### [100%]
Preparing... ########################################### [100%]
1:lceserver-modphp4_pg713########################################### [100%]
Preparing... ########################################### [100%]
1:lceserver-interface ########################################### [100%]
Preparing... ########################################### [100%]
1:hde-jre ########################################### [100%]
Preparing... ########################################### [100%]
1:fping ########################################### [100%]
Preparing... ########################################### [100%]
1:lce_java_libs ########################################### [100%]
Preparing... ########################################### [100%]
1:lce_java_util ########################################### [100%]
Preparing... ########################################### [100%]
1:hde-xntp3 ########################################### [100%]
crondを停止中: [ OK ]
crondを起動中: [ OK ]
Starting lceserver: [ OK ]
Preparing... ########################################### [100%]
1:lce_java_server ########################################### [100%]
Preparing... ########################################### [100%]
1:agent_helper ########################################### [100%]
Starting agent_helper: [ OK ]

------------------------------------------------------------

HDE Center System Manager install was finished!
Now you just access https://speed.galaxies.jp:14937/
#

 マネージャソフトのインストール後は、次のようなプロセスが動作しているのが確認できた。

# ps ax

31550 pts/1 S 0:00 /usr/bin/postmaster -D /var/lib/pgsql/data -p 5432 -D /var/lib/pgsql/data
2860 ? S 0:00 crond
2883 ? S 0:00 /usr/local/hde/lceserver/bin/lceserver
2893 ? S 0:00 /usr/local/hde/lceserver/bin/lceserver
2894 ? S 0:00 /usr/local/hde/lceserver/bin/lceserver
2895 ? S 0:00 /usr/local/hde/lceserver/bin/lceserver
2896 ? S 0:00 /usr/local/hde/lceserver/bin/lceserver
2897 ? S 0:00 /usr/local/hde/lceserver/bin/lceserver
3024 ? S 0:00 /usr/local/hde/lce/bin/agent_helper
3475 ? S 0:00 /usr/local/hde/lceserver/bin/lceserver
4199 ? S 0:00 CROND
4202 ? S 0:00 /bin/sh -c /usr/local/hde/lce/bin/java_exec/startServer.sh > /usr/local/h....
4205 ? S 0:00 /bin/sh /usr/local/hde/lce/bin/java_exec/startServer.sh

6.エージェントのインストール

 続いて、エージェントのインストールだ。ここでは、マネージャソフトをインストールした管理サーバ自体を監視したため、同一環境にインストールする。前述したように、製品にはLinux版のほかにSolaris、Windowsが監視できるよう、それぞれのエージェントソフトが同梱されている。

# ./install_lcagent
###########################################################
HDE Center Secure System Agent
Install Package
http://www.hde.co.jp/ version: 2.5-001
###########################################################
Detected HDE Center System Manager
Use SSL port (14937)
Enter the FQDN or IP Address of the HDE Center System Manager : speed.galaxies.jp
----------------------------------------------------------------
Configured status: speed.galaxies.jp port[14937] (SSL)
-----------------------------------------------------------------
Preparing... ########################################### [100%]
package hde-jre-1.3.1_04-fcs is already installed
Preparing... ########################################### [100%]
package lce_java_libs-2.5-001 is already installed
Preparing... ########################################### [100%]
package lce_java_util-2.5-001 is already installed
Preparing... ########################################### [100%]
1:lce_java_oracle ########################################### [100%]
Preparing... ########################################### [100%]
1:lce_agent ########################################### [100%]
Preparing... ########################################### [100%]
package agent_helper-2.5-001 is already installed
Preparing... ########################################### [100%]
1:hde-wget ########################################### [100%]
Preparing... ########################################### [100%]
1:hde-stat ########################################### [100%]
agent_helper already running.
... Writing to cron ...
crondを停止中: [ OK ]
crondを起動中: [ OK ]
Finish HDE Center Secure System Agent Install!
#

 ここまででインストールが完了だ。ポイントとなるのは、lceserverと呼ばれる独自のApache環境が構築され、PostgreSQLとの連携もすべて自動設定される点だ。インストール後は、ほかにLinux上で何も操作する必要なくクライアント側からWebブラウザを介してHDE Centerにアクセスができる。

 次のように「lcesrv」の名称でユーザーとグループも追加されていた。

adduser[xxxx]: new group: name=lcesrv, gid=12357
adduser[xxxx]: new user: name=lcesrv, uid=12357, gid=12357, home=/home/lcesrv, shell=/bin/bash


前のページ | 1 2 3 4 5 | 次のページ