Aug 19, 2008
HP System Management Homepage を CentOS 5.2 にインストールしてみた。
- HP System Management Homepage: Installation Guide
- http://docs.hp.com/en/438862-009/index.html
- HP System Management Homepage for Linux (x86)
- http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=15351&prodSeriesId=1121486&prodNameId=3288144&swEnvOID=4006&swLang=8&mode=2&taskId=135&swItem=MTX-1b359c812b2e419ba234be0117
- System Management Homepageによるハードウェア障害監視
- http://www.thinkit.co.jp/free/article/0611/13/2/
HP SMH のインストール
HP のサイトから System Management Homepage for Linux (hpsmh-2.1.12-200.i386.rpm) をダウンロードする。 その後、RPM を使用して普通にインストール。 ・・・するが、やはり駄目。
# rpm --checksig ./hpsmh-2.1.12-200.i386.rpm ./hpsmh-2.1.12-200.i386.rpm: sha1 md5 OK # rpm -i --test ./hpsmh-2.1.12-200.i386.rpm # rpm -ivh ./hpsmh-2.1.12-200.i386.rpm Preparing... ########################################### [100%] This Red Hat Linux distribution is not supported. error: %pre(hpsmh-2.1.12-200.i386) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping hpsmh-2.1.12-200 #
ディストリビューションがサポートされていないということなので、ディストリビューションを詐称してみる。 今度は上手くいった。
# cp /etc/redhat-release /etc/redhat-release.original # vi /etc/redhat-release # diff /etc/redhat-release.original /etc/redhat-release 1c1 < CentOS release 5.2 (Final) --- > Red Hat Enterprise Linux AS release 5 # rpm -ivh ./hpsmh-2.1.12-200.i386.rpm Preparing... ########################################### [100%] Creating hpsmh user and group... 1:hpsmh ########################################### [100%] ********************************************************** * System Management Homepage installed successfully with * * default configuration values. To change the default * * configuration values, type the following command at * * the root prompt: * * * * perl /usr/local/hp/hpSMHSetup.pl * * * ********************************************************** Stopping hpsmhd: Starting hpsmhd: hpsmhd: Could not determine the server's fully qualified domain name, using 10.1.31.33 for ServerName [ OK ] # rm /etc/redhat-release rm: remove regular file `/etc/redhat-release'? yes # mv /etc/redhat-release.original /etc/redhat-release
HP SMH の設定
HP SMH の設定はインストール時に表示された通り以下のスクリプトで行う。
# perl /usr/local/hp/hpSMHSetup.pl
HP SMH にアクセス
Web ブラウザで http://localhost:2381/ にアクセスする。
TrackBack ping me at
http://www.in-vitro.jp/blog/index.cgi/Misc/20080819_01.trackback
writeback message: Ready to post a comment.
